diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..fb10ae9d --- /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': + - nodeunit > tap > coveralls > request > hawk > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > boom > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > sntp > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-23T04:39:19.338Z' diff --git a/package.json b/package.json index b56bef70..0ec0dae6 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,14 @@ "express": "4.16.3", "nodeunit": "0.11.2", "supertest": "3.1.0", - "mocha": "5.1.1" + "mocha": "5.1.1", + "snyk": "^1.83.0" }, "scripts": { "test": "./node_modules/mocha/bin/mocha", - "start": "app.js" - } + "start": "app.js", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }