React Hook Form is a popular library used to simplify form management and validation in React applications. Comparing versions 2.1.3 and 2.1.2, we can identify some subtle yet essential changes for developers. Both versions share similar development dependencies, including testing frameworks like Jest and Enzyme, along with build tools such as Rollup and TypeScript. The peer dependencies, React and React DOM, remain consistent at version ^16.8.0, ensuring compatibility with a wide range of React projects.
The key differences lie in the distribution details. Version 2.1.3 has a fileCount of 50 and an unpackedSize of 76254, while version 2.1.2 has a fileCount of 45 and an unpackedSize of 70260. This suggests that version 2.1.3 includes more files and has a larger unpacked size, potentially indicating added features, bug fixes, or performance improvements. Developers upgrading should consider this increase in size, although it's unlikely to be a significant factor for most projects. Furthermore, version 2.1.3 was released on 2019-04-04, a day after version 2.1.2 (released on 2019-04-03). This short release cycle likely means that the newer version addresses immediate issues or adds minor enhancements reported in the previous version, making it advisable for developers to upgrade to benefit from the latest improvements and stability fixes. Both versions are MIT licensed and maintained by the same author.
The are not vulnerabilities for the version 2.1.3 of the package react-hook-form