From 590772f4f23e75bc155c2ddaff1ebcd2cbd84106 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:58:28 +0100 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d5aa9918..209b7ab4 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ "redis": "^2.6.2", "rotating-file-stream": "^1.0.5", "supervisor": ">= 0.5.x", - "yargs": "^4.8.1" + "yargs": "^4.8.1", + "snyk": "^1.317.0" }, "devDependencies": { "node-sass": "^3.10.0" @@ -57,6 +58,9 @@ }, "scripts": { "start": "node_modules/.bin/supervisor -e 'js|json' app", - "startwin": "supervisor -e 'js' app" - } + "startwin": "supervisor -e 'js' app", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 70ee78698478df40abedd188b29939bb08346386 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:58:29 +0100 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..aead8304 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - openapi_optimise > lodash: + patched: '2020-05-05T07:58:25.429Z' + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-05T07:58:25.429Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-05T07:58:25.429Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-05T07:58:25.429Z'