Packages

body-parser

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

Upgrading body-parser From 2.2.1 to 2.4.0

3 releases in betweenevery note read

  1. 2.2.1yours
  2. 2.2.2
  3. 2.3.0security
  4. 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

3 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

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