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 }