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 }