From 977a149725943b6eb86e19241a815a98cc475bd3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 8 Dec 2018 08:57:41 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:atob:20180429 - https://snyk.io/vuln/npm:debug:20170905 - https://snyk.io/vuln/npm:deep-extend:20180409 - https://snyk.io/vuln/npm:extend:20180424 - https://snyk.io/vuln/npm:hoek:20180212 - https://snyk.io/vuln/npm:sshpk:20180409 - https://snyk.io/vuln/npm:stringstream:20180511 - https://snyk.io/vuln/npm:tough-cookie:20170905 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 --- .snyk | 16 ++++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9872fc9 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hoek:20180212': + - webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > hoek: + patched: '2018-12-08T08:57:39.681Z' + - webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek: + patched: '2018-12-08T08:57:39.681Z' + - webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-12-08T08:57:39.681Z' + - webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-12-08T08:57:39.681Z' + - webpack > watchpack > chokidar > fsevents > node-pre-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-12-08T08:57:39.681Z' diff --git a/package.json b/package.json index ce7761b..b17a258 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,13 @@ "meow": "^3.7.0", "ora": "^1.1.0", "webpack": "3.11.0", - "webpack-merge": "^2.6.1" + "webpack-merge": "^2.6.1", + "snyk": "^1.116.2" }, - "devDependencies": {} + "devDependencies": {}, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }