From 5538ff9f9fa31dacd54cfbe4aed9d784a52e0f7f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 7 Aug 2024 21:52:12 +0000 Subject: [PATCH 01/76] 6351c44 release: cut the v18.2.0-rc.0 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0fe14313..d439bd58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-next.3+sha-6419c2a", + "version": "18.2.0-rc.0+sha-6351c44", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#6419c2a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#6351c44", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fe53695b..bdfa3c8c 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-next.3+sha-6419c2a'; +const VERSION = '18.2.0-rc.0+sha-6351c44'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index b7bb4733..8f2f072e 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 07 2024 20:40:30 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 07 2024 21:52:12 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From ccb80291febb3b0d1d55f3ce3de74bc797b2244e Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 12 Aug 2024 17:56:58 +0000 Subject: [PATCH 02/76] 62c040a build: update all non-major dependencies --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d439bd58..341a1c6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-6351c44", + "version": "18.2.0-rc.0+sha-62c040a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#6351c44", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#62c040a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.20.0", "sass": "1.77.8", "semver": "7.6.3", - "vite": "5.3.5", + "vite": "5.4.0", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index bdfa3c8c..c85b078d 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-6351c44'; +const VERSION = '18.2.0-rc.0+sha-62c040a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 8f2f072e..33bad1fa 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 07 2024 21:52:12 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Aug 12 2024 17:56:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 3c873969d785025543ebe7e8ad4a89b798963237 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 13 Aug 2024 09:39:48 +0000 Subject: [PATCH 03/76] 5eef87c build: update all non-major dependencies --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 341a1c6d..b579b5aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-62c040a", + "version": "18.2.0-rc.0+sha-5eef87c", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#62c040a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5eef87c", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index c85b078d..74cc5cd4 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-62c040a'; +const VERSION = '18.2.0-rc.0+sha-5eef87c'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 33bad1fa..cdae8c54 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Aug 12 2024 17:56:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Aug 13 2024 09:39:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From cd76845b6240ccfa541cb2ce7fd4f939b3dc0257 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 13 Aug 2024 11:58:11 +0000 Subject: [PATCH 04/76] d14c9ab refactor(@angular-devkit/build-angular): reduce custom code in browser-esbuild implementation --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b579b5aa..2347fd13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-5eef87c", + "version": "18.2.0-rc.0+sha-d14c9ab", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5eef87c", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d14c9ab", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 74cc5cd4..b4e5d245 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-5eef87c'; +const VERSION = '18.2.0-rc.0+sha-d14c9ab'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index cdae8c54..3e3a1dc7 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Aug 13 2024 09:39:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Aug 13 2024 11:58:11 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b5f60f1da3a79763bff5de1f9cd9c08c025012e6 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 14:46:41 +0000 Subject: [PATCH 05/76] 4528be1 build: add missing `pkg_deps` for `@angular/create` --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2347fd13..1f1fc838 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-d14c9ab", + "version": "18.2.0-rc.0+sha-4528be1", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d14c9ab", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4528be1", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b4e5d245..c2abb957 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-d14c9ab'; +const VERSION = '18.2.0-rc.0+sha-4528be1'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 3e3a1dc7..944228f9 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Aug 13 2024 11:58:11 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 14:46:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 75a88f8f64a22a7140fa1a2adbbc000308d7d30b Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 17:16:27 +0000 Subject: [PATCH 06/76] 0c2ca9a build: remove Bazel typings workaround --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1f1fc838..268747c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-4528be1", + "version": "18.2.0-rc.0+sha-0c2ca9a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4528be1", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0c2ca9a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index c2abb957..cbb0c302 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-4528be1'; +const VERSION = '18.2.0-rc.0+sha-0c2ca9a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 944228f9..da8dc2cd 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 14:46:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 17:16:27 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 31beb765330988b3eb5f4f1081fd76a7ae227bf2 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 17:33:18 +0000 Subject: [PATCH 07/76] eb9c7fe build: remove unnecessary excludes from tsconfig.json --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 268747c1..fb4f97a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-0c2ca9a", + "version": "18.2.0-rc.0+sha-eb9c7fe", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0c2ca9a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#eb9c7fe", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index cbb0c302..27fe6484 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-0c2ca9a'; +const VERSION = '18.2.0-rc.0+sha-eb9c7fe'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index da8dc2cd..06137710 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 17:16:27 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 17:33:18 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 8968fe5e39dbaac055a0bd4d9c6d337b32e9ed87 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 17:38:02 +0000 Subject: [PATCH 08/76] 1a876a3 build: update Angular versions to 18.2 stable --- package.json | 12 ++++++------ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index fb4f97a6..8962126e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-eb9c7fe", + "version": "18.2.0-rc.0+sha-1a876a3", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#eb9c7fe", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1a876a3", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -49,10 +49,10 @@ "watchpack": "2.4.1" }, "peerDependencies": { - "@angular/compiler-cli": "^18.0.0 || ^18.2.0-next.0", - "@angular/localize": "^18.0.0 || ^18.2.0-next.0", - "@angular/platform-server": "^18.0.0 || ^18.2.0-next.0", - "@angular/service-worker": "^18.0.0 || ^18.2.0-next.0", + "@angular/compiler-cli": "^18.0.0", + "@angular/localize": "^18.0.0", + "@angular/platform-server": "^18.0.0", + "@angular/service-worker": "^18.0.0", "less": "^4.2.0", "postcss": "^8.4.0", "tailwindcss": "^2.0.0 || ^3.0.0", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 27fe6484..9ebad71b 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-eb9c7fe'; +const VERSION = '18.2.0-rc.0+sha-1a876a3'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 06137710..2127a96f 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 17:33:18 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 17:38:02 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From fb2018b8f21f216630547b13a644f90874a84c22 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 18:54:22 +0000 Subject: [PATCH 09/76] ff5a0fe release: cut the v18.2.0 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8962126e..aae4c6b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0-rc.0+sha-1a876a3", + "version": "18.2.0+sha-ff5a0fe", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1a876a3", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ff5a0fe", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 9ebad71b..dd888c96 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0-rc.0+sha-1a876a3'; +const VERSION = '18.2.0+sha-ff5a0fe'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 2127a96f..8ffa261b 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 17:38:02 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 18:54:22 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b252573d29524494877d239b7aa9ee9a79806fe0 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 14 Aug 2024 20:12:37 +0000 Subject: [PATCH 10/76] 94e27c8 fix(@angular-devkit/schematics-cli): prevent bypassing select/checkbox prompts on validation failure --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index aae4c6b7..411bb1f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0+sha-ff5a0fe", + "version": "18.2.0+sha-94e27c8", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ff5a0fe", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#94e27c8", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index dd888c96..b85b7375 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0+sha-ff5a0fe'; +const VERSION = '18.2.0+sha-94e27c8'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 8ffa261b..ce2388d1 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 18:54:22 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 14 2024 20:12:37 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 22d72c2c3dc524a670e716e9509e8f018a9d6815 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 15 Aug 2024 13:56:28 +0000 Subject: [PATCH 11/76] 83b2699 fix(@angular/build): improve error message when an unhandled exception occurs during prerendering --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- src/utils/server-rendering/prerender.js | 20 ++++++++++++++++---- uniqueId | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 411bb1f7..95715a32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0+sha-94e27c8", + "version": "18.2.0+sha-83b2699", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#94e27c8", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#83b2699", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b85b7375..fa834989 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0+sha-94e27c8'; +const VERSION = '18.2.0+sha-83b2699'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/src/utils/server-rendering/prerender.js b/src/utils/server-rendering/prerender.js index 9902e127..6b358cf7 100644 --- a/src/utils/server-rendering/prerender.js +++ b/src/utils/server-rendering/prerender.js @@ -49,11 +49,14 @@ async function prerenderPages(workspaceRoot, appShellOptions = {}, prerenderOpti assetsReversed[addLeadingSlash(destination.replace(/\\/g, node_path_1.posix.sep))] = source; } // Get routes to prerender - const { routes: allRoutes, warnings: routesWarnings } = await getAllRoutes(workspaceRoot, outputFilesForWorker, assetsReversed, document, appShellOptions, prerenderOptions, sourcemap, verbose); + const { routes: allRoutes, warnings: routesWarnings, errors: routesErrors, } = await getAllRoutes(workspaceRoot, outputFilesForWorker, assetsReversed, document, appShellOptions, prerenderOptions, sourcemap, verbose); + if (routesErrors?.length) { + errors.push(...routesErrors); + } if (routesWarnings?.length) { warnings.push(...routesWarnings); } - if (allRoutes.size < 1) { + if (allRoutes.size < 1 || errors.length > 0) { return { errors, warnings, @@ -109,7 +112,8 @@ async function renderPages(sourcemap, allRoutes, maxThreads, workspaceRoot, outp const isAppShellRoute = appShellRoute === route; const serverContext = isAppShellRoute ? 'app-shell' : 'ssg'; const render = renderWorker.run({ route, serverContext }); - const renderResult = render.then(({ content, warnings, errors }) => { + const renderResult = render + .then(({ content, warnings, errors }) => { if (content !== undefined) { const outPath = isAppShellRoute ? 'index.html' @@ -122,6 +126,10 @@ async function renderPages(sourcemap, allRoutes, maxThreads, workspaceRoot, outp if (errors) { errors.push(...errors); } + }) + .catch((err) => { + errors.push(`An error occurred while prerendering route '${route}'.\n\n${err.stack}`); + void renderWorker.destroy(); }); renderingPromises.push(renderResult); } @@ -173,15 +181,19 @@ async function getAllRoutes(workspaceRoot, outputFilesForWorker, assetFilesForWo execArgv: workerExecArgv, recordTiming: false, }); + const errors = []; const { routes: extractedRoutes, warnings } = await renderWorker .run({}) + .catch((err) => { + errors.push(`An error occurred while extracting routes.\n\n${err.stack}`); + }) .finally(() => { void renderWorker.destroy(); }); for (const route of extractedRoutes) { routes.add(route); } - return { routes, warnings }; + return { routes, warnings, errors }; } function addLeadingSlash(value) { return value.charAt(0) === '/' ? value : '/' + value; diff --git a/uniqueId b/uniqueId index ce2388d1..d52f61d5 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 14 2024 20:12:37 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Aug 15 2024 13:56:28 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 7e35e6475190d50b39381e61d51ed43e4064b5db Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 20 Aug 2024 12:15:13 +0000 Subject: [PATCH 12/76] a655b92 build: downgrade sass version --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 95715a32..3bd90fb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0+sha-83b2699", + "version": "18.2.0+sha-a655b92", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#83b2699", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#a655b92", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -43,7 +43,7 @@ "picomatch": "4.0.2", "piscina": "4.6.1", "rollup": "4.20.0", - "sass": "1.77.8", + "sass": "1.77.6", "semver": "7.6.3", "vite": "5.4.0", "watchpack": "2.4.1" diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fa834989..0b47c828 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0+sha-83b2699'; +const VERSION = '18.2.0+sha-a655b92'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d52f61d5..defc0211 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Aug 15 2024 13:56:28 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Aug 20 2024 12:15:13 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From d6b1567ff1b88a309f5d01248f70587bc1e549b8 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 20 Aug 2024 15:10:25 +0000 Subject: [PATCH 13/76] ddeb2b2 fix(@angular-devkit/build-angular): remove outdated browser-esbuild option warning --- package.json | 4 ++-- src/builders/extract-i18n/application-extraction.js | 4 ++++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3bd90fb7..90aebadf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0+sha-a655b92", + "version": "18.2.0+sha-ddeb2b2", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#a655b92", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ddeb2b2", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/builders/extract-i18n/application-extraction.js b/src/builders/extract-i18n/application-extraction.js index 866f8358..879c7c28 100644 --- a/src/builders/extract-i18n/application-extraction.js +++ b/src/builders/extract-i18n/application-extraction.js @@ -11,6 +11,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.extractMessages = extractMessages; +const node_fs_1 = require("node:fs"); const node_path_1 = __importDefault(require("node:path")); const application_1 = require("../application"); const results_1 = require("../application/results"); @@ -72,6 +73,9 @@ function setupLocalizeExtractor(extractorConstructor, files, context) { if (file?.origin === 'memory') { content = textDecoder.decode(file.contents); } + else if (file?.origin === 'disk') { + content = (0, node_fs_1.readFileSync)(file.inputPath, 'utf-8'); + } if (content === undefined) { throw new Error('Unknown file requested: ' + requestedPath); } diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0b47c828..6bb4e35e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0+sha-a655b92'; +const VERSION = '18.2.0+sha-ddeb2b2'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index defc0211..514e1c0e 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Aug 20 2024 12:15:13 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Aug 20 2024 15:10:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b9b20bfba7742ca72c46c118683bcc7dedbb9c6c Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 21 Aug 2024 11:33:20 +0000 Subject: [PATCH 14/76] 15f3d5a release: cut the v18.2.1 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 90aebadf..6b614a3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.0+sha-ddeb2b2", + "version": "18.2.1+sha-15f3d5a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ddeb2b2", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#15f3d5a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 6bb4e35e..19828020 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.0+sha-ddeb2b2'; +const VERSION = '18.2.1+sha-15f3d5a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 514e1c0e..cb9cea7b 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Aug 20 2024 15:10:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 21 2024 11:33:20 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 34a2961c8e91e9b0ec8718290d681f7634b03e36 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 21 Aug 2024 13:45:59 +0000 Subject: [PATCH 15/76] b2d1477 build: mark server tests as flaky --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6b614a3a..e417aa89 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-15f3d5a", + "version": "18.2.1+sha-b2d1477", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#15f3d5a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b2d1477", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 19828020..023d8e1e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-15f3d5a'; +const VERSION = '18.2.1+sha-b2d1477'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index cb9cea7b..2988daf5 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 21 2024 11:33:20 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 21 2024 13:45:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From cab0eae2a408fe3ca1a40a3ee1337ec6390fa144 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 22 Aug 2024 18:48:41 +0000 Subject: [PATCH 16/76] 3ee53c9 build: clean up redundant `exclude` field from `tsconfig-build.json` --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e417aa89..b49cc563 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-b2d1477", + "version": "18.2.1+sha-3ee53c9", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b2d1477", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3ee53c9", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 023d8e1e..5716ff84 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-b2d1477'; +const VERSION = '18.2.1+sha-3ee53c9'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 2988daf5..d1ead2e6 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 21 2024 13:45:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Aug 22 2024 18:48:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From fd037f40a7fb7af2f987bde93d1f8af61db0a2e1 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 23 Aug 2024 19:28:29 +0000 Subject: [PATCH 17/76] e5b4c5c ci: run modules and packages tests using a single bazel invocation --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b49cc563..17c2a359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-3ee53c9", + "version": "18.2.1+sha-e5b4c5c", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3ee53c9", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e5b4c5c", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 5716ff84..0806fe74 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-3ee53c9'; +const VERSION = '18.2.1+sha-e5b4c5c'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d1ead2e6..dd2a4e9c 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Aug 22 2024 18:48:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Aug 23 2024 19:28:29 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From f2dc90254021a43b15c1e82307337b831134be72 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Sun, 25 Aug 2024 04:16:00 +0000 Subject: [PATCH 18/76] 5e030b8 Revert "build: mark server tests as flaky" --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 17c2a359..bee4fcfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-e5b4c5c", + "version": "18.2.1+sha-5e030b8", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e5b4c5c", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5e030b8", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0806fe74..9c8c21ce 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-e5b4c5c'; +const VERSION = '18.2.1+sha-5e030b8'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index dd2a4e9c..cf0b2e17 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Aug 23 2024 19:28:29 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Sun Aug 25 2024 04:16:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 236dae56f2e9412e33476799d52221beaf9917a9 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 28 Aug 2024 13:25:41 +0000 Subject: [PATCH 19/76] 82b7608 build: update webpack to `5.94.0` --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bee4fcfb..947b31d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-5e030b8", + "version": "18.2.1+sha-82b7608", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5e030b8", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#82b7608", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 9c8c21ce..c52579db 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-5e030b8'; +const VERSION = '18.2.1+sha-82b7608'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index cf0b2e17..0f783009 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Sun Aug 25 2024 04:16:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Aug 28 2024 13:25:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 2fb891c5a24413ae70fdb38692bb65bdad9e289c Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 29 Aug 2024 19:04:33 +0000 Subject: [PATCH 20/76] 504b00b fix(@angular-devkit/build-angular): clear context in Karma by default for single run executions --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 947b31d7..49b7418f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-82b7608", + "version": "18.2.1+sha-504b00b", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#82b7608", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#504b00b", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index c52579db..188a5d8e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-82b7608'; +const VERSION = '18.2.1+sha-504b00b'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 0f783009..d5a52c29 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Aug 28 2024 13:25:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Aug 29 2024 19:04:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b683283e0ee77baa551d0e909ad112a880119e60 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 29 Aug 2024 20:22:59 +0000 Subject: [PATCH 21/76] 72fb55c release: cut the v18.2.2 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 49b7418f..918115e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.1+sha-504b00b", + "version": "18.2.2+sha-72fb55c", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#504b00b", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#72fb55c", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 188a5d8e..194ada5e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.1+sha-504b00b'; +const VERSION = '18.2.2+sha-72fb55c'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d5a52c29..af02961a 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Aug 29 2024 19:04:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Aug 29 2024 20:22:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From c3d4eb756c9eb7634712a026abc181b6b0241b9c Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 3 Sep 2024 15:24:16 +0000 Subject: [PATCH 22/76] 4820766 fix(@angular-devkit/build-angular): update `webpack-dev-middleware` to `7.4.2` --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 918115e7..416777a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.2+sha-72fb55c", + "version": "18.2.2+sha-4820766", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#72fb55c", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4820766", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 194ada5e..b5186836 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.2+sha-72fb55c'; +const VERSION = '18.2.2+sha-4820766'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index af02961a..d2b2a8fa 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Aug 29 2024 20:22:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Sep 03 2024 15:24:16 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 30c6efca9698c4491f46c84e9034aa46ce0174cd Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 4 Sep 2024 19:57:58 +0000 Subject: [PATCH 23/76] f4db482 release: cut the v18.2.3 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 416777a8..bb262680 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.2+sha-4820766", + "version": "18.2.3+sha-f4db482", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4820766", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f4db482", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b5186836..0b49a349 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.2+sha-4820766'; +const VERSION = '18.2.3+sha-f4db482'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d2b2a8fa..1105b653 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Sep 03 2024 15:24:16 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 04 2024 19:57:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 04e831779dbf9993f8b42d679a6dda1acc39323b Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 9 Sep 2024 17:26:08 +0000 Subject: [PATCH 24/76] 328ed65 docs: elaborate on debugging jasmine node tests --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bb262680..be6e4d68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.3+sha-f4db482", + "version": "18.2.3+sha-328ed65", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f4db482", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#328ed65", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0b49a349..06ebedbe 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.3+sha-f4db482'; +const VERSION = '18.2.3+sha-328ed65'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 1105b653..276f3e66 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 04 2024 19:57:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Sep 09 2024 17:26:08 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 065acea07324585b55aaba00a3270ab37aadc221 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 9 Sep 2024 17:39:48 +0000 Subject: [PATCH 25/76] e12a66a docs(@angular/cli): add playwright to e2e targets --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index be6e4d68..49b956af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.3+sha-328ed65", + "version": "18.2.3+sha-e12a66a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#328ed65", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e12a66a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 06ebedbe..0face02f 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.3+sha-328ed65'; +const VERSION = '18.2.3+sha-e12a66a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 276f3e66..70d6db3d 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Sep 09 2024 17:26:08 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Sep 09 2024 17:39:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From a5177e78d4f7e1698b681dcac01b4a032ef2025f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 11 Sep 2024 13:33:06 +0000 Subject: [PATCH 26/76] 765309a fix(@angular/build): prevent transformation of Node.js internal dependencies by Vite --- package.json | 4 ++-- src/builders/dev-server/vite-server.d.ts | 6 +++++- src/builders/dev-server/vite-server.js | 24 ++++++++++++++---------- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 49b956af..d216b151 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.3+sha-e12a66a", + "version": "18.2.3+sha-765309a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e12a66a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#765309a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/builders/dev-server/vite-server.d.ts b/src/builders/dev-server/vite-server.d.ts index e1f844d3..e0ed7925 100644 --- a/src/builders/dev-server/vite-server.d.ts +++ b/src/builders/dev-server/vite-server.d.ts @@ -19,6 +19,10 @@ interface OutputFileRecord { updated: boolean; servable: boolean; } +interface DevServerExternalResultMetadata extends Omit { + explicitBrowser: string[]; + explicitServer: string[]; +} export type BuilderAction = (options: ApplicationBuilderInternalOptions, context: BuilderContext, plugins?: Plugin[]) => AsyncIterable; export declare function serveWithVite(serverOptions: NormalizedDevServerOptions, builderName: string, builderAction: BuilderAction, context: BuilderContext, transformers?: { indexHtml?: (content: string) => Promise; @@ -26,6 +30,6 @@ export declare function serveWithVite(serverOptions: NormalizedDevServerOptions, middleware?: Connect.NextHandleFunction[]; buildPlugins?: Plugin[]; }): AsyncIterableIterator; -export declare function setupServer(serverOptions: NormalizedDevServerOptions, outputFiles: Map, assets: Map, preserveSymlinks: boolean | undefined, externalMetadata: ExternalResultMetadata, ssr: boolean, prebundleTransformer: JavaScriptTransformer, target: string[], zoneless: boolean, prebundleLoaderExtensions: EsbuildLoaderOption | undefined, extensionMiddleware?: Connect.NextHandleFunction[], indexHtmlTransformer?: (content: string) => Promise, thirdPartySourcemaps?: boolean): Promise; +export declare function setupServer(serverOptions: NormalizedDevServerOptions, outputFiles: Map, assets: Map, preserveSymlinks: boolean | undefined, externalMetadata: DevServerExternalResultMetadata, ssr: boolean, prebundleTransformer: JavaScriptTransformer, target: string[], zoneless: boolean, prebundleLoaderExtensions: EsbuildLoaderOption | undefined, extensionMiddleware?: Connect.NextHandleFunction[], indexHtmlTransformer?: (content: string) => Promise, thirdPartySourcemaps?: boolean): Promise; type EsbuildLoaderOption = Exclude['loader']; export {}; diff --git a/src/builders/dev-server/vite-server.js b/src/builders/dev-server/vite-server.js index ce463cbd..5ffa4af5 100644 --- a/src/builders/dev-server/vite-server.js +++ b/src/builders/dev-server/vite-server.js @@ -107,7 +107,8 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context const externalMetadata = { implicitBrowser: [], implicitServer: [], - explicit: [], + explicitBrowser: [], + explicitServer: [], }; // Add cleanup logic via a builder teardown. let deferred; @@ -187,15 +188,18 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context requiresServerRestart = implicitServerFiltered.some((dep) => !previousImplicitServer.has(dep)); } // Empty Arrays to avoid growing unlimited with every re-build. - externalMetadata.explicit.length = 0; + externalMetadata.explicitBrowser.length = 0; + externalMetadata.explicitServer.length = 0; externalMetadata.implicitServer.length = 0; externalMetadata.implicitBrowser.length = 0; - externalMetadata.explicit.push(...explicit); + externalMetadata.explicitBrowser.push(...explicit); + externalMetadata.explicitServer.push(...explicit, ...nodeJsBuiltinModules); externalMetadata.implicitServer.push(...implicitServerFiltered); externalMetadata.implicitBrowser.push(...implicitBrowserFiltered); // The below needs to be sorted as Vite uses these options are part of the hashing invalidation algorithm. // See: https://github.com/vitejs/vite/blob/0873bae0cfe0f0718ad2f5743dd34a17e4ab563d/packages/vite/src/node/optimizer/index.ts#L1203-L1239 - externalMetadata.explicit.sort(); + externalMetadata.explicitBrowser.sort(); + externalMetadata.explicitServer.sort(); externalMetadata.implicitServer.sort(); externalMetadata.implicitBrowser.sort(); } @@ -422,18 +426,18 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks, }, // This is needed when `externalDependencies` is used to prevent Vite load errors. // NOTE: If Vite adds direct support for externals, this can be removed. - preTransformRequests: externalMetadata.explicit.length === 0, + preTransformRequests: externalMetadata.explicitBrowser.length === 0, }, ssr: { // Note: `true` and `/.*/` have different sematics. When true, the `external` option is ignored. noExternal: /.*/, // Exclude any Node.js built in module and provided dependencies (currently build defined externals) - external: externalMetadata.explicit, + external: externalMetadata.explicitServer, optimizeDeps: getDepOptimizationConfig({ // Only enable with caching since it causes prebundle dependencies to be cached disabled: serverOptions.prebundle === false, // Exclude any explicitly defined dependencies (currently build defined externals and node.js built-ins) - exclude: externalMetadata.explicit, + exclude: externalMetadata.explicitServer, // Include all implict dependencies from the external packages internal option include: externalMetadata.implicitServer, ssr: true, @@ -452,19 +456,19 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks, outputFiles, assets, ssr, - external: externalMetadata.explicit, + external: externalMetadata.explicitBrowser, indexHtmlTransformer, extensionMiddleware, normalizePath, }), - (0, id_prefix_plugin_1.createRemoveIdPrefixPlugin)(externalMetadata.explicit), + (0, id_prefix_plugin_1.createRemoveIdPrefixPlugin)(externalMetadata.explicitBrowser), ], // Browser only optimizeDeps. (This does not run for SSR dependencies). optimizeDeps: getDepOptimizationConfig({ // Only enable with caching since it causes prebundle dependencies to be cached disabled: serverOptions.prebundle === false, // Exclude any explicitly defined dependencies (currently build defined externals) - exclude: externalMetadata.explicit, + exclude: externalMetadata.explicitBrowser, // Include all implict dependencies from the external packages internal option include: externalMetadata.implicitBrowser, ssr: false, diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0face02f..967152a6 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.3+sha-e12a66a'; +const VERSION = '18.2.3+sha-765309a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 70d6db3d..5f7d8b2c 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Sep 09 2024 17:39:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 11 2024 13:33:06 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 133625b1bbfd8b7ce4643d1456d761a3b809952f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 11 Sep 2024 14:04:43 +0000 Subject: [PATCH 27/76] f29db1d release: cut the v18.2.4 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d216b151..6df89c5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.3+sha-765309a", + "version": "18.2.4+sha-f29db1d", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#765309a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f29db1d", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 967152a6..e3ec084e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.3+sha-765309a'; +const VERSION = '18.2.4+sha-f29db1d'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 5f7d8b2c..fd16106e 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 11 2024 13:33:06 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 11 2024 14:04:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From c1ef337914e8a9688a174a99b9a4f3ce5fdcfaee Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 18 Sep 2024 10:50:07 +0000 Subject: [PATCH 28/76] 1032b3d fix(@angular/build): update vite to `5.4.6` --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6df89c5b..ef357e30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.4+sha-f29db1d", + "version": "18.2.4+sha-1032b3d", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f29db1d", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1032b3d", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.20.0", "sass": "1.77.6", "semver": "7.6.3", - "vite": "5.4.0", + "vite": "5.4.6", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index e3ec084e..5fa241a6 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.4+sha-f29db1d'; +const VERSION = '18.2.4+sha-1032b3d'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index fd16106e..f8415af8 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 11 2024 14:04:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 18 2024 10:50:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 87ebe54c735beb9a8ec9c2b0fa93e19ddf64fc9f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 18 Sep 2024 13:35:21 +0000 Subject: [PATCH 29/76] 7074316 fix(@angular/build): support HTTP HEAD requests for virtual output files --- package.json | 4 ++-- src/tools/vite/middlewares/assets-middleware.js | 5 +++++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ef357e30..23889345 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.4+sha-1032b3d", + "version": "18.2.4+sha-7074316", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1032b3d", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#7074316", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/vite/middlewares/assets-middleware.js b/src/tools/vite/middlewares/assets-middleware.js index b9da48c1..aa2638c6 100644 --- a/src/tools/vite/middlewares/assets-middleware.js +++ b/src/tools/vite/middlewares/assets-middleware.js @@ -47,6 +47,11 @@ function createAngularAssetsMiddleware(server, assets, outputFiles) { next(); return; } + // Support HTTP HEAD requests for the virtual output files from the Angular build + if (req.method === 'HEAD' && outputFiles.get(pathname)?.servable) { + // While a GET will also generate content, the rest of the response is equivalent + req.method = 'GET'; + } // Resource files are handled directly. // Global stylesheets (CSS files) are currently considered resources to workaround // dev server sourcemap issues with stylesheets. diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 5fa241a6..dee6db23 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.4+sha-1032b3d'; +const VERSION = '18.2.4+sha-7074316'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index f8415af8..a80e48fe 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 18 2024 10:50:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 18 2024 13:35:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b0d9071c17f3d5cbbdb44a00b80604906be7ecbe Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 18 Sep 2024 23:34:58 +0000 Subject: [PATCH 30/76] d6384f1 release: cut the v18.2.5 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 23889345..10312026 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.4+sha-7074316", + "version": "18.2.5+sha-d6384f1", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#7074316", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d6384f1", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index dee6db23..605bd866 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.4+sha-7074316'; +const VERSION = '18.2.5+sha-d6384f1'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index a80e48fe..d63c1fd2 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 18 2024 13:35:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 18 2024 23:34:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 6bec8da68d1dd94d71cddbd5f34a0b3142223f85 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 19 Sep 2024 16:51:06 +0000 Subject: [PATCH 31/76] 9d0b671 fix(@angular/build): allow missing HTML file request to fallback to index --- package.json | 4 +-- .../middlewares/html-fallback-middleware.js | 28 +++++++++++++++---- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 10312026..09c6e079 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.5+sha-d6384f1", + "version": "18.2.5+sha-9d0b671", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d6384f1", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9d0b671", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/vite/middlewares/html-fallback-middleware.js b/src/tools/vite/middlewares/html-fallback-middleware.js index f950e500..b227892e 100644 --- a/src/tools/vite/middlewares/html-fallback-middleware.js +++ b/src/tools/vite/middlewares/html-fallback-middleware.js @@ -9,15 +9,31 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.angularHtmlFallbackMiddleware = angularHtmlFallbackMiddleware; const utils_1 = require("../utils"); +const ALLOWED_FALLBACK_METHODS = Object.freeze(['GET', 'HEAD']); function angularHtmlFallbackMiddleware(req, res, next) { // Similar to how it is handled in vite // https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/htmlFallback.ts#L15C19-L15C45 - if ((req.method === 'GET' || req.method === 'HEAD') && - (!req.url || !(0, utils_1.lookupMimeTypeFromRequest)(req.url)) && - (!req.headers.accept || - req.headers.accept.includes('text/html') || - req.headers.accept.includes('text/*') || - req.headers.accept.includes('*/*'))) { + if (!req.method || !ALLOWED_FALLBACK_METHODS.includes(req.method)) { + // No fallback for unsupported request methods + next(); + return; + } + if (req.url) { + const mimeType = (0, utils_1.lookupMimeTypeFromRequest)(req.url); + if (mimeType === 'text/html' || mimeType === 'application/xhtml+xml') { + // eslint-disable-next-line no-console + console.warn(`Request for HTML file "${req.url}" was received but no asset found. Asset may be missing from build.`); + } + else if (mimeType) { + // No fallback for request of asset-like files + next(); + return; + } + } + if (!req.headers.accept || + req.headers.accept.includes('text/html') || + req.headers.accept.includes('text/*') || + req.headers.accept.includes('*/*')) { req.url = '/index.html'; } next(); diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 605bd866..adfdd60d 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.5+sha-d6384f1'; +const VERSION = '18.2.5+sha-9d0b671'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d63c1fd2..5f322ddf 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 18 2024 23:34:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Sep 19 2024 16:51:06 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b174911f4ae3fb5757816aa976a428e59bf8d876 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 23 Sep 2024 18:00:52 +0000 Subject: [PATCH 32/76] 6a52dcc test: unlink symlink in ng add base E2E test --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 09c6e079..20b1cc37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.5+sha-9d0b671", + "version": "18.2.5+sha-6a52dcc", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9d0b671", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#6a52dcc", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index adfdd60d..b96ea664 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.5+sha-9d0b671'; +const VERSION = '18.2.5+sha-6a52dcc'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 5f322ddf..5d8bae04 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Sep 19 2024 16:51:06 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Sep 23 2024 18:00:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 75f6cf92350548bf88692df0a05fd0ec74596c99 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 24 Sep 2024 19:24:00 +0000 Subject: [PATCH 33/76] c710539 test: update test logic to fix windows CI --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 20b1cc37..85b2c846 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.5+sha-6a52dcc", + "version": "18.2.5+sha-c710539", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#6a52dcc", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c710539", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b96ea664..7127aa46 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.5+sha-6a52dcc'; +const VERSION = '18.2.5+sha-c710539'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 5d8bae04..40d104bb 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Sep 23 2024 18:00:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Sep 24 2024 19:24:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From eec91909742f4eb9f7485c08cbbb6cbc66865fea Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 24 Sep 2024 19:46:53 +0000 Subject: [PATCH 34/76] 5fea635 fix(@angular/build): update rollup to 4.22.4 --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 85b2c846..dbf6fe5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.5+sha-c710539", + "version": "18.2.5+sha-5fea635", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c710539", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5fea635", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -42,7 +42,7 @@ "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", "piscina": "4.6.1", - "rollup": "4.20.0", + "rollup": "4.22.4", "sass": "1.77.6", "semver": "7.6.3", "vite": "5.4.6", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 7127aa46..fcf3a875 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.5+sha-c710539'; +const VERSION = '18.2.5+sha-5fea635'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 40d104bb..1f37cb98 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Sep 24 2024 19:24:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Sep 24 2024 19:46:53 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From d442b71f0b1248b73e40143179ed90e48c6afd47 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 25 Sep 2024 15:35:48 +0000 Subject: [PATCH 35/76] 9758a48 release: cut the v18.2.6 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index dbf6fe5d..8da0a743 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.5+sha-5fea635", + "version": "18.2.6+sha-9758a48", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5fea635", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9758a48", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fcf3a875..2ea7e938 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.5+sha-5fea635'; +const VERSION = '18.2.6+sha-9758a48'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 1f37cb98..9f0ffc1f 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Sep 24 2024 19:46:53 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 25 2024 15:35:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b0af06f49affb39152bf66408a3f44a671982d1b Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 25 Sep 2024 16:20:32 +0000 Subject: [PATCH 36/76] ca28ec7 test(@angular-devkit/build-angular): add application/browser test runs --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8da0a743..6959733b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-9758a48", + "version": "18.2.6+sha-ca28ec7", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9758a48", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ca28ec7", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 2ea7e938..678edfc5 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-9758a48'; +const VERSION = '18.2.6+sha-ca28ec7'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 9f0ffc1f..b78857ad 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 25 2024 15:35:48 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Sep 25 2024 16:20:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 78034335132ef6ac04986b3c6922698a5480c2dd Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 26 Sep 2024 13:23:52 +0000 Subject: [PATCH 37/76] 8274184 fix(@angular/build): add `animate` to valid self-closing elements --- package.json | 4 ++-- src/utils/index-file/valid-self-closing-tags.js | 1 + src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6959733b..098d48c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-ca28ec7", + "version": "18.2.6+sha-8274184", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#ca28ec7", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#8274184", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/index-file/valid-self-closing-tags.js b/src/utils/index-file/valid-self-closing-tags.js index 91a9c592..61dc2add 100644 --- a/src/utils/index-file/valid-self-closing-tags.js +++ b/src/utils/index-file/valid-self-closing-tags.js @@ -25,6 +25,7 @@ exports.VALID_SELF_CLOSING_TAGS = new Set([ 'track', 'wbr', /** SVG tags */ + 'animate', 'circle', 'ellipse', 'line', diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 678edfc5..8b0eeffe 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-ca28ec7'; +const VERSION = '18.2.6+sha-8274184'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index b78857ad..3626460f 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Sep 25 2024 16:20:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Sep 26 2024 13:23:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 6d70b315c2235cffbb8a48fa1c385cfc575a8fab Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 26 Sep 2024 16:27:54 +0000 Subject: [PATCH 38/76] 3f98193 fix(@schematics/angular): support single quote setting in JetBrains IDEs --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 098d48c6..686f58bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-8274184", + "version": "18.2.6+sha-3f98193", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#8274184", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3f98193", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 8b0eeffe..946d32b9 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-8274184'; +const VERSION = '18.2.6+sha-3f98193'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 3626460f..85d42bbf 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Sep 26 2024 13:23:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Sep 26 2024 16:27:54 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 86c2cd1a07f1243a1ba9d1e35e680302161ec2f7 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 27 Sep 2024 13:34:37 +0000 Subject: [PATCH 39/76] 2648e81 fix(@angular/build): add few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements --- package.json | 4 +-- .../index-file/valid-self-closing-tags.js | 27 +++++++++++++++++++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 686f58bf..4a952b0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-3f98193", + "version": "18.2.6+sha-2648e81", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3f98193", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2648e81", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/index-file/valid-self-closing-tags.js b/src/utils/index-file/valid-self-closing-tags.js index 61dc2add..6d4e0dd7 100644 --- a/src/utils/index-file/valid-self-closing-tags.js +++ b/src/utils/index-file/valid-self-closing-tags.js @@ -26,8 +26,35 @@ exports.VALID_SELF_CLOSING_TAGS = new Set([ 'wbr', /** SVG tags */ 'animate', + 'animateMotion', + 'animateTransform', 'circle', 'ellipse', + 'feBlend', + 'feColorMatrix', + 'feComponentTransfer', + 'feComposite', + 'feConvolveMatrix', + 'feDiffuseLighting', + 'feDisplacementMap', + 'feDistantLight', + 'feDropShadow', + 'feFlood', + 'feFuncA', + 'feFuncB', + 'feFuncG', + 'feFuncR', + 'feGaussianBlur', + 'feImage', + 'feMerge', + 'feMergeNode', + 'feMorphology', + 'feOffset', + 'fePointLight', + 'feSpecularLighting', + 'feSpotLight', + 'feTile', + 'feTurbulence', 'line', 'path', 'polygon', diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 946d32b9..6b858ef2 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-3f98193'; +const VERSION = '18.2.6+sha-2648e81'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 85d42bbf..454749cb 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Sep 26 2024 16:27:54 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Sep 27 2024 13:34:37 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From da48d5b54c4f142a8848510ec20a4fcd4bc20e66 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 1 Oct 2024 16:22:43 +0000 Subject: [PATCH 40/76] 736e126 fix(@angular/build): separate Vite cache by project --- package.json | 4 ++-- src/builders/dev-server/vite-server.js | 2 +- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4a952b0e..664d4a4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-2648e81", + "version": "18.2.6+sha-736e126", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2648e81", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#736e126", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/builders/dev-server/vite-server.js b/src/builders/dev-server/vite-server.js index 5ffa4af5..c9c4220e 100644 --- a/src/builders/dev-server/vite-server.js +++ b/src/builders/dev-server/vite-server.js @@ -372,7 +372,7 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks, const { normalizePath } = await (0, load_esm_1.loadEsmModule)('vite'); // Path will not exist on disk and only used to provide separate path for Vite requests const virtualProjectRoot = normalizePath((0, node_path_1.join)(serverOptions.workspaceRoot, `.angular/vite-root`, serverOptions.buildTarget.project)); - const cacheDir = (0, node_path_1.join)(serverOptions.cacheOptions.path, 'vite'); + const cacheDir = (0, node_path_1.join)(serverOptions.cacheOptions.path, serverOptions.buildTarget.project, 'vite'); const configuration = { configFile: false, envFile: false, diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 6b858ef2..5d874344 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-2648e81'; +const VERSION = '18.2.6+sha-736e126'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 454749cb..08b07303 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Sep 27 2024 13:34:37 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Oct 01 2024 16:22:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 43b7b870b47e62bbb8d6001c1e8e7b4fa74bc9e2 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 1 Oct 2024 16:43:12 +0000 Subject: [PATCH 41/76] e45983a docs: update license file match that of angular/angular --- LICENSE | 10 +++++----- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 8876c32c..9017f114 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2017 Google, Inc. +Copyright (c) 2010-2024 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/package.json b/package.json index 664d4a4f..80f2cd31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-736e126", + "version": "18.2.6+sha-e45983a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#736e126", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e45983a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 5d874344..0f34ba8e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-736e126'; +const VERSION = '18.2.6+sha-e45983a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 08b07303..fecb7358 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Oct 01 2024 16:22:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Oct 01 2024 16:43:12 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 3973aee2e58816c5df8dba33379166d5609a0f80 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 2 Oct 2024 08:59:31 +0000 Subject: [PATCH 42/76] d21d1e6 release: cut the v18.2.7 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 80f2cd31..cbe7cb86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.6+sha-e45983a", + "version": "18.2.7+sha-d21d1e6", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e45983a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d21d1e6", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0f34ba8e..ee874615 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.6+sha-e45983a'; +const VERSION = '18.2.7+sha-d21d1e6'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index fecb7358..33d6d85c 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Oct 01 2024 16:43:12 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 02 2024 08:59:31 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 84b98c58bd82d23459c1a7d174c8f0e14f770583 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 4 Oct 2024 08:26:42 +0000 Subject: [PATCH 43/76] b522002 fix(@schematics/angular): add validation for component and directive class name --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index cbe7cb86..d62e964a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.7+sha-d21d1e6", + "version": "18.2.7+sha-b522002", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d21d1e6", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b522002", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index ee874615..bed5bf87 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.7+sha-d21d1e6'; +const VERSION = '18.2.7+sha-b522002'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 33d6d85c..eb453ba6 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 02 2024 08:59:31 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Oct 04 2024 08:26:42 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 339e29cd5eda9179bd1ad4d1d4cebd7cdec7ed87 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 4 Oct 2024 13:30:01 +0000 Subject: [PATCH 44/76] af7e775 test: fix typo in directory name --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d62e964a..9e7bccfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.7+sha-b522002", + "version": "18.2.7+sha-af7e775", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b522002", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#af7e775", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index bed5bf87..be92dbcb 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.7+sha-b522002'; +const VERSION = '18.2.7+sha-af7e775'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index eb453ba6..93364ee9 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Oct 04 2024 08:26:42 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Oct 04 2024 13:30:01 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 85be96f22ff43733d449af99564cc30935313bc2 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 7 Oct 2024 16:48:47 +0000 Subject: [PATCH 45/76] 9b5cfaa fix(@angular/build): always generate a new hash for optimized chunk --- package.json | 4 ++-- src/builders/application/chunk-optimizer.js | 5 +---- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9e7bccfb..03103e25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.7+sha-af7e775", + "version": "18.2.7+sha-9b5cfaa", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#af7e775", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9b5cfaa", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/builders/application/chunk-optimizer.js b/src/builders/application/chunk-optimizer.js index 2412495f..6f93c798 100644 --- a/src/builders/application/chunk-optimizer.js +++ b/src/builders/application/chunk-optimizer.js @@ -83,10 +83,7 @@ async function optimizeChunks(original, sourcemap) { const result = await bundle.generate({ compact: true, sourcemap, - chunkFileNames(chunkInfo) { - // Do not add hash to file name if already present - return /-[a-zA-Z0-9]{8}$/.test(chunkInfo.name) ? '[name].js' : '[name]-[hash].js'; - }, + chunkFileNames: (chunkInfo) => `${chunkInfo.name.replace(/-[a-zA-Z0-9]{8}$/, '')}-[hash].js`, }); optimizedOutput = result.output; } diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index be92dbcb..39920838 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.7+sha-af7e775'; +const VERSION = '18.2.7+sha-9b5cfaa'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 93364ee9..5e17a2cc 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Oct 04 2024 13:30:01 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Oct 07 2024 16:48:47 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From cf7a3d833d2032788497df83d570cdbaeb633948 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 9 Oct 2024 13:15:18 +0000 Subject: [PATCH 46/76] 9445916 fix(@angular/build): `Ctrl + C` not terminating dev-server with SSR --- package.json | 4 ++-- src/builders/dev-server/vite-server.js | 6 ++++++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 03103e25..bdaf210a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.7+sha-9b5cfaa", + "version": "18.2.7+sha-9445916", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9b5cfaa", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9445916", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/builders/dev-server/vite-server.js b/src/builders/dev-server/vite-server.js index c9c4220e..27738b98 100644 --- a/src/builders/dev-server/vite-server.js +++ b/src/builders/dev-server/vite-server.js @@ -74,6 +74,12 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context browserOptions.ssr = true; // https://nodejs.org/api/process.html#processsetsourcemapsenabledval process.setSourceMapsEnabled(true); + if (browserOptions.progress !== false) { + // This is a workaround for https://github.com/angular/angular-cli/issues/28336, which is caused by the interaction between `zone.js` and `listr2`. + process.once('SIGINT', () => { + process.kill(process.pid); + }); + } } // Set all packages as external to support Vite's prebundle caching browserOptions.externalPackages = serverOptions.prebundle; diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 39920838..b4131e5b 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.7+sha-9b5cfaa'; +const VERSION = '18.2.7+sha-9445916'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 5e17a2cc..bb5ba29c 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Oct 07 2024 16:48:47 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 09 2024 13:15:18 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From df318c5cdc33bc307728691583bc28cb8310c593 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 9 Oct 2024 17:48:22 +0000 Subject: [PATCH 47/76] 1e578df release: cut the v18.2.8 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bdaf210a..c33278f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.7+sha-9445916", + "version": "18.2.8+sha-1e578df", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9445916", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1e578df", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b4131e5b..2839ca80 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.7+sha-9445916'; +const VERSION = '18.2.8+sha-1e578df'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index bb5ba29c..a30f5206 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 09 2024 13:15:18 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 09 2024 17:48:22 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 3248b609f73e672741689267c36a4862440c5286 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 14 Oct 2024 16:38:46 +0000 Subject: [PATCH 48/76] 237f7c5 fix(@schematics/angular): update browserslist config to include last 2 Android major versions --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- src/utils/supported-browsers.js | 1 + uniqueId | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c33278f0..d6a3b3c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.8+sha-1e578df", + "version": "18.2.8+sha-237f7c5", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#1e578df", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#237f7c5", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 2839ca80..8bd79df9 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.8+sha-1e578df'; +const VERSION = '18.2.8+sha-237f7c5'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/src/utils/supported-browsers.js b/src/utils/supported-browsers.js index cde7df57..24df2dc1 100644 --- a/src/utils/supported-browsers.js +++ b/src/utils/supported-browsers.js @@ -19,6 +19,7 @@ function getSupportedBrowsers(projectRoot, logger) { 'last 2 Edge major versions', 'last 2 Safari major versions', 'last 2 iOS major versions', + 'last 2 Android major versions', 'Firefox ESR', ]; // Get browsers from config or default. diff --git a/uniqueId b/uniqueId index a30f5206..3cb722b4 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 09 2024 17:48:22 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Oct 14 2024 16:38:46 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 886e5a614ead9a6a0a12541f03eb6f204b7e5025 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 15 Oct 2024 16:29:04 +0000 Subject: [PATCH 49/76] b91c82d fix(@angular/build): avoid race condition in sass importer --- package.json | 4 ++-- src/tools/sass/worker.js | 19 +++++++++++++++++++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d6a3b3c4..08de2336 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.8+sha-237f7c5", + "version": "18.2.8+sha-b91c82d", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#237f7c5", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b91c82d", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/sass/worker.js b/src/tools/sass/worker.js index 3e038f39..bc85aab4 100644 --- a/src/tools/sass/worker.js +++ b/src/tools/sass/worker.js @@ -40,6 +40,25 @@ async function renderSassStylesheet(request) { containingUrl: containingUrl ? (0, node_url_1.fileURLToPath)(containingUrl) : null, }, }); + // Wait for the main thread to set the signal to 1 and notify, which tells + // us that a message can be received on the port. + // If the main thread is fast, the signal will already be set to 1, and no + // sleep/notify is necessary. + // However, there can be a race condition here: + // - the main thread sets the signal to 1, but does not get to the notify instruction yet + // - the worker does not pause because the signal is set to 1 + // - the worker very soon enters this method again + // - this method sets the signal to 0 and sends the message + // - the signal is 0 and so the `Atomics.wait` call blocks + // - only now the main thread runs the `notify` from the first invocation, so the + // worker continues. + // - but there is no message yet in the port, because the thread should not have been + // waken up yet. + // To combat this, wait for a non-0 value _twice_. + // Almost every time, this immediately continues with "not-equal", because + // the signal is still set to 1, except during the race condition, when the second + // wait will wait for the correct notify. + Atomics.wait(importerChannel.signal, 0, 0); Atomics.wait(importerChannel.signal, 0, 0); const result = (0, node_worker_threads_1.receiveMessageOnPort)(importerChannel.port)?.message; return result ? (0, node_url_1.pathToFileURL)(result) : null; diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 8bd79df9..872ed911 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.8+sha-237f7c5'; +const VERSION = '18.2.8+sha-b91c82d'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 3cb722b4..767d3f54 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Oct 14 2024 16:38:46 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Oct 15 2024 16:29:04 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From bbb19bf3c7ffced9e64dc272d07b133e654d25dd Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 16 Oct 2024 14:02:21 +0000 Subject: [PATCH 50/76] d749ba6 fix(@angular/build): allow direct bundling of TSX files with application builder --- package.json | 4 ++-- src/tools/esbuild/angular/compiler-plugin.js | 15 ++++++++++++++- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 08de2336..bfa86340 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.8+sha-b91c82d", + "version": "18.2.8+sha-d749ba6", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#b91c82d", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d749ba6", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/esbuild/angular/compiler-plugin.js b/src/tools/esbuild/angular/compiler-plugin.js index 20616561..b1bb6ea3 100644 --- a/src/tools/esbuild/angular/compiler-plugin.js +++ b/src/tools/esbuild/angular/compiler-plugin.js @@ -314,9 +314,22 @@ function createCompilerPlugin(pluginOptions, styleOptions) { // Store as the returned Uint8Array to allow caching the fully transformed code typeScriptFileCache.set(request, contents); } + let loader; + if (useTypeScriptTranspilation || isJS) { + // TypeScript has transpiled to JS or is already JS + loader = 'js'; + } + else if (request.at(-1) === 'x') { + // TSX and TS have different syntax rules. Only set if input is a TSX file. + loader = 'tsx'; + } + else { + // Otherwise, directly bundle TS + loader = 'ts'; + } return { contents, - loader: useTypeScriptTranspilation || isJS ? 'js' : 'ts', + loader, }; }); build.onLoad({ filter: /\.[cm]?js$/ }, (0, load_result_cache_1.createCachedLoad)(pluginOptions.loadResultCache, async (args) => { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 872ed911..2566a191 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.8+sha-b91c82d'; +const VERSION = '18.2.8+sha-d749ba6'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 767d3f54..60f6943a 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Oct 15 2024 16:29:04 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 16 2024 14:02:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 81eddff83d8e7ce8dc77393172a6cb4c7eb58cec Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 16 Oct 2024 23:01:52 +0000 Subject: [PATCH 51/76] 302c4d1 release: cut the v18.2.9 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bfa86340..11f895de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.8+sha-d749ba6", + "version": "18.2.9+sha-302c4d1", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d749ba6", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#302c4d1", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 2566a191..fc92c1cf 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.8+sha-d749ba6'; +const VERSION = '18.2.9+sha-302c4d1'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 60f6943a..8fc329b4 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 16 2024 14:02:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 16 2024 23:01:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 659f2089ea91c237d5baca777f0271312635de48 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 23 Oct 2024 09:45:32 +0000 Subject: [PATCH 52/76] 7b775f4 fix(@angular-devkit/build-angular): update `http-proxy-middleware` to `3.0.3` --- package.json | 4 ++-- src/tools/esbuild/javascript-transformer.js | 2 ++ src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 11f895de..f6cbdd5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.9+sha-302c4d1", + "version": "18.2.9+sha-7b775f4", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#302c4d1", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#7b775f4", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/esbuild/javascript-transformer.js b/src/tools/esbuild/javascript-transformer.js index b22d163d..66a8029b 100644 --- a/src/tools/esbuild/javascript-transformer.js +++ b/src/tools/esbuild/javascript-transformer.js @@ -48,6 +48,8 @@ class JavaScriptTransformer { // Shutdown idle threads after 1 second of inactivity idleTimeout: 1000, recordTiming: false, + // Prevent passing `--import` (loader-hooks) from parent to child worker. + execArgv: [], }); return this.#workerPool; } diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fc92c1cf..6e659822 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.9+sha-302c4d1'; +const VERSION = '18.2.9+sha-7b775f4'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 8fc329b4..40898f33 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 16 2024 23:01:52 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 23 2024 09:45:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 4f501ecc55a329fb8af5f9ec73c0e12ef3ceacc0 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 23 Oct 2024 20:07:26 +0000 Subject: [PATCH 53/76] fee914e release: cut the v18.2.10 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f6cbdd5f..df2872aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.9+sha-7b775f4", + "version": "18.2.10+sha-fee914e", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#7b775f4", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#fee914e", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 6e659822..c3007bfc 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.9+sha-7b775f4'; +const VERSION = '18.2.10+sha-fee914e'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 40898f33..69bcf7f8 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 23 2024 09:45:32 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 23 2024 20:07:26 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From eb8f485158b500e0ae95de8c8a60976d519117ff Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 30 Oct 2024 14:29:59 +0000 Subject: [PATCH 54/76] 87ec15b fix(@angular/build): show error message when error stack is undefined --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- src/utils/server-rendering/prerender.js | 4 ++-- uniqueId | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index df2872aa..15a67196 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.10+sha-fee914e", + "version": "18.2.10+sha-87ec15b", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#fee914e", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#87ec15b", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index c3007bfc..ada332e3 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.10+sha-fee914e'; +const VERSION = '18.2.10+sha-87ec15b'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/src/utils/server-rendering/prerender.js b/src/utils/server-rendering/prerender.js index 6b358cf7..cfc6a884 100644 --- a/src/utils/server-rendering/prerender.js +++ b/src/utils/server-rendering/prerender.js @@ -128,7 +128,7 @@ async function renderPages(sourcemap, allRoutes, maxThreads, workspaceRoot, outp } }) .catch((err) => { - errors.push(`An error occurred while prerendering route '${route}'.\n\n${err.stack}`); + errors.push(`An error occurred while prerendering route '${route}'.\n\n${err.stack ?? err.message ?? err.code ?? err}`); void renderWorker.destroy(); }); renderingPromises.push(renderResult); @@ -185,7 +185,7 @@ async function getAllRoutes(workspaceRoot, outputFilesForWorker, assetFilesForWo const { routes: extractedRoutes, warnings } = await renderWorker .run({}) .catch((err) => { - errors.push(`An error occurred while extracting routes.\n\n${err.stack}`); + errors.push(`An error occurred while extracting routes.\n\n${err.stack ?? err.message ?? err.code ?? err}`); }) .finally(() => { void renderWorker.destroy(); diff --git a/uniqueId b/uniqueId index 69bcf7f8..e74f6c9f 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 23 2024 20:07:26 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 30 2024 14:29:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 324de8abb4954721f32c3f8074828687425f161a Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 30 Oct 2024 23:35:07 +0000 Subject: [PATCH 55/76] de95545 release: cut the v18.2.11 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 15a67196..96813e4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.10+sha-87ec15b", + "version": "18.2.11+sha-de95545", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#87ec15b", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#de95545", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index ada332e3..31ad3a12 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.10+sha-87ec15b'; +const VERSION = '18.2.11+sha-de95545'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index e74f6c9f..3f221622 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 30 2024 14:29:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Oct 30 2024 23:35:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 55cdac9825ca742506da4cff20535154195a76ca Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 4 Nov 2024 14:31:58 +0000 Subject: [PATCH 56/76] f58e689 test: add `@parcel/watcher` to allowed postinstall checks --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 96813e4c..c21aece2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.11+sha-de95545", + "version": "18.2.11+sha-f58e689", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#de95545", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f58e689", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 31ad3a12..b18ea51c 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.11+sha-de95545'; +const VERSION = '18.2.11+sha-f58e689'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 3f221622..bc5bc8e7 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Oct 30 2024 23:35:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Nov 04 2024 14:31:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 023c866a09cf5de1b566824e03aa73f644d4c75f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 8 Nov 2024 19:11:25 +0000 Subject: [PATCH 57/76] c8bee84 fix(@angular/build): allow .js file replacements in all configuration cases --- package.json | 4 ++-- src/tools/esbuild/angular/compiler-plugin.js | 12 ++++++++++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c21aece2..8d324e66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.11+sha-f58e689", + "version": "18.2.11+sha-c8bee84", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#f58e689", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c8bee84", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/esbuild/angular/compiler-plugin.js b/src/tools/esbuild/angular/compiler-plugin.js index b1bb6ea3..b03875cb 100644 --- a/src/tools/esbuild/angular/compiler-plugin.js +++ b/src/tools/esbuild/angular/compiler-plugin.js @@ -333,12 +333,20 @@ function createCompilerPlugin(pluginOptions, styleOptions) { }; }); build.onLoad({ filter: /\.[cm]?js$/ }, (0, load_result_cache_1.createCachedLoad)(pluginOptions.loadResultCache, async (args) => { + let request = args.path; + if (pluginOptions.fileReplacements) { + const replacement = pluginOptions.fileReplacements[path.normalize(args.path)]; + if (replacement) { + request = path.normalize(replacement); + } + } return (0, profiling_1.profileAsync)('NG_EMIT_JS*', async () => { - const sideEffects = await hasSideEffects(args.path); - const contents = await javascriptTransformer.transformFile(args.path, pluginOptions.jit, sideEffects); + const sideEffects = await hasSideEffects(request); + const contents = await javascriptTransformer.transformFile(request, pluginOptions.jit, sideEffects); return { contents, loader: 'js', + watchFiles: request !== args.path ? [request] : undefined, }; }, true); })); diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index b18ea51c..fef632c3 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.11+sha-f58e689'; +const VERSION = '18.2.11+sha-c8bee84'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index bc5bc8e7..ac77266f 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Nov 04 2024 14:31:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Nov 08 2024 19:11:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 0cd10676e6f9b0443597def8c08ee3d3c9a9469a Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 13 Nov 2024 17:13:07 +0000 Subject: [PATCH 58/76] c3925ed fix(@angular/cli): support default options for multiselect list x-prompt --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8d324e66..bcbcb707 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.11+sha-c8bee84", + "version": "18.2.11+sha-c3925ed", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c8bee84", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c3925ed", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fef632c3..e96efb35 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.11+sha-c8bee84'; +const VERSION = '18.2.11+sha-c3925ed'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index ac77266f..28ca95d1 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Nov 08 2024 19:11:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Nov 13 2024 17:13:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From ff259a2ecde4c6f8896a5e61620decda3e27e0e5 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 13 Nov 2024 18:34:50 +0000 Subject: [PATCH 59/76] 93f5521 fix(@angular/build): improve URL rebasing for hyphenated Sass namespaced variables --- package.json | 4 ++-- src/tools/sass/rebasing-importer.js | 2 +- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bcbcb707..459e8beb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.11+sha-c3925ed", + "version": "18.2.11+sha-93f5521", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c3925ed", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#93f5521", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/tools/sass/rebasing-importer.js b/src/tools/sass/rebasing-importer.js index ab31b03f..51c91850 100644 --- a/src/tools/sass/rebasing-importer.js +++ b/src/tools/sass/rebasing-importer.js @@ -65,7 +65,7 @@ class UrlRebasingImporter { continue; } // Sass variable usage either starts with a `$` or contains a namespace and a `.$` - const valueNormalized = value[0] === '$' || /^\w+\.\$/.test(value) ? `#{${value}}` : value; + const valueNormalized = value[0] === '$' || /^\w[\w_-]*\.\$/.test(value) ? `#{${value}}` : value; const rebasedPath = (0, node_path_1.relative)(this.entryDirectory, stylesheetDirectory); // Normalize path separators and escape characters // https://developer.mozilla.org/en-US/docs/Web/CSS/url#syntax diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index e96efb35..a26b80d7 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.11+sha-c3925ed'; +const VERSION = '18.2.11+sha-93f5521'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 28ca95d1..0c6e6a10 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Nov 13 2024 17:13:07 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Nov 13 2024 18:34:50 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 987010cf817470cbb5d1b060872d165f6f3ec148 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 14 Nov 2024 16:13:11 +0000 Subject: [PATCH 60/76] 53b9e35 release: cut the v18.2.12 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 459e8beb..97a5eb33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.11+sha-93f5521", + "version": "18.2.12+sha-53b9e35", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#93f5521", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#53b9e35", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index a26b80d7..efc5afe6 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.11+sha-93f5521'; +const VERSION = '18.2.12+sha-53b9e35'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 0c6e6a10..6ca95ff6 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Nov 13 2024 18:34:50 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Nov 14 2024 16:13:11 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 9c9ae9773c8afb45e058a3de9c0dd04be166ee5f Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 5 Dec 2024 15:24:43 +0000 Subject: [PATCH 61/76] 0434eff ci: update dev-infra sha to use latest Bazel keys --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 97a5eb33..a07ae8b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.12+sha-53b9e35", + "version": "18.2.12+sha-0434eff", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#53b9e35", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0434eff", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index efc5afe6..bfd01b93 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.12+sha-53b9e35'; +const VERSION = '18.2.12+sha-0434eff'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 6ca95ff6..b47bb665 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Nov 14 2024 16:13:11 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Dec 05 2024 15:24:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 300b98a3f19e93619ef197b26f97e1f756e84495 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Mon, 27 Jan 2025 17:40:21 +0000 Subject: [PATCH 62/76] 50c6817 test: disable WTR e2e test --- package.json | 6 +++--- src/builders/dev-server/options.d.ts | 1 + src/builders/dev-server/options.js | 3 ++- src/builders/dev-server/schema.d.ts | 12 ++++++++++++ src/builders/dev-server/schema.json | 17 +++++++++++++++++ src/builders/dev-server/vite-server.js | 1 + src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 8 files changed, 38 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a07ae8b1..dc7baf98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.12+sha-0434eff", + "version": "18.2.12+sha-50c6817", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#0434eff", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#50c6817", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.22.4", "sass": "1.77.6", "semver": "7.6.3", - "vite": "5.4.6", + "vite": "5.4.14", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/builders/dev-server/options.d.ts b/src/builders/dev-server/options.d.ts index 089034bb..a601907c 100644 --- a/src/builders/dev-server/options.d.ts +++ b/src/builders/dev-server/options.d.ts @@ -44,4 +44,5 @@ export declare function normalizeOptions(context: BuilderContext, projectName: s host?: string; port?: number; }; + allowedHosts: true | string[]; }>; diff --git a/src/builders/dev-server/options.js b/src/builders/dev-server/options.js index 70d8aa6e..178cb590 100644 --- a/src/builders/dev-server/options.js +++ b/src/builders/dev-server/options.js @@ -73,7 +73,7 @@ async function normalizeOptions(context, projectName, options) { } } // Initial options to keep - const { host, port, poll, open, verbose, watch, liveReload, hmr, headers, proxyConfig, servePath, ssl, sslCert, sslKey, prebundle, } = options; + const { host, port, poll, open, verbose, watch, liveReload, hmr, headers, proxyConfig, servePath, ssl, sslCert, sslKey, prebundle, allowedHosts, } = options; // Return all the normalized options return { buildTarget, @@ -97,5 +97,6 @@ async function normalizeOptions(context, projectName, options) { // Prebundling defaults to true but requires caching to function prebundle: cacheOptions.enabled && !optimization.scripts && prebundle, inspect, + allowedHosts: allowedHosts ? allowedHosts : [], }; } diff --git a/src/builders/dev-server/schema.d.ts b/src/builders/dev-server/schema.d.ts index cb7b93d8..e0bcba95 100644 --- a/src/builders/dev-server/schema.d.ts +++ b/src/builders/dev-server/schema.d.ts @@ -2,6 +2,12 @@ * Dev Server target options for Build Facade. */ export interface Schema { + /** + * The hosts that can access the development server. This option sets the Vite option of the + * same name. For further details: + * https://vite.dev/config/server-options.html#server-allowedhosts + */ + allowedHosts?: AllowedHosts; /** * A build builder target to serve in the format of `project:target[:configuration]`. You * can also pass in more than one configuration name as a comma-separated list. Example: @@ -78,6 +84,12 @@ export interface Schema { */ watch?: boolean; } +/** + * The hosts that can access the development server. This option sets the Vite option of the + * same name. For further details: + * https://vite.dev/config/server-options.html#server-allowedhosts + */ +export type AllowedHosts = string[] | boolean; /** * Activate debugging inspector. This option only has an effect when 'SSR' or 'SSG' are * enabled. diff --git a/src/builders/dev-server/schema.json b/src/builders/dev-server/schema.json index 3adce45e..775ce72e 100644 --- a/src/builders/dev-server/schema.json +++ b/src/builders/dev-server/schema.json @@ -36,6 +36,23 @@ "type": "string", "description": "SSL certificate to use for serving HTTPS." }, + "allowedHosts": { + "description": "The hosts that can access the development server. This option sets the Vite option of the same name. For further details: https://vite.dev/config/server-options.html#server-allowedhosts", + "default": [], + "oneOf": [ + { + "type": "array", + "description": "List of hosts that are allowed to access the development server.", + "items": { + "type": "string" + } + }, + { + "type": "boolean", + "description": "Indicates that all hosts are allowed. This is not recommended and a security risk." + } + ] + }, "headers": { "type": "object", "description": "Custom HTTP headers to be added to all responses.", diff --git a/src/builders/dev-server/vite-server.js b/src/builders/dev-server/vite-server.js index 27738b98..bff7ea80 100644 --- a/src/builders/dev-server/vite-server.js +++ b/src/builders/dev-server/vite-server.js @@ -411,6 +411,7 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks, strictPort: true, host: serverOptions.host, open: serverOptions.open, + allowedHosts: serverOptions.allowedHosts, headers: serverOptions.headers, proxy, cors: { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index bfd01b93..63b5be72 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.12+sha-0434eff'; +const VERSION = '18.2.12+sha-50c6817'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index b47bb665..60703084 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Dec 05 2024 15:24:43 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Mon Jan 27 2025 17:40:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From c42cfb74ba31c0b6db93f2cb35c4aabe5f443ba3 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 29 Jan 2025 10:17:15 +0000 Subject: [PATCH 63/76] d619f3d release: cut the v18.2.13 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index dc7baf98..f9fcb9ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.12+sha-50c6817", + "version": "18.2.13+sha-d619f3d", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#50c6817", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d619f3d", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 63b5be72..8e3f1f29 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.12+sha-50c6817'; +const VERSION = '18.2.13+sha-d619f3d'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 60703084..2c17d106 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Mon Jan 27 2025 17:40:21 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Jan 29 2025 10:17:15 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From cce024abc0c4ff9b2f5c7803606740d865be5877 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 29 Jan 2025 12:36:19 +0000 Subject: [PATCH 64/76] 9d34d28 fix(@angular-devkit/build-angular): remove unused `vite` dependency --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f9fcb9ba..8fd3cade 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.13+sha-d619f3d", + "version": "18.2.13+sha-9d34d28", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d619f3d", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9d34d28", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 8e3f1f29..28db9137 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.13+sha-d619f3d'; +const VERSION = '18.2.13+sha-9d34d28'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 2c17d106..d9844daa 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Jan 29 2025 10:17:15 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Jan 29 2025 12:36:19 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 9e8299671722a6b2e9fbd38c29545ab1749cc8a6 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 29 Jan 2025 13:51:01 +0000 Subject: [PATCH 65/76] d621da8 release: cut the v18.2.14 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8fd3cade..fba79967 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.13+sha-9d34d28", + "version": "18.2.14+sha-d621da8", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9d34d28", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d621da8", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 28db9137..44cbe90d 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.13+sha-9d34d28'; +const VERSION = '18.2.14+sha-d621da8'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d9844daa..9e875e33 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Jan 29 2025 12:36:19 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Jan 29 2025 13:51:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 792e8879532a501337bb112857df0f8af81f528d Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 13 Mar 2025 09:46:41 +0000 Subject: [PATCH 66/76] c88727a ci: update angular/dev-infra actions version --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fba79967..3fdfae65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.14+sha-d621da8", + "version": "18.2.14+sha-c88727a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d621da8", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c88727a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 44cbe90d..fe025a2e 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.14+sha-d621da8'; +const VERSION = '18.2.14+sha-c88727a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 9e875e33..55923fc0 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Jan 29 2025 13:51:00 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Mar 13 2025 09:46:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 03fc8164dfe4459071ac382f761eb5e47e6ca8ee Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Thu, 13 Mar 2025 10:07:23 +0000 Subject: [PATCH 67/76] 18ea0db release: cut the v18.2.15 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3fdfae65..69643e26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.14+sha-c88727a", + "version": "18.2.15+sha-18ea0db", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c88727a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#18ea0db", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index fe025a2e..9a73cd05 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.14+sha-c88727a'; +const VERSION = '18.2.15+sha-18ea0db'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 55923fc0..220696cd 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Mar 13 2025 09:46:41 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Thu Mar 13 2025 10:07:23 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 6af18b51ce8ec82d1a1756f59b840508450515d3 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Tue, 25 Mar 2025 11:22:15 +0000 Subject: [PATCH 68/76] 4267a80 fix(@angular-devkit/build-angular): remove `@vitejs/plugin-basic-ssl` from dependencies --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 69643e26..ca4b5f70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.15+sha-18ea0db", + "version": "18.2.15+sha-4267a80", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#18ea0db", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4267a80", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 9a73cd05..942e8a85 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.15+sha-18ea0db'; +const VERSION = '18.2.15+sha-4267a80'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 220696cd..e2baaf9a 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Thu Mar 13 2025 10:07:23 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Tue Mar 25 2025 11:22:15 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 36f4b1f836c831097426b4f27691acfda1e79987 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 26 Mar 2025 08:33:25 +0000 Subject: [PATCH 69/76] 9c2904d fix(@angular/build): update vite to 5.4.15 --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ca4b5f70..030f5672 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.15+sha-4267a80", + "version": "18.2.15+sha-9c2904d", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4267a80", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9c2904d", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.22.4", "sass": "1.77.6", "semver": "7.6.3", - "vite": "5.4.14", + "vite": "5.4.15", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 942e8a85..e9f5ef82 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.15+sha-4267a80'; +const VERSION = '18.2.15+sha-9c2904d'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index e2baaf9a..b07643ed 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Mar 25 2025 11:22:15 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Mar 26 2025 08:33:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 2c1c177b16c83b497ec3451eaa45c832f1f7a7b4 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 26 Mar 2025 09:48:58 +0000 Subject: [PATCH 70/76] e4b6363 release: cut the v18.2.16 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 030f5672..4c59b0a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.15+sha-9c2904d", + "version": "18.2.16+sha-e4b6363", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9c2904d", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e4b6363", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index e9f5ef82..905d7485 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.15+sha-9c2904d'; +const VERSION = '18.2.16+sha-e4b6363'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index b07643ed..842452ca 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Mar 26 2025 08:33:25 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Mar 26 2025 09:48:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 5f4333a17752542b4139ebd4e080d4fb599511fc Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 2 Apr 2025 13:36:23 +0000 Subject: [PATCH 71/76] 247ceff fix(@angular/build): update vite to 5.4.16 due to a security issues --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4c59b0a8..b3306c5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.16+sha-e4b6363", + "version": "18.2.16+sha-247ceff", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#e4b6363", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#247ceff", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.22.4", "sass": "1.77.6", "semver": "7.6.3", - "vite": "5.4.15", + "vite": "5.4.16", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 905d7485..7d152ba4 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.16+sha-e4b6363'; +const VERSION = '18.2.16+sha-247ceff'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 842452ca..541c4935 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Mar 26 2025 09:48:58 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Apr 02 2025 13:36:23 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From a583b09b2018ee87ac2d7d08baa185a006f9385a Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 2 Apr 2025 16:59:55 +0000 Subject: [PATCH 72/76] 303bee9 release: cut the v18.2.17 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b3306c5e..9d8e9d73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.16+sha-247ceff", + "version": "18.2.17+sha-303bee9", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#247ceff", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#303bee9", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 7d152ba4..184e48ab 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.16+sha-247ceff'; +const VERSION = '18.2.17+sha-303bee9'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 541c4935..d386b6d0 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Apr 02 2025 13:36:23 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Apr 02 2025 16:59:55 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From b613b9cd1c5c803830f98c023a658107e345838b Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 9 Apr 2025 11:23:59 +0000 Subject: [PATCH 73/76] 5dae85a ci: update angular dev-infra actions --- package.json | 6 +++--- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9d8e9d73..bb2bd7d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.17+sha-303bee9", + "version": "18.2.17+sha-5dae85a", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#303bee9", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5dae85a", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -45,7 +45,7 @@ "rollup": "4.22.4", "sass": "1.77.6", "semver": "7.6.3", - "vite": "5.4.16", + "vite": "~5.4.17", "watchpack": "2.4.1" }, "peerDependencies": { diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 184e48ab..0a277a95 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.17+sha-303bee9'; +const VERSION = '18.2.17+sha-5dae85a'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index d386b6d0..4e0c9d57 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Apr 02 2025 16:59:55 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Apr 09 2025 11:23:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From d6dec8f0d0fbad9ecc6aa5c59b1323ae90291349 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 9 Apr 2025 17:42:57 +0000 Subject: [PATCH 74/76] 2b1dc21 release: cut the v18.2.18 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bb2bd7d1..aa5802ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.17+sha-5dae85a", + "version": "18.2.18+sha-2b1dc21", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5dae85a", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2b1dc21", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 0a277a95..481e8170 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.17+sha-5dae85a'; +const VERSION = '18.2.18+sha-2b1dc21'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 4e0c9d57..08b7fa56 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Apr 09 2025 11:23:59 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Apr 09 2025 17:42:57 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From 6d698afd32c17075a591efa6cba75b74239b4231 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Fri, 18 Apr 2025 10:57:08 +0000 Subject: [PATCH 75/76] 01cc617 fix(@angular-devkit/build-angular): update http-proxy-middleware to v3.0.5 --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index aa5802ae..dbbaae18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.18+sha-2b1dc21", + "version": "18.2.18+sha-01cc617", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2b1dc21", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#01cc617", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 481e8170..4d7247a4 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.18+sha-2b1dc21'; +const VERSION = '18.2.18+sha-01cc617'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index 08b7fa56..cd5e8b02 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Wed Apr 09 2025 17:42:57 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Fri Apr 18 2025 10:57:08 GMT+0000 (Coordinated Universal Time) \ No newline at end of file From ec78f3724fd941e2d830d45d6358b76ecd30e996 Mon Sep 17 00:00:00 2001 From: Angular Builds Date: Wed, 23 Apr 2025 08:50:42 +0000 Subject: [PATCH 76/76] cfb0a4f release: cut the v18.2.19 release --- package.json | 4 ++-- src/utils/normalize-cache.js | 2 +- uniqueId | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index dbbaae18..506d9ab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/build", - "version": "18.2.18+sha-01cc617", + "version": "18.2.19+sha-cfb0a4f", "description": "Official build system for Angular", "keywords": [ "Angular CLI", @@ -23,7 +23,7 @@ "builders": "builders.json", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#01cc617", + "@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#cfb0a4f", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", diff --git a/src/utils/normalize-cache.js b/src/utils/normalize-cache.js index 4d7247a4..6c4f11c6 100644 --- a/src/utils/normalize-cache.js +++ b/src/utils/normalize-cache.js @@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCacheOptions = normalizeCacheOptions; const node_path_1 = require("node:path"); /** Version placeholder is replaced during the build process with actual package version */ -const VERSION = '18.2.18+sha-01cc617'; +const VERSION = '18.2.19+sha-cfb0a4f'; function hasCacheMetadata(value) { return (!!value && typeof value === 'object' && diff --git a/uniqueId b/uniqueId index cd5e8b02..51e48e81 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Fri Apr 18 2025 10:57:08 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Apr 23 2025 08:50:42 GMT+0000 (Coordinated Universal Time) \ No newline at end of file