Skip to content

Update dependency body-parser to v2#1338

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/body-parser-2.x
Open

Update dependency body-parser to v2#1338
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/body-parser-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jul 11, 2025

This PR contains the following updates:

Package Change Age Confidence
body-parser ^1.20.2^2.0.0 age confidence

Release Notes

expressjs/body-parser (body-parser)

v2.2.2

Compare Source

=========================

  • deps: qs@^6.14.1
  • refactor(json): simplify strict mode error string construction

v2.2.1

Compare Source

=========================

  • Security fix for GHSA-wqch-xfxh-vrr4
  • deps:
    • type-is@^2.0.1
    • iconv-lite@^0.7.0
      • Handle split surrogate pairs when encoding UTF-8
      • Avoid false positives in encodingExists by using prototype-less objects
    • raw-body@^3.0.1
    • debug@^4.4.3

v2.2.0

Compare Source

=========================

  • refactor: normalize common options for all parsers
  • deps:
    • iconv-lite@^0.6.3

v2.1.0

Compare Source

=========================

  • deps:
    • type-is@^2.0.0
    • debug@^4.4.0
    • Removed destroy
  • refactor: prefix built-in node module imports
  • use the node require cache instead of custom caching

v2.0.2

Compare Source

=========================

  • remove unpipe package and use native unpipe() method

v2.0.1

Compare Source

=========================

  • Restore expected behavior extended to false

v2.0.0

Compare Source

=========================

Breaking Changes

  • Node.js 18 is the minimum supported version
  • req.body is no longer always initialized to {}
    • it is left undefined unless a body is parsed
  • Remove deprecated bodyParser() combination middleware
  • urlencoded parser now defaults extended to false as released, this is not the case, fixed in 2.0.1
  • urlencoded simple parser now uses qs module instead of querystring module

Features

  • Add brotli support #​406
  • urlencoded: Add option to customize the depth with a default value of 32
  • urlencoded: Support iso-8859-1, utf8 sentinel, and numeric entities
  • Use on-finished to determine when body read

Dependencies

  • deps: raw-body@^3.0.0
  • deps: qs@​6.12.3
  • deps: debug@​3.1.0
  • deps: iconv-lite@​0.5.2

v1.20.5

Compare Source

What's Changed

The reason for this release is a fix to the extended urlencoded parser returning objects instead of arrays for large array inputs (> 100) on qs@​6.14.2+. (#​716)

New Contributors

Special thanks to triager @​krzysdz for keeping this on our radar and effectively triaging the specific issue!

Full Changelog: expressjs/body-parser@1.20.4...1.20.5


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 09c78a8 to e503bce Compare July 11, 2025 14:25
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from e503bce to e5fab59 Compare July 11, 2025 18:48
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from e5fab59 to c2870b6 Compare July 11, 2025 18:51
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from c2870b6 to 67c97bf Compare July 11, 2025 18:54
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 67c97bf to 52791b0 Compare July 11, 2025 20:26
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 52791b0 to 0605f96 Compare July 11, 2025 21:03
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 0605f96 to d794416 Compare July 11, 2025 21:05
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from d794416 to 9f1d5b5 Compare July 23, 2025 23:01
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 9f1d5b5 to 31e211c Compare July 23, 2025 23:04
@sonarqubecloud
Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 31e211c to df2134a Compare September 14, 2025 02:42
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from df2134a to 5e0879f Compare September 14, 2025 02:46
@sonarqubecloud
Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 5e0879f to e2010c4 Compare November 21, 2025 22:10
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from e2010c4 to d70b60d Compare November 21, 2025 22:14
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from d70b60d to 876d459 Compare November 22, 2025 00:51
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from ae2d47b to 8ea896b Compare November 22, 2025 18:07
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 8ea896b to 2c67cf4 Compare November 22, 2025 21:38
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 2c67cf4 to fcc70ba Compare November 22, 2025 21:40
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from fcc70ba to e8463b5 Compare November 23, 2025 01:55
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from e8463b5 to 217112b Compare November 23, 2025 01:58
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 217112b to dad981a Compare November 24, 2025 20:34
@sonarqubecloud
Copy link
Copy Markdown

@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from dad981a to 94c071e Compare December 31, 2025 16:55
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 94c071e to 046205a Compare January 7, 2026 13:31
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 046205a to f937c54 Compare January 8, 2026 01:53
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from f937c54 to 586e1b7 Compare January 8, 2026 01:56
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 586e1b7 to c17e61b Compare January 8, 2026 18:15
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from c17e61b to 8d0b616 Compare January 19, 2026 15:44
@renovate renovate Bot force-pushed the renovate/body-parser-2.x branch from 8d0b616 to 06357e1 Compare January 28, 2026 22:27
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants