diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8d3039e --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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:lodash:20180130': + - shipit-utils > lodash: + patched: '2018-07-03T01:48:04.811Z' diff --git a/package.json b/package.json index d4c6bff..95537f3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "test": "npm run lint && node_modules/jest/bin/jest.js --forceExit --silent", "lint": "node_modules/eslint/bin/eslint.js *.js tasks/**/**.js __TESTS__/**/**.js", - "send-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p ." + "send-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "jest": { "verbose": false, @@ -58,6 +60,8 @@ "moment": "^2.18.1", "node-slackr": "^0.1.4", "shipit-utils": "^1.4.0", - "underscore.string": "^3.3.4" - } + "underscore.string": "^3.3.4", + "snyk": "^1.88.0" + }, + "snyk": true }