From 73c6dd20ac66b71b0eecd74e311a682586bdf2a1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:10:37 +0200 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d6a719c..57ab21f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "main": "index.js", "scripts": { "start": "node index.js", - "test": "make test-coveralls" + "test": "make test-coveralls", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -36,7 +38,8 @@ "passport-google-oauth2": "^0.1.6", "passport-openidconnect": "git+https://github.com/fiddur/passport-openidconnect.git", "q": "^1.4.1", - "request-promise": "^0.4.3" + "request-promise": "^0.4.3", + "snyk": "^1.316.1" }, "optionalDependencies": { "sqlite3": "3" @@ -50,5 +53,6 @@ "supertest": "^0.15.0" }, "author": "Fredrik Liljegren", - "license": "AGPL-3.0" + "license": "AGPL-3.0", + "snyk": true } From 0ba991146471e2af79a4a927d5f622fdfa986154 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:10:38 +0200 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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ac108e1 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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: + - asyncawait > lodash: + patched: '2020-05-01T04:10:34.687Z' + - grunt > grunt-legacy-log > lodash: + patched: '2020-05-01T04:10:34.687Z' + - grunt > grunt-legacy-util > lodash: + patched: '2020-05-01T04:10:34.687Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2020-05-01T04:10:34.687Z'