From 164dbcd71974b8d0671277c4e8d34b99f8bc9727 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 22:24:46 -0300 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..836b4ee --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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: + - lodash: + patched: '2020-05-01T01:24:44.331Z' + - express-validator > lodash: + patched: '2020-05-01T01:24:44.331Z' + - request-promise > request-promise-core > lodash: + patched: '2020-05-01T01:24:44.331Z' + - winston > async > lodash: + patched: '2020-05-01T01:24:44.331Z' + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-01T01:24:44.331Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T01:24:44.331Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T01:24:44.331Z' From 6276bd75fb07554fc0d271d3cfefced2de9ec7e7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 22:24:47 -0300 Subject: [PATCH 2/2] fix: .snyk & package.json 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 a2a2291..f617ec4 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,9 @@ "copy-static-assets": "ts-node copyStaticAssets.ts", "debug": "npm run build && npm run watch-debug", "serve-debug": "nodemon --inspect dist/server.js", - "watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve-debug\"" + "watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve-debug\"", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "async": "^3.1.0", @@ -62,7 +64,8 @@ "request": "^2.88.0", "request-promise": "^4.2.4", "swagger-ui-express": "^4.1.2", - "winston": "^3.2.1" + "winston": "^3.2.1", + "snyk": "^1.316.1" }, "devDependencies": { "@types/async": "^3.0.2", @@ -114,5 +117,6 @@ "ts-jest": "^24.1.0", "ts-node": "^8.4.1", "typescript": "^3.6.3" - } + }, + "snyk": true }