Bump `@google-cloud/sql` to ^0.30 (pulls in google-gax 6, drops rimraf → glob@10)

オープン
#634 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nodejs, typescript
領域
cloud, database

調査の方向性

The dependency range for @google-cloud/sql lives in package.json, and the transitive chain runs through google-gax and rimraf, which the issue traces via npm audit. Start by bumping the range to ^0.30.0 locally and running npm install, then check whether the connector's source still compiles and its test suite passes against the new API. Done means the audit chain is gone and existing tests pass, though the maintainers still need to confirm that 0.30 is compatible.

索引モデルが issue の本文から書いたものです。

説明

@google-cloud/[email protected] depends on @google-cloud/sql@^0.25.0, which depends on [email protected] → rimraf@^5.0.1 → [email protected] → minimatch@9.

npm audit flags those copies:

  • GHSA-3g3m-2fjr-6pw4 (glob 3.0.0–14.0.1, moderate)
  • GHSA-g3hv-75wg-m249 (minimatch <11.0.1, moderate)

@google-cloud/[email protected] (published 2026-10-08) depends on google-gax@^6.0.0, and [email protected] no longer lists rimraf, so the whole chain would disappear. The connector's latest release (1.12.1, 2026-10-12) was published after that but still ranges ^0.25.0.

Downstream projects can't resolve this themselves: Dependabot's security update fails with update_not_possible because the connector's range excludes 0.30.

Ask: would you consider widening/bumping @google-cloud/sql to ^0.30.0? I haven't verified that 0.30 is compatible with the connector's use of it (I only compared dependency lists), so if there is a breaking change that prevents the bump, knowing that would help.

For context, in [email protected] I could not find any file in build/ that loads rimraf/glob/minimatch, so this looks like audit noise rather than an exploitable path — but it shows up in every consumer's npm audit.

Environment: @google-cloud/cloud-sql-connector 1.12.1.

主要言語
TypeScript
スター
99
フォーク
18
平均マージ
1日 23時間
マージ済み PR(30日)
20

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GoogleCloudPlatform/cloud-sql-nodejs-connector のほかの issue

GoogleCloudPlatform/cloud-sql-nodejs-connector の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。