diff --git a/packages/react-dev-utils/.snyk b/packages/react-dev-utils/.snyk new file mode 100644 index 00000000000..5612be0cf7c --- /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.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - inquirer > lodash: + patched: '2020-05-01T02:52:24.453Z' diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index 54606f33fe8..0a18409bc55 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.316.1" }, "devDependencies": { "jest": "20.0.4" }, "scripts": { - "test": "jest" - } + "test": "jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }