node-fetch
3.3.2 · 25 Jul 2023MIT301M / weekRepositorynpmAtom feed
2.7.0 is the newest release of 2.x.
In short
1 new4 fixed
Security
2 advisories affect 2.1.0; 2.6.7 fixes them
- Highnode-fetch forwards secure headers to untrusted sitesGHSA-r683-j2x4-v87g · 21 Jan 2022Fixed in 2.6.7
- LowThe `size` option isn't honored after following a redirect in node-fetchGHSA-w7rc-rwvf-8q5r · 10 Sep 2020Fixed in 2.6.1
Release note
See CHANGELOG:
Enhance: Allow using ArrayBuffer as the
bodyof afetch()orRequestStore HTTP headers of a
Headersobject internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive mannerSilently ignore invalid HTTP headers
Handle HTTP redirect responses without a
Locationheader just like non-redirect responsesInclude bodies when following a redirection when appropriate
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.