@angular-devkit/build-angular 19.0.0-next.11 → 19.0.0-next.13
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/builders.json
CHANGED
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"schema": "./src/builders/web-test-runner/schema.json",
|
|
43
43
|
"description": "Run unit tests with Web Test Runner."
|
|
44
44
|
},
|
|
45
|
-
"protractor": {
|
|
45
|
+
"private-protractor": {
|
|
46
46
|
"implementation": "./src/builders/protractor",
|
|
47
47
|
"schema": "./src/builders/protractor/schema.json",
|
|
48
|
-
"description": "
|
|
48
|
+
"description": "PRIVATE API - Do not use."
|
|
49
49
|
},
|
|
50
50
|
"server": {
|
|
51
51
|
"implementation": "./src/builders/server",
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.13",
|
|
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.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1900.0-next.
|
|
12
|
-
"@angular-devkit/core": "19.0.0-next.
|
|
13
|
-
"@angular/build": "19.0.0-next.
|
|
14
|
-
"@babel/core": "7.25.
|
|
15
|
-
"@babel/generator": "7.25.
|
|
16
|
-
"@babel/helper-annotate-as-pure": "7.25.
|
|
10
|
+
"@angular-devkit/architect": "0.1900.0-next.13",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1900.0-next.13",
|
|
12
|
+
"@angular-devkit/core": "19.0.0-next.13",
|
|
13
|
+
"@angular/build": "19.0.0-next.13",
|
|
14
|
+
"@babel/core": "7.25.9",
|
|
15
|
+
"@babel/generator": "7.25.9",
|
|
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.
|
|
19
|
-
"@babel/plugin-transform-async-to-generator": "7.25.
|
|
20
|
-
"@babel/plugin-transform-runtime": "7.25.
|
|
21
|
-
"@babel/preset-env": "7.25.
|
|
22
|
-
"@babel/runtime": "7.25.
|
|
23
|
-
"@discoveryjs/json-ext": "0.6.
|
|
24
|
-
"@ngtools/webpack": "19.0.0-next.
|
|
18
|
+
"@babel/plugin-transform-async-generator-functions": "7.25.9",
|
|
19
|
+
"@babel/plugin-transform-async-to-generator": "7.25.9",
|
|
20
|
+
"@babel/plugin-transform-runtime": "7.25.9",
|
|
21
|
+
"@babel/preset-env": "7.25.9",
|
|
22
|
+
"@babel/runtime": "7.25.9",
|
|
23
|
+
"@discoveryjs/json-ext": "0.6.2",
|
|
24
|
+
"@ngtools/webpack": "19.0.0-next.13",
|
|
25
25
|
"@vitejs/plugin-basic-ssl": "1.1.0",
|
|
26
26
|
"ansi-colors": "4.1.3",
|
|
27
27
|
"autoprefixer": "10.4.20",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"postcss-loader": "8.1.1",
|
|
49
49
|
"resolve-url-loader": "5.0.0",
|
|
50
50
|
"rxjs": "7.8.1",
|
|
51
|
-
"sass": "1.
|
|
51
|
+
"sass": "1.80.3",
|
|
52
52
|
"sass-loader": "16.0.2",
|
|
53
53
|
"semver": "7.6.3",
|
|
54
54
|
"source-map-loader": "5.0.0",
|
|
55
55
|
"source-map-support": "0.5.21",
|
|
56
|
-
"terser": "5.
|
|
56
|
+
"terser": "5.36.0",
|
|
57
57
|
"tree-kill": "1.2.2",
|
|
58
|
-
"tslib": "2.
|
|
58
|
+
"tslib": "2.8.0",
|
|
59
59
|
"webpack": "5.95.0",
|
|
60
60
|
"webpack-dev-middleware": "7.4.2",
|
|
61
61
|
"webpack-dev-server": "5.1.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@angular/localize": "^19.0.0-next.0",
|
|
71
71
|
"@angular/platform-server": "^19.0.0-next.0",
|
|
72
72
|
"@angular/service-worker": "^19.0.0-next.0",
|
|
73
|
-
"@angular/ssr": "^19.0.0-next.
|
|
73
|
+
"@angular/ssr": "^19.0.0-next.13",
|
|
74
74
|
"@web/test-runner": "^0.19.0",
|
|
75
75
|
"browser-sync": "^3.0.2",
|
|
76
76
|
"jest": "^29.5.0",
|
|
@@ -20,14 +20,6 @@ const load_esm_1 = require("../../../utils/load-esm");
|
|
|
20
20
|
* Cached instance of the compiler-cli linker's needsLinking function.
|
|
21
21
|
*/
|
|
22
22
|
let needsLinking;
|
|
23
|
-
/**
|
|
24
|
-
* List of browsers which are affected by a WebKit bug where class field
|
|
25
|
-
* initializers might have incorrect variable scopes.
|
|
26
|
-
*
|
|
27
|
-
* See: https://github.com/angular/angular-cli/issues/24355#issuecomment-1333477033
|
|
28
|
-
* See: https://github.com/WebKit/WebKit/commit/e8788a34b3d5f5b4edd7ff6450b80936bff396f2
|
|
29
|
-
*/
|
|
30
|
-
let safariClassFieldScopeBugBrowsers;
|
|
31
23
|
function createI18nDiagnostics(reporter) {
|
|
32
24
|
const diagnostics = new (class {
|
|
33
25
|
messages = [];
|
|
@@ -109,29 +101,12 @@ function default_1(api, options) {
|
|
|
109
101
|
// However, this doesn't effect libraries and hence we use preset-env to downlevel ES features
|
|
110
102
|
// based on the supported browsers in browserslist.
|
|
111
103
|
if (options.supportedBrowsers) {
|
|
112
|
-
const includePlugins = [];
|
|
113
|
-
if (safariClassFieldScopeBugBrowsers === undefined) {
|
|
114
|
-
const browserslist = require('browserslist');
|
|
115
|
-
safariClassFieldScopeBugBrowsers = new Set(browserslist([
|
|
116
|
-
// Safari <15 is technically not supported via https://angular.dev/reference/versions#browser-support
|
|
117
|
-
// but we apply the workaround if forcibly selected.
|
|
118
|
-
'Safari <=15',
|
|
119
|
-
'iOS <=15',
|
|
120
|
-
]));
|
|
121
|
-
}
|
|
122
|
-
// If a Safari browser affected by the class field scope bug is selected, we
|
|
123
|
-
// downlevel class properties by ensuring the class properties Babel plugin
|
|
124
|
-
// is always included- regardless of the preset-env targets.
|
|
125
|
-
if (options.supportedBrowsers.some((b) => safariClassFieldScopeBugBrowsers.has(b))) {
|
|
126
|
-
includePlugins.push('@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-private-methods');
|
|
127
|
-
}
|
|
128
104
|
presets.push([
|
|
129
105
|
require('@babel/preset-env').default,
|
|
130
106
|
{
|
|
131
107
|
bugfixes: true,
|
|
132
108
|
modules: false,
|
|
133
109
|
targets: options.supportedBrowsers,
|
|
134
|
-
include: includePlugins,
|
|
135
110
|
exclude: ['transform-typeof-symbol'],
|
|
136
111
|
},
|
|
137
112
|
]);
|
|
@@ -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.
|
|
13
|
+
const VERSION = '19.0.0-next.13';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|