@angular-devkit/build-angular 17.3.4 → 17.3.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,15 +1,15 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "17.3.4",
3
+ "version": "17.3.5",
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.4",
11
- "@angular-devkit/build-webpack": "0.1703.4",
12
- "@angular-devkit/core": "17.3.4",
10
+ "@angular-devkit/architect": "0.1703.5",
11
+ "@angular-devkit/build-webpack": "0.1703.5",
12
+ "@angular-devkit/core": "17.3.5",
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.4",
23
+ "@ngtools/webpack": "17.3.5",
24
24
  "@vitejs/plugin-basic-ssl": "1.1.0",
25
25
  "ansi-colors": "4.1.3",
26
26
  "autoprefixer": "10.4.18",
@@ -87,7 +87,11 @@ class JavaScriptTransformer {
87
87
  skipLinker,
88
88
  sideEffects,
89
89
  ...this.#commonOptions,
90
- }, { transferList: [data.buffer] }));
90
+ }, {
91
+ // The below is disable as with Yarn PNP this causes build failures with the below message
92
+ // `Unable to deserialize cloned data`.
93
+ transferList: process.versions.pnp ? undefined : [data.buffer],
94
+ }));
91
95
  // If there is a cache then store the result
92
96
  if (this.cache && cacheKey) {
93
97
  try {
@@ -145,7 +145,7 @@ class InlineFontsProcessor {
145
145
  if (hrefAttr) {
146
146
  const href = hrefAttr.value;
147
147
  const cssContent = hrefsContent.get(href);
148
- rewriter.emitRaw(`<style type="text/css">${cssContent}</style>`);
148
+ rewriter.emitRaw(`<style>${cssContent}</style>`);
149
149
  }
150
150
  else {
151
151
  rewriter.emitStartTag(tag);