From 74e25352aa8b84b182ca3f9d539c908e6070d4fa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Jul 2018 04:18:26 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:http-signature:20150122 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4170be9 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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:http-signature:20150122': + - hubot-google-hangouts > googleapis > request > http-signature: + patched: '2018-07-03T04:18:24.619Z' diff --git a/package.json b/package.json index 1dcd60d..aec0096 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,16 @@ "request": "2.72.0", "semver": "5.1.0", "shuffle-array": "1.0.1", - "underscore": "1.8.3" + "underscore": "1.8.3", + "snyk": "^1.88.0" }, "engines": { "node": "0.12.x" }, "scripts": { - "start": "./start.sh" - } + "start": "./start.sh", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }