fix(deps): bump pnpm overrides to patch open Dependabot alerts - #293
Conversation
js-yaml, undici, tar, form-data, hono, qs のoverrideが以前のCVE発覚時点の バージョンで固定されたままになっており、新しいアドバイザリに対して 陳腐化していた。各パッケージのoverrideを最新のfirst_patched_versionまで 引き上げ、postcss / ip-address / @babel/core は新規にoverrideを追加。 Fixes: #128 #121 #120 #119 #116 #115 #114 #113 #112 #111 #110 #108 #107 #106 #105 #102 #91 #83 #123 vite関連 (#124 #125 #126 #127) は既存のPR #285 (6.4.2 -> 6.4.3) で対応済みのため対象外。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HxuveRGRZF1DgtLarQko33
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (2)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates pnpm.overrides to bump several transitive dependencies to versions that satisfy current Dependabot security alerts, and regenerates the lockfile to ensure the patched versions are actually resolved in the dependency graph.
Changes:
- Updated
pnpm.overridesentries (and added new ones) to bring vulnerable packages up to their patched versions (e.g., undici, tar, js-yaml, qs, form-data, hono, plus new overrides for postcss, ip-address, @babel/core). - Regenerated
pnpm-lock.yamlso resolved versions reflect the updated overrides (e.g., postcss 8.5.x, js-yaml 4.3.x, tar 7.5.x, undici 6.27.x,@babel/core7.29.7).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Bumps/extends pnpm.overrides to patched versions to address Dependabot alerts. |
| pnpm-lock.yaml | Lockfile regenerated to reflect new overrides and ensure patched resolutions are used. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Summary
pnpm.overrides(package.json) が過去のCVE発覚時点のバージョンで固定されたままになっており、その後リリースされた新しいアドバイザリに対して陳腐化していた。各パッケージのoverrideを最新のfirst_patched_versionまで引き上げ、postcss / ip-address / @babel/core は新規にoverrideを追加した。pnpm install(pnpm 10.12.4,.tool-versions準拠)でlockfileを再生成し、対象パッケージが全て安全なバージョンに解決されることを確認済み。^4.1.1(>=4.0.0 <4.1.1のみ)^4.2.0(>=4.0.0 <4.2.0)^6.24.0^6.27.0^7.5.11^7.5.16^4.0.4^4.0.6^4.12.18^4.12.25^6.14.2(<6.14.2のみ)^6.15.2(<6.15.2)^8.5.10(新規)^10.1.1(新規)^7.29.6(新規, <=7.29.0のみ)対象外
Test plan
pnpm install(pnpm 10.12.4)で lockfile を再生成し、対象パッケージが全て patched version 以上に解決されることを確認pnpm install --frozen-lockfileが成功する(CIのpnpm install --frozen-lockfileと同条件)pnpm type-check成功pnpm test611 passed / 10 skipped / 19 todopnpm lint:checkはworktreeがネストした環境固有の "multiple lockfiles" 検出エラーで実行できず未検証(コード変更とは無関係と判断、CI上のlint jobで最終確認要)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HxuveRGRZF1DgtLarQko33