From a7ded2f90dcb46ee6204a7c18b0ed9fa02a44386 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 16 Dec 2019 08:13:39 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-TREEKILL-536781 --- .snyk | 8 ++++++++ package.json | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c40796e --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-TREEKILL-536781: + - concurrently > tree-kill: + patched: '2019-12-16T08:13:37.048Z' diff --git a/package.json b/package.json index f2e4ca2..8ccde86 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,9 @@ "doc:toc": "yarn markdown-toc --maxdepth 4 -i README.md", "test": "NODE_ENV=test jest --watch", "test:once": "NODE_ENV=test jest", - "test:coverage": "NODE_ENV=test jest --coverage" + "test:coverage": "NODE_ENV=test jest --coverage", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "devDependencies": { "@babel/cli": "7.2.3", @@ -80,5 +82,9 @@ }, "engines": { "node": ">= 6.4.0" + }, + "snyk": true, + "dependencies": { + "snyk": "^1.260.0" } } \ No newline at end of file