React Hook Form is a performant and flexible library for form management in React applications. Versions 3.0.1 and 3.0.2 are closely related, with the latter released shortly after. A key difference is the unpackedSize within the dist object; version 3.0.1 has an unpacked size of 79237 bytes, while 3.0.2 has 79225 bytes, indicating a slight reduction in bundle size, maybe due to minor optimizations or bug fixes. Both versions share identical devDependencies and peerDependencies, ensuring that projects utilizing either version can continue to rely on the same tooling and React versions (>=16.8.0). Developers benefit from the library's lightweight footprint and its reliance on React hooks, promoting clean and efficient form handling. The library ships with TypeScript definitions, too. The project uses MIT license, so developers can use this package freely in a variety of projects. The quick release of 3.0.2 suggests a potential hotfix or refinement over 3.0.1, making it the preferable choice for new projects to leverage the most recent, potentially more stable, iteration. The dates confirm that these releases were made in quick succession, with a difference of roughly 12 minutes. As a result of this, the changes should be minor rather than involving large rewrites of the library itself.
The are not vulnerabilities for the version 3.0.2 of the package react-hook-form