From 3f8a85c55e3454eccd626b0a880054f792449b44 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 04:35:22 +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 80da5fd..72e74ff 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,17 @@ "version": "1.0.0-RC3.0", "scripts": { "install": "scripts/install", - "test": "scripts/test" + "test": "scripts/test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Jesús Leganés Combarro 'piranna' ", "license": "MIT", "dependencies": { "nodeos-cross-toolchain": "^1.0.0-RC3.0", "download-manager": "^0.1.3", - "genfatfs": "^1.0.3" + "genfatfs": "^1.0.3", + "snyk": "^1.319.0" }, "description": "Generate a NodeOS `/boot` filesystem disk image", "bin": "scripts/build", @@ -21,5 +24,6 @@ "bugs": { "url": "https://github.com/NodeOS/nodeos-bootfs/issues" }, - "homepage": "https://github.com/NodeOS/nodeos-bootfs#readme" + "homepage": "https://github.com/NodeOS/nodeos-bootfs#readme", + "snyk": true } From 7f0aef5bd5e44aa391b75d9b9e5fd8a0fb26674b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 04:35:23 +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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..59ea8c9 --- /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: + - download-manager > async > lodash: + patched: '2020-05-06T02:35:19.963Z' + - download-manager > download-checksum > async > lodash: + patched: '2020-05-06T02:35:19.963Z'