diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..87175f0 --- /dev/null +++ b/.snyk @@ -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:semver:20150403': + - npm-registry > semver: + patched: '2018-05-23T23:23:01.797Z' + - npm-registry > licenses > npm-registry > semver: + patched: '2018-05-23T23:23:01.797Z' diff --git a/package.json b/package.json index 1dcd60d..5a50f44 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,16 @@ "request": "2.72.0", "semver": "5.1.0", "shuffle-array": "1.0.1", - "underscore": "1.8.3" + "underscore": "1.8.3", + "snyk": "^1.80.1" }, "engines": { "node": "0.12.x" }, "scripts": { - "start": "./start.sh" - } + "start": "./start.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }