From 1e895c59e5046b1e7afb2e070cea744d10f5fcb3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 6 Aug 2017 05:52:44 +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 siemonster/project-free: https://snyk.io/test/github/siemonster/project-free --- .snyk | 14 ++++++++++++++ package.json | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..0ada7c1 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2017-08-06T05:52:44.756Z' + - gulp > vinyl-fs > glob-stream > glob > minimatch: + patched: '2017-08-06T05:52:44.756Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2017-08-06T05:52:44.756Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2017-08-06T05:52:44.756Z' diff --git a/package.json b/package.json index c94e235..2165eea 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js" + "start": "node server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "MIT", @@ -25,6 +27,8 @@ "gulp-sourcemaps": "^1.6.0", "gulp-tap": "^0.1.3", "gulp-uglify": "^2.0.0", - "watchman": "^0.1.8" - } + "watchman": "^0.1.8", + "snyk": "^1.38.1" + }, + "snyk": true }