Commit 98b2ee2
authored
[DEPENDENCY] Bump body-parser from 1.20.3 to 2.2.0 (#715)
Bumps [body-parser](https://github.com/expressjs/body-parser) from
1.20.3 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/expressjs/body-parser/releases">body-parser's
releases</a>.</em></p>
<blockquote>
<h2>v2.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>test: remove <code>--bail</code> from test script by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/583">expressjs/body-parser#583</a></li>
<li>ci: separate lint step by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/582">expressjs/body-parser#582</a></li>
<li>fix: remove skip of test by <a
href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/589">expressjs/body-parser#589</a></li>
<li>ci: use <code>lcovonly</code> reporter for the <code>test-ci</code>
script by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/584">expressjs/body-parser#584</a></li>
<li>docs: remove security file by <a
href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/590">expressjs/body-parser#590</a></li>
<li>fix(docs): replace var with let or const in ReadMe by <a
href="https://github.com/Binilkks"><code>@Binilkks</code></a> in <a
href="https://redirect.github.com/expressjs/body-parser/pull/581">expressjs/body-parser#581</a></li>
<li>chore: update test dependencies by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/585">expressjs/body-parser#585</a></li>
<li>dep: upgrade iconv-lite to ^0.6.3 by <a
href="https://github.com/aqeelat"><code>@aqeelat</code></a> in <a
href="https://redirect.github.com/expressjs/body-parser/pull/588">expressjs/body-parser#588</a></li>
<li>Refactor parameterCount to optimize performance by <a
href="https://github.com/wojtekmaj"><code>@wojtekmaj</code></a> in <a
href="https://redirect.github.com/expressjs/body-parser/pull/591">expressjs/body-parser#591</a></li>
<li>refactor: normalize common options for all parsers by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/551">expressjs/body-parser#551</a></li>
<li>refactor: cleanup parser options by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/596">expressjs/body-parser#596</a></li>
<li>Release 2.2.0 by <a
href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a>
in <a
href="https://redirect.github.com/expressjs/body-parser/pull/597">expressjs/body-parser#597</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Binilkks"><code>@Binilkks</code></a>
made their first contribution in <a
href="https://redirect.github.com/expressjs/body-parser/pull/581">expressjs/body-parser#581</a></li>
<li><a href="https://github.com/aqeelat"><code>@aqeelat</code></a> made
their first contribution in <a
href="https://redirect.github.com/expressjs/body-parser/pull/588">expressjs/body-parser#588</a></li>
<li><a href="https://github.com/wojtekmaj"><code>@wojtekmaj</code></a>
made their first contribution in <a
href="https://redirect.github.com/expressjs/body-parser/pull/591">expressjs/body-parser#591</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/expressjs/body-parser/compare/v2.1.0...v2.2.0">https://github.com/expressjs/body-parser/compare/v2.1.0...v2.2.0</a></p>
<h2>v2.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: update package.json engines field to reflect minimum supported
node version by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/541">expressjs/body-parser#541</a></li>
<li>fix: remove brotli support check by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/542">expressjs/body-parser#542</a></li>
<li>fix: remove unpipe package and use native unpipe method by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/543">expressjs/body-parser#543</a></li>
<li>Remove unused devDependency <code>methods</code> by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/548">expressjs/body-parser#548</a></li>
<li>ci: updated github actions ci workflow by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/546">expressjs/body-parser#546</a></li>
<li>Remove devDependency <code>safe-buffer</code> by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/547">expressjs/body-parser#547</a></li>
<li>test: remove AsyncLocalStorage check by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/549">expressjs/body-parser#549</a></li>
<li>perf: use the node require cache instead of custom caching by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/562">expressjs/body-parser#562</a></li>
<li>ci: disable fail-fast in CI workflow by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/565">expressjs/body-parser#565</a></li>
<li>chore(deps): update <code>type-is</code> to v2.0.0 by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/571">expressjs/body-parser#571</a></li>
<li>refactor: prefix built-in node module imports by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/573">expressjs/body-parser#573</a></li>
<li>fix: remove obsolete dependency <code>destroy</code> by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/570">expressjs/body-parser#570</a></li>
<li>cleanup: remove obsolete test env file by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/569">expressjs/body-parser#569</a></li>
<li>Refactor decompression stream creation to remove code duplication by
<a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a>
in <a
href="https://redirect.github.com/expressjs/body-parser/pull/564">expressjs/body-parser#564</a></li>
<li>Add caret for body-parser dependencies by <a
href="https://github.com/wesleytodd"><code>@wesleytodd</code></a> in <a
href="https://redirect.github.com/expressjs/body-parser/pull/577">expressjs/body-parser#577</a></li>
<li>ci: add CodeQL (SAST) by <a
href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/559">expressjs/body-parser#559</a></li>
<li>chore(deps): update <code>debug</code> to ^4.4.0 by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/579">expressjs/body-parser#579</a></li>
<li>Release v2.1.0 by <a
href="https://github.com/wesleytodd"><code>@wesleytodd</code></a> in <a
href="https://redirect.github.com/expressjs/body-parser/pull/578">expressjs/body-parser#578</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/expressjs/body-parser/compare/2.0.1...v2.1.0">https://github.com/expressjs/body-parser/compare/2.0.1...v2.1.0</a></p>
<h2>2.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: update package.json engines field to reflect minimum supported
node version by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/541">expressjs/body-parser#541</a></li>
<li>fix: remove brotli support check by <a
href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in
<a
href="https://redirect.github.com/expressjs/body-parser/pull/542">expressjs/body-parser#542</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/expressjs/body-parser/blob/master/HISTORY.md">body-parser's
changelog</a>.</em></p>
<blockquote>
<h1>2.2.0 / 2025-03-27</h1>
<ul>
<li>refactor: normalize common options for all parsers</li>
<li>deps:
<ul>
<li>iconv-lite@^0.6.3</li>
</ul>
</li>
</ul>
<h1>2.1.0 / 2025-02-10</h1>
<ul>
<li>deps:
<ul>
<li>type-is@^2.0.0</li>
<li>debug@^4.4.0</li>
<li>Removed destroy</li>
</ul>
</li>
<li>refactor: prefix built-in node module imports</li>
<li>use the node require cache instead of custom caching</li>
</ul>
<h1>2.0.2 / 2024-10-31</h1>
<ul>
<li>remove <code>unpipe</code> package and use native
<code>unpipe()</code> method</li>
</ul>
<h1>2.0.1 / 2024-09-10</h1>
<ul>
<li>Restore expected behavior <code>extended</code> to
<code>false</code></li>
</ul>
<h1>2.0.0 / 2024-09-10</h1>
<ul>
<li>Propagate changes from 1.20.3</li>
<li>add brotli support <a
href="https://redirect.github.com/expressjs/body-parser/issues/406">#406</a></li>
<li>Breaking Change: Node.js 18 is the minimum supported version</li>
</ul>
<h1>2.0.0-beta.2 / 2023-02-23</h1>
<p>This incorporates all changes after 1.19.1 up to 1.20.2.</p>
<ul>
<li>Remove deprecated <code>bodyParser()</code> combination
middleware</li>
<li>deps: debug@3.1.0
<ul>
<li>Add <code>DEBUG_HIDE_DATE</code> environment variable</li>
<li>Change timer to per-namespace instead of global</li>
<li>Change non-TTY date format</li>
<li>Remove <code>DEBUG_FD</code> environment variable support</li>
<li>Support 256 namespace colors</li>
</ul>
</li>
<li>deps: iconv-lite@0.5.2
<ul>
<li>Add encoding cp720</li>
<li>Add encoding UTF-32</li>
</ul>
</li>
<li>deps: raw-body@3.0.0-beta.1</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/expressjs/body-parser/commit/0aa4e1128ef88c7f68a851a44c6adbbed35dbfd4"><code>0aa4e11</code></a>
2.2.0 (<a
href="https://redirect.github.com/expressjs/body-parser/issues/597">#597</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/4d85c4c285870bbf27d07e5058a29f6794917193"><code>4d85c4c</code></a>
refactor: cleanup parser options (<a
href="https://redirect.github.com/expressjs/body-parser/issues/596">#596</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/d11899bff54846e4ad24e94c27fc66956f9b93cd"><code>d11899b</code></a>
refactor: normalize common options for all parsers (<a
href="https://redirect.github.com/expressjs/body-parser/issues/551">#551</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/f27f2ced83d2f2a19e5305d09b4e31dec75b3e5c"><code>f27f2ce</code></a>
perf: refactor <code>parameterCount</code> to optimize performance (<a
href="https://redirect.github.com/expressjs/body-parser/issues/591">#591</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/ccad155f488b95374794a57a9a8ae6de1d38a054"><code>ccad155</code></a>
dep: upgrade iconv-lite@0.6.3 (<a
href="https://redirect.github.com/expressjs/body-parser/issues/588">#588</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/f75bd255a1839d3dea3e5e96ede380c1fed5ca55"><code>f75bd25</code></a>
chore: update test dependencies (<a
href="https://redirect.github.com/expressjs/body-parser/issues/585">#585</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/0f1250971b6155ee13eb3d4aad2ce47b40c073f2"><code>0f12509</code></a>
fix(docs): replace var with let or const in ReadMe (<a
href="https://redirect.github.com/expressjs/body-parser/issues/581">#581</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/5e6dd0874e478a94b7b7e080e10ba75192cbd1ac"><code>5e6dd08</code></a>
fix(docs): remove security file (<a
href="https://redirect.github.com/expressjs/body-parser/issues/590">#590</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/d127b9c6c8989e130991b13c938d4da4621e9a31"><code>d127b9c</code></a>
ci: use <code>lcovonly</code> reporter for the <code>test-ci</code>
script (<a
href="https://redirect.github.com/expressjs/body-parser/issues/584">#584</a>)</li>
<li><a
href="https://github.com/expressjs/body-parser/commit/d0bf2be1114ee3025c552c53d29f290f0677272d"><code>d0bf2be</code></a>
fix: remove skip of test (<a
href="https://redirect.github.com/expressjs/body-parser/issues/589">#589</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/expressjs/body-parser/compare/1.20.3...v2.2.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent aa7d47c commit 98b2ee2
2 files changed
Lines changed: 117 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments