From 495be032486b67d02670b7be61479c46b4928506 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 03:22:43 +0300 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 49164ad..d487e00 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,10 @@ "dev:test": "nodemon tests/runner.js", "start": "node index.js", "test": "node tests/index.js", - "scheduler":"node ./app/scheduler.js", - "cov": "./node_modules/.bin/istanbul cover tests/runner.js" + "scheduler": "node ./app/scheduler.js", + "cov": "./node_modules/.bin/istanbul cover tests/runner.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -24,7 +26,8 @@ "dependencies": { "google-auth-library": "^0.10.0", "googleapis": "^17.1.0", - "twilio": "^2.11.1" + "twilio": "^2.11.1", + "snyk": "^1.317.0" }, "devDependencies": { "codeclimate-test-reporter": "^0.4.1", @@ -32,5 +35,6 @@ "nodemon": "^1.11.0", "shot": "^3.4.0", "tape": "^4.6.3" - } + }, + "snyk": true } From b23916508bf9fd9d05799e4f756755b3b64a0c5a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 03:22:44 +0300 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7b40800 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - googleapis > async > lodash: + patched: '2020-05-04T00:22:41.132Z' + - twilio > request > form-data > async > lodash: + patched: '2020-05-04T00:22:41.132Z'