From bb0427c1b2914e9e445c83d0d92710f55f3c15ae Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 17 Oct 2018 10:48:46 +0000 Subject: [PATCH] fix: release_counter/.snyk & release_counter/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 --- release_counter/.snyk | 22 ++++++++++++++++++++++ release_counter/package.json | 10 +++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 release_counter/.snyk diff --git a/release_counter/.snyk b/release_counter/.snyk new file mode 100644 index 0000000..5fa6934 --- /dev/null +++ b/release_counter/.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': + - nodegit > node-pre-gyp > hawk > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > hawk > boom > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > request > hawk > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > request > hawk > boom > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > request > hawk > sntp > hoek: + patched: '2018-10-17T10:48:44.125Z' + - nodegit > node-pre-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-10-17T10:48:44.125Z' diff --git a/release_counter/package.json b/release_counter/package.json index 53693ce..a28a6fa 100644 --- a/release_counter/package.json +++ b/release_counter/package.json @@ -4,7 +4,9 @@ "description": "", "main": "counter.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -12,6 +14,8 @@ "colors": "^1.1.2", "node-emoji": "^1.5.1", "nodegit": "^0.18.3", - "rimraf": "^2.6.1" - } + "rimraf": "^2.6.1", + "snyk": "^1.104.1" + }, + "snyk": true }