From c1d326cc7f891f51fd7e3ac12f23e161752e9da4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:03:41 +0200 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 62a4cae..ac5c705 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.316.1" + }, + "snyk": true } From 2ec6229b2033e6381f4829a7ddd865d858c196dd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:03:42 +0200 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6116880 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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: + - '@octokit/rest > lodash': + patched: '2020-05-01T05:03:39.152Z' + - scheduled > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > scheduled > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z'