Repository navigation
chore: bump shiki to 4.5.0 - #22
Merged
Merged
Conversation
Keep the CI matrix pin for Shiki 4 in step with the devDependency. 4.6.0 is newer than the seven-day release age.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
nemuvski
marked this pull request as ready for review
November 6, 2026 07:02
Contributor
|
@cursoragent コンフリクト解消して |
Author
|
Perfect! I've successfully resolved the merge conflicts. Here's what was done: Conflict Resolution SummaryI merged the latest changes from 1. package.json
2. .github/workflows/node.js.yml
3. package-lock.json
4. Additional changes from main
Verification
The PR is now up to date with main and ready for review! |
- Updated Node.js matrix versions from [20.x, 22.x, 24.x] to [22.x, 24.x, 26.x] - Updated @vitest/coverage-v8 to 4.1.12 - Kept shiki at 4.5.0 (this PR's main change) - Updated .tool-versions from main Co-authored-by: YoheiNozaki <YouheiNozaki@users.noreply.github.com>
This branch was successfully deployed
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.


何をアップデートしたか
shiki(devDependencies): 4.4.3 → 4.5.0peerDependenciesは^1 || ^2 || ^3 || ^4のままです。利用者側の互換レンジは変えていません。まとめた理由
optional peer かつシンタックスハイライト実装に直結するパッケージなので、テスト行列の最新 v4 ピンと一緒に更新しました。他のツールチェーン更新とは分離しています。
主な変更点・Breaking Changes
4.4.3 → 4.5.0 に Breaking Changes はありません。
4.5.0(2026-10-01)
codeToANSIが明示的な color level を返すtransformerNotationWordHighlightにclassActiveCode、transformerRenderLineNumberを追加このリポジトリが使っているのは
codeToHtmlとbundledLanguagesだけです。ハイライト HTML の期待値は変わっていません。4.6.0(2026-11-02)は
.npmrcのmin-release-age=7未満のため含めていません。参考: https://github.com/shikijs/shiki/releases/tag/v4.5.0
Migration ・設定変更
検証
npm ci後に確認npx vitest run: 7 files / 25 tests すべて成功(シンタックスハイライトの HTML 期待値もそのまま)npm run build: 成功(DTS rollup 含む)npm run buildのexperimentalDtsで確認しました