Packages

node-fetch

3.3.2 · 25 Jul 2023MIT301M / weekRepositorynpmAtom feed

Your version

2.1.0

5 Mar 2018Where it was published

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

Release note

See CHANGELOG:

  • Enhance: Allow using ArrayBuffer as the body of a fetch() or Request

  • Store HTTP headers of a Headers object internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner

  • Silently ignore invalid HTTP headers

  • Handle HTTP redirect responses without a Location header just like non-redirect responses

  • Include 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.