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' 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 }