From 1537a91a2a355fb66dccf1d6399a32df3b820729 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:49:40 +0800 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3963dfe8..ef065b64 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "test": "npm run build && npm run generate-test-files && ./buildtools/run_tests.sh", "serve": "npm run build && npm run generate-test-files && gulp serve", "generate-test-files": "./buildtools/generate_test_files.sh", - "prepublish": "npm run test && cp -r dist demo/public" + "prepublish": "npm run snyk-protect && npm run test && cp -r dist demo/public", + "snyk-protect": "snyk protect" }, "test": "npm run test", "author": "Google", @@ -51,6 +52,8 @@ "streamqueue": "^1.1.1" }, "dependencies": { - "firebase": "^4.1.2" - } + "firebase": "^4.1.2", + "snyk": "^1.316.1" + }, + "snyk": true } From 0efa7297b6d04290b59454f31477027cc47ef50f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:49:41 +0800 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..2c128f2e --- /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: + - firebase > @firebase/firestore > grpc > lodash: + patched: '2020-05-01T01:49:38.629Z'