diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..1274af3 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - doxdox > doxdox-parser-dox > dox > jsdoctypeparser > lodash: + patched: '2018-07-04T08:45:14.619Z' diff --git a/package.json b/package.json index c9ac42f..9a447c1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ }, "license": "MIT", "dependencies": { - "doxdox": "~2.0.3" + "doxdox": "~2.0.3", + "snyk": "^1.88.1" }, "devDependencies": { "@neogeek/eslint-config-standards": "^1.15.0", @@ -22,7 +23,9 @@ }, "scripts": { "test": "npm run lint && grunt test", - "lint": "eslint ." + "lint": "eslint .", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "keywords": [ "gruntplugin", @@ -44,5 +47,6 @@ "repository": { "type": "git", "url": "git://github.com/neogeek/grunt-doxdox.git" - } + }, + "snyk": true }