diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..d35df2c2 --- /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': + - nodegit > node-pre-gyp > hawk > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > hawk > boom > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > request > hawk > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T02:06:50.549Z' + - nodegit > node-pre-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:06:50.549Z' diff --git a/package.json b/package.json index 406bc2a4..c7bc089a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "A command line, and implementable git client primarily designed for NodeOS", "main": "index.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" }, "repository": { "type": "git", @@ -18,6 +20,8 @@ "author": "lite20", "license": "ISC", "dependencies": { - "nodegit": "^0.6.0" - } + "nodegit": "^0.6.0", + "snyk": "^1.83.0" + }, + "snyk": true }