Skip to content

Commit 2dba035

Browse files
committed
Fix security packages, add npm force resolutions
1 parent 1a7ce77 commit 2dba035

File tree

2 files changed

+91
-17
lines changed

2 files changed

+91
-17
lines changed

package-lock.json

Lines changed: 85 additions & 17 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"scripts": {
3+
"preinstall": "npx npm-force-resolutions",
34
"start": "cross-env TS_NODE_PROJECT=\"webpack/tsconfig.json\" webpack-dev-server --config webpack/webpack.config.ts",
45
"build": "cross-env TS_NODE_PROJECT=\"webpack/tsconfig.json\" webpack --config webpack/webpack.config.ts --env.production --mode=production",
56
"lint": "eslint . -c .eslintrc.js --ext .vue,.ts,.tsx"
@@ -43,5 +44,10 @@
4344
"vue-loader": "^15.9.5",
4445
"vue-property-decorator": "^9.1.2",
4546
"webpack": "^4.44.2"
47+
},
48+
"resolutions": {
49+
"ini": ">=1.3.6",
50+
"node-forge": ">=0.10.0",
51+
"lodash": ">=4.17.19"
4652
}
4753
}

0 commit comments

Comments
 (0)