fix(deps): 依存パッケージとグローバルCLIを最新化 - #691
Conversation
- @commitlint/cli 20.5.0 → 20.5.2 - jest-junit ^16.0.0 → ^17.0.0 - npm/global.json: typescript 5.9.3 → 6.0.3, vercel 50.35.0 → 52.0.0, @antfu/ni 29.0.0 → 30.1.0, difit 3.1.17 → 4.0.4, n8n 2.12.3 → 2.17.7, @google/gemini-cli 0.34.0 → 0.39.1, @openai/codex 0.116.0 → 0.125.0, npm 11.12.0 → 11.13.0, yaml-language-server 1.21.0 → 1.22.0 など - docs/tool-catalog.md を新バージョンに同期 - npm audit fix で直接依存ツリーの brace-expansion / picomatch を解消 @semantic-release/npm がバンドルする npm@11.11.1 内部の脆弱性は上流対応待ち。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughUpdated documentation and manifest version pins: bumped multiple CLI/tool and dev dependency versions in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 AI Code Review (Local Hook)Models: Codex (default) / Gemini (default) ✨ Gemini ReviewMCP issues detected. Run /mcp list for status.### レビュー結果
判定: patch is correct 🤖 Generated by post_pr_ai_review.py hook |
|
Claude finished @keito4's task in 3m 15s —— View job PR レビュー完了 ✅
総評:APPROVE(minor / recommendation のみ)依存パッケージの一括更新として適切。破壊的な問題は見当たらない。以下に気になる点を列挙する。 指摘事項[minor]
|
| パッケージ | ドキュメント記載 | global.json 実値 |
|---|---|---|
@openai/codex |
0.116.0 (L44) |
0.125.0 |
@google/gemini-cli |
0.34.0 (L45) |
0.39.1 |
happy-coder |
0.13.0 (L46) |
0.13.1 |
[recommendation] TypeScript 6.0.3 と typescript-language-server 5.1.3 の互換性確認
TypeScript 6.x はメジャーバージョンアップであり、言語サービス API に変更が含まれる可能性がある。typescript-language-server は TypeScript の内部 API を直接利用するため、5.1.3 が TS 6.x に対応しているか確認を推奨:
npm/global.json L33: "typescript": "6.0.3"
npm/global.json L37: "typescript-language-server": "5.1.3" ← 更新確認推奨
Gemini レビューでも同様の指摘あり。IDE での型補完・エラー表示に問題が出る場合は最新版へ更新する。
[recommendation] @commitlint/cli と @commitlint/config-conventional のバージョン乖離
commitlint パッケージ群は通常同バージョンでリリースされる:
| パッケージ | バージョン |
|---|---|
@commitlint/cli |
20.5.2(更新済) |
@commitlint/config-conventional |
20.5.0(旧バージョン) |
20.5.2 が存在する場合は揃えることを推奨。現状は機能上の問題はないが、将来の混乱を防ぐためのメンテナンス上の観点から。
セキュリティについて
PR 説明にある残余脆弱性(brace-expansion / picomatch)は確認済み:
@semantic-release/npmが bundleするnpm@11.11.1の内部 transitive depsoverridesで潰すとnpmパッケージ自体を破壊するリスクがあるため、上流対応待ちは妥当な判断
メジャーバージョンアップのリスク評価
| パッケージ | バージョン変化 | リスク評価 |
|---|---|---|
typescript |
5.9.3 → 6.0.3 | LSP 互換性に注意(上記 recommendation 参照) |
vercel |
50.35.0 → 52.0.0 | CLI インターフェースの変更に注意 |
@antfu/ni |
29.0.0 → 30.1.0 | パッケージマネージャ抽象化 CLI、スクリプト利用があれば動作確認推奨 |
difit |
3.1.17 → 4.0.4 | AI diff ツール、設定形式の変更確認推奨 |
jest-junit |
^16.0.0 → ^17.0.0 | テスト通過確認済みのため問題なし |
verdict: APPROVE — critical / major 相当の問題なし。ドキュメントの部分的な未更新(minor)と TS 6 / LSP 互換性確認(recommendation)のみ。
|
(aside) |
|
Claude finished @keito4's task in 9m 44s —— View job 修正完了 ✅
原因と対応CI 失敗の原因:
対応: 修正内容(
|
| フィールド | 修正前 | 修正後 |
|---|---|---|
| npm | 11.12.0 | 11.13.0 |
| corepack | 0.34.6 | 0.34.7 |
| @openai/codex | 0.116.0 | 0.125.0 |
| @google/gemini-cli | 0.34.0 | 0.39.1 |
| happy-coder | 0.13.0 | 0.13.1 |
全品質ゲート(lint / format / test 95件)はローカルで通過済み。新しい CI ランが完了するまでお待ちください。
| Branch: fix/deps-update-20260426
|
(aside) |
|
Claude finished @keito4's task in 15m 55s —— View job 調査・対応完了
根本原因GitHub Actions 内から push されたコミットは
必要な対応(keito4 さんにお願い)
方法 A:空コミットで再トリガー(推奨・最短)git fetch origin fix/deps-update-20260426
git checkout fix/deps-update-20260426
git pull origin fix/deps-update-20260426
git commit --allow-empty -m "chore: re-trigger CI"
git push origin fix/deps-update-20260426方法 B:GitHub Actions UI から失敗 Run を再実行
現在のブランチ状態
CI が起動すれば全チェック pass の見込みです。 |
|
(aside) |
|
Claude finished @keito4's task in 6m 40s —— View job CI 修正完了 ✅
原因と対応根本原因: GitHub Actions の GITHUB_TOKEN 制限 前の Claude インスタンスが 対応策: GitHub refs API による直接リセット
refs API 経由の更新は 現在の状態
|
d353f8a to
94afc0f
Compare
|
🎉 This PR is included in version 1.110.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
npm run update:libsで依存パッケージとグローバルCLIマニフェストを一括更新npm audit fixで直接依存ツリーの brace-expansion / picomatch 脆弱性を解消docs/tool-catalog.mdを新バージョンに同期主な更新内容
package.json@commitlint/cli^20.5.0 → ^20.5.2jest-junit^16.0.0 → ^17.0.0(major)npm/global.json(DevContainer グローバルCLI)semantic-release系はupdate-libraries.shのUPDATE_LIBS_REJECTで意図的に固定中。セキュリティ
npm auditは2件 (moderate 1 / high 1) 残るが、いずれも@semantic-release/npmがバンドルするnpm@11.11.1の内部 transitive (brace-expansion@5.0.4,picomatch@4.0.3)。overridesで潰すと npm 自体を破壊しうるため上流対応待ち。Test plan
npm run lint緑npm test95 tests passnpm run format:check緑🤖 Generated with Claude Code
Summary by CodeRabbit