From e980ef6857991dca46dafb748655d239f6542b22 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 10:17:53 +0200 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 123a68b..b2558df 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "lib", "bin": "server.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -29,6 +31,8 @@ "nodeos-boot-singleUser": "^0.5.2", "nodeos-boot-singleUserMount": "^0.5.2", "nodeos-mount-utils": "^0.2.0", - "rimraf": "^2.6.1" - } + "rimraf": "^2.6.1", + "snyk": "^1.319.0" + }, + "snyk": true } From 3aff07a39a418301d81533951eee63011d92c6e8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 10:17:54 +0200 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 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..39b3447 --- /dev/null +++ b/.snyk @@ -0,0 +1,36 @@ +# 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-06T08:17:47.483Z' + - exclfs > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z'