Skip to content

Commit

Permalink
fix: .snyk & package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-450202
  • Loading branch information
snyk-test committed Jul 5, 2019
1 parent 87e9d16 commit bbf4275
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .snyk
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-450202:
- async > lodash:
patched: '2019-07-05T03:51:28.997Z'
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -8,7 +8,9 @@
"lib/"
],
"scripts": {
"test": "make test"
"test": "make test",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"config": {
"blanket": {
Expand All @@ -26,7 +28,8 @@
"long": "~1.1.5",
"readable-stream": "1.1.11",
"utility": "~0.1.16",
"zookeeper-watcher": "~0.2.0"
"zookeeper-watcher": "~0.2.0",
"snyk": "^1.192.0"
},
"devDependencies": {
"autod": "*",
Expand All @@ -53,5 +56,6 @@
"hbase-client"
],
"author": "fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)",
"license": "MIT"
"license": "MIT",
"snyk": true
}

0 comments on commit bbf4275

Please sign in to comment.