diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7c13358 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify > restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > restify-errors > @netflix/nerror > lodash: + patched: '2020-05-01T04:39:25.795Z' diff --git a/package.json b/package.json index f002552..05d4607 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "restify-conductor" ], "scripts": { - "test": "make test" + "test": "make test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "chai": "^4.1.2", @@ -53,6 +55,8 @@ "restify-errors": "^6.1.1", "toposort-class": "^0.3.1", "urijs": "^1.17.0", - "vasync": "^1.6.3" - } + "vasync": "^1.6.3", + "snyk": "^1.316.1" + }, + "snyk": true }