From 7f87ec8adda1c1c1796a1282fef56bd8944599a1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 00:35:28 +0300 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 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 118bd04c38..bb2ef81f6f 100644 --- a/package.json +++ b/package.json @@ -11,19 +11,23 @@ "gulp-replace": "^0.5.4", "gulp-sass": "^2.0.4", "gulp-uglify": "^1.4.2", - "js-yaml": "^3.4.3" + "js-yaml": "^3.4.3", + "snyk": "^1.316.2" }, "devDependencies": { "gulp-connect": "^2.2.0" }, "scripts": { - "gulp": "gulp" + "gulp": "gulp", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { - "type" : "git", - "url" : "https://github.com/github/developer.github.com.git" + "type": "git", + "url": "https://github.com/github/developer.github.com.git" }, "engines": { "node": ">= 4.0.0" - } + }, + "snyk": true } From 3de3142cc21d5b64863ce7794064315edb512678 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 00:35:29 +0300 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..61fa48d49d --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2020-05-01T21:35:26.048Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2020-05-01T21:35:26.048Z'