Packages

node-fetch

3.3.2 · 25 Jul 2023MIT301.5M / weekRepositorynpmAtom feed

Upgrading node-fetch From 1.1.2 to 2.6.7

38 releases in betweennotes for 5

Other targets from 1.1.2Newest 1.x1.7.3Latest3.3.2
2.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 1.1.2yours
  2. 20 releases
  3. 2.0.0major
  4. 16 releases
  5. 2.6.7target
?
changes to make
1
advisory fixed
1+
new
10+
fixes

Counted from 5 of 38 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 1.1.2

  • Don't forward secure headers to 3th party

    2.6.7

Release by release

  1. 2.6.7

    Security fix16 Jan 2022
    • Security

      Don't forward secure headers to 3th party

  2. 2.6.6

    31 Oct 20211 fix
    • Fixed

      URL: Prefer built in URL version when available and fallback to whatwg

  3. 2.2.0 – 2.6.512 releases, nothing new or fixed; 11 without a note

  4. 2.1.2

    25 Mar 20185 fixes
    • Fixed

      Allow Body methods to work on ArrayBuffer-backed Body` objects

    • Fixed

      Reject promise returned by Body methods when the accumulated Buffer exceeds the maximum size

    • Fixed

      Support custom Host headers with any casing

    • Fixed

      Support importing fetch() from TypeScript in browser.js

    • Fixed

      Handle the redirect response body properly

  5. 2.1.1no release note

  6. 2.1.0

    5 Mar 20181 new · 4 fixes
    • New

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

    • Fixed

      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

    • Fixed

      Silently ignore invalid HTTP headers

    • Fixed

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

    • Fixed

      Include bodies when following a redirection when appropriate

  7. 1.2.0 – 2.0.021 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.