@streamdown/code@1.1.1

FoundationVision/VAR@streamdown/code@1.1.1Mar 17, 2026

AI Summary

This patch release improves error resilience in syntax highlighting by falling back to plain text rendering when the code block language identifier is missing or truncated, preventing Shiki from throwing errors.

Key Highlights

  • Fallback to plain text for unknown languages
  • Prevents Shiki from throwing errors
  • Improved stability for code blocks

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.