From 4bd9bb3f457f57c897b6b98ec7f48530e2e48925 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 03:13:31 +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 | 12 ++++++++++++ package.json | 10 +++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ac1787f --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-04T03:13:29.426Z' + - zip-stream > lodash: + patched: '2019-07-04T03:13:29.426Z' + - zip-stream > archiver-utils > lodash: + patched: '2019-07-04T03:13:29.426Z' diff --git a/package.json b/package.json index dec6d0f..517aee9 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,8 @@ "underscore": "1.8.3", "update-notifier": "1.0.2", "uuid": "^3.0.0", - "zip-stream": "1.1.0" + "zip-stream": "1.1.0", + "snyk": "^1.189.0" }, "devDependencies": { "code": "~1.5.0", @@ -63,6 +64,9 @@ "node": ">= 0.8.0" }, "scripts": { - "test": "lab" - } + "test": "lab", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }