@shikijs/core, the heart of the Shiki syntax highlighter, saw a significant update from version 3.0.0 to 3.1.0. This release brings improvements and refinements beneficial for developers leveraging Shiki for code rendering. The most apparent change lies in the updated dependency on @shikijs/types, moving from version 3.0.0 to 3.1.0. This suggests potential enhancements or bug fixes within the shared type definitions that improve type safety and overall code quality. Notably, hast-util-to-html was bumped from version 9.0.4 to 9.0.5. While seemingly minor, a patch update usually indicates essential bug fixes or performance tweaks in HTML serialization, which is crucial for rendering highlighted code snippets correctly. Both versions maintain the same core dependencies such as @types/hast and @shikijs/vscode-textmate, suggesting that the fundamental architecture and VS Code TextMate integration remain consistent. The unpackedSize remained the same indicating there was any change to code size. Finally, the release occured on 2025-02-27, slightly over a week after version 3.0.0. For developers, upgrading to 3.1.0 offers potentially more robust type checking and improved HTML output due to the dependency upgrades. While the core functionality remains largely the same, the incremental improvements make it a worthwhile update for projects already using @shikijs/core.
The are not vulnerabilities for the version 3.1.0 of the package @shikijs/core