From 8bc369c6fc8cbbb4e6fdc4d574ea6d9f68b2381f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 20:40:55 -0600 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 94a74b5..9981875 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,9 @@ }, "scripts": { "start": "node index.js", - "test": "./node_modules/.bin/mocha -R spec" + "test": "./node_modules/.bin/mocha -R spec", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "async": "^2.6.3", @@ -40,11 +42,13 @@ "ip-address": "^5.9.4", "netmask": "^1.0.6", "stack-trace": "0.0.10", - "xml2js": "^0.4.22" + "xml2js": "^0.4.22", + "snyk": "^1.317.0" }, "devDependencies": { "mocha": "latest", "chai": "latest" }, - "license": "MIT" + "license": "MIT", + "snyk": true } From 805f1e3a616f71b8f594eede64edaa210c30600f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 20:40:56 -0600 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a5aa7a7 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - async > lodash: + patched: '2020-05-04T02:40:53.734Z' + - ip-address > lodash: + patched: '2020-05-04T02:40:53.734Z'