From 08b14e5cc38532c72e402e405549848721c1e548 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:53:24 +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 00000000..854caa83 --- /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: + - analytics-node > lodash: + patched: '2019-07-04T06:53:22.062Z' + - request > form-data > async > lodash: + patched: '2019-07-04T06:53:22.062Z' + - octocat > request > form-data > async > lodash: + patched: '2019-07-04T06:53:22.062Z' diff --git a/package.json b/package.json index 48eae3bd..a58c0887 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "strip-bom": "2.0.0", "understudy": "4.1.0", "urljoin.js": "0.1.0", - "uuid": "2.0.1" + "uuid": "2.0.1", + "snyk": "^1.189.0" }, "devDependencies": { "mocha": "1.18.2", @@ -45,6 +46,9 @@ }, "scripts": { "start": "node bin/web.js", - "test": "mocha --reporter list" - } + "test": "mocha --reporter list", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }