diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c307d1a --- /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-04-30T23:21:22.015Z' diff --git a/package.json b/package.json index c968b89..6b0a32a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "test:win": "node ./node_modules/japa-cli/index.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "commit": "git-cz", - "lint": "standard" + "lint": "standard", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "globals": [ @@ -47,7 +49,8 @@ "macroable": "^1.0.0", "node-cookie": "^2.1.1", "p-series": "^1.1.0", - "superagent": "^4.0.0-beta.5" + "superagent": "^4.0.0-beta.5", + "snyk": "^1.316.1" }, "config": { "commitizen": { @@ -70,5 +73,6 @@ "bugs": { "url": "https://github.com/adonisjs/adonis-vow/issues" }, - "homepage": "https://github.com/adonisjs/adonis-vow#readme" + "homepage": "https://github.com/adonisjs/adonis-vow#readme", + "snyk": true }