Skip to content

chore(deps): Node 要件と依存関係を最新に更新 - #31

Merged
simota merged 3 commits into
mainfrom
chore/update-node-and-deps
Oct 27, 2026
Merged

simota merged 3 commits into
mainfrom
chore/update-node-and-deps

Conversation

@simota

@simota simota commented Oct 27, 2026

Copy link
Copy Markdown
Owner

概要

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 以上が必要)
  • メジャー更新: chokidar 6, markdown-it 15, markdown-it-anchor 10, markdown-it-deflist 4, mermaid 12, katex 0.19, jschardet 4, TypeScript 7。その他はマイナー・パッチ更新
  • 本体が型を同梱したため @types/dompurify と @types/markdown-it を削除し、src/markdown.ts の型を 2 か所修正
  • overrides で sharp ^0.35.5 と brace-expansion ^1.1.21 に固定し、critical / high の脆弱性を解消
  • README と docs/index.html の Node 要件の記述を 22.22 に更新

2. 検索モーダルのテストのフレーク修正(5feb2fe)

入力欄へのフォーカス(次フレーム)を待たずにキーを送っていたため、負荷時に約 5% の確率で失敗していた。

3. URL バーで file:// URL を開けるようにする(f0f93c5)

配信ディレクトリ配下の file:///… を、ルート相対パスに変換して開く。範囲外や別ホストはエラーにする。

確認

Node 22.22.0 と 26.12.1 の両方で以下を実行し、すべて通過。

  • npm run build
  • npm run test:unit(27 件パス、1 件スキップ)
  • npm run check:contrast
  • npm run test:e2e(408 件パス、3 件スキップ)

残っている点

  • @marp-team/marp-core は 4.4.0 に据え置き。5 系は next タグのプレリリース扱いのため。同梱されている katex の low 脆弱性が 2 件残る
  • file:// はシンボリックリンクを辿った実体パスで照合するため、macOS で /tmp/… を配信している場合は /private/tmp/… の URL でないと一致しない

検索モーダルは次フレームで入力欄にフォーカスするため、表示直後に送った
キーが取りこぼされ、負荷時に約 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 を修正版に固定し脆弱性を解消
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T02:30:05.951515Z 0244311 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@simota
simota merged commit 090433e into main Oct 27, 2026
3 checks passed
@simota
simota deleted the chore/update-node-and-deps branch October 27, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant