From e2773447a1227df65ab42a3e224182b76e2ed3a6 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 08:46:17 +0000 Subject: [PATCH] fix: api/.snyk & api/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- api/.snyk | 8 ++++++++ api/package.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 api/.snyk diff --git a/api/.snyk b/api/.snyk new file mode 100644 index 00000000..bedcc87a --- /dev/null +++ b/api/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-04T08:46:14.327Z' diff --git a/api/package.json b/api/package.json index 0f55eb6f..fb7507cf 100644 --- a/api/package.json +++ b/api/package.json @@ -13,6 +13,12 @@ "jsonwebtoken": "^7.1.9", "lodash": "^4.13.1", "require-clean": "0.1.3", - "uuid-js": "^0.7.5" - } + "uuid-js": "^0.7.5", + "snyk": "^1.190.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }