body-parser
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| 1.20.5 / 2026-04-24 | ||
| =================== | ||
| * refactor(json): simplify strict mode error string construction | ||
| * fix: extended urlencoded parsing of arrays with >100 elements (#716) | ||
| * deps: qs@~6.15.1 | ||
| 1.20.4 / 2025-12-01 | ||
@@ -2,0 +8,0 @@ =================== |
@@ -161,7 +161,3 @@ /*! | ||
| if (index !== -1) { | ||
| partial = str.substring(0, index) + JSON_SYNTAX_CHAR | ||
| for (var i = index + 1; i < str.length; i++) { | ||
| partial += JSON_SYNTAX_CHAR | ||
| } | ||
| partial = str.substring(0, index) + new Array(str.length - index + 1).join(JSON_SYNTAX_CHAR) | ||
| } | ||
@@ -168,0 +164,0 @@ |
@@ -209,12 +209,11 @@ /*! | ||
| var count = 0 | ||
| var index = 0 | ||
| var index = -1 | ||
| while ((index = body.indexOf('&', index)) !== -1) { | ||
| do { | ||
| count++ | ||
| index++ | ||
| if (count === limit) { | ||
| if (count > limit) { | ||
| return undefined | ||
| } | ||
| } | ||
| index = body.indexOf('&', index + 1) | ||
| } while (index !== -1) | ||
@@ -221,0 +220,0 @@ return count |
+2
-2
| { | ||
| "name": "body-parser", | ||
| "description": "Node.js body parsing middleware", | ||
| "version": "1.20.4", | ||
| "version": "1.20.5", | ||
| "contributors": [ | ||
@@ -20,3 +20,3 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
| "on-finished": "~2.4.1", | ||
| "qs": "~6.14.0", | ||
| "qs": "~6.15.1", | ||
| "raw-body": "~2.5.3", | ||
@@ -23,0 +23,0 @@ "type-is": "~1.6.18", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
61577
0.24%938
-0.32%4
33.33%+ Added
- Removed
Updated