From 013e6c85d61f13a0b28438d2d4b6d37811b27371 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Jun 2018 00:10:33 +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 | 22 ++++++++++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2e0f3d6 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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': + - usb > node-pre-gyp > hawk > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > hawk > boom > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > request > hawk > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > request > hawk > boom > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > request > hawk > sntp > hoek: + patched: '2018-06-21T00:10:31.447Z' + - usb > node-pre-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-21T00:10:31.447Z' diff --git a/package.json b/package.json index 3d63972..79f9697 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "properties": "^1.2.1", "require-directory": "^2.1.1", "usb": "^1.1.1", - "yamljs": "^0.2.4" + "yamljs": "^0.2.4", + "snyk": "^1.83.0" }, "devDependencies": { "chai": "^3.4.1", @@ -47,5 +48,10 @@ "mkdirp": "^0.5.1", "mocha": "^2.3.4", "spec-xunit-file": "0.0.1-3" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }