@angular/build 20.3.4 → 20.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/build",
3
- "version": "20.3.4",
3
+ "version": "20.3.5",
4
4
  "description": "Official build system for Angular",
5
5
  "keywords": [
6
6
  "Angular CLI",
@@ -23,7 +23,7 @@
23
23
  "builders": "builders.json",
24
24
  "dependencies": {
25
25
  "@ampproject/remapping": "2.3.0",
26
- "@angular-devkit/architect": "0.2003.4",
26
+ "@angular-devkit/architect": "0.2003.5",
27
27
  "@babel/core": "7.28.3",
28
28
  "@babel/helper-annotate-as-pure": "7.27.3",
29
29
  "@babel/helper-split-export-declaration": "7.24.7",
@@ -60,7 +60,7 @@
60
60
  "@angular/platform-browser": "^20.0.0",
61
61
  "@angular/platform-server": "^20.0.0",
62
62
  "@angular/service-worker": "^20.0.0",
63
- "@angular/ssr": "^20.3.4",
63
+ "@angular/ssr": "^20.3.5",
64
64
  "karma": "^6.4.0",
65
65
  "less": "^4.2.0",
66
66
  "ng-packagr": "^20.0.0",
@@ -112,7 +112,7 @@
112
112
  "type": "git",
113
113
  "url": "https://github.com/angular/angular-cli.git"
114
114
  },
115
- "packageManager": "pnpm@10.17.1",
115
+ "packageManager": "pnpm@10.18.1",
116
116
  "engines": {
117
117
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
118
118
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
@@ -46,6 +46,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.execute = execute;
47
47
  exports.writeTestFiles = writeTestFiles;
48
48
  const node_crypto_1 = require("node:crypto");
49
+ const node_fs_1 = require("node:fs");
49
50
  const fs = __importStar(require("node:fs/promises"));
50
51
  const node_module_1 = require("node:module");
51
52
  const node_path_1 = __importDefault(require("node:path"));
@@ -305,6 +306,11 @@ async function collectEntrypoints(options, context, projectSourceRoot) {
305
306
  async function initializeApplication(options, context, karmaOptions, transforms) {
306
307
  const outputPath = node_path_1.default.join(context.workspaceRoot, 'dist/test-out', (0, node_crypto_1.randomUUID)());
307
308
  const projectSourceRoot = await getProjectSourceRoot(context);
309
+ // Setup exit cleanup for temporary directory
310
+ const handleProcessExit = () => (0, node_fs_1.rmSync)(outputPath, { recursive: true, force: true });
311
+ process.once('exit', handleProcessExit);
312
+ process.once('SIGINT', handleProcessExit);
313
+ process.once('uncaughtException', handleProcessExit);
308
314
  const [karma, entryPoints] = await Promise.all([
309
315
  Promise.resolve().then(() => __importStar(require('karma'))),
310
316
  collectEntrypoints(options, context, projectSourceRoot),
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.normalizeCacheOptions = normalizeCacheOptions;
11
11
  const node_path_1 = require("node:path");
12
12
  /** Version placeholder is replaced during the build process with actual package version */
13
- const VERSION = '20.3.4';
13
+ const VERSION = '20.3.5';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&