From 3f9fc1a4132222d98b507bb17a21ca0bef40d585 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Wed, 3 Jul 2019 21:32:48 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..76710e2 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - async > lodash: + patched: '2019-07-03T21:32:46.091Z' diff --git a/package.json b/package.json index c03856c..677b938 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "release-minor": "aegir release --type minor -t node", "release-major": "aegir release --type major -t node", "coverage": "aegir coverage", - "coverage-publish": "aegir coverage -u" + "coverage-publish": "aegir coverage -u", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "zeronet", @@ -35,7 +37,8 @@ "async": "^2.6.0", "jsonfile": "^4.0.0", "mkdirp": "~0.5.1", - "stream-to-pull-stream": "^1.7.2" + "stream-to-pull-stream": "^1.7.2", + "snyk": "^1.189.0" }, "devDependencies": { "aegir": "^12.2.0", @@ -52,5 +55,6 @@ "contributors": [ "kustomzone ", "mkg20001 " - ] + ], + "snyk": true }