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

Offen
#634 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
35/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
nodejs, typescript
Bereich
cloud, database

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

@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.

Vorherrschende Sprache
TypeScript
Sterne
99
Forks
18
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
20

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GoogleCloudPlatform/cloud-sql-nodejs-connector

Alle Issues in GoogleCloudPlatform/cloud-sql-nodejs-connector

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.