From 0f2cf8c19f32c8f221fdf0ed39e624f7907cfcc6 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:58:09 +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..672f395 --- /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-04T06:58:07.016Z' diff --git a/package.json b/package.json index 4e00b04..9a9ddf6 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.189.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