Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(deps): update dependency @whatwg-node/server to v0.9.65 #11819

Merged
merged 2 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@swc/core": "1.7.28",
"@vitejs/plugin-react": "4.3.2",
"@whatwg-node/fetch": "0.9.21",
"@whatwg-node/server": "0.9.49",
"@whatwg-node/server": "0.9.65",
"acorn-loose": "8.4.0",
"buffer": "6.0.3",
"busboy": "^1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/rsc/rscRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function createRscRequestHandler(
if (mwRouter) {
// @MARK: Temporarily create Fetch Request here.
// Ideally we'll have converted this whole handler to be Fetch Req and Response
const webReq = normalizeNodeRequest(req, DefaultFetchAPI.Request)
const webReq = normalizeNodeRequest(req, DefaultFetchAPI)
const matchedMw = mwRouter.find(webReq.method as HTTPMethod, webReq.url)

const [mwResponse] = await invoke(
Expand Down
47 changes: 40 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8936,7 +8936,7 @@ __metadata:
"@types/yargs-parser": "npm:21.0.3"
"@vitejs/plugin-react": "npm:4.3.2"
"@whatwg-node/fetch": "npm:0.9.21"
"@whatwg-node/server": "npm:0.9.49"
"@whatwg-node/server": "npm:0.9.65"
acorn-loose: "npm:8.4.0"
buffer: "npm:6.0.3"
busboy: "npm:^1.6.0"
Expand Down Expand Up @@ -11801,6 +11801,15 @@ __metadata:
languageName: node
linkType: hard

"@whatwg-node/disposablestack@npm:^0.0.5":
version: 0.0.5
resolution: "@whatwg-node/disposablestack@npm:0.0.5"
dependencies:
tslib: "npm:^2.6.3"
checksum: 10c0/dfa949223f348a51acdeca2e3f08393ec8816a2ac2cee754a129e9b2ee4ada3afc1b3dcfbec7bdfe5abe14b30627ef0cef89d01a00062a031c82d555c43ab7f9
languageName: node
linkType: hard

"@whatwg-node/events@npm:^0.0.3":
version: 0.0.3
resolution: "@whatwg-node/events@npm:0.0.3"
Expand All @@ -11815,7 +11824,7 @@ __metadata:
languageName: node
linkType: hard

"@whatwg-node/fetch@npm:0.9.21, @whatwg-node/fetch@npm:^0.9.18, @whatwg-node/fetch@npm:^0.9.21":
"@whatwg-node/fetch@npm:0.9.21, @whatwg-node/fetch@npm:^0.9.18":
version: 0.9.21
resolution: "@whatwg-node/fetch@npm:0.9.21"
dependencies:
Expand All @@ -11825,6 +11834,16 @@ __metadata:
languageName: node
linkType: hard

"@whatwg-node/fetch@npm:^0.10.0":
version: 0.10.1
resolution: "@whatwg-node/fetch@npm:0.10.1"
dependencies:
"@whatwg-node/node-fetch": "npm:^0.7.1"
urlpattern-polyfill: "npm:^10.0.0"
checksum: 10c0/8db24a980181683676a503d63ff22e7ac9ce70bb842f3a1a83d260ffd0682cc0fdcab24d825cb742364bf075fedaa404d08508703ecf7302e3332612bdb35d61
languageName: node
linkType: hard

"@whatwg-node/fetch@npm:^0.8.0, @whatwg-node/fetch@npm:^0.8.1, @whatwg-node/fetch@npm:^0.8.2":
version: 0.8.8
resolution: "@whatwg-node/fetch@npm:0.8.8"
Expand Down Expand Up @@ -11863,13 +11882,27 @@ __metadata:
languageName: node
linkType: hard

"@whatwg-node/server@npm:0.9.49, @whatwg-node/server@npm:^0.9.44":
version: 0.9.49
resolution: "@whatwg-node/server@npm:0.9.49"
"@whatwg-node/node-fetch@npm:^0.7.1":
version: 0.7.5
resolution: "@whatwg-node/node-fetch@npm:0.7.5"
dependencies:
"@kamilkisiela/fast-url-parser": "npm:^1.1.4"
"@whatwg-node/disposablestack": "npm:^0.0.5"
busboy: "npm:^1.6.0"
fast-querystring: "npm:^1.1.1"
tslib: "npm:^2.6.3"
checksum: 10c0/d0693ff047f0e51e94a36e77d3d39f323f74a4205c2116add44e2fc0991e4d6044bde55a867d1cf78d7c4a406d73d75df5975876a32831c0cc5829811172335e
languageName: node
linkType: hard

"@whatwg-node/server@npm:0.9.65, @whatwg-node/server@npm:^0.9.44":
version: 0.9.65
resolution: "@whatwg-node/server@npm:0.9.65"
dependencies:
"@whatwg-node/fetch": "npm:^0.9.21"
"@whatwg-node/disposablestack": "npm:^0.0.5"
"@whatwg-node/fetch": "npm:^0.10.0"
tslib: "npm:^2.6.3"
checksum: 10c0/e8d99eceeb309a03061e0860ccf6ac11bf28534d2cd22d9d1b19e972dba7d673bf73fa915715948c59e12c5b86b56da5a9885bd96e740159adc4fa621b07e739
checksum: 10c0/f6fde2995c28223278484432b6107908d3bb917e76efb401b132df44ec45f140d3ef97db6ad03d0d197133036f85fbdb9274f4ed75363594b0469391c178bbfb
languageName: node
linkType: hard

Expand Down
Loading