From b24850d8073a531e2c4af785016a168f27149805 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 07:16:34 +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 00000000..9523fc88 --- /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: + - xmlbuilder > lodash: + patched: '2019-07-04T07:16:32.429Z' diff --git a/package.json b/package.json index dfbec003..af0a0eef 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,9 @@ "pretest": "standard && echint", "coverage": "istanbul cover --dir coverage _mocha -- --recursive --fgrep 'Request Validation' --invert --reporter dot", "codeclimate": "codeclimate-test-reporter < coverage/lcov.info", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "echint": { "ignore": [ @@ -89,6 +91,8 @@ "redis": "^2.4.2", "require-directory": "^2.1.1", "xmlbuilder": "^4.2.1", - "yamljs": "^0.2.4" - } + "yamljs": "^0.2.4", + "snyk": "^1.189.0" + }, + "snyk": true }