diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..53ccea5 --- /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: + - redux > lodash: + patched: '2020-05-01T00:53:58.930Z' diff --git a/package.json b/package.json index 7612acd..5821f73 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "start": "webpack-dev-server", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -15,7 +17,8 @@ "react-dom": "^15.3.2", "react-router": "^2.8.1", "redux": "^3.6.0", - "webpack": "^1.13.2" + "webpack": "^1.13.2", + "snyk": "^1.316.1" }, "devDependencies": { "babel-core": "^6.17.0", @@ -27,5 +30,6 @@ "sass-loader": "^4.0.2", "style-loader": "^0.13.1", "webpack-dev-server": "^1.16.1" - } + }, + "snyk": true }