From 598402cde93058ad9248532562b91cad18baf867 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:17:55 +0300 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 50 ++++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index ae92f4c..55ed571 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,30 @@ { - "name": "ifnode-mongoose", - "version": "1.2.0", - "description": "Mongoose plugin for ifnode", - "main": "index.js", - "repository": { - "type": "git", - "url": "git://github.com/ifnode/mongoose.git" - }, - "keywords": [ - "mongoose", - "mongo", - "nosql", - "mvc" - ], - "author": "ilfroloff", - "license": "MIT", - "dependencies": { - "lodash": "4.17.4" - }, - "peerDependencies": { - "mongoose": "4.13.9" - } + "name": "ifnode-mongoose", + "version": "1.2.0", + "description": "Mongoose plugin for ifnode", + "main": "index.js", + "repository": { + "type": "git", + "url": "git://github.com/ifnode/mongoose.git" + }, + "keywords": [ + "mongoose", + "mongo", + "nosql", + "mvc" + ], + "author": "ilfroloff", + "license": "MIT", + "dependencies": { + "lodash": "4.17.4", + "snyk": "^1.316.1" + }, + "peerDependencies": { + "mongoose": "4.13.9" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From f91cb86369188aeeee549b9ff47807d4f44e49be Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:17:56 +0300 Subject: [PATCH 2/2] fix: package.json & .snyk 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..61fd1b5 --- /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: + - lodash: + patched: '2020-05-01T01:17:49.552Z'