From 97038eda9329967a7e769610020319202f96fc30 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 23 Oct 2018 22:21:09 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:minimatch:20160620 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 12 ++++++++++++ package.json | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..cee4394 --- /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-23T22:21:07.699Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-10-23T22:21:07.699Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-10-23T22:21:07.699Z' diff --git a/package.json b/package.json index 554648f..2c48f8f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "font-awesome": "^4.6.3", "fs-extra": "^0.30.0", "glob": "^7.0.6", - "gulp": "^3.9.1", + "gulp": "^4.0.0", "gulp-clean-css": "^2.0.12", "gulp-insert": "^0.5.0", "gulp-less": "^3.1.0", @@ -34,7 +34,13 @@ "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "^2.0.0", "less-plugin-glob": "^1.1.1", - "through2": "^2.0.1" + "through2": "^2.0.1", + "snyk": "^1.104.2" }, - "license": "MIT" + "license": "MIT", + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }