diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..51d972b --- /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-04T22:51:22.433Z' diff --git a/package.json b/package.json index d61bb2e..2b78751 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "test:eslint": "eslint lib", "test:prettier": "prettier-check 'lib/**/*.js'", "test": "npm-run-all test:jest test:eslint test:prettier", - "test:watch": "jest --watch --notify" + "test:watch": "jest --watch --notify", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "botkit": "^0.6.11", @@ -25,7 +27,8 @@ "node-schedule": "^1.2.5", "nodemailer": "^4.4.0", "nodemailer-sendgrid-transport": "^0.2.0", - "probot": "^0.11.0" + "probot": "^0.11.0", + "snyk": "^1.317.0" }, "devDependencies": { "eslint": "^4.12.1", @@ -40,5 +43,6 @@ }, "engines": { "node": ">= 8" - } + }, + "snyk": true }