diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c92c216 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# 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: + - cheerio > lodash: + patched: '2020-05-01T08:21:12.317Z' + - snoowrap > lodash: + patched: '2020-05-01T08:21:12.317Z' + - snoostorm > snoowrap > lodash: + patched: '2020-05-01T08:21:12.317Z' + - snoowrap > request-promise > request-promise-core > lodash: + patched: '2020-05-01T08:21:12.317Z' + - snoostorm > snoowrap > request-promise > request-promise-core > lodash: + patched: '2020-05-01T08:21:12.317Z' diff --git a/package.json b/package.json index abe3b22..a070620 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "start": "node app", "debug": "node app -d", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -22,6 +24,8 @@ "snoostorm": "0.0.5", "snoowrap": "^1.14.2", "text2png": "^1.0.1", - "xml2js": "^0.4.19" - } + "xml2js": "^0.4.19", + "snyk": "^1.316.1" + }, + "snyk": true }