From 4be347a98ad7b82d89f11c1eee1a57eb3998ca4a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 2 Oct 2017 03:09:03 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:debug:20170905 Latest report for edtechfoundry/parallel-mocha: https://snyk.io/test/github/edtechfoundry/parallel-mocha --- .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..e076801 --- /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:debug:20170905': + - mocha > debug: + patched: '2017-10-02T03:09:02.972Z' diff --git a/package.json b/package.json index 14d3c01..ee9bc34 100644 --- a/package.json +++ b/package.json @@ -29,10 +29,14 @@ "glob": "^7.0.0", "mocha": "^2.4.5", "should": "1.2.0", - "underscore": "1.4.0" + "underscore": "1.4.0", + "snyk": "^1.41.1" }, "devDependencies": {}, "scripts": { - "test": "make" - } + "test": "make", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }