From 11ff871520f6e36246a6610cc89df8637988fd1c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 10:17:08 -0500 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 - https://snyk.io/vuln/SNYK-JS-LODASH-73638 - https://snyk.io/vuln/SNYK-JS-LODASH-73639 - https://snyk.io/vuln/npm:lodash:20180130 - https://snyk.io/vuln/npm:minimatch:20160620 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 - https://snyk.io/vuln/npm:uglify-js:20151024 --- package.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fed6bbe..b326502 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,10 @@ "cradle": "^0.6.9", "ip": "^1.1.0", "ip-subnet-calculator": "^1.0.2", - "kue": "^0.10.4", + "kue": "^0.11.2", "moment": "^2.10.6", - "q": "^2.0.1" + "q": "^2.0.1", + "snyk": "^1.317.0" }, "description": "shared library for phearnet", "main": "index.js", @@ -24,5 +25,10 @@ "bugs": { "url": "https://github.com/PhearNet/core/issues" }, - "homepage": "https://github.com/PhearNet/core#readme" + "homepage": "https://github.com/PhearNet/core#readme", + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 573334c04ea40daaa6250b585bf6824eb778c860 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 10:17:09 -0500 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 - https://snyk.io/vuln/SNYK-JS-LODASH-73638 - https://snyk.io/vuln/SNYK-JS-LODASH-73639 - https://snyk.io/vuln/npm:lodash:20180130 - https://snyk.io/vuln/npm:minimatch:20160620 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 - https://snyk.io/vuln/npm:uglify-js:20151024 --- .snyk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e595bb6 --- /dev/null +++ b/.snyk @@ -0,0 +1,11 @@ +# 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: + - kue > lodash-deep > lodash: + patched: '2020-05-04T15:17:04.678Z' + 'npm:uglify-js:20151024': + - kue > jade > transformers > uglify-js: + patched: '2020-05-04T15:17:04.678Z'