Skip to content

Commit 476991e

Browse files
committed
add body-parser to dev dependencies and update it's version, to address vulnerability found
1 parent 92b2a89 commit 476991e

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

audit.log

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
┌─────────────────────┬────────────────────────────────────────────────────────┐
2-
│ moderate │ body-parser is vulnerable to denial of service when │
3-
│ │ url encoding is used │
4-
├─────────────────────┼────────────────────────────────────────────────────────┤
5-
│ Package │ body-parser │
6-
├─────────────────────┼────────────────────────────────────────────────────────┤
7-
│ Vulnerable versions │ >=2.2.0 <2.2.1 │
8-
├─────────────────────┼────────────────────────────────────────────────────────┤
9-
│ Patched versions │ >=2.2.1 │
10-
├─────────────────────┼────────────────────────────────────────────────────────┤
11-
│ Paths │ .>mock-http-server>body-parser │
12-
├─────────────────────┼────────────────────────────────────────────────────────┤
13-
│ More info │ https://github.com/advisories/GHSA-wqch-xfxh-vrr4 │
14-
└─────────────────────┴────────────────────────────────────────────────────────┘
15-
1 vulnerabilities found
16-
Severity: 1 moderate
1+
No known vulnerabilities found

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"feedparser": "2.2.10",
5555
"mocha": "^11.7.5",
5656
"mock-http-server": "^1.4.5",
57+
"body-parser": "^2.2.1",
5758
"mongoose": "^8.19.2",
5859
"supertest": "^7.1.4"
5960
},

pnpm-lock.yaml

Lines changed: 23 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)