@angular-devkit/build-angular 17.3.5 → 17.3.7

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,15 +1,15 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "17.3.5",
3
+ "version": "17.3.7",
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.1703.5",
11
- "@angular-devkit/build-webpack": "0.1703.5",
12
- "@angular-devkit/core": "17.3.5",
10
+ "@angular-devkit/architect": "0.1703.7",
11
+ "@angular-devkit/build-webpack": "0.1703.7",
12
+ "@angular-devkit/core": "17.3.7",
13
13
  "@babel/core": "7.24.0",
14
14
  "@babel/generator": "7.23.6",
15
15
  "@babel/helper-annotate-as-pure": "7.22.5",
@@ -20,7 +20,7 @@
20
20
  "@babel/preset-env": "7.24.0",
21
21
  "@babel/runtime": "7.24.0",
22
22
  "@discoveryjs/json-ext": "0.5.7",
23
- "@ngtools/webpack": "17.3.5",
23
+ "@ngtools/webpack": "17.3.7",
24
24
  "@vitejs/plugin-basic-ssl": "1.1.0",
25
25
  "ansi-colors": "4.1.3",
26
26
  "autoprefixer": "10.4.18",
@@ -419,6 +419,7 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks,
419
419
  outputFiles,
420
420
  assets,
421
421
  ssr,
422
+ extraHeaders: serverOptions.headers,
422
423
  external: externalMetadata.explicit,
423
424
  indexHtmlTransformer,
424
425
  extensionMiddleware,
@@ -36,7 +36,8 @@ function patchFetchToLoadInMemoryAssets() {
36
36
  else {
37
37
  return originalFetch(input, init);
38
38
  }
39
- const { pathname, protocol } = url;
39
+ const { protocol } = url;
40
+ const pathname = decodeURIComponent(url.pathname);
40
41
  if (protocol !== RESOLVE_PROTOCOL || !assetFiles[pathname]) {
41
42
  // Only handle relative requests or files that are in assets.
42
43
  return originalFetch(input, init);