From 925a5edd72cc9aa7dd7b51be57668b67af06e4f8 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Sat, 6 Jul 2019 05:35:56 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..12db2b6 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-06T05:35:51.715Z' diff --git a/package.json b/package.json index 55e5915..b9fddbe 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.192.3" }, "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 }