From bedfd75e88ac5e472a4ea38fd4a4307d4efd08bb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:16:00 +0300 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a37d79f..59bc90f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,9 @@ "start": "webpack-dev-server --config webpack.dev.js", "start-stg": "webpack-dev-server --config webpack.stg.js", "stop": "kill $(ps aux | grep 'webpack' | awk '{print $2}')", - "test": "jest" + "test": "jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "jest": { "moduleNameMapper": { @@ -43,7 +45,8 @@ "redux-promise-middleware": "5.0.0", "truffle-contract": "^3.0.4", "turf": "^3.0.14", - "web3": "^1.0.0-beta.34" + "web3": "^1.0.0-beta.34", + "snyk": "^1.319.1" }, "devDependencies": { "babel-core": "^6.26.0", @@ -67,5 +70,6 @@ "webpack": "^3.11.0", "webpack-dev-server": "^2.11.1", "webpack-merge": "^4.1.1" - } + }, + "snyk": true } \ No newline at end of file From a8b28f37eb028ae209fe66723b4a3a86e8145a82 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:16:01 +0300 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..667b803 --- /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-07T01:15:49.309Z'