From 61e9caf87d84f041dcd924e6ba51baabfb30d273 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 21:34:56 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 10 ++++++++++ package.json | 14 +++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..b1aec5a002 --- /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-LODASH-450202: + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2019-07-05T21:34:53.861Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2019-07-05T21:34:53.861Z' diff --git a/package.json b/package.json index 118bd04c38..423d71d488 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.192.3" }, "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 }