Skip to content

Commit 0c33a91

Browse files
author
Angular Builds
committed
75bf115 build: update angular
1 parent ec48d6a commit 0c33a91

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "18.2.0-next.0+sha-0f5af7a",
3+
"version": "18.2.0-next.0+sha-75bf115",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0f5af7a",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#0f5af7a",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#0f5af7a",
13-
"@angular/build": "github:angular/angular-build-builds#0f5af7a",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#75bf115",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#75bf115",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#75bf115",
13+
"@angular/build": "github:angular/angular-build-builds#75bf115",
1414
"@babel/core": "7.24.7",
1515
"@babel/generator": "7.24.7",
1616
"@babel/helper-annotate-as-pure": "7.24.7",
@@ -21,7 +21,7 @@
2121
"@babel/preset-env": "7.24.7",
2222
"@babel/runtime": "7.24.7",
2323
"@discoveryjs/json-ext": "0.6.0",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#0f5af7a",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#75bf115",
2525
"@vitejs/plugin-basic-ssl": "1.1.0",
2626
"ansi-colors": "4.1.3",
2727
"autoprefixer": "10.4.19",

src/builders/extract-i18n/builder.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,13 @@ async function createSerializer(localizeToolsModule, format, sourceLocale, baseP
139139
case schema_1.Format.LegacyMigrate:
140140
return new LegacyMessageIdMigrationSerializer(diagnostics);
141141
case schema_1.Format.Arb:
142-
const fileSystem = {
142+
return new ArbTranslationSerializer(sourceLocale,
143+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
144+
basePath, {
143145
relative(from, to) {
144146
return node_path_1.default.relative(from, to);
145147
},
146-
};
147-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
148-
return new ArbTranslationSerializer(sourceLocale, basePath, fileSystem);
148+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
149+
});
149150
}
150151
}

src/builders/extract-i18n/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ async function normalizeOptions(context, projectName, options) {
3737
// Normalize xliff format extensions
3838
let format = options.format;
3939
switch (format) {
40-
case undefined:
4140
// Default format is xliff1
41+
case undefined:
4242
case schema_1.Format.Xlf:
4343
case schema_1.Format.Xlif:
4444
case schema_1.Format.Xliff:

src/tools/babel/webpack-loader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ exports.default = (0, babel_loader_1.custom)(() => {
153153
case 'error':
154154
this.emitError(message);
155155
break;
156-
case 'info':
157-
// Webpack does not currently have an informational diagnostic
156+
case 'info': // Webpack does not currently have an informational diagnostic
158157
case 'warning':
159158
this.emitWarning(message);
160159
break;

src/utils/normalize-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.normalizeCacheOptions = normalizeCacheOptions;
1111
const node_path_1 = require("node:path");
1212
/** Version placeholder is replaced during the build process with actual package version */
13-
const VERSION = '18.2.0-next.0+sha-0f5af7a';
13+
const VERSION = '18.2.0-next.0+sha-75bf115';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Wed Jul 10 2024 15:14:32 GMT+0000 (Coordinated Universal Time)
1+
Thu Jul 11 2024 06:25:02 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)