diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4f55e15 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:ws:20160920': + - satori-sdk-js > ws: + patched: '2019-06-05T02:29:37.688Z' diff --git a/package.json b/package.json index 723ba6b..215757c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "GitHub search plugin for node-keyboard", "main": "index.js", "scripts": { - "test": "eslint ." + "test": "eslint .", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "node-keyboard-github" @@ -19,10 +21,12 @@ "chalk": "^1.1.3", "node-examples": "^1.0.0", "node-keyboard-rx": "^1.0.1", - "octonode": "^0.7.12", - "satori-sdk-js": "^1.0.1" + "octonode": "^0.9.3", + "satori-sdk-js": "^1.0.1", + "snyk": "^1.171.1" }, "devDependencies": { "eslint": "^3.9.1" - } + }, + "snyk": true }