Skip to content

Commit a8f3351

Browse files
committed
Fix package.json vulnerabilities.
1 parent ec2797d commit a8f3351

File tree

2 files changed

+51
-6
lines changed

2 files changed

+51
-6
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"antlr4.js": "dist/app.js"
1010
},
1111
"scripts": {
12+
"preinstall": "npx npm-force-resolutions",
1213
"test": "echo \"Error: no test specified\" && exit 1",
1314
"clean": "rm -rf dist",
1415
"lint": "tslint -p . -c tslint.json 'src/**/*.ts'",
@@ -49,11 +50,15 @@
4950
"name": "Marlon Chatman",
5051
"email": "[email protected]"
5152
},
53+
"resolutions": {
54+
"minimist": "^1.2.5"
55+
},
5256
"devDependencies": {
5357
"@types/commander": "^2.12.2",
5458
"@types/ejs": "^2.6.0",
5559
"@types/lodash": "^4.14.116",
5660
"@types/node": "^10.11.3",
61+
"npm-force-resolutions": "0.0.3",
5762
"tslint": "^5.11.0",
5863
"typescript": "^3.1.1"
5964
}

0 commit comments

Comments
 (0)