React DevTools Core has a new major version, 5.0.0, released on December 5th, 2023, succeeding version 4.28.5, which was released on October 25th, 2023. Both versions share the same core purpose: enabling the use of React DevTools outside the browser environment. The key dependencies, ws for WebSocket communication and shell-quote for shell command parsing, remain consistent between the two versions, ensuring continued compatibility and functionality. Similarly, the development dependencies including webpack, webpack-cli, cross-env and workerize-loader stay the same, pointing to a consistent build and development environment.
The noticeable difference lies in the dist object. Version 5.0.0 shows an increased unpackedSize of 17,611,862 bytes compared to version 4.28.5's 17,566,977 bytes. This ~45KB increase might indicate additions like new features, enhancements, or updated internal libraries. While the fileCount remains the same at 15, the internal composition/size of these files are subtly different. Developers should consider this increase in size if they are sensitive about bundle sizes (negligible, but it exists).
This jump to version 5.0.0 signifies a potentially important update within the React DevTools Core package, so developers should check up the newest features to assess if they are worth it. As the core functionality and dependencies are consistent, upgrading should be straightforward, but testing post-upgrade is recommended to ensure compatibility and catch potential edge cases.
The are not vulnerabilities for the version 5.0.0 of the package react-devtools-core