Packages

form-data

4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed

Upgrading form-data From 2.1.4 to 2.5.6

12 releases in betweennotes for 11

Other targets from 2.1.4Latest4.0.6
  1. 2.1.4yours
  2. 7 releases
  3. 2.5.2breaking
  4. 1 release
  5. 2.5.4breaking
  6. 1 release
  7. 2.5.6target
2+
changes to make
2
advisories fixed
8+
new
7+
fixes

Counted from 11 of 12 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking2.5.4
  • Breaking2.5.2

Security

Release by release

  1. 2.5.5 – 2.5.62 releases, nothing new or fixed in the notes

  2. 2.5.4

    Migration needed17 Jul 20252 new · 3 fixes
    • Breaking

      Remove local commit hooks be99d4e

    • New

      Add auto-changelog b5101ad

    • New

      Add missing peer dep 02ff026

    • Fixed

      append: avoid a crash on nullish values #577

    • Fixed

      Fix scripts to use prepublishOnly e351a97

    • Fixed

      Fix readme capitalization 2fd5f61

  3. 2.5.3

    14 Feb 20251 fix
    • Fixed

      Set Symbol.toStringTag when available #573

  4. 2.5.2

    Migration needed10 Oct 20242 fixes
    • Breaking

      Buffer.from and Buffer.alloc require node 4+ c499f76

    • Fixed

      Fix (npmignore): ignore temporary build files #532

    • Fixed

      Move util.isArray to Array.isArray (#564) 10418d1

  5. 2.5.1

    29 Aug 20192 new · 1 fix
    • New

      Add constructor options to TypeScript defs #437

    • New

      Add remaining combined-stream options to typedef 4d41a32

    • Fixed

      Fix error in callback signatures #435

  6. 2.5.0

    4 Jul 20191 new
    • New

      typings: Migrate TS typings #427 #428

  7. 2.4.0

    19 Jun 20192 new
    • New

      Added "getBuffer" method and updated certificates #419

    • New

      Allow newer versions of combined-stream #402

  8. 2.3.2 – 2.3.32 releases, nothing new or fixed; 1 without a note

47 other lines we could not sort, mostly version bumps
  • Escape CR, LF, and " in field names and filenames b620316

    2.5.6
  • Update @ljharb/eslint-config, auto-changelog, eslint, tape 12be578

    2.5.6
  • Update js-randomness-predictor 46cfd23

    2.5.6
  • Update hasown e3b96ee

    2.5.6
  • Actually ensure the readme backup isn’t published 10626c0

    2.5.5
  • Use proper dependency 026abe5

    2.5.5
  • Update linting config 8bf2492

    2.5.4
  • Switch to using crypto random for boundary values b88316c

    2.5.4
  • Validate boundary type in setBoundary() method 131ae5e

    2.5.4
  • Use hasown 97ac9c2

    2.5.4

9 internal lines (docs, tests, tooling) left out.

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.