node-fetch
3.3.2 · 25 Jul 2023MIT301.5M / weekRepositorynpmAtom feed
Upgrading node-fetch From 1.3.1 to 2.6.7
34 releases in betweennotes for 5
- ?
- changes to make
- 1
- advisory fixed
- 1+
- new
- 10+
- fixes
Counted from 5 of 34 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 1 advisory affecting 1.3.1
- node-fetch forwards secure headers to untrusted siteshigh · GHSA-r683-j2x4-v87g
- 2.6.7
Don't forward secure headers to 3th party
Release by release
- Security
Don't forward secure headers to 3th party
- Security
- Fixed
URL: Prefer built in URL version when available and fallback to whatwg
- Fixed
2.2.0 – 2.6.512 releases, nothing new or fixed; 11 without a note
- Fixed
Allow
Bodymethods to work on ArrayBuffer-backedBody` objects - Fixed
Reject promise returned by
Bodymethods when the accumulatedBufferexceeds the maximum size - Fixed
Support custom
Hostheaders with any casing - Fixed
Support importing
fetch()from TypeScript inbrowser.js - Fixed
Handle the redirect response body properly
- Fixed
2.1.1no release note
- 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
1.3.2 – 2.0.017 releases, no release note
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.