From 73b90c709744a6eeb9c4ce7368b787ce48f428f1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 4 Oct 2019 05:13:46 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131 --- .snyk | 10 ++++++++++ package.json | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e2356c5 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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-04T05:13:44.741Z' + - puppeteer > https-proxy-agent: + patched: '2019-10-04T05:13:44.741Z' diff --git a/package.json b/package.json index 62a4cae..e8ecb30 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "A very egocentric way to measure our community", "main": "server.js", "scripts": { - "start": "node server" + "start": "node server", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -21,6 +23,8 @@ "@octokit/rest": "^15.15.1", "pillars": "^0.7.1", "puppeteer": "1.9.0", - "scheduled": "^0.5.0" - } + "scheduled": "^0.5.0", + "snyk": "^1.230.5" + }, + "snyk": true }