From c09c845f7d36392e0ce77ac91b03071335ed8001 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Jul 2018 04:34:36 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:lodash:20180130 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 8 ++++++++ package.json | 12 ++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..293492b2 --- /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:lodash:20180130': + - lru-diskcache > lodash: + patched: '2018-07-03T04:34:35.323Z' diff --git a/package.json b/package.json index 48eae3bd..078e9244 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "github-webhook-handler": "0.5.0", "lodash": "3.7.0", "lru-diskcache": "1.1.1", - "octocat": "0.10.2", + "octocat": "1.0.0", "q": "1.2.0", "request": "2.60.0", "semver": "5.0.1", @@ -24,7 +24,8 @@ "strip-bom": "2.0.0", "understudy": "4.1.0", "urljoin.js": "0.1.0", - "uuid": "2.0.1" + "uuid": "2.0.1", + "snyk": "^1.88.0" }, "devDependencies": { "mocha": "1.18.2", @@ -45,6 +46,9 @@ }, "scripts": { "start": "node bin/web.js", - "test": "mocha --reporter list" - } + "test": "mocha --reporter list", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }