From c3f0d3bee3b37b10b1af006cebf3845256cdf34c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 23 May 2018 23:22:35 +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 codecorico/allons-y-bodydata: https://snyk.io/test/github/codecorico/allons-y-bodydata --- .snyk | 14 ++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..91547a0 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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': + - allons-y-models > allons-y-gulp > gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-05-23T23:22:35.320Z' + - allons-y-models > allons-y-gulp > gulp > vinyl-fs > glob-stream > glob > minimatch: + patched: '2018-05-23T23:22:35.320Z' + - allons-y-models > allons-y-gulp > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-05-23T23:22:35.320Z' + - allons-y-models > allons-y-gulp > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-05-23T23:22:35.320Z' diff --git a/package.json b/package.json index 0fcb2b0..ba2e223 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,12 @@ }, "dependencies": { "allons-y-models": "^1.0.0", - "extend": "^3.0.0" - } + "extend": "^3.0.0", + "snyk": "^1.80.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }