Dependency `gaxios` was archived - migration needed/advised

Đang mở
#520 0 bình luận 3 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@hessjcg đang làm issue này rồi.

Từ ngày 6/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

type: bug

Foreword

I wasn't entirely certain which category this falls under - realistically it's not a bug and it's not a pressing security issue, but it's not really a feature request either. It's more of a flag/warning; so feel free to recategorise.

Description

What happened?

The gaxios package, which this project directly depends on (gaxios@^7.1.3), was archived by its owner on January 3, 2026. The repository is now read-only and will no longer receive updates, bug fixes, or security patches.

Why does this matter?
  1. Security risk: Archived dependencies won't receive security updates
  2. Deprecation warnings: The gaxios dependency chain includes deprecated packages:
  3. Ecosystem health: Both node-fetch (last release Nov 2023) and fetch-blob (last release May 2023) appear to be unmaintained
Current dependency chain
@google-cloud/cloud-sql-connector
└── gaxios@^7.1.3 (ARCHIVED)
    └── node-fetch@^3.3.2 (stale)
        └── fetch-blob (abandoned)
            └── node-domexception (deprecated)
Suggested migration path

Node.js 18+ includes native fetch support. Migrating to native fetch would:

  • Remove the dependency on the archived gaxios package
  • Eliminate the entire deprecated dependency chain
  • Reduce bundle size
  • Improve long-term maintainability
Environment
  • @google-cloud/cloud-sql-connector version: 1.8.4 (latest at time of writing)
  • Node.js: 20.x / 22.x
Additional context

This was discovered while investigating npm deprecation warnings in a project using firebase-tools, which depends on @google-cloud/cloud-sql-connector.

The deprecation warning during npm install:

npm warn deprecated [email protected]: Use your platform's native DOMException instead

There is an open issue in firebase-tools that provides a more thorough dependency tree

Ngôn ngữ chính
TypeScript
Star
99
Fork
18
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
20

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GoogleCloudPlatform/cloud-sql-nodejs-connector

Tất cả issue của GoogleCloudPlatform/cloud-sql-nodejs-connector

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.