Repository navigation
chore(deps): Node 要件と依存関係を最新に更新 - #31
Merged
Merged
Conversation
検索モーダルは次フレームで入力欄にフォーカスするため、表示直後に送った キーが取りこぼされ、負荷時に約 5% の確率で失敗していた。
- engines を >=22.22.0 に引き上げ(Node 20 は EOL、chokidar 6 が要求) - packageManager を npm@12.2.1、CI マトリクスを 22.22.0 / 24 / 26 に更新 - actions/checkout・setup-node・upload-artifact を v7 に更新 - chokidar 6, markdown-it 15, mermaid 12, katex 0.19, TypeScript 7 などへ更新 - 本体が型を同梱したため @types/dompurify と @types/markdown-it を削除 - markdown-it 15 の同梱型に合わせて markdown.ts の型を修正 - overrides で sharp と brace-expansion を修正版に固定し脆弱性を解消
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Node の要件と依存関係を最新にそろえる。未 push だった
file://URL 対応のコミットも含む。1. Node 要件と依存関係の更新(0244311)
enginesを>=22.22.0に引き上げ。Node 20 は 2026-04-30 で EOL、chokidar@6が>= 22.22を要求するpackageManagerをnpm@12.2.1、CI マトリクスを22.22.0 / 24 / 26に更新actions/checkout・setup-node・upload-artifactを v7 に更新(このワークフローで使う入力に破壊的変更なし。v6 以降はランナー 2.327.1 以上が必要)@types/dompurifyと@types/markdown-itを削除し、src/markdown.tsの型を 2 か所修正sharp ^0.35.5とbrace-expansion ^1.1.21に固定し、critical / high の脆弱性を解消docs/index.htmlの Node 要件の記述を 22.22 に更新2. 検索モーダルのテストのフレーク修正(5feb2fe)
入力欄へのフォーカス(次フレーム)を待たずにキーを送っていたため、負荷時に約 5% の確率で失敗していた。
3. URL バーで
file://URL を開けるようにする(f0f93c5)配信ディレクトリ配下の
file:///…を、ルート相対パスに変換して開く。範囲外や別ホストはエラーにする。確認
Node 22.22.0 と 26.12.1 の両方で以下を実行し、すべて通過。
npm run buildnpm run test:unit(27 件パス、1 件スキップ)npm run check:contrastnpm run test:e2e(408 件パス、3 件スキップ)残っている点
@marp-team/marp-coreは 4.4.0 に据え置き。5 系はnextタグのプレリリース扱いのため。同梱されている katex の low 脆弱性が 2 件残るfile://はシンボリックリンクを辿った実体パスで照合するため、macOS で/tmp/…を配信している場合は/private/tmp/…の URL でないと一致しない