From e6ea30597fcc15355ac19c20ed8271432c2f8b0b Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:15:55 +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..2385fce --- /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: + - httpsnippet > form-data > async > lodash: + patched: '2019-07-04T06:15:53.118Z' + - standard > standard-format > esformatter-semicolon-first > esformatter-parser > babel-traverse > lodash: + patched: '2019-07-04T06:15:53.118Z' + - standard > standard-format > esformatter-semicolon-first > esformatter-parser > babel-traverse > babel-types > lodash: + patched: '2019-07-04T06:15:53.118Z' diff --git a/package.json b/package.json index 484ae08..228960b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ }, "scripts": { "test": "standard && mocha --reporter spec", - "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha" + "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "ignore": [ @@ -50,6 +52,8 @@ "jade": "^1.9.2", "morgan": "^1.5.2", "standard": "^2.11.0", - "unirest": "^0.4.0" - } + "unirest": "^0.4.0", + "snyk": "^1.189.0" + }, + "snyk": true }