| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | ||
| 2 | - > undici@7.24.3 build:wasm | ||
| 2 | + > undici@7.24.4 build:wasm | ||
| 3 | 3 | > node build/wasm.js --docker | |
| 4 | 4 | ||
| 5 | 5 | > 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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2132,9 +2132,12 @@ async function httpNetworkFetch ( | |||
| 2132 | 2132 | /** @type {import('../../..').Agent} */ | |
| 2133 | 2133 | const agent = fetchParams.controller.dispatcher | |
| 2134 | 2134 | ||
| 2135 | + const path = url.pathname + url.search | ||
| 2136 | + const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === '?' | ||
| 2137 | + | ||
| 2135 | 2138 | return new Promise((resolve, reject) => agent.dispatch( | |
| 2136 | 2139 | { | |
| 2137 | - path: url.href.slice(url.href.indexOf(url.host) + url.host.length, url.hash.length ? -url.hash.length : undefined), | ||
| 2140 | + path: hasTrailingQuestionMark ? `${path}?` : path, | ||
| 2138 | 2141 | origin: url.origin, | |
| 2139 | 2142 | method: request.method, | |
| 2140 | 2143 | body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "undici", | |
| 3 | - "version": "7.24.3", | ||
| 3 | + "version": "7.24.4", | ||
| 4 | 4 | "description": "An HTTP/1.1 client, written from scratch for Node.js", | |
| 5 | 5 | "homepage": "https://undici.nodejs.org", | |
| 6 | 6 | "bugs": { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13611,9 +13611,11 @@ var require_fetch = __commonJS({ | |||
| 13611 | 13611 | function dispatch({ body }) { | |
| 13612 | 13612 | const url = requestCurrentURL(request); | |
| 13613 | 13613 | const agent = fetchParams.controller.dispatcher; | |
| 13614 | + const path = url.pathname + url.search; | ||
| 13615 | + const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === "?"; | ||
| 13614 | 13616 | return new Promise((resolve, reject) => agent.dispatch( | |
| 13615 | 13617 | { | |
| 13616 | - path: url.href.slice(url.href.indexOf(url.host) + url.host.length, url.hash.length ? -url.hash.length : void 0), | ||
| 13618 | + path: hasTrailingQuestionMark ? `${path}?` : path, | ||
| 13617 | 13619 | origin: url.origin, | |
| 13618 | 13620 | method: request.method, | |
| 13619 | 13621 | body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,5 +2,5 @@ | |||
| 2 | 2 | // Refer to tools/dep_updaters/update-undici.sh | |
| 3 | 3 | #ifndef SRC_UNDICI_VERSION_H_ | |
| 4 | 4 | #define SRC_UNDICI_VERSION_H_ | |
| 5 | - #define UNDICI_VERSION "7.24.3" | ||
| 5 | + #define UNDICI_VERSION "7.24.4" | ||
| 6 | 6 | #endif // SRC_UNDICI_VERSION_H_ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments