From 7f559aba45f35f0c9a1bf6cb75908ab1115a3769 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 02:52:26 +0000 Subject: [PATCH] fix: packages/react-dev-utils/.snyk & packages/react-dev-utils/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- packages/react-dev-utils/.snyk | 8 ++++++++ packages/react-dev-utils/package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 packages/react-dev-utils/.snyk diff --git a/packages/react-dev-utils/.snyk b/packages/react-dev-utils/.snyk new file mode 100644 index 00000000000..ad8ff32ef4b --- /dev/null +++ b/packages/react-dev-utils/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - inquirer > lodash: + patched: '2019-07-04T02:52:24.381Z' diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index 54606f33fe8..eab15ce2a74 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -53,12 +53,16 @@ "shell-quote": "1.6.1", "sockjs-client": "1.1.4", "strip-ansi": "3.0.1", - "text-table": "0.2.0" + "text-table": "0.2.0", + "snyk": "^1.189.0" }, "devDependencies": { "jest": "20.0.4" }, "scripts": { - "test": "jest" - } + "test": "jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }