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' 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 }