diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..1d28d3c --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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': + - npm > node-gyp > request > hawk > hoek: + patched: '2018-07-19T21:18:50.534Z' + - npm > node-gyp > request > hawk > boom > hoek: + patched: '2018-07-19T21:18:50.534Z' + - npm > node-gyp > request > hawk > sntp > hoek: + patched: '2018-07-19T21:18:50.534Z' + - npm > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-07-19T21:18:50.534Z' diff --git a/package.json b/package.json index f42d999..5f97f39 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "check-it": "./bin/open-source-checklist" }, "scripts": { - "test": "mocha -R spec" + "test": "mocha -R spec", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "author": { "name": "Catherine Farman", @@ -23,9 +25,11 @@ "request": "2.84.0", "shelljs": "^0.7.0", "update-notifier": "0.6.3", - "winston-color": "1.0.0" + "winston-color": "1.0.0", + "snyk": "^1.89.0" }, "devDependencies": { "mocha": "^2.4.5" - } + }, + "snyk": true }