diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9419aec --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - lodash: + patched: '2020-04-30T23:44:46.027Z' diff --git a/package.json b/package.json index ef073bd..7a9dae6 100644 --- a/package.json +++ b/package.json @@ -20,12 +20,15 @@ "test": "npm run lint && npm run spec && npm run coverage", "spec": "NODE_PATH=lib NODE_ENV=test istanbul cover node_modules/.bin/_mocha -- -r test/helpers/chai -r test/helpers/sinon -R spec test/spec", "lint": "eslint --ignore-path .gitignore .", - "coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100" + "coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "lodash": "^4.17.5", "readable-stream": "^2.0.0", - "bluebird": "^2.9.27" + "bluebird": "^2.9.27", + "snyk": "^1.316.1" }, "peerDependencies": { "aws-sdk": "^2.1.34" @@ -43,5 +46,6 @@ "engines": { "node": "^0.8 || ^0.10 || >= 0.12", "iojs": ">= 1.2.0" - } + }, + "snyk": true }