From b791f1bfb3128bb76bfe51dbb2173a7458b9d48c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 3 Oct 2019 22:53:57 +0000 Subject: [PATCH] fix: bots/.snyk & bots/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131 --- bots/.snyk | 8 ++++++++ bots/package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 bots/.snyk diff --git a/bots/.snyk b/bots/.snyk new file mode 100644 index 00000000000..de2ac609544 --- /dev/null +++ b/bots/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-HTTPSPROXYAGENT-469131: + - '@octokit/rest > https-proxy-agent': + patched: '2019-10-03T22:53:55.504Z' diff --git a/bots/package.json b/bots/package.json index 51cfe34eade..9c3ed7fe333 100644 --- a/bots/package.json +++ b/bots/package.json @@ -1,7 +1,9 @@ { "private": true, "scripts": { - "danger": "node ./node_modules/.bin/danger" + "danger": "node ./node_modules/.bin/danger", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "danger": "^7.1.4", @@ -9,6 +11,8 @@ "minimatch": "^3.0.4" }, "dependencies": { - "@octokit/rest": "15.18.0" - } + "@octokit/rest": "15.18.0", + "snyk": "^1.230.5" + }, + "snyk": true }