From 7e4822f5dd18e07bbe7420534929c01583ace4cd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 29 Aug 2021 22:32:41 +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 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2ff9cb6 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.21.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2021-08-29T22:32:40.587Z' diff --git a/package.json b/package.json index 0c019c4..2ecd466 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Init for integration project using Bourbon/Neat SASS", "main": "gulpfile.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "repository": { "type": "git", @@ -24,6 +26,8 @@ "connect-modrewrite": "^0.8.2", "del": "^2.0.2", "gulp": "^3.9.0", - "gulp-sass": "^2.0.4" - } + "gulp-sass": "^2.0.4", + "@snyk/protect": "latest" + }, + "snyk": true }