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/npm:hoek:20180212
  • Loading branch information
snyk-bot committed Jun 21, 2018
1 parent da1fcab commit 8d6ac25
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:hoek:20180212':
- nexmo > jsonwebtoken > joi > hoek:
patched: '2018-06-21T06:47:31.937Z'
- nexmo > jsonwebtoken > joi > topo > hoek:
patched: '2018-06-21T06:47:31.937Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
"node": ">=4.0.0"
},
"scripts": {
"test": "lab -c -v -L -a code"
"test": "lab -c -v -L -a code",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"dependencies": {
"nexmo": "2.1.x"
"nexmo": "2.1.x",
"snyk": "^1.83.0"
},
"devDependencies": {
"hapi": ">=17.2.x",
Expand All @@ -20,5 +23,6 @@
"lab": "15.1.x",
"nexmo": "2.1.x",
"coveralls": "3.0.x"
}
},
"snyk": true
}

0 comments on commit 8d6ac25

Please sign in to comment.