React Hook Form is a popular library for form management in React applications, simplifying the process of building performant and user-friendly forms with minimal code. Comparing versions 3.8.5 and 3.8.4, developers will find subtle but potentially important differences. Both versions share identical development dependencies, including testing frameworks like Jest and Enzyme, along with tools for linting, bundling (Rollup), and TypeScript support. The peer dependencies also remain the same, requiring React and React DOM versions 16.8.0 or higher for compatibility.
Looking at the dist object, the key distinction lies in the unpackedSize. Version 3.8.5 has an unpackedSize of 59133 bytes, while version 3.8.4 has 58615 bytes. This indicates that 3.8.5 includes approximately 518 more bytes than the previous version, potentially a fix and some improvements. Although seemingly small, such changes can contain vital bug fixes, performance enhancements, or minor feature additions that enhance form handling. It's important for users to upgrade to the latest version to ensure they are running most stable well-tested code. Both versions were released on the same date but roughly 44 minutes apart implying that after a first release the team found an important fix and bumped patch version right away. Developers who are using React Hook Form should update to version 3.8.5 to benefit from any improvements that were made in the patch version.
The are not vulnerabilities for the version 3.8.5 of the package react-hook-form