diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e076801 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - mocha > debug: + patched: '2017-10-02T03:09:02.972Z' diff --git a/package.json b/package.json index 14d3c01..ee9bc34 100644 --- a/package.json +++ b/package.json @@ -29,10 +29,14 @@ "glob": "^7.0.0", "mocha": "^2.4.5", "should": "1.2.0", - "underscore": "1.4.0" + "underscore": "1.4.0", + "snyk": "^1.41.1" }, "devDependencies": {}, "scripts": { - "test": "make" - } + "test": "make", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }