From 80b869d322f200bbcae967f55402ff8ef199b5b3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 24 May 2024 15:46:34 +0000 Subject: [PATCH] fix: upgrade winston from 3.8.1 to 3.13.0 Snyk has created this PR to upgrade winston from 3.8.1 to 3.13.0. See this package in npm: winston See this project in Snyk: https://app.snyk.io/org/vtm/project/f985111c-1464-4776-95cd-150e6af0dc03?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 52 +++++++++++++++++++++++++++++++++++++---------- package.json | 2 +- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index dbf02c3..1be5ec2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "mysql2": "3.9.7", "serverless-http": "2.6.0", "source-map-support": "0.5.19", - "winston": "^3.7.2", + "winston": "^3.13.0", "zlib": "1.0.5" }, "devDependencies": { @@ -2159,7 +2159,9 @@ } }, "node_modules/@colors/colors": { - "version": "1.5.0", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", "license": "MIT", "engines": { "node": ">=0.1.90" @@ -4889,6 +4891,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/triple-beam": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", + "license": "MIT" + }, "node_modules/@types/uglify-js": { "version": "3.13.0", "dev": true, @@ -9589,6 +9597,8 @@ }, "node_modules/fecha": { "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", "license": "MIT" }, "node_modules/figures": { @@ -12495,18 +12505,26 @@ } }, "node_modules/logform": { - "version": "2.4.2", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz", + "integrity": "sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==", "license": "MIT", "dependencies": { - "@colors/colors": "1.5.0", + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", "fecha": "^4.2.0", "ms": "^2.1.1", "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" } }, "node_modules/logform/node_modules/ms": { "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/long": { @@ -14931,7 +14949,9 @@ } }, "node_modules/safe-stable-stringify": { - "version": "2.3.1", + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", + "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", "license": "MIT", "engines": { "node": ">=10" @@ -17282,8 +17302,13 @@ } }, "node_modules/triple-beam": { - "version": "1.3.0", - "license": "MIT" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", + "license": "MIT", + "engines": { + "node": ">= 14.0.0" + } }, "node_modules/ts-jest": { "version": "26.4.4", @@ -18046,9 +18071,12 @@ } }, "node_modules/winston": { - "version": "3.8.1", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", + "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", "license": "MIT", "dependencies": { + "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", @@ -18058,14 +18086,16 @@ "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.5.0" + "winston-transport": "^4.7.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.5.0", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.0.tgz", + "integrity": "sha512-ajBj65K5I7denzer2IYW6+2bNIVqLGDHqDw3Ow8Ohh+vdW+rv4MZ6eiDvHoKhfJFZ2auyN8byXieDDJ96ViONg==", "license": "MIT", "dependencies": { "logform": "^2.3.2", @@ -18073,7 +18103,7 @@ "triple-beam": "^1.3.0" }, "engines": { - "node": ">= 6.4.0" + "node": ">= 12.0.0" } }, "node_modules/word-wrap": { diff --git a/package.json b/package.json index 2090e9a..cd4d801 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "mysql2": "3.9.7", "serverless-http": "2.6.0", "source-map-support": "0.5.19", - "winston": "^3.7.2", + "winston": "^3.13.0", "zlib": "1.0.5" }, "devDependencies": {