From b92ca4f5e8e64ce36301ac9321fb75c927cd9a70 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Jul 2018 05:36:17 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 10 ++++++++++ package.json | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..63ffea7 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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': + - flocking > dagre > lodash: + patched: '2018-07-03T05:36:16.055Z' + - flocking > dagre > graphlib > lodash: + patched: '2018-07-03T05:36:16.055Z' diff --git a/package.json b/package.json index e8d2b74..bbf0bd7 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,12 @@ "flocking": "0.2.0-dev.20170206T221943Z.fb09a52", "gpii-launcher": "1.0.0-dev.20170207T102054Z.3d7b546", "infusion": "2.0.0", - "minimist": "1.2.0" - } + "minimist": "1.2.0", + "snyk": "^1.88.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }