From a9b7d9c5fec4530a4b69da3ed6c94f5ca2b4be90 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 23 Jun 2018 04:39:21 +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, 21 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..fb10ae9d --- /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': + - nodeunit > tap > coveralls > request > hawk > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > boom > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > sntp > hoek: + patched: '2018-06-23T04:39:19.338Z' + - nodeunit > tap > coveralls > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-23T04:39:19.338Z' diff --git a/package.json b/package.json index b56bef70..0ec0dae6 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,14 @@ "express": "4.16.3", "nodeunit": "0.11.2", "supertest": "3.1.0", - "mocha": "5.1.1" + "mocha": "5.1.1", + "snyk": "^1.83.0" }, "scripts": { "test": "./node_modules/mocha/bin/mocha", - "start": "app.js" - } + "start": "app.js", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }