From 4c8ff281c348de11d86c116229124fecb918ce0d Mon Sep 17 00:00:00 2001 From: RECTOR Date: Thu, 25 Jun 2026 11:48:49 +0700 Subject: [PATCH] chore(deps): bump pino-http 10->11 + pino 9->10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pino-http 11 depends on pino ^10, so adopting it requires the matched pino major bump — otherwise the pino v9 logger instance passed to pinoHttp({ logger }) in src/logger.ts type-mismatches and node_modules ends up with split pino majors. pino 10's only breaking change is dropping Node 18; the runtime is node:24-alpine, so it's unaffected. No API changes touch LoggerOptions, stdTimeFunctions, the transport config, or logger() usage. pino-pretty 13 is transport-agnostic and rides along on pino 10. Verified: typecheck green (root/app/sdk/agent), root suite 563/563, requestLogger middleware exercised end-to-end in the integration tests. Rebased onto main after the minor-group + node:24 merges. --- package.json | 4 ++-- pnpm-lock.yaml | 48 ++++++++---------------------------------------- 2 files changed, 10 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 129afaf..dd8dd30 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "helmet": "^8.2.0", "ioredis": "^5.11.1", "lru-cache": "^11.5.1", - "pino": "^9.6.0", - "pino-http": "^10.4.0", + "pino": "^10.0.0", + "pino-http": "^11.0.0", "swagger-ui-express": "^5.0.1", "zod": "^4.4.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4aa4ba3..59836d1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,11 +62,11 @@ importers: specifier: ^11.5.1 version: 11.5.1 pino: - specifier: ^9.6.0 - version: 9.14.0 + specifier: ^10.0.0 + version: 10.3.1 pino-http: - specifier: ^10.4.0 - version: 10.5.0 + specifier: ^11.0.0 + version: 11.0.0 swagger-ui-express: specifier: ^5.0.1 version: 5.0.1(express@5.2.1) @@ -6387,14 +6387,11 @@ packages: pino-abstract-transport@0.5.0: resolution: {integrity: sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==} - pino-abstract-transport@2.0.0: - resolution: {integrity: sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==} - pino-abstract-transport@3.0.0: resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} - pino-http@10.5.0: - resolution: {integrity: sha512-hD91XjgaKkSsdn8P7LaebrNzhGTdB086W3pyPihX0EzGPjq5uBJBXo4N5guqNaK6mUjg9aubMF7wDViYek9dRA==} + pino-http@11.0.0: + resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} pino-pretty@13.1.3: resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} @@ -6414,10 +6411,6 @@ packages: resolution: {integrity: sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==} hasBin: true - pino@9.14.0: - resolution: {integrity: sha512-8OEwKp5juEvb/MjpIc4hjqfgCNysrS94RIOMXYvpYCdm/jglrKEiAYmiumbmGhCvs+IcInsphYDFwqrjr7398w==} - hasBin: true - pirates@4.0.7: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} @@ -7141,9 +7134,6 @@ packages: thread-stream@0.15.2: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} - thread-stream@3.1.0: - resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==} - thread-stream@4.2.0: resolution: {integrity: sha512-e2zZ96wSChazBsbENf/Pcm/4swHt2cEKQ92rhUjkL9GCKiTDJIaTBenjE/m9DXi0QBmTMDkFDdOomUy20A1tDQ==} engines: {node: '>=20'} @@ -16105,18 +16095,14 @@ snapshots: duplexify: 4.1.3 split2: 4.2.0 - pino-abstract-transport@2.0.0: - dependencies: - split2: 4.2.0 - pino-abstract-transport@3.0.0: dependencies: split2: 4.2.0 - pino-http@10.5.0: + pino-http@11.0.0: dependencies: get-caller-file: 2.0.5 - pino: 9.14.0 + pino: 10.3.1 pino-std-serializers: 7.1.0 process-warning: 5.0.0 @@ -16168,20 +16154,6 @@ snapshots: sonic-boom: 2.8.0 thread-stream: 0.15.2 - pino@9.14.0: - dependencies: - '@pinojs/redact': 0.4.0 - atomic-sleep: 1.0.0 - on-exit-leak-free: 2.1.2 - pino-abstract-transport: 2.0.0 - pino-std-serializers: 7.1.0 - process-warning: 5.0.0 - quick-format-unescaped: 4.0.4 - real-require: 0.2.0 - safe-stable-stringify: 2.5.0 - sonic-boom: 4.2.0 - thread-stream: 3.1.0 - pirates@4.0.7: {} pkce-challenge@5.0.1: {} @@ -17098,10 +17070,6 @@ snapshots: dependencies: real-require: 0.1.0 - thread-stream@3.1.0: - dependencies: - real-require: 0.2.0 - thread-stream@4.2.0: dependencies: real-require: 1.0.0