diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2385fce --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - httpsnippet > form-data > async > lodash: + patched: '2019-07-04T06:15:53.118Z' + - standard > standard-format > esformatter-semicolon-first > esformatter-parser > babel-traverse > lodash: + patched: '2019-07-04T06:15:53.118Z' + - standard > standard-format > esformatter-semicolon-first > esformatter-parser > babel-traverse > babel-types > lodash: + patched: '2019-07-04T06:15:53.118Z' diff --git a/package.json b/package.json index 484ae08..228960b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ }, "scripts": { "test": "standard && mocha --reporter spec", - "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha" + "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "ignore": [ @@ -50,6 +52,8 @@ "jade": "^1.9.2", "morgan": "^1.5.2", "standard": "^2.11.0", - "unirest": "^0.4.0" - } + "unirest": "^0.4.0", + "snyk": "^1.189.0" + }, + "snyk": true }