From 501287f637f352704214b9a8467bcd239a20d1c2 Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Wed, 20 Oct 2021 09:24:37 -0300 Subject: [PATCH] Update pino and pino-pretty --- ee/server/services/package-lock.json | 74 ++++++++++++++++------ ee/server/services/package.json | 4 +- package-lock.json | 91 +++++++++++++++++++++++----- package.json | 4 +- 4 files changed, 136 insertions(+), 37 deletions(-) diff --git a/ee/server/services/package-lock.json b/ee/server/services/package-lock.json index 97a49e6333c3..b88d36579b81 100644 --- a/ee/server/services/package-lock.json +++ b/ee/server/services/package-lock.json @@ -1022,6 +1022,29 @@ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true }, + "duplexify": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", + "requires": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -1050,7 +1073,6 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "requires": { "once": "^1.4.0" } @@ -2200,42 +2222,55 @@ } }, "pino": { - "version": "7.0.0-rc.6", - "resolved": "https://registry.npmjs.org/pino/-/pino-7.0.0-rc.6.tgz", - "integrity": "sha512-hlA8UAvtDW+5rZincQU7XZFwJRVXOke5JmlP1yvBZeliobAhU98p6a9Hd7Ur9iwqzDk4IoB+Sg1o9xEWlskZ3w==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/pino/-/pino-7.0.3.tgz", + "integrity": "sha512-tKlw7lqnrdLkQFmrhcTNmZiHkqVHAINwlhYGPKQ8GlyahgImEJ6StZJ/4jWvlbrRLMz4pMPcrzoqZEbNL4dj7w==", "requires": { "fast-redact": "^3.0.0", "fastify-warning": "^0.2.0", "get-caller-file": "^2.0.5", "json-stringify-safe": "^5.0.1", "on-exit-leak-free": "^0.2.0", - "pino-abstract-transport": "^0.3.0", + "pino-abstract-transport": "v0.4.0", "pino-std-serializers": "^4.0.0", "quick-format-unescaped": "^4.0.3", "sonic-boom": "^2.2.1", "thread-stream": "^0.11.1" + }, + "dependencies": { + "pino-abstract-transport": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.4.0.tgz", + "integrity": "sha512-Znl3f1ntZnDG+NpCyJyJDS+lkrlRSbgQBkV3eqNAvet/QHql6rhKLc4DuYRlwfc3fvV611O9NXPm5pbT9AJ50g==", + "requires": { + "duplexify": "^4.1.2", + "split2": "^3.2.2" + } + } } }, "pino-abstract-transport": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.3.0.tgz", - "integrity": "sha512-jsd59/ruahIoIU4xAdFtvk3lS9rwsDNJ7Vi0K34ATh1PEOD796SPqvydMaRk296CeTROyBG0SNCwsshN6QhxVg==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.4.0.tgz", + "integrity": "sha512-Znl3f1ntZnDG+NpCyJyJDS+lkrlRSbgQBkV3eqNAvet/QHql6rhKLc4DuYRlwfc3fvV611O9NXPm5pbT9AJ50g==", + "dev": true, "requires": { + "duplexify": "^4.1.2", "split2": "^3.2.2" } }, "pino-pretty": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.0.1.tgz", - "integrity": "sha512-GMcNSmkZkwZseMOkaQWgmkGBPPhSuVwDZMf85i3sbkD/rZldoYyLSyU22YcXvYoLc3usX25GLA1VN6zvzQx7MQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.1.0.tgz", + "integrity": "sha512-khuvWuuf2ABRp388AlPOv3sOzj+zEgnj9EeFOXw1VUqmSuPK1JqKfdvITk6prhxddVgnjQtbi5x63QeIcWencw==", "dev": true, "requires": { "args": "^5.0.1", - "colorette": "^2.0.0", - "dateformat": "^4.5.1", + "colorette": "^2.0.7", + "dateformat": "^4.6.3", "fast-safe-stringify": "^2.0.7", "joycon": "^3.0.0", - "pino-abstract-transport": "^0.3.0", + "pino-abstract-transport": "^0.4.0", "pump": "^3.0.0", "readable-stream": "^3.6.0", "rfdc": "^1.3.0", @@ -2245,9 +2280,9 @@ }, "dependencies": { "colorette": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.7.tgz", - "integrity": "sha512-wSXeeDPxoi5xKvjvOGxyYlyqB3J+tbowaSsFm1rEsDsDE942aTLftbOE3XMqf3XaYC7QUtcd/3qadNAIEIsAYw==", + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", "dev": true }, "readable-stream": { @@ -2806,6 +2841,11 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" }, + "stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" + }, "string-template": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz", diff --git a/ee/server/services/package.json b/ee/server/services/package.json index f741609beca2..242fc2c9bfb0 100644 --- a/ee/server/services/package.json +++ b/ee/server/services/package.json @@ -32,7 +32,7 @@ "moleculer": "^0.14.14", "mongodb": "^3.6.9", "nats": "^1.4.12", - "pino": "^7.0.0-rc.6", + "pino": "^7.0.3", "sodium-native": "^3.2.1", "sodium-plus": "^0.9.0", "underscore.string": "^3.3.5", @@ -47,7 +47,7 @@ "@types/mongodb": "^3.6.19", "@types/node": "^14.17.4", "@types/ws": "^7.4.7", - "pino-pretty": "^7.0.1", + "pino-pretty": "^7.1.0", "pm2": "^5.1.1", "ts-node": "^10.0.0", "typescript": "^4.3.5" diff --git a/package-lock.json b/package-lock.json index a773692e5b76..c5dc0051b9a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28870,42 +28870,101 @@ } }, "pino": { - "version": "7.0.0-rc.6", - "resolved": "https://registry.npmjs.org/pino/-/pino-7.0.0-rc.6.tgz", - "integrity": "sha512-hlA8UAvtDW+5rZincQU7XZFwJRVXOke5JmlP1yvBZeliobAhU98p6a9Hd7Ur9iwqzDk4IoB+Sg1o9xEWlskZ3w==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/pino/-/pino-7.0.3.tgz", + "integrity": "sha512-tKlw7lqnrdLkQFmrhcTNmZiHkqVHAINwlhYGPKQ8GlyahgImEJ6StZJ/4jWvlbrRLMz4pMPcrzoqZEbNL4dj7w==", "requires": { "fast-redact": "^3.0.0", "fastify-warning": "^0.2.0", "get-caller-file": "^2.0.5", "json-stringify-safe": "^5.0.1", "on-exit-leak-free": "^0.2.0", - "pino-abstract-transport": "^0.3.0", + "pino-abstract-transport": "v0.4.0", "pino-std-serializers": "^4.0.0", "quick-format-unescaped": "^4.0.3", "sonic-boom": "^2.2.1", "thread-stream": "^0.11.1" + }, + "dependencies": { + "duplexify": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", + "requires": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + } + }, + "pino-abstract-transport": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.4.0.tgz", + "integrity": "sha512-Znl3f1ntZnDG+NpCyJyJDS+lkrlRSbgQBkV3eqNAvet/QHql6rhKLc4DuYRlwfc3fvV611O9NXPm5pbT9AJ50g==", + "requires": { + "duplexify": "^4.1.2", + "split2": "^3.2.2" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, "pino-abstract-transport": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.3.0.tgz", - "integrity": "sha512-jsd59/ruahIoIU4xAdFtvk3lS9rwsDNJ7Vi0K34ATh1PEOD796SPqvydMaRk296CeTROyBG0SNCwsshN6QhxVg==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.4.0.tgz", + "integrity": "sha512-Znl3f1ntZnDG+NpCyJyJDS+lkrlRSbgQBkV3eqNAvet/QHql6rhKLc4DuYRlwfc3fvV611O9NXPm5pbT9AJ50g==", + "dev": true, "requires": { + "duplexify": "^4.1.2", "split2": "^3.2.2" + }, + "dependencies": { + "duplexify": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", + "dev": true, + "requires": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, "pino-pretty": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.0.1.tgz", - "integrity": "sha512-GMcNSmkZkwZseMOkaQWgmkGBPPhSuVwDZMf85i3sbkD/rZldoYyLSyU22YcXvYoLc3usX25GLA1VN6zvzQx7MQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.1.0.tgz", + "integrity": "sha512-khuvWuuf2ABRp388AlPOv3sOzj+zEgnj9EeFOXw1VUqmSuPK1JqKfdvITk6prhxddVgnjQtbi5x63QeIcWencw==", "dev": true, "requires": { "args": "^5.0.1", - "colorette": "^2.0.0", - "dateformat": "^4.5.1", + "colorette": "^2.0.7", + "dateformat": "^4.6.3", "fast-safe-stringify": "^2.0.7", "joycon": "^3.0.0", - "pino-abstract-transport": "^0.3.0", + "pino-abstract-transport": "^0.4.0", "pump": "^3.0.0", "readable-stream": "^3.6.0", "rfdc": "^1.3.0", @@ -28915,9 +28974,9 @@ }, "dependencies": { "colorette": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.7.tgz", - "integrity": "sha512-wSXeeDPxoi5xKvjvOGxyYlyqB3J+tbowaSsFm1rEsDsDE942aTLftbOE3XMqf3XaYC7QUtcd/3qadNAIEIsAYw==", + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", "dev": true }, "pump": { diff --git a/package.json b/package.json index 2c1718ee8d4d..7231dc1edccf 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "jsdom-global": "3.0.2", "mocha": "^9.0.0", "mock-require": "^3.0.3", - "pino-pretty": "^7.0.1", + "pino-pretty": "^7.1.0", "postcss": "^8.3.5", "postcss-custom-properties": "^11.0.0", "postcss-easy-import": "^3.0.0", @@ -261,7 +261,7 @@ "object-path": "^0.11.8", "pdfjs-dist": "^2.8.335", "photoswipe": "^4.1.3", - "pino": "^7.0.0-rc.6", + "pino": "^7.0.3", "poplib": "^0.1.7", "postis": "^2.2.0", "prom-client": "^12.0.0",