From 28a9e3fd5c01b480726e5efe9e6e4c9db614335d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:11:56 +0100 Subject: [PATCH 1/2] fix: tests/cases/user/lodash/package.json & tests/cases/user/lodash/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/lodash/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/cases/user/lodash/package.json b/tests/cases/user/lodash/package.json index 4ce57032b84e9..2f3af03abb40d 100644 --- a/tests/cases/user/lodash/package.json +++ b/tests/cases/user/lodash/package.json @@ -6,9 +6,15 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "lodash": "^4.17.5" + "lodash": "^4.17.5", + "snyk": "^1.316.1" }, "devDependencies": { "@types/node": "latest" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From ff9cee27d3a6ed12c0991a316cd02c9f474c5906 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:11:57 +0100 Subject: [PATCH 2/2] fix: tests/cases/user/lodash/package.json & tests/cases/user/lodash/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/lodash/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/cases/user/lodash/.snyk diff --git a/tests/cases/user/lodash/.snyk b/tests/cases/user/lodash/.snyk new file mode 100644 index 0000000000000..1d5838e2aa9b3 --- /dev/null +++ b/tests/cases/user/lodash/.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: + - lodash: + patched: '2020-05-01T02:11:53.728Z'