From 7a5dbd48ab3ac4c65fac8da14e2d3b02fd5f6813 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 15 Oct 2017 08:15:09 +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 grnd/a: https://snyk.io/test/github/grnd/a --- .snyk | 8 ++++++++ package.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8da5e5a --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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': + - jscs > babel-jscs > babel-core > minimatch: + patched: '2017-10-15T08:15:09.469Z' diff --git a/package.json b/package.json index 76ac43e..709bca0 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "a", "author": "Snyk Ltd.", "dependencies": { - "jscs": "2.11.0" - } + "jscs": "2.11.0", + "snyk": "^1.42.7" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }