From ec031d5a0c60058aecb23a25b3e7ea78510071bd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:51:05 +0100 Subject: [PATCH 1/2] fix: tests/cases/user/antd/package.json & tests/cases/user/antd/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/antd/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/cases/user/antd/package.json b/tests/cases/user/antd/package.json index a20168dd27b99..104bcc78e1e21 100644 --- a/tests/cases/user/antd/package.json +++ b/tests/cases/user/antd/package.json @@ -7,6 +7,12 @@ "license": "Apache-2.0", "dependencies": { "@types/react": "^16.0.18", - "antd": "latest" - } + "antd": "latest", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 2d9e4ac850ddd22a9287fb80a3ed3aaf405505a5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:51:06 +0100 Subject: [PATCH 2/2] fix: tests/cases/user/antd/package.json & tests/cases/user/antd/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- tests/cases/user/antd/.snyk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/cases/user/antd/.snyk diff --git a/tests/cases/user/antd/.snyk b/tests/cases/user/antd/.snyk new file mode 100644 index 0000000000000..07b2bb833caa2 --- /dev/null +++ b/tests/cases/user/antd/.snyk @@ -0,0 +1,16 @@ +# 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: + - antd > lodash: + patched: '2020-05-01T04:51:02.215Z' + - antd > @ant-design/react-slick > lodash: + patched: '2020-05-01T04:51:02.215Z' + - antd > rc-steps > lodash: + patched: '2020-05-01T04:51:02.215Z' + - antd > rc-table > lodash: + patched: '2020-05-01T04:51:02.215Z' + - antd > rc-tabs > lodash: + patched: '2020-05-01T04:51:02.215Z'