From 07a15a447723bb843ed1b3e75bf743d5763b71f4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 12:50:01 +0800 Subject: [PATCH 1/2] fix: public/package.json & public/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- public/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/public/package.json b/public/package.json index 9413a40..a45ffd4 100644 --- a/public/package.json +++ b/public/package.json @@ -4,7 +4,9 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -13,6 +15,8 @@ "jquery": "^3.3.1", "lodash": "^4.17.5", "popper.js": "^1.14.3", - "socket.io": "^2.1.0" - } + "socket.io": "^2.1.0", + "snyk": "^1.316.1" + }, + "snyk": true } From 049575e5b1f2ba31ba0cbaf5d82a494e1f3eefae Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 12:50:02 +0800 Subject: [PATCH 2/2] fix: public/package.json & public/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- public/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 public/.snyk diff --git a/public/.snyk b/public/.snyk new file mode 100644 index 0000000..90eaf19 --- /dev/null +++ b/public/.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-01T04:49:40.505Z'