mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
deps: update undici to 7.24.4
PR-URL: https://github.com/nodejs/node/pull/62271 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
bfb8ad5787
commit
2b6937ddb2
6 files changed
+15
-10
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
> undici@7.24.3 build:wasm
|
||||
> undici@7.24.4 build:wasm
|
||||
> node build/wasm.js --docker
|
||||
|
||||
> 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
|
||||
|
||||
+4
-1
@@ -2132,9 +2132,12 @@ async function httpNetworkFetch (
|
||||
/** @type {import('../../..').Agent} */
|
||||
const agent = fetchParams.controller.dispatcher
|
||||
|
||||
const path = url.pathname + url.search
|
||||
const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === '?'
|
||||
|
||||
return new Promise((resolve, reject) => agent.dispatch(
|
||||
{
|
||||
path: url.href.slice(url.href.indexOf(url.host) + url.host.length, url.hash.length ? -url.hash.length : undefined),
|
||||
path: hasTrailingQuestionMark ? `${path}?` : path,
|
||||
origin: url.origin,
|
||||
method: request.method,
|
||||
body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
|
||||
|
||||
+5
-5
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "undici",
|
||||
"version": "7.24.3",
|
||||
"version": "7.24.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "undici",
|
||||
"version": "7.24.3",
|
||||
"version": "7.24.4",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@fastify/busboy": "3.2.0",
|
||||
@@ -8617,9 +8617,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/pure-rand": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.0.0.tgz",
|
||||
"integrity": "sha512-7rgWlxG2gAvFPIQfUreo1XYlNvrQ9VnQPFWdncPkdl3icucLK0InOxsaafbvxGTnI6Bk/Rxmslg0lQlRCuzOXw==",
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.1.0.tgz",
|
||||
"integrity": "sha512-53B3MB8wetRdD6JZ4W/0gDKaOvKwuXrEmV1auQc0hASWge8rieKV4PCCVNVbJ+i24miiubb4c/B+dg8Ho0ikYw==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "undici",
|
||||
"version": "7.24.3",
|
||||
"version": "7.24.4",
|
||||
"description": "An HTTP/1.1 client, written from scratch for Node.js",
|
||||
"homepage": "https://undici.nodejs.org",
|
||||
"bugs": {
|
||||
|
||||
Vendored
+3
-1
@@ -13611,9 +13611,11 @@ var require_fetch = __commonJS({
|
||||
function dispatch({ body }) {
|
||||
const url = requestCurrentURL(request);
|
||||
const agent = fetchParams.controller.dispatcher;
|
||||
const path = url.pathname + url.search;
|
||||
const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === "?";
|
||||
return new Promise((resolve, reject) => agent.dispatch(
|
||||
{
|
||||
path: url.href.slice(url.href.indexOf(url.host) + url.host.length, url.hash.length ? -url.hash.length : void 0),
|
||||
path: hasTrailingQuestionMark ? `${path}?` : path,
|
||||
origin: url.origin,
|
||||
method: request.method,
|
||||
body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
// Refer to tools/dep_updaters/update-undici.sh
|
||||
#ifndef SRC_UNDICI_VERSION_H_
|
||||
#define SRC_UNDICI_VERSION_H_
|
||||
#define UNDICI_VERSION "7.24.3"
|
||||
#define UNDICI_VERSION "7.24.4"
|
||||
#endif // SRC_UNDICI_VERSION_H_
|
||||
Reference in new issue
Block a user