Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eedd3bb

Browse filesBrowse files
nodejs-github-botaduh95
authored andcommitted
deps: update undici to 7.19.1
PR-URL: #61514 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 7d2bd59 commit eedd3bb
Copy full SHA for eedd3bb

7 files changed

+33-27Lines changed: 33 additions & 27 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/undici/src/lib/llhttp/wasm_build_env.txt‎

Copy file name to clipboardExpand all lines: deps/undici/src/lib/llhttp/wasm_build_env.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
> undici@7.19.0 build:wasm
2+
> undici@7.19.1 build:wasm
33
> node build/wasm.js --docker
44

55
> docker run --rm --platform=linux/x86_64 --user 1001:1001 --mount type=bind,source=/home/runner/work/node/node/deps/undici/src/lib/llhttp,target=/home/node/build/lib/llhttp --mount type=bind,source=/home/runner/work/node/node/deps/undici/src/build,target=/home/node/build/build --mount type=bind,source=/home/runner/work/node/node/deps/undici/src/deps,target=/home/node/build/deps -t ghcr.io/nodejs/wasm-builder@sha256:975f391d907e42a75b8c72eb77c782181e941608687d4d8694c3e9df415a0970 node build/wasm.js
Collapse file

‎deps/undici/src/lib/web/fetch/index.js‎

Copy file name to clipboardExpand all lines: deps/undici/src/lib/web/fetch/index.js
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,11 @@ async function httpNetworkOrCacheFetch (
16751675

16761676
// 4. Set the password given request’s current URL and password.
16771677
// requestCurrentURL(request).password = TODO
1678+
1679+
// In browsers, the user will be prompted to enter a username/password before the request
1680+
// is re-sent. To prevent an infinite 401 loop, return a network error for now.
1681+
// https://github.com/nodejs/undici/pull/4756
1682+
return makeNetworkError()
16781683
}
16791684

16801685
// 4. Set response to the result of running HTTP-network-or-cache fetch given
Collapse file

‎deps/undici/src/package-lock.json‎

Copy file name to clipboardExpand all lines: deps/undici/src/package-lock.json
+17-17Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎deps/undici/src/package.json‎

Copy file name to clipboardExpand all lines: deps/undici/src/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "undici",
3-
"version": "7.19.0",
3+
"version": "7.19.1",
44
"description": "An HTTP/1.1 client, written from scratch for Node.js",
55
"homepage": "https://undici.nodejs.org",
66
"bugs": {
Collapse file

‎deps/undici/src/scripts/release.js‎

Copy file name to clipboardExpand all lines: deps/undici/src/scripts/release.js
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Called from .github/workflows
44

5-
const generateReleaseNotes = async ({ github, owner, repo, versionTag, defaultBranch }) => {
5+
const generateReleaseNotes = async ({ github, owner, repo, versionTag, commitHash }) => {
66
const { data: releases } = await github.rest.repos.listReleases({
77
owner,
88
repo
@@ -14,7 +14,7 @@ const generateReleaseNotes = async ({ github, owner, repo, versionTag, defaultBr
1414
owner,
1515
repo,
1616
tag_name: versionTag,
17-
target_commitish: defaultBranch,
17+
target_commitish: commitHash,
1818
previous_tag_name: previousRelease?.tag_name
1919
})
2020

@@ -25,9 +25,9 @@ const generateReleaseNotes = async ({ github, owner, repo, versionTag, defaultBr
2525
return bodyWithoutReleasePr
2626
}
2727

28-
const generatePr = async ({ github, context, defaultBranch, versionTag }) => {
28+
const generatePr = async ({ github, context, defaultBranch, versionTag, commitHash }) => {
2929
const { owner, repo } = context.repo
30-
const releaseNotes = await generateReleaseNotes({ github, owner, repo, versionTag, defaultBranch })
30+
const releaseNotes = await generateReleaseNotes({ github, owner, repo, versionTag, commitHash })
3131

3232
await github.rest.pulls.create({
3333
owner,
@@ -39,15 +39,15 @@ const generatePr = async ({ github, context, defaultBranch, versionTag }) => {
3939
})
4040
}
4141

42-
const release = async ({ github, context, defaultBranch, versionTag }) => {
42+
const release = async ({ github, context, versionTag, commitHash }) => {
4343
const { owner, repo } = context.repo
44-
const releaseNotes = await generateReleaseNotes({ github, owner, repo, versionTag, defaultBranch })
44+
const releaseNotes = await generateReleaseNotes({ github, owner, repo, versionTag, commitHash })
4545

4646
await github.rest.repos.createRelease({
4747
owner,
4848
repo,
4949
tag_name: versionTag,
50-
target_commitish: defaultBranch,
50+
target_commitish: commitHash,
5151
name: versionTag,
5252
body: releaseNotes,
5353
draft: false,
Collapse file

‎deps/undici/undici.js‎

Copy file name to clipboardExpand all lines: deps/undici/undici.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12595,6 +12595,7 @@ var require_fetch = __commonJS({
1259512595
if (isCancelled(fetchParams)) {
1259612596
return makeAppropriateNetworkError(fetchParams);
1259712597
}
12598+
return makeNetworkError();
1259812599
}
1259912600
fetchParams.controller.connection.destroy();
1260012601
response = await httpNetworkOrCacheFetch(fetchParams, true);
Collapse file

‎src/undici_version.h‎

Copy file name to clipboardExpand all lines: src/undici_version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// Refer to tools/dep_updaters/update-undici.sh
33
#ifndef SRC_UNDICI_VERSION_H_
44
#define SRC_UNDICI_VERSION_H_
5-
#define UNDICI_VERSION "7.19.0"
5+
#define UNDICI_VERSION "7.19.1"
66
#endif // SRC_UNDICI_VERSION_H_

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.