From 7afc1f5e146b61730b3aff1090cb329ab8c8f13c Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 07:42:08 +0000 Subject: [PATCH] fix: app/.snyk & app/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- app/.snyk | 8 ++++++++ app/package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 app/.snyk diff --git a/app/.snyk b/app/.snyk new file mode 100644 index 0000000..4b11fe9 --- /dev/null +++ b/app/.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: + - async > lodash: + patched: '2019-07-05T07:42:06.629Z' diff --git a/app/package.json b/app/package.json index 8631663..fc205be 100644 --- a/app/package.json +++ b/app/package.json @@ -5,7 +5,9 @@ "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "nodemon server.js" + "start": "nodemon server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "nicole becher", "license": "ISC", @@ -36,6 +38,8 @@ "request-json": "^0.6.2", "sentencer": "^0.1.5", "serve-static": "^1.11.1", - "swagger-jsdoc": "^1.3.0" - } + "swagger-jsdoc": "^1.3.0", + "snyk": "^1.192.0" + }, + "snyk": true }