diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4a9ea31 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-09T08:06:23.456Z' + - async > lodash: + patched: '2019-07-09T08:06:23.456Z' + - cloudant > async > lodash: + patched: '2019-07-09T08:06:23.456Z' diff --git a/package.json b/package.json index a03b435..5c4bc49 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "start": "node app.js", "test": "grunt", - "tests-unit": "grunt" + "tests-unit": "grunt", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -36,7 +38,8 @@ "passport-http": "^0.3.0", "path": "^0.12.7", "redis": "^2.6.2", - "util": "^0.10.3" + "util": "^0.10.3", + "snyk": "^1.192.4" }, "devDependencies": { "assert": "^1.4.1", @@ -47,5 +50,6 @@ "grunt-simple-mocha": "^0.4.1", "jshint": "2.8.0", "mocha": "^3.0.2" - } + }, + "snyk": true }