whatwg-node

Helper packages to create platform agnostic applications and libraries without worrying about the lack of WHATWG support in Node.js

MIT License

Downloads
82.5M
Stars
145
Committers
27

Bot releases are visible (Hide)

whatwg-node - April 26, 2024 Latest Release

Published by theguild-bot 6 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

  • e6234df Thanks @ardatan! - Do not call res.onAborted multiple times because it causes it to overwrite the previous listener, and use AbortSignal's abort event instead
whatwg-node - April 15, 2024

Published by theguild-bot 6 months ago

@whatwg-node/[email protected]

Patch Changes

  • #1246 4717be5 Thanks @ardatan! - Ensure unique context objects are sent per each request.

    For example in CloudFlare Workers,
    fetch receives env and ctx, and env is shared across requests. That causes the server receives the same context object for each request.
    Now the server creates a new context object for each request, even if the first argument is the same. Before, it always takes the first argument as the context object, then merges the following arguments into it.

whatwg-node - March 25, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

  • #1224 d6bec0a Thanks @ardatan! - Introduce handleRequestFromResponse method for a better Fastify integration
whatwg-node - March 22, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

whatwg-node - March 21, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

  • dfb4290 Thanks @ardatan! - Send Content-Length:0 if the body is empty in POSTlike requests

@whatwg-node/[email protected]

Patch Changes

  • #1218 1443f93 Thanks @ardatan! - Set `reason` in `ServerAdapterRequestAbortSignal` to get a proper error when the request got aborted by the client
whatwg-node - March 12, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

  • #1190 c6f93ee Thanks @ardatan! - Remove node: protocol which is not supported still in some Node versions and ESM mode

@whatwg-node/[email protected]

Patch Changes

  • #1190 c6f93ee Thanks @ardatan! - Remove node: protocol which is not supported still in some Node versions and ESM mode
whatwg-node - March 11, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

  • 3f31f2d Thanks @ardatan! - Handle errors from async request handlers correctly in case of AbortSignal
whatwg-node - March 11, 2024

Published by theguild-bot 7 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - March 01, 2024

Published by theguild-bot 8 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

whatwg-node - February 08, 2024

Published by theguild-bot 8 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

whatwg-node - January 25, 2024

Published by theguild-bot 9 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

whatwg-node - January 23, 2024

Published by theguild-bot 9 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - January 11, 2024

Published by theguild-bot 9 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - January 02, 2024

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - January 02, 2024

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

  • f775c41 Thanks @ardatan! - If protocol is not available, use socket.encrypted correctly
whatwg-node - December 17, 2023

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - December 13, 2023

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - December 11, 2023

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - December 11, 2023

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

whatwg-node - December 08, 2023

Published by theguild-bot 10 months ago

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

  • #997
    0c28ae9
    Thanks @ardatan! - Avoid mutating the static context

    For example if the adapter receives the server object as the server context, it is isolated and
    the handler cannot mutate it, otherwise it will leak. Bun does that so this patch is needed to
    avoid leaking the server object.