Skip to content

March 25, 2025

Choose a tag to compare

@github-actions github-actions released this 25 Mar 12:31
· 972 commits to master since this release
9a12fdc

@whatwg-node/node-fetch@0.7.15

Patch Changes

  • #2208
    ff052a3
    Thanks @ardatan! - When any Request method 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 any Request method 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