Bumps body-parser to 2.2.1 and updates ancestor dependency express. These dependencies need to be updated together.
Updates body-parser from 1.20.2 to 2.2.1
Release notes
Sourced from body-parser's releases.
v2.2.1
Important: Security
What's Changed
... (truncated)
Changelog
Sourced from body-parser's changelog.
2.2.1 / 2025年11月24日
- 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
2.2.0 / 2025年03月27日
- refactor: normalize common options for all parsers
- deps:
2.1.0 / 2025年02月10日
- 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
2.0.2 / 2024年10月31日
- remove
unpipe package and use native unpipe() method
2.0.1 / 2024年09月10日
- Restore expected behavior
extended to false
2.0.0 / 2024年09月10日
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
... (truncated)
Commits
d96b63d 2.2.1 (#659)
b204886 sec: security patch for CVE-2025-13466
e20e351 feat: remove history.md from being packaged on publish (#660)
0d7ce71 docs: switch badges from badgen.net to shields.io (#661)
168afff ci: also test on first supported node.js version (#646)
e539a71 build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 (#654)
9391612 build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#655)
57baafb build(deps): bump github/codeql-action from 3.30.5 to 4.31.2 (#656)
a6a088e build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 (#657)
10a114d test: add test for urlencoded invalid defaultCharset (#643)
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by ulisesgascon, a new releaser for body-parser since your current version.
Updates express from 4.19.2 to 5.1.0
Release notes
Sourced from express's releases.
v5.1.0
What's Changed
... (truncated)
Changelog
Sourced from express's changelog.
5.1.0 / 2025年03月31日
- Add support for
Uint8Array in res.send()
- Add support for ETag option in
res.sendFile()
- Add support for multiple links with the same rel in
res.links()
- Add funding field to package.json
- perf: use loop for acceptParams
- refactor: prefix built-in node module imports
- deps: remove
setprototypeof
- deps: remove
safe-buffer
- deps: remove
utils-merge
- deps: remove
methods
- deps: remove
depd
- deps:
debug@^4.4.0
- deps:
body-parser@^2.2.0
- deps:
router@^2.2.0
- deps:
content-type@^1.0.5
- deps:
finalhandler@^2.1.0
- deps:
qs@^6.14.0
- deps:
server-static@2.2.0
- deps:
type-is@2.0.1
5.0.1 / 2024年10月08日
5.0.0 / 2024年09月10日
- remove:
path-is-absolute dependency - use path.isAbsolute instead
- breaking:
res.status() accepts only integers, and input must be greater than 99 and less than 1000
- will throw a
RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000. for inputs outside this range
- will throw a
TypeError: Invalid status code: ${code}. Status code must be an integer. for non integer inputs
- deps: send@1.0.0
res.redirect('back') and res.location('back') is no longer a supported magic string, explicitly use req.get('Referrer') || '/'.
- change:
res.clearCookie will ignore user provided maxAge and expires options
- deps: cookie-signature@^1.2.1
- deps: debug@4.3.6
- deps: merge-descriptors@^2.0.0
- deps: serve-static@^2.1.0
- deps: qs@6.13.0
- deps: accepts@^2.0.0
- deps: mime-types@^3.0.0
application/javascript => text/javascript
- deps: type-is@^2.0.0
- deps: content-disposition@^1.0.0
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps body-parser to 2.2.1 and updates ancestor dependency express. These dependencies need to be updated together.
Updates
body-parserfrom 1.20.2 to 2.2.1Release notes
Sourced from body-parser's releases.
... (truncated)
Changelog
Sourced from body-parser's changelog.
... (truncated)
Commits
d96b63d2.2.1 (#659)b204886sec: security patch for CVE-2025-13466e20e351feat: removehistory.mdfrom being packaged on publish (#660)0d7ce71docs: switch badges from badgen.net to shields.io (#661)168afffci: also test on first supported node.js version (#646)e539a71build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 (#654)9391612build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#655)57baafbbuild(deps): bump github/codeql-action from 3.30.5 to 4.31.2 (#656)a6a088ebuild(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 (#657)10a114dtest: add test for urlencoded invalid defaultCharset (#643)Maintainer changes
This version was pushed to npm by ulisesgascon, a new releaser for body-parser since your current version.
Updates
expressfrom 4.19.2 to 5.1.0Release notes
Sourced from express's releases.
... (truncated)
Changelog
Sourced from express's changelog.
... (truncated)
Commits
cd7d4395.1.04c4f3eafix(deps): serve-static@^2.2.0 (#6418)cb4c56efix(docs): remove@mertcanaltinfrom Triagers (#6408)7b44e1dci: use full SHAs for github action versionseb6d125deps: router@^2.2.0 (#6417)f1a2dc8deps: type-is@^2.0.1 (#6420)6b51e8edeps: body-parser@^2.2.0 (#6419)1f311c5build(deps-dev): bump cookie-session from 2.0.0 to 2.1.0 (#6399)9e97144feat(deps): finalhandler@2.1.0 (#6373)29d0980build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#6397)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.