Skip to content

Commit a9acbba

Browse files
author
Angular Builds
committed
5aa53b4 fix(@angular-devkit/build-angular): remove undici from dependencies
1 parent 5f5b76c commit a9acbba

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "17.3.15+sha-05ebe68",
3+
"version": "17.3.15+sha-5aa53b4",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#05ebe68",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#05ebe68",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#05ebe68",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#5aa53b4",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#5aa53b4",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#5aa53b4",
1313
"@babel/core": "7.26.10",
1414
"@babel/generator": "7.26.10",
1515
"@babel/helper-annotate-as-pure": "7.25.9",
@@ -20,7 +20,7 @@
2020
"@babel/preset-env": "7.26.9",
2121
"@babel/runtime": "7.26.10",
2222
"@discoveryjs/json-ext": "0.5.7",
23-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#05ebe68",
23+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#5aa53b4",
2424
"@vitejs/plugin-basic-ssl": "1.1.0",
2525
"ansi-colors": "4.1.3",
2626
"autoprefixer": "10.4.18",
@@ -61,8 +61,7 @@
6161
"terser": "5.29.1",
6262
"tree-kill": "1.2.2",
6363
"tslib": "2.6.2",
64-
"undici": "6.11.1",
65-
"vite": "5.4.16",
64+
"vite": "~5.4.17",
6665
"watchpack": "2.4.0",
6766
"webpack": "5.94.0",
6867
"webpack-dev-middleware": "6.1.2",

src/utils/server-rendering/fetch-patch.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const mrmime_1 = require("mrmime");
1212
const promises_1 = require("node:fs/promises");
1313
const node_path_1 = require("node:path");
1414
const node_worker_threads_1 = require("node:worker_threads");
15-
const undici_1 = require("undici");
1615
/**
1716
* This is passed as workerData when setting up the worker via the `piscina` package.
1817
*/
@@ -45,7 +44,7 @@ function patchFetchToLoadInMemoryAssets() {
4544
const cachedAsset = assetsCache.get(pathname);
4645
if (cachedAsset) {
4746
const { content, headers } = cachedAsset;
48-
return new undici_1.Response(content, {
47+
return new Response(content, {
4948
headers,
5049
});
5150
}
@@ -58,7 +57,7 @@ function patchFetchToLoadInMemoryAssets() {
5857
}
5958
: undefined;
6059
assetsCache.set(pathname, { headers, content });
61-
return new undici_1.Response(content, {
60+
return new Response(content, {
6261
headers,
6362
});
6463
};

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Wed Apr 02 2025 16:41:07 GMT+0000 (Coordinated Universal Time)
1+
Wed Apr 09 2025 11:25:20 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)