From 57b72d848f3296426d6d9953470bf81f43af2fc9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:19:03 -0500 Subject: [PATCH 1/2] fix: examples/counter/package.json & examples/counter/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/counter/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/counter/package.json b/examples/counter/package.json index 67944a9f07..1d5766ee8c 100644 --- a/examples/counter/package.json +++ b/examples/counter/package.json @@ -12,12 +12,16 @@ "react": "^15.5.0", "react-dom": "^15.5.0", "react-redux": "^5.0.5", - "redux": "^3.5.2" + "redux": "^3.5.2", + "snyk": "^1.316.1" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "eject": "react-scripts eject", - "test": "react-scripts test" - } + "test": "react-scripts test", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true } From 40e71f4debe6ec8d8446b3968f0cf25d979bd64b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:19:04 -0500 Subject: [PATCH 2/2] fix: examples/counter/package.json & examples/counter/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/counter/.snyk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/counter/.snyk diff --git a/examples/counter/.snyk b/examples/counter/.snyk new file mode 100644 index 0000000000..0e85a4a688 --- /dev/null +++ b/examples/counter/.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-01T06:15:56.013Z' + - redux > lodash: + patched: '2020-05-01T06:15:56.013Z'