From 9aa79ad96244015a2fe4ecc9e0335e939c5205ea Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 00:16:18 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 26 ++++++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 .snyk 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 }