Skip to content

Commit a361fd4

Browse files
fbriconxorye
authored andcommitted
Fix for vulnerable minimist dependency
Signed-off-by: Fred Bricon <[email protected]>
1 parent 5e1b42c commit a361fd4

File tree

2 files changed

+89
-43
lines changed

2 files changed

+89
-43
lines changed

package-lock.json

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

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@
321321
]
322322
},
323323
"scripts": {
324+
"preinstall": "npx npm-force-resolutions",
324325
"vscode:prepublish": "webpack --mode production",
325326
"compile": "webpack --mode none",
326327
"watch": "webpack --mode development --watch --info-verbosity verbose",
@@ -335,6 +336,9 @@
335336
"test-ui-run": "extest setup-and-run 'out/test/vscodeUiTest/suite/*.js' -u -c 1.42.1",
336337
"test-all": "npm test && npm run test-ui-run"
337338
},
339+
"resolutions": {
340+
"minimist": "^1.2.5"
341+
},
338342
"devDependencies": {
339343
"@types/chai": "^4.2.3",
340344
"@types/chai-fs": "^2.0.2",
@@ -361,7 +365,8 @@
361365
"vscode-extension-tester": "^2.3.0",
362366
"vscode-test": "^1.2.3",
363367
"webpack": "^4.32.2",
364-
"webpack-cli": "^3.3.2"
368+
"webpack-cli": "^3.3.2",
369+
"minimist": ">=1.2.5"
365370
},
366371
"dependencies": {
367372
"ejs": "^2.7.1",

0 commit comments

Comments
 (0)