From d07fc7e82c603f5c90350d03e6cda1136cc5b179 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 16:32:24 +0800 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..5a6b25c --- /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: + - mongoose > async > lodash: + patched: '2020-05-01T08:32:22.067Z' From 8a8627ec9aef4716fd718ebfed3219fe00fa1ba1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 16:32:25 +0800 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, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c898340..ae0fea7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,12 @@ { "dependencies": { "mongoose": "^4.13.7", - "superagent": "^3.5.2" - } + "superagent": "^3.5.2", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }