From a0e7bf957efc236732d2aa647950a67a47717e54 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 19 May 2020 03:49:12 +0530 Subject: [PATCH 1/2] fix: .snyk & package.json 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..9312091 --- /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: + - async > lodash: + patched: '2020-05-18T22:19:10.298Z' From d53a0fed72f9d5c7ea72c7b1f6d1de603dd8309b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 19 May 2020 03:49:13 +0530 Subject: [PATCH 2/2] fix: .snyk & package.json 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 b161763..7a07d32 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,9 @@ "node": ">=0.12.0" }, "scripts": { - "test": "NODE_ENV=test mocha -R spec --recursive" + "test": "NODE_ENV=test mocha -R spec --recursive", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "main": "lib", "bitcoreNode": "lib", @@ -72,7 +74,8 @@ "lru-cache": "^4.0.1", "morgan": "^1.7.0", "request": "^2.64.0", - "bignumber.js": "8.1.1" + "bignumber.js": "8.1.1", + "snyk": "^1.321.0" }, "devDependencies": { "chai": "^3.5.0", @@ -110,5 +113,6 @@ "tmp": "tmp/insight-lite-api-0.4.4.tgz_1494469417761_0.21030485653318465" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/insight-lite-api/-/insight-lite-api-0.4.4.tgz" + "_resolved": "https://registry.npmjs.org/insight-lite-api/-/insight-lite-api-0.4.4.tgz", + "snyk": true }