August 12, 2022
·
3110 commits
to master
since this release
@whatwg-node/fetch@0.2.9
Patch Changes
@whatwg-node/server@0.1.0
Minor Changes
- #78
415b0a5Thanks @ardatan! - Iffetchis called with multiple arguments likefetch(request, env, ctx)(for example CF Workers do that),
the parameters afterrequestwill be merged and passed as aServerContextto the providedhandleRequestfunction.
Patch Changes
- #78
415b0a5Thanks @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 ofRequeston Node 18 correctly. First we respecthostheader as recommended in Node.js documentation. - Updated dependencies [
9a8d873]:- @whatwg-node/fetch@0.2.9