React DOM version 16.5.0 introduces notable changes compared to its predecessor, version 16.4.2, offering developers enhancements and different dependencies. The major difference lies in the dependencies. Version 16.5.0 replaces fbjs with schedule as a direct dependency and bumps the prop-types dependency from 15.6.0 to 15.6.2. This dependency shift suggests a focus on scheduling and prioritization within the React rendering process, aligning with React's evolving asynchronous rendering capabilities. The update to prop-types likely incorporates minor bug fixes and improvements to type validation. While fbjs was a general-purpose collection of JavaScript utilities, the introduction of schedule implies a refined focus on managing and optimizing React's internal task scheduling.
Furthermore, the dist object reveals that react-dom 16.5.0 has 29 files and an unpacked size of 2231523 bytes. In comparison, version 16.4.2 has 28 files and an unpacked size of 2153432 bytes. These differences show that the newer version includes minor additions and optimizations reflected in the increment of files and unpacked sizes. Version 16.5.0 was released on September 6, 2018, while version 16.4.2 was released on August 1, 2018. Both versions maintain the same peer dependency, requiring react version ^16.0.0 or higher, ensuring compatibility within existing React 16 projects. Also both keep the same MIT licence. They share the same URL repository. In summary, the key changes revolve around dependency updates and slight package size and file count modifications, all geared towards improving React's performance and developer experience.
The are not vulnerabilities for the version 16.5.0 of the package react-dom