From d6fdf0a489cddae569fa434aea12cbed61164ab6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:48:26 +0300 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 99d8f0b..1b769d3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "build:merge": "concat -o README.md ./general-readme.md ./method-docs.md ./contributors.md ./readme_license.md", "test": "echo \"Error: no test specified\" && exit 1", "contributors:add": "all-contributors add", - "contributors:generate": "all-contributors generate" + "contributors:generate": "all-contributors generate", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "neilkalman@gmail.com", "license": "MIT", @@ -28,7 +30,8 @@ "merge-dirs": "^0.2.1", "mkdirp": "^0.5.1", "pkginfo": "^0.4.1", - "prettyjson": "^1.2.1" + "prettyjson": "^1.2.1", + "snyk": "^1.316.1" }, "bin": { "cli-lit": "bin/cli-lit.js" @@ -69,5 +72,6 @@ "generator", "typescript", "automation" - ] + ], + "snyk": true } From 9751c85a79cb2a3889e3932c363ad75d2a89195f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:48:27 +0300 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..63161c6 --- /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-01T06:48:24.856Z'