From 97cdc58ec6cd140f7304bbc65fa8a37a640a9fae Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:28:35 +0100 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, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7917d14..36c336d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "csv": "^5.1.1", "csv-parse": "latest", "tinyqueue": "^2.0.0", - "winston": "^3.2.1" + "winston": "^3.2.1", + "snyk": "^1.316.1" }, "description": "Machine learning library", "devDependencies": { @@ -46,5 +47,10 @@ "type": "git", "url": "https://github.com/nl253/ML" }, - "version": "0.0.1" + "version": "0.0.1", + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 182e1fdadc6ab48e46b23adb5dec689e8ea57478 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:28:36 +0100 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..974b966 --- /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: + - winston > async > lodash: + patched: '2020-05-01T07:28:28.334Z'