From 40b7a0214119c60d4777e5c55eda385f8e00a93b Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Thu, 7 Aug 2025 10:24:25 -0700 Subject: [PATCH] Update pino to 9.8.0 --- ACKNOWLEDGMENTS.md | 2 +- package.json | 2 +- pnpm-lock.yaml | 18 +++++++++--------- ts/logging/log.ts | 7 +------ 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/ACKNOWLEDGMENTS.md b/ACKNOWLEDGMENTS.md index f6cf5e7d03..d02a8a0c8e 100644 --- a/ACKNOWLEDGMENTS.md +++ b/ACKNOWLEDGMENTS.md @@ -4731,7 +4731,7 @@ Signal Desktop makes use of the following open source projects. The MIT License (MIT) - Copyright (c) 2016-2024 Matteo Collina, David Mark Clements and the Pino contributors listed at https://github.com/pinojs/pino#the-team and in the README file. + Copyright (c) 2016-2025 Matteo Collina, David Mark Clements and the Pino contributors listed at and in the README file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index b0f375edb7..4941dc1867 100644 --- a/package.json +++ b/package.json @@ -189,7 +189,7 @@ "p-timeout": "4.1.0", "parsecurrency": "1.1.1", "pify": "3.0.0", - "pino": "9.5.0", + "pino": "9.8.0", "protobufjs": "7.3.2", "proxy-agent": "6.4.0", "qrcode-generator": "1.4.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 587da19f6c..b0e3f76cee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -309,8 +309,8 @@ importers: specifier: 3.0.0 version: 3.0.0 pino: - specifier: 9.5.0 - version: 9.5.0 + specifier: 9.8.0 + version: 9.8.0 protobufjs: specifier: 7.3.2 version: 7.3.2(patch_hash=0ae0fcb7c2b673e67231536164cc4841642d16c8a26578de4d43637e2a6f1774) @@ -8552,8 +8552,8 @@ packages: pino-std-serializers@7.0.0: resolution: {integrity: sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==} - pino@9.5.0: - resolution: {integrity: sha512-xSEmD4pLnV54t0NOUN16yCl7RIB1c5UUOse5HSyEXtBp+FgFQyPeDutc+Q2ZO7/22vImV7VfEjH/1zV2QuqvYw==} + pino@9.8.0: + resolution: {integrity: sha512-L5+rV1wL7vGAcxXP7sPpN5lrJ07Piruka6ArXr7EWBXxdVWjJshGVX8suFsiusJVcGKDGUFfbgbnKdg+VAC+0g==} hasBin: true pinpoint@1.1.0: @@ -8808,8 +8808,8 @@ packages: resolution: {integrity: sha512-JOnOPQ/8TZgjs1JIH/m9ni7FfimjNa/PRx7y/Wb5qdItsnhO0jE4AT7fC0HjC28DUQWDr50dwSYZLdRMlqDq3Q==} engines: {node: '>=8'} - process-warning@4.0.1: - resolution: {integrity: sha512-3c2LzQ3rY9d0hc1emcsHhfT9Jwz0cChib/QN89oME2R451w5fy3f0afAhERFZAwrbDU43wk12d0ORBpDVME50Q==} + process-warning@5.0.0: + resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} @@ -20265,14 +20265,14 @@ snapshots: pino-std-serializers@7.0.0: {} - pino@9.5.0: + pino@9.8.0: dependencies: atomic-sleep: 1.0.0 fast-redact: 3.5.0 on-exit-leak-free: 2.1.2 pino-abstract-transport: 2.0.0 pino-std-serializers: 7.0.0 - process-warning: 4.0.1 + process-warning: 5.0.0 quick-format-unescaped: 4.0.4 real-require: 0.2.0 safe-stable-stringify: 2.5.0 @@ -20464,7 +20464,7 @@ snapshots: dependencies: fromentries: 1.3.2 - process-warning@4.0.1: {} + process-warning@5.0.0: {} process@0.11.10: {} diff --git a/ts/logging/log.ts b/ts/logging/log.ts index d194543ff7..fa390c55d7 100644 --- a/ts/logging/log.ts +++ b/ts/logging/log.ts @@ -126,12 +126,7 @@ function debugLog( const consoleMethod = getLogLevelString(level); - const { msgPrefixSym } = pino.symbols as unknown as { - readonly msgPrefixSym: unique symbol; - }; - const msgPrefix = (logger as unknown as Record)[ - msgPrefixSym - ]; + const { msgPrefix } = logger; const pattern = getPattern();