@streamdown/code@1.1.1
build-with-groq/g1@streamdown/code@1.1.1Mar 17, 2026
AI Summary
Fixed error handling in code blocks to prevent crashes when the language identifier is unknown or truncated during streaming by falling back to plain text highlighting.
Key Highlights
- Falls back to plain text highlighting for unknown or truncated languages
- Prevents Shiki from throwing errors on unsupported language names
Full Release Notes
### Patch Changes - 651873d: Fall back to plain text highlighting when the code block language identifier is unknown or truncated mid-stream, preventing Shiki from throwing on unsupported language names.