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

Aperta
#634 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
nodejs, typescript
Ambito
cloud, database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
99
Fork
18
Merge medio
1g 23h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GoogleCloudPlatform/cloud-sql-nodejs-connector

Tutte le issue di GoogleCloudPlatform/cloud-sql-nodejs-connector

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.