From 2aaacfcd6fe2bd74eca5f62a1b755c01c4481833 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 11:32:03 +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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 844a28bf2c..babe5754c3 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "package-placeholder": "npm run build && node lib/cli.js http://www.bennish.net/web-notifications.html ~/Desktop --overwrite --name notification-test --icon ./test-resources/iconSampleGrey.png --inject ./test-resources/test-injection.js --inject ./test-resources/test-injection.css && open ~/Desktop/notification-test-darwin-x64/notification-test.app", "start-placeholder": "npm run build && electron app", "changelog": "./scripts/changelog", - "format": "prettier --write '{gulp,src}/**/*.js' 'app/src/**/*.js'" + "format": "prettier --write '{gulp,src}/**/*.js' 'app/src/**/*.js'", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "bin": { "nativefier": "lib/cli.js" @@ -59,7 +61,8 @@ "shelljs": "^0.8.1", "source-map-support": "^0.5.3", "tmp": "0.0.33", - "validator": "^10.2.0" + "validator": "^10.2.0", + "snyk": "^1.316.1" }, "devDependencies": { "babel-core": "^6.26.0", @@ -101,5 +104,6 @@ } ] ] - } + }, + "snyk": true } From 04df744cb5e9830e27adfc1d18c052a050324617 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 11:32:04 +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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..4762fb1d20 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# 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-01T08:32:01.717Z' + - async > lodash: + patched: '2020-05-01T08:32:01.717Z' + - cheerio > lodash: + patched: '2020-05-01T08:32:01.717Z' + - gitcloud > cheerio > lodash: + patched: '2020-05-01T08:32:01.717Z' + - page-icon > cheerio > lodash: + patched: '2020-05-01T08:32:01.717Z'