React Syntax Highlighter version 13.0.0 introduces several notable updates compared to its predecessor, version 12.2.1, primarily focused on dependency upgrades. One of the core differences lies in the updated versions of its highlighting engines. Version 13.0.0 upgrades prismjs to ^1.20.0 and highlight.js to ^10.1.1, while version 12.2.1 uses prismjs at ^1.8.4 and highlight.js at ~9.15.1. This means developers using the newer version benefit from the latest features, bug fixes, and performance improvements offered by these highlighting libraries.
Furthermore, refractor, another core dependency, is also updated from ^2.4.1 to ^3.0.0. The devDependencies also saw major version bumps especially on Jest and Babel related packages, ensuring compatibility and leveraging the latest tooling features.
These updates collectively enhance the developer experience by providing access to more recent syntax highlighting definitions and potentially improved rendering capabilities. Developers should consider upgrading to version 13.0.0 to take advantage of these updated dependencies. While a full list of what changed on it's dependencies is not available here, developers must refer to the official changelogs of PrismJS, Highlight.js and Refractor for detailed information.
The are not vulnerabilities for the version 13.0.0 of the package react-syntax-highlighter