From 871322f1f9fff78f4d21f32ae4b11af23b2ce3a8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 05:39:01 +0200 Subject: [PATCH 1/2] fix: package.json & .snyk 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, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0b470ec..762d44d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "validated": "./lib/bin/validated.js" }, "scripts": { - "test": "make build lint check test" + "test": "make build lint check test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "babel": { "presets": [ @@ -59,6 +61,8 @@ "indent-string": "^2.1.0", "invariant": "^2.2.1", "levenshtein-edit-distance": "^1.0.0", - "lodash": "^4.11.2" - } + "lodash": "^4.11.2", + "snyk": "^1.319.1" + }, + "snyk": true } From 16401ab4f9285da30a79ada738cc26b09b0065e1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 05:39:03 +0200 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..25af26f --- /dev/null +++ b/.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-07T03:38:59.755Z'