cloudflare/kumo @cloudflare/kumo@2.2.2
cloudflare/kumo
Captured source
source ↗published May 20, 2026seen 5dcaptured 8hhttp 200method plain
@cloudflare/kumo@2.2.2
Repository: cloudflare/kumo
Tag: @cloudflare/kumo@2.2.2
Published: 2026-05-20T13:37:03Z
Prerelease: no
Release notes:
Patch Changes
- 94d0c22: Fix language alias normalization in ShikiProvider
- Add
normalizeLanguage()function that maps common language aliases (js, ts, sh, yml, py, md, gql) to their canonical SupportedLanguage names - Normalize language aliases in
ShikiProviderwhen preloading grammars, so passing['js', 'ts']works the same as['javascript', 'typescript'] - Normalize language aliases in
highlight()hook at runtime, so code fences usingjsortshighlight correctly without warnings - Export
normalizeLanguagefrom@cloudflare/kumo/codefor consumers who need to normalize aliases themselves - Intentionally omit
mdxalias since MDX has a distinct grammar that would lose JSX highlighting if mapped tomarkdown
Notability
notability 4.0/10Routine patch release of search library