diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..540b133 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.19.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - easy-coveralls > jscoverage > debug: + patched: '2021-04-07T00:47:41.523Z' + 'npm:ejs:20161128': + - easy-coveralls > jscoverage > ejs: + patched: '2021-04-07T00:47:41.523Z' + 'npm:ms:20170412': + - easy-coveralls > jscoverage > debug > ms: + patched: '2021-04-07T00:47:41.523Z' diff --git a/package.json b/package.json index 345b9f0..36264df 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "lib", "scripts": { "coveralls": "easy-coveralls", - "test": "mocha" + "test": "mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -57,11 +59,13 @@ "posix": "^4.1.1", "readline-stream": "^1.0.2", "string-to-stream": "^1.1.0", - "usrbinenv": "^0.1.0" + "usrbinenv": "^0.1.0", + "snyk": "^1.526.0" }, "devDependencies": { "chai": "^3.5.0", "concat-stream": "^1.6.0", "mocha": "^3.3.0" - } + }, + "snyk": true }