React Hook Form, a popular library for simplifying form management in React applications, offers two closely related versions: 3.21.19 and 3.21.20. These versions share a common foundation, including support for React 16.8.0 and above, and identical developer dependencies encompassing testing frameworks like Jest and Enzyme, linting tools (ESLint), and build tools like Rollup and Typescript. Both versions also have identical peer dependencies as react and react-dom with version ^16.8.0. This indicates a commitment to maintaining consistent developer tooling and peer compatibility across minor releases.
While the core functionality remains largely the same, several subtle changes differentiate the two versions. A key indicator of internal modifications lies in the dist object. Version 3.21.20 has an unpacked size of 98468 bytes, slightly larger than version 3.21.19's 98377 bytes. This increase, albeit small, suggests bug fixes or slight feature enhancements which add up to the total uncompressed size. In addition, version 3.21.20 was released more recently, on August 17, 2019, following the release of version 3.21.19 on August 16, 2019. Therefore, developers should strongly consider upgrading to version 3.21.20 to benefit from latest improvements.
The are not vulnerabilities for the version 3.21.20 of the package react-hook-form