Skip to content

Commit

Permalink
Patch out vulnerable vm2 with an override
Browse files Browse the repository at this point in the history
fixes critical issues in vm2, see https://github.com/patriksimek/vm2/security
by using degenerator 5+, which does not require vm2.

Change-Id: I1d40b191a8f7237d52165f4be77f2879d1910163
  • Loading branch information
bpedersen2 committed Nov 22, 2023
1 parent e161e0d commit 41195c4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 163 deletions.
182 changes: 19 additions & 163 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
"swagger-ui-express": "^5.0.0",
"uuid": "^9.0.0"
},
"overrides": {
"pac-resolver": {
"degenerator": "~5"
}
},
"devDependencies": {
"@faker-js/faker": "^8.0.1",
"@nestjs/cli": "^10.0.5",
Expand Down

0 comments on commit 41195c4

Please sign in to comment.