Skip to content

Commit

Permalink
Introduce npm-force-resolutions dependency to help resolve npm audi…
Browse files Browse the repository at this point in the history
…t vulnerabilities

Helps to fix #8722
  • Loading branch information
bsclifton committed Mar 18, 2020
1 parent fe21b7b commit 54cb764
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 16 deletions.
48 changes: 33 additions & 15 deletions package-lock.json

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

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.8.21",
"description": "Next generation Brave browser for macOS, Windows, Linux, and eventually Android",
"scripts": {
"preinstall": "npx npm-force-resolutions",
"audit_deps": "node ./scripts/audit.js",
"cibuild": "node ./scripts/commands.js cibuild",
"init": "node ./scripts/sync.js --init",
Expand Down Expand Up @@ -264,6 +265,10 @@
},
"devDependencies": {
"ip": "^1.1.5",
"jest": "^25.1.0"
"jest": "^25.1.0",
"npm-force-resolutions": "0.0.3"
},
"resolutions": {
"minimist": "^1.2.3"
}
}

0 comments on commit 54cb764

Please sign in to comment.