Packages

body-parser

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

Upgrading body-parser From 2.2.2 to 2.4.0

2 releases in betweenevery note read

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

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