node-fetch
3.3.2 · 25 Jul 2023MIT301M / weekRepositorynpmAtom feed
Upgrading node-fetch From 2.0.0 to 2.1.0
1 release in betweenevery note read
Security
2 advisories still affect 2.1.0
- node-fetch forwards secure headers to untrusted siteshigh · GHSA-r683-j2x4-v87g
- The `size` option isn't honored after following a redirect in node-fetchlow · GHSA-w7rc-rwvf-8q5r
Upgrading to 2.6.7 clears them.
Release by release
- New
Enhance: Allow using ArrayBuffer as the
bodyof afetch()orRequest - Fixed
Store HTTP headers of a
Headersobject internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner - Fixed
Silently ignore invalid HTTP headers
- Fixed
Handle HTTP redirect responses without a
Locationheader just like non-redirect responses - Fixed
Include bodies when following a redirection when appropriate
- New
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.