From af7ed8b8218552f87657174bbc6a4e1e502a213d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:13:39 +0100 Subject: [PATCH 1/2] fix: tests/cases/user/formik/package.json & tests/cases/user/formik/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/formik/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/cases/user/formik/package.json b/tests/cases/user/formik/package.json index 9641ca9aea668..5a37bb898a503 100644 --- a/tests/cases/user/formik/package.json +++ b/tests/cases/user/formik/package.json @@ -4,13 +4,17 @@ "description": "", "main": "index.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": "", "license": "Apache-2.0", "dependencies": { "formik": "latest", "@types/react": "latest", - "@types/prop-types": "latest" - } + "@types/prop-types": "latest", + "snyk": "^1.316.1" + }, + "snyk": true } From d36503763c2bc18edb370a165a0154f3024cf306 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:13:40 +0100 Subject: [PATCH 2/2] fix: tests/cases/user/formik/package.json & tests/cases/user/formik/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/formik/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/cases/user/formik/.snyk diff --git a/tests/cases/user/formik/.snyk b/tests/cases/user/formik/.snyk new file mode 100644 index 0000000000000..dab69b0cf9fa4 --- /dev/null +++ b/tests/cases/user/formik/.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: + - formik > lodash: + patched: '2020-05-01T02:13:37.395Z'