Skip to content

Commit 3a49e2f

Browse files
committed
build: update dependency undici to v8
See associated pull request for more information.
1 parent de630c2 commit 3a49e2f

File tree

7 files changed

+25
-16
lines changed

7 files changed

+25
-16
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@
132132
"semver": "7.7.4",
133133
"source-map-support": "0.5.21",
134134
"tslib": "2.8.1",
135-
"undici": "7.24.7",
135+
"undici": "8.1.0",
136+
"typescript": "6.0.2",
136137
"unenv": "^1.10.0",
137138
"verdaccio": "6.4.0",
138139
"verdaccio-auth-memory": "^10.0.0",
@@ -167,6 +168,6 @@
167168
}
168169
},
169170
"resolutions": {
170-
"undici-types": "^7.16.0"
171+
"undici-types": "^8.1.0"
171172
}
172173
}

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@angular/ssr": "workspace:*",
6868
"browser-sync": "3.0.4",
6969
"ng-packagr": "22.0.0-next.1",
70-
"undici": "7.24.7"
70+
"undici": "8.1.0"
7171
},
7272
"peerDependencies": {
7373
"@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP",

packages/angular_devkit/build_angular/src/builders/dev-server/specs/ssl_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Dev Server Builder ssl', () => {
3737

3838
const response = await fetch(output.baseUrl, {
3939
dispatcher: new Agent({
40-
connect: { rejectUnauthorized: false },
40+
connect: { rejectUnauthorized: false, allowH2: false },
4141
}),
4242
});
4343
expect(await response.text()).toContain('<title>HelloWorldApp</title>');

packages/angular_devkit/build_angular/src/builders/ssr-dev-server/specs/ssl_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('Serve SSR Builder - SSL', () => {
8787

8888
const response = await fetch(`https://localhost:${output.port}/index.html`, {
8989
dispatcher: new Agent({
90-
connect: { rejectUnauthorized: false },
90+
connect: { rejectUnauthorized: false, allowH2: false },
9191
}),
9292
});
9393

pnpm-lock.yaml

Lines changed: 16 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/e2e/tests/commands/serve/ssr-http-requests-assets.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default async function () {
7777
await fetch(`https://localhost:${sslPort}/`, {
7878
dispatcher: new Agent({
7979
connect: {
80+
allowH2: false,
8081
rejectUnauthorized: false,
8182
},
8283
}),
@@ -180,6 +181,7 @@ CQVzSwZEUXxSo6K4cJ55vC0p3P3aoMvEpHfM+JqL3lCM9qWrxfkhvn8YS+Gg
180181
await fetch(`https://localhost:${sslPortForCerts}/`, {
181182
dispatcher: new Agent({
182183
connect: {
184+
allowH2: false,
183185
rejectUnauthorized: false,
184186
},
185187
}),

tests/e2e/tests/vite/ssr-with-ssl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Agent } from 'undici';
1+
import { Agent, fetch } from 'undici';
22
import assert from 'node:assert';
33
import { writeMultipleFiles } from '../../utils/fs';
44
import { ng, silentNg } from '../../utils/process';

0 commit comments

Comments
 (0)