From 8acef00b2ad24f4358176892c98a6df35c3bb9cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 28 Apr 2017 22:00:15 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:minimatch:20160620 Latest report for e-llp/developer.github.com: https://snyk.io/test/github/e-llp/developer.github.com --- .snyk | 8 ++++++++ package.json | 14 +++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..4ac0bb8cc8 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - gulp-sass > node-sass > sass-graph > scss-tokenizer > babel-core > minimatch: + patched: '2017-04-28T22:00:13.758Z' diff --git a/package.json b/package.json index 118bd04c38..dfae375fe9 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.29.0" }, "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 }