diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..11ee84b --- /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-04T07:59:44.657Z' diff --git a/package.json b/package.json index 263107c..9416908 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.189.0" }, "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 }