diff --git a/packages/react-dev-utils/.snyk b/packages/react-dev-utils/.snyk new file mode 100644 index 00000000000..c84d9db64b7 --- /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-04T06:22:49.912Z' diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index 6df3b75810e..6025bb9b4ef 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -59,13 +59,17 @@ "shell-quote": "1.6.1", "sockjs-client": "1.1.5", "strip-ansi": "4.0.0", - "text-table": "0.2.0" + "text-table": "0.2.0", + "snyk": "^1.189.0" }, "devDependencies": { "cross-env": "^5.2.0", "jest": "23.6.0" }, "scripts": { - "test": "cross-env FORCE_COLOR=true jest" - } + "test": "cross-env FORCE_COLOR=true jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file