@angular-devkit/build-angular 18.1.0-rc.1 → 18.2.0-next.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": "18.1.0-rc.1",
3
+ "version": "18.2.0-next.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.1801.0-rc.1",
11
- "@angular-devkit/build-webpack": "0.1801.0-rc.1",
12
- "@angular-devkit/core": "18.1.0-rc.1",
13
- "@angular/build": "18.1.0-rc.1",
10
+ "@angular-devkit/architect": "0.1802.0-next.0",
11
+ "@angular-devkit/build-webpack": "0.1802.0-next.0",
12
+ "@angular-devkit/core": "18.2.0-next.0",
13
+ "@angular/build": "18.2.0-next.0",
14
14
  "@babel/core": "7.24.7",
15
15
  "@babel/generator": "7.24.7",
16
16
  "@babel/helper-annotate-as-pure": "7.24.7",
@@ -20,8 +20,8 @@
20
20
  "@babel/plugin-transform-runtime": "7.24.7",
21
21
  "@babel/preset-env": "7.24.7",
22
22
  "@babel/runtime": "7.24.7",
23
- "@discoveryjs/json-ext": "0.5.7",
24
- "@ngtools/webpack": "18.1.0-rc.1",
23
+ "@discoveryjs/json-ext": "0.6.0",
24
+ "@ngtools/webpack": "18.2.0-next.0",
25
25
  "@vitejs/plugin-basic-ssl": "1.1.0",
26
26
  "ansi-colors": "4.1.3",
27
27
  "autoprefixer": "10.4.19",
@@ -30,11 +30,11 @@
30
30
  "copy-webpack-plugin": "12.0.2",
31
31
  "critters": "0.0.24",
32
32
  "css-loader": "7.1.2",
33
- "esbuild-wasm": "0.21.5",
33
+ "esbuild-wasm": "0.23.0",
34
34
  "fast-glob": "3.3.2",
35
35
  "http-proxy-middleware": "3.0.0",
36
36
  "https-proxy-agent": "7.0.5",
37
- "istanbul-lib-instrument": "6.0.2",
37
+ "istanbul-lib-instrument": "6.0.3",
38
38
  "jsonc-parser": "3.3.1",
39
39
  "karma-source-map-support": "1.4.0",
40
40
  "less": "4.2.0",
@@ -49,11 +49,11 @@
49
49
  "parse5-html-rewriting-stream": "7.0.0",
50
50
  "picomatch": "4.0.2",
51
51
  "piscina": "4.6.1",
52
- "postcss": "8.4.38",
52
+ "postcss": "8.4.39",
53
53
  "postcss-loader": "8.1.1",
54
54
  "resolve-url-loader": "5.0.0",
55
55
  "rxjs": "7.8.1",
56
- "sass": "1.77.6",
56
+ "sass": "1.77.7",
57
57
  "sass-loader": "14.2.1",
58
58
  "semver": "7.6.2",
59
59
  "source-map-loader": "5.0.0",
@@ -61,29 +61,28 @@
61
61
  "terser": "5.29.2",
62
62
  "tree-kill": "1.2.2",
63
63
  "tslib": "2.6.3",
64
- "undici": "6.19.2",
65
- "vite": "5.3.2",
64
+ "vite": "5.3.3",
66
65
  "watchpack": "2.4.1",
67
66
  "webpack": "5.92.1",
68
67
  "webpack-dev-middleware": "7.2.1",
69
68
  "webpack-dev-server": "5.0.4",
70
- "webpack-merge": "5.10.0",
69
+ "webpack-merge": "6.0.1",
71
70
  "webpack-subresource-integrity": "5.1.0"
72
71
  },
73
72
  "optionalDependencies": {
74
- "esbuild": "0.21.5"
73
+ "esbuild": "0.23.0"
75
74
  },
76
75
  "peerDependencies": {
77
- "@angular/compiler-cli": "^18.0.0 || ^18.1.0-next.0",
78
- "@angular/localize": "^18.0.0 || ^18.1.0-next.0",
79
- "@angular/platform-server": "^18.0.0 || ^18.1.0-next.0",
80
- "@angular/service-worker": "^18.0.0 || ^18.1.0-next.0",
76
+ "@angular/compiler-cli": "^18.0.0 || ^18.2.0-next.0",
77
+ "@angular/localize": "^18.0.0 || ^18.2.0-next.0",
78
+ "@angular/platform-server": "^18.0.0 || ^18.2.0-next.0",
79
+ "@angular/service-worker": "^18.0.0 || ^18.2.0-next.0",
81
80
  "@web/test-runner": "^0.18.0",
82
81
  "browser-sync": "^3.0.2",
83
82
  "jest": "^29.5.0",
84
83
  "jest-environment-jsdom": "^29.5.0",
85
84
  "karma": "^6.3.0",
86
- "ng-packagr": "^18.0.0 || ^18.1.0-next.0",
85
+ "ng-packagr": "^18.0.0 || ^18.2.0-next.0",
87
86
  "protractor": "^7.0.0",
88
87
  "tailwindcss": "^2.0.0 || ^3.0.0",
89
88
  "typescript": ">=5.4 <5.6"
@@ -31,8 +31,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
31
31
  };
32
32
  Object.defineProperty(exports, "__esModule", { value: true });
33
33
  exports.JsonStatsPlugin = void 0;
34
- const fs_1 = require("fs");
35
- const path_1 = require("path");
34
+ const node_fs_1 = require("node:fs");
35
+ const promises_1 = require("node:fs/promises");
36
+ const node_path_1 = require("node:path");
37
+ const promises_2 = require("node:stream/promises");
36
38
  const error_1 = require("../../../utils/error");
37
39
  const webpack_diagnostics_1 = require("../../../utils/webpack-diagnostics");
38
40
  class JsonStatsPlugin {
@@ -42,14 +44,11 @@ class JsonStatsPlugin {
42
44
  }
43
45
  apply(compiler) {
44
46
  compiler.hooks.done.tapPromise('angular-json-stats', async (stats) => {
45
- const { stringifyStream } = await Promise.resolve().then(() => __importStar(require('@discoveryjs/json-ext')));
47
+ const { stringifyChunked } = await Promise.resolve().then(() => __importStar(require('@discoveryjs/json-ext')));
46
48
  const data = stats.toJson('verbose');
47
49
  try {
48
- await fs_1.promises.mkdir((0, path_1.dirname)(this.statsOutputPath), { recursive: true });
49
- await new Promise((resolve, reject) => stringifyStream(data)
50
- .pipe((0, fs_1.createWriteStream)(this.statsOutputPath))
51
- .on('close', resolve)
52
- .on('error', reject));
50
+ await (0, promises_1.mkdir)((0, node_path_1.dirname)(this.statsOutputPath), { recursive: true });
51
+ await (0, promises_2.pipeline)(stringifyChunked(data), (0, node_fs_1.createWriteStream)(this.statsOutputPath));
53
52
  }
54
53
  catch (error) {
55
54
  (0, error_1.assertIsError)(error);
@@ -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 = '18.1.0-rc.1';
13
+ const VERSION = '18.2.0-next.0';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&