@angular-devkit/build-angular 20.2.0-next.2 → 20.2.0-rc.0

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "20.2.0-next.2",
3
+ "version": "20.2.0-rc.0",
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.2002.0-next.2",
11
- "@angular-devkit/build-webpack": "0.2002.0-next.2",
12
- "@angular-devkit/core": "20.2.0-next.2",
13
- "@angular/build": "20.2.0-next.2",
10
+ "@angular-devkit/architect": "0.2002.0-rc.0",
11
+ "@angular-devkit/build-webpack": "0.2002.0-rc.0",
12
+ "@angular-devkit/core": "20.2.0-rc.0",
13
+ "@angular/build": "20.2.0-rc.0",
14
14
  "@babel/core": "7.28.0",
15
15
  "@babel/generator": "7.28.0",
16
16
  "@babel/helper-annotate-as-pure": "7.27.3",
@@ -21,14 +21,14 @@
21
21
  "@babel/preset-env": "7.28.0",
22
22
  "@babel/runtime": "7.28.2",
23
23
  "@discoveryjs/json-ext": "0.6.3",
24
- "@ngtools/webpack": "20.2.0-next.2",
24
+ "@ngtools/webpack": "20.2.0-rc.0",
25
25
  "ansi-colors": "4.1.3",
26
26
  "autoprefixer": "10.4.21",
27
27
  "babel-loader": "10.0.0",
28
28
  "browserslist": "^4.21.5",
29
- "copy-webpack-plugin": "13.0.0",
29
+ "copy-webpack-plugin": "13.0.1",
30
30
  "css-loader": "7.1.2",
31
- "esbuild-wasm": "0.25.8",
31
+ "esbuild-wasm": "0.25.9",
32
32
  "fast-glob": "3.3.3",
33
33
  "http-proxy-middleware": "3.0.5",
34
34
  "istanbul-lib-instrument": "6.0.3",
@@ -38,7 +38,7 @@
38
38
  "less-loader": "12.3.0",
39
39
  "license-webpack-plugin": "4.0.2",
40
40
  "loader-utils": "3.3.1",
41
- "mini-css-extract-plugin": "2.9.2",
41
+ "mini-css-extract-plugin": "2.9.4",
42
42
  "open": "10.2.0",
43
43
  "ora": "8.2.0",
44
44
  "picomatch": "4.0.3",
@@ -47,7 +47,7 @@
47
47
  "postcss-loader": "8.1.1",
48
48
  "resolve-url-loader": "5.0.0",
49
49
  "rxjs": "7.8.2",
50
- "sass": "1.89.2",
50
+ "sass": "1.90.0",
51
51
  "sass-loader": "16.0.5",
52
52
  "semver": "7.7.2",
53
53
  "source-map-loader": "5.0.0",
@@ -55,14 +55,14 @@
55
55
  "terser": "5.43.1",
56
56
  "tree-kill": "1.2.2",
57
57
  "tslib": "2.8.1",
58
- "webpack": "5.100.2",
58
+ "webpack": "5.101.1",
59
59
  "webpack-dev-middleware": "7.4.2",
60
60
  "webpack-dev-server": "5.2.2",
61
61
  "webpack-merge": "6.0.1",
62
62
  "webpack-subresource-integrity": "5.1.0"
63
63
  },
64
64
  "optionalDependencies": {
65
- "esbuild": "0.25.8"
65
+ "esbuild": "0.25.9"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@angular/core": "^20.0.0 || ^20.2.0-next.0",
@@ -71,7 +71,7 @@
71
71
  "@angular/platform-browser": "^20.0.0 || ^20.2.0-next.0",
72
72
  "@angular/platform-server": "^20.0.0 || ^20.2.0-next.0",
73
73
  "@angular/service-worker": "^20.0.0 || ^20.2.0-next.0",
74
- "@angular/ssr": "^20.2.0-next.2",
74
+ "@angular/ssr": "^20.2.0-rc.0",
75
75
  "@web/test-runner": "^0.20.0",
76
76
  "browser-sync": "^3.0.2",
77
77
  "jest": "^29.5.0",
@@ -137,7 +137,7 @@
137
137
  "type": "git",
138
138
  "url": "https://github.com/angular/angular-cli.git"
139
139
  },
140
- "packageManager": "pnpm@9.15.9",
140
+ "packageManager": "pnpm@10.14.0",
141
141
  "engines": {
142
142
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
143
143
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
@@ -49,6 +49,7 @@ const webpack_dev_middleware_1 = __importDefault(require("webpack-dev-middleware
49
49
  const stats_1 = require("../../utils/stats");
50
50
  const node_1 = require("@angular-devkit/core/node");
51
51
  const index_1 = require("../../../../utils/index");
52
+ const node_assert_1 = __importDefault(require("node:assert"));
52
53
  const KARMA_APPLICATION_PATH = '_karma_webpack_';
53
54
  let blocked = [];
54
55
  let isBlocked = false;
@@ -145,6 +146,7 @@ const init = (config, emitter) => {
145
146
  isBlocked = true;
146
147
  callback?.();
147
148
  }
149
+ (0, node_assert_1.default)(compiler, 'Webpack compiler factory did not return a compiler instance.');
148
150
  compiler.hooks.invalid.tap('karma', () => handler());
149
151
  compiler.hooks.watchRun.tapAsync('karma', (_, callback) => handler(callback));
150
152
  compiler.hooks.run.tapAsync('karma', (_, callback) => handler(callback));
@@ -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.2.0-next.2';
13
+ const VERSION = '20.2.0-rc.0';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&