From 81cba4916d5166d61852a95b665e3f55cfad469d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 02:34:45 +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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a64ac2d..1b791a1 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,9 @@ ], "preferGlobal": true, "scripts": { - "prepublish": "coffee -o lib -c src/index.coffee", - "test": "echo \"no test specified\" && exit 0" + "prepublish": "npm run snyk-protect && coffee -o lib -c src/index.coffee", + "test": "echo \"no test specified\" && exit 0", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -43,6 +44,8 @@ "bower": "1.8.8", "lodash": "^4.17.4", "semver": "^5.3.0", - "text-table": "^0.2.0" - } + "text-table": "^0.2.0", + "snyk": "^1.316.2" + }, + "snyk": true } From 7d9875e4ce6277c6c4cb74d3e7ce0f1e83bd3602 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 02:34:46 +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..2f7a278 --- /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-02T00:34:38.766Z'