From 420761a036ff3016e6c38bc62adb556baca0eaaa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:02:35 +0530 Subject: [PATCH 1/2] fix: packages/reaction-ui/package.json & packages/reaction-ui/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/reaction-ui/package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/reaction-ui/package.json b/packages/reaction-ui/package.json index 7e5e78ebde8..5a5b1cc5915 100644 --- a/packages/reaction-ui/package.json +++ b/packages/reaction-ui/package.json @@ -11,7 +11,9 @@ }, "main": "main.js", "scripts": { - "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": "Reaction Commerce", "license": "GPL-3.0", @@ -23,12 +25,13 @@ "react-textarea-autosize": "3.3.0", "react-color": "1.3.6", "sortablejs": "1.4.2", - "react-dom": "0.14.7", "postcss": "5.0.14", "postcss-js": "0.1.1", "autoprefixer": "6.3.1", "css-annotation": "0.6.2", "tether-drop": "1.4.2", - "tether-tooltip": "1.2.0" - } + "tether-tooltip": "1.2.0", + "snyk": "^1.316.1" + }, + "snyk": true } From 06599705cbae0d7871ccba3d2c72054cf9b04652 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:02:36 +0530 Subject: [PATCH 2/2] fix: packages/reaction-ui/package.json & packages/reaction-ui/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/reaction-ui/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 packages/reaction-ui/.snyk diff --git a/packages/reaction-ui/.snyk b/packages/reaction-ui/.snyk new file mode 100644 index 00000000000..4a690aae524 --- /dev/null +++ b/packages/reaction-ui/.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: + - react-color > lodash: + patched: '2020-05-01T01:32:33.440Z'