@shikijs/core, the heart of the Shiki syntax highlighting library, has a new version, 2.3.2, released just after version 2.3.1. Both versions share the same core functionality, described as the "Core of Shiki," and are licensed under the MIT license, ensuring broad usability. They both rely on the same dependencies for HTML conversion (hast-util-to-html), VS Code TextMate integration (@shikijs/vscode-textmate), and hast type definitions (@types/hast). Crucially, they also both leverage Oniguruma and JavaScript engines for grammar processing, provided by @shikijs/engine-oniguruma and @shikijs/engine-javascript respectively. Package size remains consistent, with both versions having the same fileCount of 16 and unpackedSize of 106675 bytes.
The key difference lies in the dependency versions of @shikijs/types, @shikijs/engine-oniguruma and @shikijs/engine-javascript, which have been bumped from 2.3.1 to 2.3.2 alongside the core package. This suggests internal updates or bug fixes within those specific modules that may impact Shiki's overall performance or accuracy. Developers using Shiki should consider upgrading to version 2.3.2 to benefit from these potential improvements in grammar handling and type definitions. The later releaseDate for version 2.3.2 also signals that it incorporates the latest refinements.
The are not vulnerabilities for the version 2.3.2 of the package @shikijs/core