From cd1bdf188fded55c70ecdea0adb2bcad988104b2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Jun 2018 05:45:13 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 --- .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..e283f17 --- /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:hoek:20180212': + - soupselect > nodeunit > tap > coveralls > request > hawk > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > boom > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > sntp > hoek: + patched: '2018-06-21T05:45:11.727Z' + - soupselect > nodeunit > tap > coveralls > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-21T05:45:11.727Z' diff --git a/package.json b/package.json index 67f37ca..b616a6e 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,16 @@ "xml2js": "0.4.1", "xmldom": "0.1.16", "xpath": "0.0.5", - "hubot-motivate": ">= 0.0.0" + "hubot-motivate": ">= 0.0.0", + "snyk": "^1.83.0" }, "engines": { "node": ">= 0.8.x", "npm": ">= 1.1.x" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }