Gatsby React Router Scroll has been updated from version 5.10.0 to 5.11.0, offering subtle yet potentially impactful changes for developers managing scroll behavior in their Gatsby applications. Both versions provide React Router scroll management, originally forked from react-router-scroll, ensuring a seamless user experience when navigating between pages. Key dependencies like prop-types and @babel/runtime remain consistent, ensuring compatibility and stability.
The primary difference lies in the devDependencies. Version 5.11.0 utilizes babel-preset-gatsby-package at version 2.11.0, a slight upgrade from 2.10.0 in the previous version. While the core functionality remains the same, this updated preset likely incorporates the latest build tooling improvements and potentially minor bug fixes relevant to Gatsby's build process. Developers leveraging Gatsby React Router Scroll should benefit from potential refinements to the development experience, even if the end-user facing behavior appears unchanged. Size also increased slightly by around 50 bytes, and the release date shifted almost 2 weeks apart, suggesting that there would be some underlying bug fixes. The peer dependencies stay the same, meaning that the package keeps compatibility with React 16, 17, and 18. When upgrading, it's generally good practice to review the changes within babel-preset-gatsby-package itself, although in this instance the bump is probably not important if you're not encountering any problems.
The are not vulnerabilities for the version 5.11.0 of the package gatsby-react-router-scroll