@angular/build 18.2.4 → 18.2.5
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": "18.2.
|
|
3
|
+
"version": "18.2.5",
|
|
4
4
|
"description": "Official build system for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular CLI",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"builders": "builders.json",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ampproject/remapping": "2.3.0",
|
|
26
|
-
"@angular-devkit/architect": "0.1802.
|
|
26
|
+
"@angular-devkit/architect": "0.1802.5",
|
|
27
27
|
"@babel/core": "7.25.2",
|
|
28
28
|
"@babel/helper-annotate-as-pure": "7.24.7",
|
|
29
29
|
"@babel/helper-split-export-declaration": "7.24.7",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"rollup": "4.20.0",
|
|
46
46
|
"sass": "1.77.6",
|
|
47
47
|
"semver": "7.6.3",
|
|
48
|
-
"vite": "5.4.
|
|
48
|
+
"vite": "5.4.6",
|
|
49
49
|
"watchpack": "2.4.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -47,6 +47,11 @@ function createAngularAssetsMiddleware(server, assets, outputFiles) {
|
|
|
47
47
|
next();
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
+
// Support HTTP HEAD requests for the virtual output files from the Angular build
|
|
51
|
+
if (req.method === 'HEAD' && outputFiles.get(pathname)?.servable) {
|
|
52
|
+
// While a GET will also generate content, the rest of the response is equivalent
|
|
53
|
+
req.method = 'GET';
|
|
54
|
+
}
|
|
50
55
|
// Resource files are handled directly.
|
|
51
56
|
// Global stylesheets (CSS files) are currently considered resources to workaround
|
|
52
57
|
// dev server sourcemap issues with stylesheets.
|
|
@@ -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.2.
|
|
13
|
+
const VERSION = '18.2.5';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|