From 597962394e1b9aa14f51293149fb0ffe3ee01ba2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 24 Oct 2018 02:43:40 +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, 20 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..38607da --- /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-24T02:43:38.302Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-10-24T02:43:38.302Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-10-24T02:43:38.302Z' diff --git a/package.json b/package.json index c96e62b..286d1f2 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "npm": ">=3.2" }, "scripts": { - "postinstall": "node scripts/postinstall.js" + "postinstall": "node scripts/postinstall.js", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "devDependencies": { "allons-y-dev-chore": "^1.0.0" @@ -26,7 +28,9 @@ "async": "^2.0.1", "extend": "^3.0.0", "fs-extra": "^0.30.0", - "gulp": "^3.9.1", - "through2": "^2.0.1" - } + "gulp": "^4.0.0", + "through2": "^2.0.1", + "snyk": "^1.104.2" + }, + "snyk": true }