From 630ae40baa239674d246bc8c5e6cdf5f3b77045c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:07:22 -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 bfd4682..4f11cc6 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,17 @@ "description": "", "main": "index.js", "dependencies": { - "http-server": "^0.12.0" + "http-server": "^0.12.0", + "snyk": "^1.316.1" }, "devDependencies": { "http-server": "0.12.1" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "http-server ." + "start": "http-server .", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -22,5 +25,6 @@ "bugs": { "url": "https://github.com/educodar/newsletter/issues" }, - "homepage": "https://github.com/educodar/newsletter" + "homepage": "https://github.com/educodar/newsletter", + "snyk": true } From a1e045367e13965a95a0f701291d95c6a4532fa1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:07:23 -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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..51d3e55 --- /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: + - http-server > portfinder > async > lodash: + patched: '2020-05-01T00:07:20.586Z'