React Syntax Highlighter updated from version 15.4.5 to 15.5.0 introduces key improvements relevant to developers utilizing syntax highlighting in React applications. A significant update is the upgrade of prismjs from version 1.25.0 to 1.27.0, offering enhanced language support and bug fixes inherent in the newer PrismJS release. Additionally, refractor sees an update from version 3.2.0 to 3.6.0, likely bringing improvements and expanded language grammar capabilities. The prism-themes was upgraded from version 1.5.0 to 1.9.0.
The newer version maintains compatibility with highlight.js at version 10.4.1, while peer dependency remains for React versions 0.14.0 and up. Developers could benefit from the updated PrismJS and Refractor, enhancing the accuracy and breadth of supported languages for syntax highlighting. File count is also slightly increased from 1772 to 2020 and unpacked size from 1840380 to 2517215. These updates aim to provide a better syntax highlighting experience with the library. This version was released in March 2022.
The are not vulnerabilities for the version 15.5.0 of the package react-syntax-highlighter