From ac7493868e0812c1cf1971ab611cb681f7374998 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:19:47 +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 | 12 ++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..178a0897 --- /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-04T06:19:46.221Z' diff --git a/package.json b/package.json index 50c53f8b..8d9d085f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "lint": "node test/lint.js", "test": "npm run lint && mocha --recursive --colors --reporter spec", "cover": "npm run clean && istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive", - "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean" + "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -57,14 +59,16 @@ "http-proxy": "^1.16.2", "is-glob": "^4.0.0", "lodash": "^4.17.2", - "micromatch": "^3.1.0" + "micromatch": "^3.1.0", + "snyk": "^1.189.0" }, "engines": { - "node" : ">=4.0.0" + "node": ">=4.0.0" }, "standard": { "env": [ "mocha" ] - } + }, + "snyk": true }