React Syntax Highlighter version 13.1.0 represents a minor update over the previous stable version, 13.0.0, primarily focusing on internal improvements and bug fixes rather than introducing significant new features. For developers already utilizing the library, upgrading should be a straightforward process with minimal risk of breaking changes.
Both versions share a consistent set of core dependencies enabling syntax highlighting in React applications. PrismJS, Lowlight, and Highlight.js remain central components, providing flexible options for different highlighting engines. The peer dependency on React remains at ">= 0.14.0", ensuring compatibility with a wide range of React projects.
While the core functionality remains consistent, subtle differences exist. The dist object reveals a slight reduction in the number of files within the packaged tarball (from 1576 to 1561) and a decrease in unpacked size (from 1691877 to 1661173). This suggests optimizations in the build process, potentially leading to slightly improved performance or reduced bundle sizes for applications using the library. The release date difference between the two versions is about a week (July 23 to July 31), this short period also suggests minor changes. Developers should consult the changelog for a comprehensive list of resolved issues and specific modifications. Whilst there isn't any important information for developers, upgrading from 13.0.0 to 13.1.0 is recommended to ensure you have the latest improvements.
The are not vulnerabilities for the version 13.1.0 of the package react-syntax-highlighter