Bump `@google-cloud/sql` to ^0.30 (pulls in google-gax 6, drops rimraf → glob@10)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- nodejs, typescript
调研方向
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 (
glob3.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 小时
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GoogleCloudPlatform/cloud-sql-nodejs-connector 的其他 Issue
-
flakybot: issue priority: p2 type: bug
难度 2/5 1-3 小时 新手友好度 72/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#658 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#656 ·
维护者通常 1 天内回复
-
flakybot: flaky flakybot: issue priority: p2 type: bug
难度 4/5 3-5 天 新手友好度 48/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#657 · 1 条评论 ·
维护者通常 1 天内回复
-
Cloud Build Failure Reporter: node-integration-test-nightly (cloud-sql-connector-testing) failed未关闭
难度 3/5 1-2 天 新手友好度 45/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#641 ·
维护者通常 1 天内回复
-
flakybot: flaky flakybot: issue priority: p2 type: bug
难度 3/5 1-2 天 新手友好度 30/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#630 · 1 条评论 ·
维护者通常 1 天内回复
查看 GoogleCloudPlatform/cloud-sql-nodejs-connector 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 82/100
-
bug P3
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复