@shikijs/core, the heart of the Shiki syntax highlighting library, has been updated from version 2.1.0 to 2.2.0, bringing subtle yet relevant changes for developers seeking to integrate high-fidelity code rendering into their projects. Both versions maintain the core functionality centered around transforming code into visually appealing and semantically accurate HTML, leveraging the power of VS Code's TextMate grammars for broad language support. Dependencies like @types/hast and hast-util-to-html remain consistent, ensuring continued compatibility with the broader ecosystem of HTML AST manipulation tools.
The key area of change lies in version upgrades across Shiki's internal dependencies. @shikijs/types, @shikijs/engine-oniguruma, and @shikijs/engine-javascript all see version bumps from 2.1.0 to 2.2.0. These updates likely incorporate bug fixes, performance improvements, and potentially new features within those individual components, collectively contributing to a more robust and efficient core. While the unpacked size sees a negligible increase, this suggests a focus on refined code rather than extensive new additions.
For developers, this update signifies a potential stability and performance boost. While the base API remains consistent, upgrading to 2.2.0 ensures access to the latest enhancements in Shiki's underlying engines. The unchanged @shikijs/vscode-textmate dependency suggests a consistent experience with language grammar support, so the upgrade focuses on the core Shiki processing. This improved core enables you to create beautiful and semantic code snippets in all your projects, from documentation to blogs.
The are not vulnerabilities for the version 2.2.0 of the package @shikijs/core