diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a5f2597 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - react-redux > lodash: + patched: '2020-05-06T01:17:24.281Z' + - redux > lodash: + patched: '2020-05-06T01:17:24.281Z' diff --git a/package.json b/package.json index c59ce9e..11ce978 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "serve:dist": "node server.js --env=dist", "start": "node server.js --env=dev", "test": "karma start", - "test:watch": "karma start --autoWatch=true --singleRun=false" + "test:watch": "karma start --autoWatch=true --singleRun=false", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": "", "keywords": [], @@ -69,6 +71,8 @@ "react": "^0.14.0", "react-dom": "^0.14.0", "react-redux": "^4.0.6", - "redux": "^3.0.5" - } + "redux": "^3.0.5", + "snyk": "^1.319.0" + }, + "snyk": true }