diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..96bf94bf7a --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-10-26T04:21:34.757Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-10-26T04:21:34.757Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-10-26T04:21:34.757Z' diff --git a/package.json b/package.json index 118bd04c38..907fff7f72 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.0.1", "dependencies": { - "gulp": "^3.9.0", + "gulp": "^4.0.0", "gulp-coffee": "^2.3.1", "gulp-concat": "^2.6.0", "gulp-if": "^2.0.0", @@ -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.105.0" }, "devDependencies": { "gulp-connect": "^2.2.0" }, "scripts": { - "gulp": "gulp" + "gulp": "gulp", + "snyk-protect": "snyk protect", + "prepare": "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 }