@angular/build 20.1.1 → 20.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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/build",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0-next.0",
|
|
4
4
|
"description": "Official build system for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular CLI",
|
|
@@ -23,47 +23,47 @@
|
|
|
23
23
|
"builders": "builders.json",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ampproject/remapping": "2.3.0",
|
|
26
|
-
"@angular-devkit/architect": "0.
|
|
27
|
-
"@babel/core": "7.
|
|
26
|
+
"@angular-devkit/architect": "0.2002.0-next.0",
|
|
27
|
+
"@babel/core": "7.28.0",
|
|
28
28
|
"@babel/helper-annotate-as-pure": "7.27.3",
|
|
29
29
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
30
30
|
"@inquirer/confirm": "5.1.13",
|
|
31
31
|
"@vitejs/plugin-basic-ssl": "2.1.0",
|
|
32
|
-
"beasties": "0.3.
|
|
32
|
+
"beasties": "0.3.5",
|
|
33
33
|
"browserslist": "^4.23.0",
|
|
34
|
-
"esbuild": "0.25.
|
|
34
|
+
"esbuild": "0.25.6",
|
|
35
35
|
"https-proxy-agent": "7.0.6",
|
|
36
36
|
"istanbul-lib-instrument": "6.0.3",
|
|
37
37
|
"jsonc-parser": "3.3.1",
|
|
38
|
-
"listr2": "
|
|
38
|
+
"listr2": "9.0.1",
|
|
39
39
|
"magic-string": "0.30.17",
|
|
40
40
|
"mrmime": "2.0.1",
|
|
41
|
-
"parse5-html-rewriting-stream": "
|
|
41
|
+
"parse5-html-rewriting-stream": "8.0.0",
|
|
42
42
|
"picomatch": "4.0.2",
|
|
43
|
-
"piscina": "5.1.
|
|
44
|
-
"rollup": "4.
|
|
43
|
+
"piscina": "5.1.3",
|
|
44
|
+
"rollup": "4.45.1",
|
|
45
45
|
"sass": "1.89.2",
|
|
46
46
|
"semver": "7.7.2",
|
|
47
47
|
"source-map-support": "0.5.21",
|
|
48
48
|
"tinyglobby": "0.2.14",
|
|
49
|
-
"vite": "7.0.
|
|
49
|
+
"vite": "7.0.4",
|
|
50
50
|
"watchpack": "2.4.4"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
53
|
"lmdb": "3.4.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/core": "^20.0.0",
|
|
57
|
-
"@angular/compiler": "^20.0.0",
|
|
58
|
-
"@angular/compiler-cli": "^20.0.0",
|
|
59
|
-
"@angular/localize": "^20.0.0",
|
|
60
|
-
"@angular/platform-browser": "^20.0.0",
|
|
61
|
-
"@angular/platform-server": "^20.0.0",
|
|
62
|
-
"@angular/service-worker": "^20.0.0",
|
|
63
|
-
"@angular/ssr": "^20.
|
|
56
|
+
"@angular/core": "^20.0.0 || ^20.2.0-next.0",
|
|
57
|
+
"@angular/compiler": "^20.0.0 || ^20.2.0-next.0",
|
|
58
|
+
"@angular/compiler-cli": "^20.0.0 || ^20.2.0-next.0",
|
|
59
|
+
"@angular/localize": "^20.0.0 || ^20.2.0-next.0",
|
|
60
|
+
"@angular/platform-browser": "^20.0.0 || ^20.2.0-next.0",
|
|
61
|
+
"@angular/platform-server": "^20.0.0 || ^20.2.0-next.0",
|
|
62
|
+
"@angular/service-worker": "^20.0.0 || ^20.2.0-next.0",
|
|
63
|
+
"@angular/ssr": "^20.2.0-next.0",
|
|
64
64
|
"karma": "^6.4.0",
|
|
65
65
|
"less": "^4.2.0",
|
|
66
|
-
"ng-packagr": "^20.0.0",
|
|
66
|
+
"ng-packagr": "^20.0.0 || ^20.2.0-next.0",
|
|
67
67
|
"postcss": "^8.4.0",
|
|
68
68
|
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0",
|
|
69
69
|
"tslib": "^2.3.0",
|
|
@@ -6,45 +6,12 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
-
}) : function(o, v) {
|
|
23
|
-
o["default"] = v;
|
|
24
|
-
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
26
|
-
var ownKeys = function(o) {
|
|
27
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
28
|
-
var ar = [];
|
|
29
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
30
|
-
return ar;
|
|
31
|
-
};
|
|
32
|
-
return ownKeys(o);
|
|
33
|
-
};
|
|
34
|
-
return function (mod) {
|
|
35
|
-
if (mod && mod.__esModule) return mod;
|
|
36
|
-
var result = {};
|
|
37
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
38
|
-
__setModuleDefault(result, mod);
|
|
39
|
-
return result;
|
|
40
|
-
};
|
|
41
|
-
})();
|
|
42
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
10
|
exports.InlineFontsProcessor = void 0;
|
|
44
11
|
const https_proxy_agent_1 = require("https-proxy-agent");
|
|
45
12
|
const node_crypto_1 = require("node:crypto");
|
|
46
13
|
const promises_1 = require("node:fs/promises");
|
|
47
|
-
const
|
|
14
|
+
const node_https_1 = require("node:https");
|
|
48
15
|
const node_path_1 = require("node:path");
|
|
49
16
|
const html_rewriting_stream_1 = require("./html-rewriting-stream");
|
|
50
17
|
const SUPPORTED_PROVIDERS = {
|
|
@@ -193,16 +160,11 @@ class InlineFontsProcessor {
|
|
|
193
160
|
}
|
|
194
161
|
catch { }
|
|
195
162
|
}
|
|
196
|
-
let agent;
|
|
197
163
|
const httpsProxy = process.env.HTTPS_PROXY ?? process.env.https_proxy;
|
|
198
|
-
if (httpsProxy) {
|
|
199
|
-
agent = new https_proxy_agent_1.HttpsProxyAgent(httpsProxy);
|
|
200
|
-
}
|
|
201
164
|
const data = await new Promise((resolve, reject) => {
|
|
202
165
|
let rawResponse = '';
|
|
203
|
-
|
|
204
|
-
.
|
|
205
|
-
agent,
|
|
166
|
+
(0, node_https_1.get)(url, {
|
|
167
|
+
agent: httpsProxy ? new https_proxy_agent_1.HttpsProxyAgent(httpsProxy) : undefined,
|
|
206
168
|
headers: {
|
|
207
169
|
/**
|
|
208
170
|
* Always use a Windows UA. This is because Google fonts will including hinting in fonts for Windows.
|
|
@@ -221,8 +183,7 @@ class InlineFontsProcessor {
|
|
|
221
183
|
return;
|
|
222
184
|
}
|
|
223
185
|
res.on('data', (chunk) => (rawResponse += chunk)).on('end', () => resolve(rawResponse));
|
|
224
|
-
})
|
|
225
|
-
.on('error', (e) => reject(new Error(`Inlining of fonts failed. An error has occurred while retrieving ${url} over the internet.\n` +
|
|
186
|
+
}).on('error', (e) => reject(new Error(`Inlining of fonts failed. An error has occurred while retrieving ${url} over the internet.\n` +
|
|
226
187
|
e.message)));
|
|
227
188
|
});
|
|
228
189
|
if (cacheFile) {
|
|
@@ -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.
|
|
13
|
+
const VERSION = '20.2.0-next.0';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|
package/src/utils/version.js
CHANGED
|
@@ -28,7 +28,7 @@ function assertCompatibleAngularVersion(projectRoot) {
|
|
|
28
28
|
'This likely indicates a corrupted local installation. Please try reinstalling your packages.');
|
|
29
29
|
process.exit(2);
|
|
30
30
|
}
|
|
31
|
-
const supportedAngularSemver = '^20.0.0';
|
|
31
|
+
const supportedAngularSemver = '^20.0.0 || ^20.2.0-next.0';
|
|
32
32
|
if (angularPkgJson['version'] === '0.0.0' || supportedAngularSemver.startsWith('0.0.0')) {
|
|
33
33
|
// Internal CLI and FW testing version.
|
|
34
34
|
return;
|