From a7670e58f87d1428df8db1eba2c2494eefeb2195 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:17:19 +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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3b26868..cccc067 100644 --- a/package.json +++ b/package.json @@ -4,21 +4,22 @@ "description": "", "main": "app.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "start": "babel-node GoogleService.js --presets es2015,stage-2", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", "dependencies": { "es6-module-loader": "^0.17.11", "google-auth-library": "^0.9.8", - "googleapis": "^7.0.0" + "googleapis": "^7.0.0", + "snyk": "^1.317.0" }, "devDependencies": { "babel-cli": "^6.9.0", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-2": "^6.5.0" }, -"scripts": { - "start": "babel-node GoogleService.js --presets es2015,stage-2" - } + "snyk": true } From 51335524d94cb2dc09b05f6b2ba7c929f346d2d2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:17:20 +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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..94b1401 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - google-auth-library > request > form-data > async > lodash: + patched: '2020-05-04T02:17:16.598Z' + - googleapis > request > form-data > async > lodash: + patched: '2020-05-04T02:17:16.598Z' + - googleapis > google-auth-library > request > form-data > async > lodash: + patched: '2020-05-04T02:17:16.598Z'