@angular/build 20.0.3 → 20.0.4

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.0.3",
3
+ "version": "20.0.4",
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.2000.3",
26
+ "@angular-devkit/architect": "0.2000.4",
27
27
  "@babel/core": "7.27.1",
28
28
  "@babel/helper-annotate-as-pure": "7.27.1",
29
29
  "@babel/helper-split-export-declaration": "7.24.7",
@@ -40,7 +40,7 @@
40
40
  "mrmime": "2.0.1",
41
41
  "parse5-html-rewriting-stream": "7.1.0",
42
42
  "picomatch": "4.0.2",
43
- "piscina": "5.0.0",
43
+ "piscina": "5.1.1",
44
44
  "rollup": "4.40.2",
45
45
  "sass": "1.88.0",
46
46
  "semver": "7.7.2",
@@ -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.0.3",
63
+ "@angular/ssr": "^20.0.4",
64
64
  "karma": "^6.4.0",
65
65
  "less": "^4.2.0",
66
66
  "ng-packagr": "^20.0.0",
@@ -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.0.3';
13
+ const VERSION = '20.0.4';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&
@@ -161,22 +161,12 @@ function generateLazyLoadedFilesMappings(metafile, initialFiles, publicPath = ''
161
161
  if (!entryPoint || exports?.length < 1 || !fileName.endsWith('.js')) {
162
162
  continue;
163
163
  }
164
- const importedPaths = [
165
- {
166
- path: `${publicPath}${fileName}`,
167
- dynamicImport: false,
168
- },
169
- ];
164
+ const importedPaths = [`${publicPath}${fileName}`];
170
165
  for (const { kind, external, path } of imports) {
171
- if (external ||
172
- initialFiles.has(path) ||
173
- (kind !== 'dynamic-import' && kind !== 'import-statement')) {
166
+ if (external || initialFiles.has(path) || kind !== 'import-statement') {
174
167
  continue;
175
168
  }
176
- importedPaths.push({
177
- path: `${publicPath}${path}`,
178
- dynamicImport: kind === 'dynamic-import',
179
- });
169
+ importedPaths.push(`${publicPath}${path}`);
180
170
  }
181
171
  entryPointToBundles[entryPoint] = importedPaths;
182
172
  }
@@ -14,8 +14,7 @@ class WorkerPool extends piscina_1.Piscina {
14
14
  constructor(options) {
15
15
  const piscinaOptions = {
16
16
  minThreads: 1,
17
- // Workaround for https://github.com/piscinajs/piscina/issues/816
18
- idleTimeout: 10_000,
17
+ idleTimeout: 4_000,
19
18
  // Web containers do not support transferable objects with receiveOnMessagePort which
20
19
  // is used when the Atomics based wait loop is enable.
21
20
  atomics: process.versions.webcontainer ? 'disabled' : 'sync',