diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a2e22d3 --- /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-09T04:09:17.194Z' + - async > lodash: + patched: '2019-07-09T04:09:17.194Z' + - cloudant > async > lodash: + patched: '2019-07-09T04:09:17.194Z' diff --git a/package.json b/package.json index e0b85cd..204eacb 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "start": "node app.js", - "test": "grunt" + "test": "grunt", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -28,13 +30,15 @@ "lodash": "^4.17.2", "path": "^0.12.7", "rest-facade": "^1.4.1", - "simple-data-vis": "^0.2.0" + "simple-data-vis": "^0.2.0", + "snyk": "^1.192.4" }, - "devDependencies": { + "devDependencies": { "grunt": "0.4.5", "grunt-cli": "0.1.13", "grunt-contrib-jshint": "0.12.0", "jshint": "2.8.0", "grunt-jscs": "2.8.0" - } + }, + "snyk": true }