@angular-devkit/build-angular 20.0.0-next.2 → 20.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": "20.0.0-next.2",
3
+ "version": "20.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.2000.0-next.2",
11
- "@angular-devkit/build-webpack": "0.2000.0-next.2",
12
- "@angular-devkit/core": "20.0.0-next.2",
13
- "@angular/build": "20.0.0-next.2",
10
+ "@angular-devkit/architect": "0.2000.0-next.3",
11
+ "@angular-devkit/build-webpack": "0.2000.0-next.3",
12
+ "@angular-devkit/core": "20.0.0-next.3",
13
+ "@angular/build": "20.0.0-next.3",
14
14
  "@babel/core": "7.26.10",
15
- "@babel/generator": "7.26.10",
15
+ "@babel/generator": "7.27.0",
16
16
  "@babel/helper-annotate-as-pure": "7.25.9",
17
17
  "@babel/helper-split-export-declaration": "7.24.7",
18
18
  "@babel/plugin-transform-async-generator-functions": "7.26.8",
19
19
  "@babel/plugin-transform-async-to-generator": "7.25.9",
20
20
  "@babel/plugin-transform-runtime": "7.26.10",
21
21
  "@babel/preset-env": "7.26.9",
22
- "@babel/runtime": "7.26.10",
22
+ "@babel/runtime": "7.27.0",
23
23
  "@discoveryjs/json-ext": "0.6.3",
24
- "@ngtools/webpack": "20.0.0-next.2",
24
+ "@ngtools/webpack": "20.0.0-next.3",
25
25
  "@vitejs/plugin-basic-ssl": "2.0.0",
26
26
  "ansi-colors": "4.1.3",
27
27
  "autoprefixer": "10.4.21",
@@ -68,9 +68,10 @@
68
68
  "peerDependencies": {
69
69
  "@angular/compiler-cli": "^20.0.0 || ^20.0.0-next.0",
70
70
  "@angular/localize": "^20.0.0 || ^20.0.0-next.0",
71
+ "@angular/platform-browser": "^20.0.0 || ^20.0.0-next.0",
71
72
  "@angular/platform-server": "^20.0.0 || ^20.0.0-next.0",
72
73
  "@angular/service-worker": "^20.0.0 || ^20.0.0-next.0",
73
- "@angular/ssr": "^20.0.0-next.2",
74
+ "@angular/ssr": "^20.0.0-next.3",
74
75
  "@web/test-runner": "^0.20.0",
75
76
  "browser-sync": "^3.0.2",
76
77
  "jest": "^29.5.0",
@@ -85,6 +86,9 @@
85
86
  "@angular/localize": {
86
87
  "optional": true
87
88
  },
89
+ "@angular/platform-browser": {
90
+ "optional": true
91
+ },
88
92
  "@angular/platform-server": {
89
93
  "optional": true
90
94
  },
@@ -132,7 +136,7 @@
132
136
  },
133
137
  "packageManager": "pnpm@9.15.6",
134
138
  "engines": {
135
- "node": "^20.11.1 || >=22.0.0",
139
+ "node": "^20.11.1 || >=22.11.0",
136
140
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
137
141
  "yarn": ">= 1.13.0"
138
142
  },
@@ -10,12 +10,11 @@
10
10
  // `@angular-devkit/build-angular` rather than the user's workspace. Should look into virtual modules to support those use cases.
11
11
 
12
12
  import { getTestBed } from '@angular/core/testing';
13
- import {
14
- BrowserDynamicTestingModule,
15
- platformBrowserDynamicTesting,
16
- } from '@angular/platform-browser-dynamic/testing';
13
+ import { platformBrowser } from '@angular/platform-browser';
14
+ import { BrowserTestingModule } from '@angular/platform-browser/testing';
17
15
 
18
- getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
16
+ // TODO(alanagius): replace with `platformBrowserTesting` once https://github.com/angular/angular/pull/60480 is released.
17
+ getTestBed().initTestEnvironment(BrowserTestingModule, platformBrowser(), {
19
18
  errorOnUnknownElements: true,
20
19
  errorOnUnknownProperties: true,
21
20
  });
@@ -132,13 +132,12 @@ async function initializeBrowser(options, context, webpackConfigurationTransform
132
132
  function getBuiltInMainFile() {
133
133
  const content = Buffer.from(`
134
134
  import { getTestBed } from '@angular/core/testing';
135
- import {
136
- BrowserDynamicTestingModule,
137
- platformBrowserDynamicTesting,
138
- } from '@angular/platform-browser-dynamic/testing';
135
+ import { platformBrowser } from '@angular/platform-browser';
136
+ import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing';
139
137
 
138
+ // TODO(alanagius): replace with \`platformBrowserTesting\` once https://github.com/angular/angular/pull/60480 is released.
140
139
  // Initialize the Angular testing environment.
141
- getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
140
+ getTestBed().initTestEnvironment(BrowserTestingModule, platformBrowser(), {
142
141
  errorOnUnknownElements: true,
143
142
  errorOnUnknownProperties: true
144
143
  });
@@ -7,10 +7,8 @@
7
7
  */
8
8
 
9
9
  import { getTestBed } from '@angular/core/testing';
10
- import {
11
- BrowserDynamicTestingModule,
12
- platformBrowserDynamicTesting,
13
- } from '@angular/platform-browser-dynamic/testing';
10
+ import { platformBrowser } from '@angular/platform-browser';
11
+ import { BrowserTestingModule } from '@angular/platform-browser/testing';
14
12
  import {
15
13
  getConfig,
16
14
  sessionFailed,
@@ -67,7 +65,8 @@ export async function runJasmineTests(jasmineEnv) {
67
65
  jasmine.DEFAULT_TIMEOUT_INTERVAL = config.defaultTimeoutInterval;
68
66
 
69
67
  // Initialize `TestBed` automatically for users. This assumes we already evaluated `zone.js/testing`.
70
- getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
68
+ // TODO(alanagius): replace with `platformBrowserTesting` once https://github.com/angular/angular/pull/60480 is released.
69
+ getTestBed().initTestEnvironment(BrowserTestingModule, platformBrowser(), {
71
70
  errorOnUnknownElements: true,
72
71
  errorOnUnknownProperties: true,
73
72
  });
@@ -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.0-next.2';
13
+ const VERSION = '20.0.0-next.3';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&