From 29f84512b1c76a25e48febe177247599d0420277 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 03:40:29 +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..c8c3c48 --- /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: + - lodash: + patched: '2019-07-04T03:40:22.971Z' diff --git a/package.json b/package.json index 0b470ec..12461e5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "validated": "./lib/bin/validated.js" }, "scripts": { - "test": "make build lint check test" + "test": "make build lint check test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "babel": { "presets": [ @@ -59,6 +61,8 @@ "indent-string": "^2.1.0", "invariant": "^2.2.1", "levenshtein-edit-distance": "^1.0.0", - "lodash": "^4.11.2" - } + "lodash": "^4.11.2", + "snyk": "^1.189.0" + }, + "snyk": true }