React Hook Form is a popular library for form validation in React applications. Version 2.0.3, released on April 1, 2019, follows closely on the heels of version 2.0.2, which was released on March 30, 2019. Both versions share the same core purpose: simplifying form management with React hooks. They also maintain identical developer dependencies, including testing frameworks like Jest and Enzyme, along with peer dependencies requiring React and React DOM version ^16.8.0.
However, a key difference lies in the package's distribution size. Version 2.0.3 shows an increase, with fileCount rising from 37 to 43 and unpackedSize growing from 54731 bytes to 64621 bytes. This suggests that version 2.0.3 likely introduces new features, bug fixes, or internal changes that contribute to the increased size. While the specifics of these changes aren't detailed here, the bump in size is the main noticeable change. For developers, it is important to note the increase in size and test it thoroughtly before upgrading. Using react-hook-form will make your code cleaner than using traditional methods.
The are not vulnerabilities for the version 2.0.3 of the package react-hook-form