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

Abierto
#634 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
nodejs, typescript
Área
cloud, database

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
99
Forks
18
Merge medio
1 d 23 h
PR fusionados (30 d)
20

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GoogleCloudPlatform/cloud-sql-nodejs-connector

Todos los issues de GoogleCloudPlatform/cloud-sql-nodejs-connector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.