From 664e4266da11ee8cf7886ee84d755f617198a459 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 15:51:24 -0700 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..51d972b --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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-04T22:51:22.433Z' From 979882c06a82f109f594be6fd6dbdea64ef7977e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 15:51:25 -0700 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d61bb2e..2b78751 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "test:eslint": "eslint lib", "test:prettier": "prettier-check 'lib/**/*.js'", "test": "npm-run-all test:jest test:eslint test:prettier", - "test:watch": "jest --watch --notify" + "test:watch": "jest --watch --notify", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "botkit": "^0.6.11", @@ -25,7 +27,8 @@ "node-schedule": "^1.2.5", "nodemailer": "^4.4.0", "nodemailer-sendgrid-transport": "^0.2.0", - "probot": "^0.11.0" + "probot": "^0.11.0", + "snyk": "^1.317.0" }, "devDependencies": { "eslint": "^4.12.1", @@ -40,5 +43,6 @@ }, "engines": { "node": ">= 8" - } + }, + "snyk": true }