Packages

body-parser

2.4.0 · 22 Oct 2026MIT201.6M / weekRepositoryHomepagenpmAtom feed

Upgrading body-parser From 2.1.0 to 2.4.0

5 releases in betweenevery note read

  1. 2.1.0yours
  2. 2.2.0
  3. 2.2.1security
  4. 2.2.2
  5. 2.3.0security
  6. 2.4.0target

Security

Release by release

  1. 2.4.0

    Security fix22 Oct 20263 new · 1 fix
    • security
    • new

      json: Avoid first-char regex for direct JSON bodies

    • new

      Zstandard support

    • new

      Inline content stream setup

    • fixed

      Avoid mutating read options when reading body

  2. 2.3.0

    Security fix15 Jun 20262 new · 1 fix
    • security
    • new

      urlencoded: Move empty-body guard to avoid extra function closure

    • new

      Eliminate conditional check in json strict mode hot path

    • fixed

      Improve limit option validation

  3. 2.2.2nothing new or fixed in the note

  4. 2.2.1

    Security fix24 Nov 20251 new
  5. 2.2.0

    27 Mar 20251 fix
    • fixed

      Remove skip of test

7 other lines we could not sort, mostly version bumps
  • Improve ESM compatibility

    2.3.0
  • Upgrade "content-type"

    2.3.0
  • Update outdated reference to MDN docs

    2.3.0
  • Remove history.md from being packaged on publish

    2.2.1
  • dep: Upgrade iconv-lite to ^0.6.3

    2.2.0
  • Refactor parameterCount to optimize performance

    2.2.0
  • Release 2.2.0

    2.2.0

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