From 1a343b9e4f115623ba64070586f7cf70f3080ad7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 29 Sep 2017 00:01:07 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:debug:20170905 Latest report for davidkelley/imdb-bot: https://snyk.io/test/github/davidkelley/imdb-bot --- .snyk | 8 ++++++++ package.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..338e7fa --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - botkit > localtunnel > debug: + patched: '2017-09-29T00:01:07.591Z' diff --git a/package.json b/package.json index 6659675..ea766e1 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,12 @@ }, "dependencies": { "botkit": "^0.2.2", - "omdb": "^0.6.1" - } + "omdb": "^0.6.1", + "snyk": "^1.41.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }