@shikijs/transformers
4.6.0 · 2 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @shikijs/transformers From 3.10.0 to 3.23.0
17 releases in betweennotes for 16
Reading releases, release notes and advisories…
Release by release
- New
Update grammar and themes
- New
cli: Add stdin support and list commands
- New
transformers: Add 'leading' position to transformerRenderWhitespace
- New
transformers: Add support for [!code info] notation
- New
Add
declaremodifier to top level declarations in.d.ts - Fixed
cli: Normalize language/extension casing for CLI inputs
- New
3.22.0nothing new or fixed in the note
- New
Update grammar
- New
core: Preserve HAST data and properties in codeToHast
- Fixed
vitepress-twoslash: Fix scroll blocking on mobile viewports
- New
- New
core: Eliminate redundant tokenization call in tokenizeWithTheme
- New
- New
Support
rootStyle: falseoption - New
transformers: Add
classActiveCodeoption to notation transformers - New
transformers: Add transformerRemoveComments
- New
twoslash: Add context parameter to filter option
- New
Add typesVersions for legacy resolution support
- Fixed
core: Check embeddedLanguages in registry dependency check
- Fixed
monaco: Correctly handle sparse color map updates
- New
- New
transformers: Support
zeroIndexedoption totransformerMetaHighlight - Fixed
core: Correct offset calculation in mergeWhitespaceTokens
- Fixed
core: Allow
langAliasto special languages, close #1164
- New
- New
core: Enhance string utils with robust edge case handling
- Fixed
core: Correctly parse 4-digit hex colors in dimColor
- Fixed
monaco: Ensure correct color map update when switching themes
- New
- New
core: Support embeddedLanguages alias for backwards compatibility
- New
types: Add 'plain' to PlainTextLanguage type
- Fixed
transformers: Handle multi-token comments in rose-pine theme
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.