March 25, 2025
·
972 commits
to master
since this release
@whatwg-node/node-fetch@0.7.15
Patch Changes
-
#2208
ff052a3
Thanks @ardatan! - When anyRequestmethod is called outside
server adapter scope, it used to hang. This PR prevents it to hang and throw an error if the
readable stream is destroyed earlier.let request: Request const adapter = createServerAdapter(req => { request = req return new Response('Hello World') }) await request.text() // Was hanging but now throws an error
@whatwg-node/server@0.10.3
Patch Changes
-
#2208
ff052a3
Thanks @ardatan! - When anyRequestmethod is called outside
server adapter scope, it used to hang. This PR prevents it to hang and throw an error if the
readable stream is destroyed earlier.let request: Request const adapter = createServerAdapter(req => { request = req return new Response('Hello World') }) await request.text() // Was hanging but now throws an error