@angular-devkit/build-angular 19.2.0-next.1 → 19.2.0-next.2

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,27 +1,27 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "19.2.0-next.1",
3
+ "version": "19.2.0-next.2",
4
4
  "description": "Angular Webpack Build Facade",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
7
7
  "builders": "builders.json",
8
8
  "dependencies": {
9
9
  "@ampproject/remapping": "2.3.0",
10
- "@angular-devkit/architect": "0.1902.0-next.1",
11
- "@angular-devkit/build-webpack": "0.1902.0-next.1",
12
- "@angular-devkit/core": "19.2.0-next.1",
13
- "@angular/build": "19.2.0-next.1",
14
- "@babel/core": "7.26.7",
15
- "@babel/generator": "7.26.5",
10
+ "@angular-devkit/architect": "0.1902.0-next.2",
11
+ "@angular-devkit/build-webpack": "0.1902.0-next.2",
12
+ "@angular-devkit/core": "19.2.0-next.2",
13
+ "@angular/build": "19.2.0-next.2",
14
+ "@babel/core": "7.26.8",
15
+ "@babel/generator": "7.26.8",
16
16
  "@babel/helper-annotate-as-pure": "7.25.9",
17
17
  "@babel/helper-split-export-declaration": "7.24.7",
18
- "@babel/plugin-transform-async-generator-functions": "7.25.9",
18
+ "@babel/plugin-transform-async-generator-functions": "7.26.8",
19
19
  "@babel/plugin-transform-async-to-generator": "7.25.9",
20
- "@babel/plugin-transform-runtime": "7.25.9",
21
- "@babel/preset-env": "7.26.7",
20
+ "@babel/plugin-transform-runtime": "7.26.8",
21
+ "@babel/preset-env": "7.26.8",
22
22
  "@babel/runtime": "7.26.7",
23
23
  "@discoveryjs/json-ext": "0.6.3",
24
- "@ngtools/webpack": "19.2.0-next.1",
24
+ "@ngtools/webpack": "19.2.0-next.2",
25
25
  "@vitejs/plugin-basic-ssl": "1.2.0",
26
26
  "ansi-colors": "4.1.3",
27
27
  "autoprefixer": "10.4.20",
@@ -29,7 +29,7 @@
29
29
  "browserslist": "^4.21.5",
30
30
  "copy-webpack-plugin": "12.0.2",
31
31
  "css-loader": "7.1.2",
32
- "esbuild-wasm": "0.24.2",
32
+ "esbuild-wasm": "0.25.0",
33
33
  "fast-glob": "3.3.3",
34
34
  "http-proxy-middleware": "3.0.3",
35
35
  "istanbul-lib-instrument": "6.0.3",
@@ -44,16 +44,16 @@
44
44
  "ora": "5.4.1",
45
45
  "picomatch": "4.0.2",
46
46
  "piscina": "4.8.0",
47
- "postcss": "8.5.1",
47
+ "postcss": "8.5.2",
48
48
  "postcss-loader": "8.1.1",
49
49
  "resolve-url-loader": "5.0.0",
50
50
  "rxjs": "7.8.1",
51
- "sass": "1.83.4",
51
+ "sass": "1.84.0",
52
52
  "sass-loader": "16.0.4",
53
- "semver": "7.6.3",
53
+ "semver": "7.7.1",
54
54
  "source-map-loader": "5.0.0",
55
55
  "source-map-support": "0.5.21",
56
- "terser": "5.37.0",
56
+ "terser": "5.38.2",
57
57
  "tree-kill": "1.2.2",
58
58
  "tslib": "2.8.1",
59
59
  "webpack": "5.97.1",
@@ -63,14 +63,14 @@
63
63
  "webpack-subresource-integrity": "5.1.0"
64
64
  },
65
65
  "optionalDependencies": {
66
- "esbuild": "0.24.2"
66
+ "esbuild": "0.25.0"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0",
70
70
  "@angular/localize": "^19.0.0 || ^19.2.0-next.0",
71
71
  "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0",
72
72
  "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0",
73
- "@angular/ssr": "^19.2.0-next.1",
73
+ "@angular/ssr": "^19.2.0-next.2",
74
74
  "@web/test-runner": "^0.19.0",
75
75
  "browser-sync": "^3.0.2",
76
76
  "jest": "^29.5.0",
@@ -73,9 +73,6 @@ function execute(options, context, transforms = {}, extensions) {
73
73
  if (transforms?.logging || transforms?.webpackConfiguration) {
74
74
  throw new Error(`The "application" and "browser-esbuild" builders do not support Webpack transforms.`);
75
75
  }
76
- if (options.allowedHosts?.length) {
77
- context.logger.warn(`The "allowedHosts" option will not be used because it is not supported by the "${builderName}" builder.`);
78
- }
79
76
  if (options.publicHost) {
80
77
  context.logger.warn(`The "publicHost" option will not be used because it is not supported by the "${builderName}" builder.`);
81
78
  }
@@ -101,7 +101,7 @@ exports.default = (0, architect_1.createBuilder)(async (schema, context) => {
101
101
  tsConfig: options.tsConfig,
102
102
  polyfills: options.polyfills ?? ['zone.js', 'zone.js/testing'],
103
103
  outputPath: testOut,
104
- aot: false,
104
+ aot: options.aot,
105
105
  index: false,
106
106
  outputHashing: schema_1.OutputHashing.None,
107
107
  outExtension: 'mjs', // Force native ESM.
@@ -2,6 +2,10 @@
2
2
  * Jest target options
3
3
  */
4
4
  export type Schema = {
5
+ /**
6
+ * Run tests using Ahead of Time compilation.
7
+ */
8
+ aot?: boolean;
5
9
  /**
6
10
  * Globs of files to exclude, relative to the project root.
7
11
  */
@@ -32,6 +32,11 @@
32
32
  "uniqueItems": true
33
33
  },
34
34
  "default": []
35
+ },
36
+ "aot": {
37
+ "type": "boolean",
38
+ "description": "Run tests using Ahead of Time compilation.",
39
+ "default": false
35
40
  }
36
41
  },
37
42
  "additionalProperties": false,
@@ -301,7 +301,7 @@ async function initializeApplication(options, context, karmaOptions, transforms
301
301
  entryPoints,
302
302
  tsConfig: options.tsConfig,
303
303
  outputPath,
304
- aot: false,
304
+ aot: options.aot,
305
305
  index: false,
306
306
  outputHashing: schema_1.OutputHashing.None,
307
307
  optimization: false,
@@ -2,6 +2,10 @@
2
2
  * Karma target options for Build Facade.
3
3
  */
4
4
  export type Schema = {
5
+ /**
6
+ * Run tests using Ahead of Time compilation.
7
+ */
8
+ aot?: boolean;
5
9
  /**
6
10
  * List of static application assets.
7
11
  */
@@ -276,6 +276,11 @@
276
276
  "webWorkerTsConfig": {
277
277
  "type": "string",
278
278
  "description": "TypeScript configuration for Web Worker modules."
279
+ },
280
+ "aot": {
281
+ "type": "boolean",
282
+ "description": "Run tests using Ahead of Time compilation.",
283
+ "default": false
279
284
  }
280
285
  },
281
286
  "additionalProperties": false,
@@ -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 = '19.2.0-next.1';
13
+ const VERSION = '19.2.0-next.2';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&