@shikijs/core version 1.27.0 represents an incremental update to the core syntax highlighting engine, building upon the foundation established in version 1.26.2. Both versions share a common set of core dependencies, including @types/hast, hast-util-to-html, and @shikijs/vscode-textmate for handling HTML structures, converting them to strings, and leveraging VS Code's textmate grammars. Crucially, both versions maintain the same unpacked size, suggesting no significant alterations to the overall codebase size.
The most noticeable difference lies in the updated versions of internal dependencies: @shikijs/types, @shikijs/engine-oniguruma, and @shikijs/engine-javascript. These updates likely deliver performance enhancements, bug fixes, and potentially new features related to grammar processing or Javascript engine improvements, optimizing the syntax highlighting process. Developers should review the changelogs of these internal packages for detailed information on specific changes. The new release also includes a newer release date meaning that is a more recent package and potentially contains more up to date fixes.
For developers using Shiki, upgrading to 1.27.0 is likely a low-risk operation since the core API remains stable. The underlying improvements offer subtle but important refinements to the highlighting capabilities of Shiki, and by upgrading the various dependencies, developers can keep track with the state of the art. It is recommended to always upgrade to the most recent version to have access to the most up to date support and features.
The are not vulnerabilities for the version 1.27.0 of the package @shikijs/core