From 800cb263b93b30a4cb85c74ca53f0801bdd4eeab Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:16:00 +0200 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6ff0b69 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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: + - react-docgen > @babel/core > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-01T04:15:58.760Z' From 8ecd536674143739ca8e38eba144b784983e96d8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:16:01 +0200 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 47acbfc..a688777 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,12 @@ "fast-glob": "^3.2.2", "react-docgen": "^5.3.0", "uppercamelcase": "^3.0.0", - "yargs": "^15.3.1" - } + "yargs": "^15.3.1", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }