React Router DOM, a cornerstone library for declarative routing in React web applications, recently saw the release of version 6.21.3, succeeding version 6.21.2. Both versions share the same fundamental characteristics, including their MIT license, reliance on React and React DOM (peer dependencies >=16.8 and devDependencies ^18.2.0), and upkeep by Remix Software. The core dependencies remain consistent, with both relying on react-router version 6.21.2 (in version 6.21.2) and 6.21.3 (in version 6.21.3) and @remix-run/router version 1.14.2.
The key difference lies in the internal distribution details. Version 6.21.3, released on January 18, 2024, has an unpacked size of 869864 bytes, slightly larger than version 6.21.2's 867738 bytes, which was released on January 11, 2024. Both versions keep the same number of files, 23. This subtle size difference suggests that developers upgraded some components of the tool to work better and probably solve some edgecases. The bumped sub-dependency react-router which jumps from 6.21.2 to 6.21.3 confirms this.
For developers, upgrading to 6.21.3 is advisable as it bundles internal improvements and potential bug fixes encompassed within increased size. Checking the changelog for react-router 6.21.3 is a good way to better understand the differences and assess if upgrading is worth the effort.
The are not vulnerabilities for the version 6.21.3 of the package react-router-dom