From 6b39457dbb4e9e37266c35f2775993a80c0e94cb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 01:34:07 -0400 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 55e5915..493717e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "description": "DynamoDB data mapper", "main": "index.js", "scripts": { - "test": "make test" + "test": "make test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": "git://github.com/ryanfitz/vogels.git", "keywords": [ @@ -24,7 +26,8 @@ "bunyan": "1.5.x", "joi": "5.x.x", "lodash": "4.x.x", - "node-uuid": "1.4.x" + "node-uuid": "1.4.x", + "snyk": "^1.316.2" }, "optionalDependencies": { "aws-sdk": "2.2.x" @@ -37,5 +40,6 @@ "jshint-stylish": "2.x.x", "mocha": "2.x.x", "sinon": "1.12.x" - } + }, + "snyk": true } From 561175646f7ebc9291272125b3ca78f198dccffc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 01:34:08 -0400 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..feb13f7 --- /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-02T05:34:05.482Z'