fastify-express
fastify-express copied to clipboard
build(deps-dev): bump body-parser from 1.20.3 to 2.2.1
Bumps body-parser from 1.20.3 to 2.2.1.
Release notes
Sourced from body-parser's releases.
v2.2.1
Important: Security
- Security fix for CVE-2025-13466 (GHSA-wqch-xfxh-vrr4)
What's Changed
- ci: add dependabot by
@Phillip9587in expressjs/body-parser#593- ci: use full SHAs for github action versions by
@Phillip9587in expressjs/body-parser#594- deps: type-is@^2.0.1 by
@Phillip9587in expressjs/body-parser#599- build(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by
@dependabot[bot] in expressjs/body-parser#609- build(deps): bump github/codeql-action from 3.28.13 to 3.28.15 by
@dependabot[bot] in expressjs/body-parser#610- build(deps-dev): bump eslint-plugin-promise from 6.1.1 to 6.6.0 by
@dependabot[bot] in expressjs/body-parser#611- build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.31.0 by
@dependabot[bot] in expressjs/body-parser#613- build(deps-dev): bump eslint-plugin-markdown from 3.0.0 to 3.0.1 by
@dependabot[bot] in expressjs/body-parser#612- ci: add codeql github workflows scanning by
@Phillip9587in expressjs/body-parser#614- ci: update CodeQL config to ignore the test directory by
@Phillip9587in expressjs/body-parser#615- build(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 by
@dependabot[bot] in expressjs/body-parser#620- build(deps): bump github/codeql-action from 3.28.15 to 3.28.16 by
@dependabot[bot] in expressjs/body-parser#619- chore(deps): unpin devDependencies by
@Phillip9587in expressjs/body-parser#616- ci: add node.js 24 to test matrix by
@Phillip9587in expressjs/body-parser#621- build(deps): bump github/codeql-action from 3.28.16 to 3.28.18 by
@dependabot[bot] in expressjs/body-parser#623- build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by
@dependabot[bot] in expressjs/body-parser#624- chore: add funding to package.json by
@Phillip9587in expressjs/body-parser#617- build(deps): bump github/codeql-action from 3.28.18 to 3.29.2 by
@dependabot[bot] in expressjs/body-parser#625- build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by
@dependabot[bot] in expressjs/body-parser#630- refactor: move common request validation to read function by
@Phillip9587in expressjs/body-parser#600- deps: bump iconv-lite by
@bjohansebasin expressjs/body-parser#631- doc: pull beta changelog forward into 2.0.0 by
@jonchurchin expressjs/body-parser#629- refactor: optimize raw and text parsers with shared passthrough function by
@Phillip9587in expressjs/body-parser#634- build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by
@dependabot[bot] in expressjs/body-parser#640- build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by
@dependabot[bot] in expressjs/body-parser#639- build(deps): bump actions/setup-node from 4.4.0 to 5.0.0 by
@dependabot[bot] in expressjs/body-parser#636- build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 by
@dependabot[bot] in expressjs/body-parser#637- build(deps): bump github/codeql-action from 3.29.7 to 3.30.5 by
@dependabot[bot] in expressjs/body-parser#638- deps: raw-body@^3.0.1 by
@Phillip9587in expressjs/body-parser#641- deps: debug@^4.4.3 by
@Phillip9587in expressjs/body-parser#642- docs: add iconv-lite 0.7.0 changes to history entry by
@Phillip9587in expressjs/body-parser#645- ci: add node.js 25 to test matrix by
@Phillip9587in expressjs/body-parser#650- perf: move read options outside parser middlewares by
@Phillip9587in expressjs/body-parser#648- test(json): add RFC 7159 whitespace edge cases by
@Ayoub-Mabroukin expressjs/body-parser#653- test: add test for urlencoded invalid defaultCharset by
@Phillip9587in expressjs/body-parser#643- build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 by
@dependabot[bot] in expressjs/body-parser#657- build(deps): bump github/codeql-action from 3.30.5 to 4.31.2 by
@dependabot[bot] in expressjs/body-parser#656- build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by
@dependabot[bot] in expressjs/body-parser#655- build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 by
@dependabot[bot] in expressjs/body-parser#654- ci: also test on first supported node.js version by
@Phillip9587in expressjs/body-parser#646- chore: switch badges from badgen.net to shields.io by
@Phillip9587in expressjs/body-parser#661- Remove history.md from being packaged on publish by
@bjohansebasin expressjs/body-parser#660- Release: 2.2.1 by
@UlisesGasconin expressjs/body-parser#659
... (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
encodingExistsby 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:
- iconv-lite@^0.6.3
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
unpipepackage and use nativeunpipe()method2.0.1 / 2024-09-10
- Restore expected behavior
extendedtofalse2.0.0 / 2024-09-10
Breaking Changes
- Node.js 18 is the minimum supported version
req.bodyis no longer always initialized to{}
- it is left
undefinedunless a body is parsed- Remove deprecated
bodyParser()combination middlewareas released, this is not the case, fixed in 2.0.1urlencodedparser now defaultsextendedtofalseurlencodedsimple parser now usesqsmodule instead ofquerystringmodule
... (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)- Additional commits viewable in compare view
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)