August 12, 2022
·
2450 commits
to master
since this release
@whatwg-node/fetch@0.2.9
Patch Changes
@whatwg-node/server@0.1.0
Minor Changes
- #78
415b0a5
Thanks @ardatan! - Iffetch
is called with multiple arguments likefetch(request, env, ctx)
(for example CF Workers do that),
the parameters afterrequest
will be merged and passed as aServerContext
to the providedhandleRequest
function.
Patch Changes
- #78
415b0a5
Thanks @ardatan! - Since Node 18 starts returning IPv6 insocket.localAddress
, the generated URL was broken likehttp://0.0.0.1:3000
.
Now it generates the URL ofRequest
on Node 18 correctly. First we respecthost
header as recommended in Node.js documentation. - Updated dependencies [
9a8d873
]:- @whatwg-node/fetch@0.2.9