diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e283f17 --- /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': + - soupselect > nodeunit > tap > coveralls > request > hawk > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > boom > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > sntp > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-21T05:45:11.727Z' diff --git a/package.json b/package.json index 67f37ca..b616a6e 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,16 @@ "xml2js": "0.4.1", "xmldom": "0.1.16", "xpath": "0.0.5", - "hubot-motivate": ">= 0.0.0" + "hubot-motivate": ">= 0.0.0", + "snyk": "^1.83.0" }, "engines": { "node": ">= 0.8.x", "npm": ">= 1.1.x" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }