@angular-devkit/build-angular 19.0.0-next.1 → 19.0.0-next.3

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.0.0-next.1",
3
+ "version": "19.0.0-next.3",
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.1900.0-next.1",
11
- "@angular-devkit/build-webpack": "0.1900.0-next.1",
12
- "@angular-devkit/core": "19.0.0-next.1",
13
- "@angular/build": "19.0.0-next.1",
10
+ "@angular-devkit/architect": "0.1900.0-next.3",
11
+ "@angular-devkit/build-webpack": "0.1900.0-next.3",
12
+ "@angular-devkit/core": "19.0.0-next.3",
13
+ "@angular/build": "19.0.0-next.3",
14
14
  "@babel/core": "7.25.2",
15
- "@babel/generator": "7.25.4",
15
+ "@babel/generator": "7.25.6",
16
16
  "@babel/helper-annotate-as-pure": "7.24.7",
17
17
  "@babel/helper-split-export-declaration": "7.24.7",
18
18
  "@babel/plugin-transform-async-generator-functions": "7.25.4",
19
19
  "@babel/plugin-transform-async-to-generator": "7.24.7",
20
20
  "@babel/plugin-transform-runtime": "7.25.4",
21
21
  "@babel/preset-env": "7.25.4",
22
- "@babel/runtime": "7.25.4",
22
+ "@babel/runtime": "7.25.6",
23
23
  "@discoveryjs/json-ext": "0.6.1",
24
- "@ngtools/webpack": "19.0.0-next.1",
24
+ "@ngtools/webpack": "19.0.0-next.3",
25
25
  "@vitejs/plugin-basic-ssl": "1.1.0",
26
26
  "ansi-colors": "4.1.3",
27
27
  "autoprefixer": "10.4.20",
@@ -32,7 +32,7 @@
32
32
  "css-loader": "7.1.2",
33
33
  "esbuild-wasm": "0.23.1",
34
34
  "fast-glob": "3.3.2",
35
- "http-proxy-middleware": "3.0.0",
35
+ "http-proxy-middleware": "3.0.2",
36
36
  "https-proxy-agent": "7.0.5",
37
37
  "istanbul-lib-instrument": "6.0.3",
38
38
  "jsonc-parser": "3.3.1",
@@ -49,23 +49,23 @@
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.41",
52
+ "postcss": "8.4.45",
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.8",
56
+ "sass": "1.78.0",
57
57
  "sass-loader": "16.0.1",
58
58
  "semver": "7.6.3",
59
59
  "source-map-loader": "5.0.0",
60
60
  "source-map-support": "0.5.21",
61
61
  "terser": "5.31.6",
62
62
  "tree-kill": "1.2.2",
63
- "tslib": "2.6.3",
64
- "vite": "5.4.2",
63
+ "tslib": "2.7.0",
64
+ "vite": "5.4.3",
65
65
  "watchpack": "2.4.2",
66
- "webpack": "5.93.0",
66
+ "webpack": "5.94.0",
67
67
  "webpack-dev-middleware": "7.4.2",
68
- "webpack-dev-server": "5.0.4",
68
+ "webpack-dev-server": "5.1.0",
69
69
  "webpack-merge": "6.0.1",
70
70
  "webpack-subresource-integrity": "5.1.0"
71
71
  },
@@ -77,7 +77,7 @@
77
77
  "@angular/localize": "^19.0.0-next.0",
78
78
  "@angular/platform-server": "^19.0.0-next.0",
79
79
  "@angular/service-worker": "^19.0.0-next.0",
80
- "@angular/ssr": "^19.0.0-next.1",
80
+ "@angular/ssr": "^19.0.0-next.3",
81
81
  "@web/test-runner": "^0.18.0",
82
82
  "browser-sync": "^3.0.2",
83
83
  "jest": "^29.5.0",
@@ -86,7 +86,7 @@
86
86
  "ng-packagr": "^19.0.0-next.0",
87
87
  "protractor": "^7.0.0",
88
88
  "tailwindcss": "^2.0.0 || ^3.0.0",
89
- "typescript": ">=5.4 <5.6"
89
+ "typescript": ">=5.5 <5.7"
90
90
  },
91
91
  "peerDependenciesMeta": {
92
92
  "@angular/localize": {
@@ -88,6 +88,11 @@ function execute(options, context, transforms = {}) {
88
88
  ? {}
89
89
  : getBuiltInKarmaConfig(context.workspaceRoot, projectName);
90
90
  karmaOptions.singleRun = singleRun;
91
+ // Workaround https://github.com/angular/angular-cli/issues/28271, by clearing context by default
92
+ // for single run executions. Not clearing context for multi-run (watched) builds allows the
93
+ // Jasmine Spec Runner to be visible in the browser after test execution.
94
+ karmaOptions.client ??= {};
95
+ karmaOptions.client.clearContext ??= singleRun ?? false; // `singleRun` defaults to `false` per Karma docs.
91
96
  // Convert browsers from a string to an array
92
97
  if (typeof options.browsers === 'string' && options.browsers) {
93
98
  karmaOptions.browsers = options.browsers.split(',');
@@ -169,9 +174,6 @@ function getBuiltInKarmaConfig(workspaceRoot, projectName) {
169
174
  'karma-coverage',
170
175
  '@angular-devkit/build-angular/plugins/karma',
171
176
  ].map((p) => workspaceRootRequire(p)),
172
- client: {
173
- clearContext: false, // leave Jasmine Spec Runner output visible in browser
174
- },
175
177
  jasmineHtmlReporter: {
176
178
  suppressAll: true, // removes the duplicated traces
177
179
  },
@@ -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.0.0-next.1';
13
+ const VERSION = '19.0.0-next.3';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&