Skip to content

Commit 709294b

Browse files
author
snyk-bot
committed
fix: package.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:ms:20170412 Latest report for sebs/etherscan-api: https://snyk.io/test/github/sebs/etherscan-api
1 parent 4b58ee7 commit 709294b

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.7.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:ms:20170412':
7+
- mocha > debug > ms:
8+
patched: '2017-05-22T00:11:05.815Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"pages": "node ./scripts/publish-gh.js",
1414
"postversion": "git push && git push --tags && npm run pages",
1515
"changelog": "rm ./docs/CHANGELOG.md && changelog https://github.com/sebs/etherscan-api all > ./docs/CHANGELOG.md && git add . && git commit . -m changelog",
16-
"build": "npm run test && npm run docs"
16+
"build": "npm run test && npm run docs",
17+
"snyk-protect": "snyk protect",
18+
"prepublish": "npm run snyk-protect"
1719
},
1820
"keywords": [
1921
"ethereum",
@@ -49,6 +51,8 @@
4951
"jsdoc": "^3.4.3",
5052
"jshint": "^2.9.4",
5153
"mocha": "^3.2.0",
52-
"restify": "^4.3.0"
53-
}
54+
"restify": "^4.3.0",
55+
"snyk": "^1.30.1"
56+
},
57+
"snyk": true
5458
}

0 commit comments

Comments
 (0)