From caf782c2d8cb0c8f38dd4d5a90ae64e026b1615b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 15:58:15 -0700 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 41ca13f..059a8c1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "unix": "", "mac": "electron-builder", "pre": "electron-builder install-app-deps", - "release": "electron-builder --win && electron-builder --mac && electron-builder --linux" + "release": "electron-builder --win && electron-builder --mac && electron-builder --linux", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "engines": { "node": ">=50.9" @@ -97,6 +99,8 @@ "pug": "^2.0.4", "snapsvg": "^0.5.1", "socket.io": "^2.3.0", - "socket.io-client": "^2.3.0" - } + "socket.io-client": "^2.3.0", + "snyk": "^1.316.1" + }, + "snyk": true } From ba3b7e1674ea60fe58530e5d173851150d29229e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 15:58:17 -0700 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..69f9341 --- /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: + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-04-30T22:58:12.872Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-04-30T22:58:12.872Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-04-30T22:58:12.872Z'