From 31297b95f34b407859f469cf1b9e9f47f062c8c4 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 05:20:07 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://dev.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..f0e1fd7 --- /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: + - request > form-data > async > lodash: + patched: '2019-07-05T05:20:05.925Z' diff --git a/package.json b/package.json index 4e00b04..a47495f 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "dependencies": { "json-stringify-safe": "5.0.x", "lodash": "^3.10.1", - "request": "2.68.0" + "request": "2.68.0", + "snyk": "^1.192.0" }, "devDependencies": { "assert": "^1.3.0", @@ -43,6 +44,9 @@ }, "license": "(Apache-2.0)", "scripts": { - "test": "node_modules/.bin/mocha -w" - } + "test": "node_modules/.bin/mocha -w", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file