diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..16b6c34 --- /dev/null +++ b/.snyk @@ -0,0 +1,26 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - cheerio > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-capital-framework > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-github-management > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-newrelic2-cfpb > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-acrogov > grunt > grunt-legacy-log > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-keys > grunt > grunt-legacy-log > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-acrogov > grunt > grunt-legacy-util > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-keys > grunt > grunt-legacy-util > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-acrogov > grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2019-07-04T00:16:17.077Z' + - hubot-keys > grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2019-07-04T00:16:17.077Z' diff --git a/package.json b/package.json index 77585ae..af35c17 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,16 @@ "request": "2.84.0", "semver": "5.1.0", "shuffle-array": "1.0.1", - "underscore": "1.8.3" + "underscore": "1.8.3", + "snyk": "^1.189.0" }, "engines": { "node": "0.12.x" }, "scripts": { - "start": "./start.sh" - } + "start": "./start.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }