From e3a703729aba4bf58bdaacedfe75c1197a595d05 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:59:42 +0100 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 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 263107c..0013cac 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dependencies": { "lodash": ">=0.6.x", "semver": ">=1.0.x", - "buffer-concat": ">=0.0.1" + "buffer-concat": ">=0.0.1", + "snyk": "^1.316.1" }, "optionalDependencies": { "libxml-to-js": ">=0.3.10", @@ -18,7 +19,9 @@ "http-get": ">=0.4.0" }, "scripts": { - "test": "tools/test.sh" + "test": "tools/test.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "engines": { "node": ">=0.6.0", @@ -103,8 +106,8 @@ "url": "http://stephen-veit.blogspot.com" }, { - "name": "Marcus Westin", - "url": "http://marcuswest.in/" + "name": "Marcus Westin", + "url": "http://marcuswest.in/" } ], "repository": { @@ -136,5 +139,6 @@ "sns", "emr", "elastic mapreduce" - ] + ], + "snyk": true } From 3c1b1dd73885e935099337ecc58b6667aac51c39 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:59:43 +0100 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..447336c --- /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-01T07:59:40.429Z'