diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2c37fd8 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:ms:20170412': + - cloudant > debug > ms: + patched: '2017-05-23T04:33:07.366Z' diff --git a/package.json b/package.json index e0b85cd..f5224ca 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.30.1" }, - "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 }