From 4edd2f8b43c27c8430bdc6d5ca0787be4fa3ce57 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 00:22:02 +0300 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e239c60 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - request-promise > request-promise-core > lodash: + patched: '2020-05-06T21:22:00.023Z' From 4f1a97802c1ac33cfc8244329304005953e41fc2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 00:22:03 +0300 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fb38955..e19ee4f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "example": "micro example.js", - "test": "xo" + "test": "xo", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "repository": { "type": "git", @@ -20,7 +22,8 @@ "micro-redirect": "^1.0.0", "request": "^2.81.0", "request-promise": "^4.2.0", - "uuid": "^3.0.1" + "uuid": "^3.0.1", + "snyk": "^1.319.1" }, "peerDependencies": { "micro": "^9.1.0" @@ -32,5 +35,6 @@ "xo": { "spaces": 2, "extends": "prettier" - } + }, + "snyk": true }