refactor: Upgrade body-parser from 1.20.3 to 2.0.1 #9425
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade body-parser from 1.20.3 to 2.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: body-parser
What's Changed
New Contributors
Full Changelog: 2.0.0...2.0.1
What's Changed
Important
Details
raw-body@3
by @ wesleytodd in #529New Contributors
Full Changelog: 1.20.2...2.0.0
This incorporates all changes after 1.19.1 up to 1.20.2.
bodyParser()
combination middlewareDEBUG_HIDE_DATE
environment variableDEBUG_FD
environment variable supportreq.body
is no longer always initialized to{}
undefined
unless a body is parsedurlencoded
parser now defaultsextended
tofalse
on-finished
to determine when body readWhat's Changed
Important
depth
option to customize the depth level in the parserdepth
level for parsing URL-encoded data is now32
(previously wasInfinity
). DocumentationOther changes
New Contributors
Full Changelog: 1.20.2...1.20.3
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: