React Hook Form, a library designed to simplify form management in React applications, saw a minor update from version 3.18.7 to 3.18.8 on July 19, 2019. While seemingly small, these incremental updates often contain valuable refinements. Both versions share identical core features: requiring React and React DOM versions greater than or equal to 16.8.0 as peer dependencies, ensuring compatibility with modern React projects.
The developer dependencies remained constant between the releases, which included tools like Jest for testing, ESLint for code linting, and TypeScript for static typing. This consistency ensures a stable development environment for contributors.
The key change between versions 3.18.7 and 3.18.8 lies within the distribution package. The "unpackedSize" attribute within the dist object shows a slight decrease, dropping from 85610 to 85570. This indicates a minor optimization in the package size. Perhaps by removing unnecessary code or optimizing existing code, leading to a slightly smaller footprint. Additionally, version 3.18.8 was released approximately 45 minutes later than 3.18.7, suggesting the possible hotfix was performed, which might be of interest when determining version to use.
The are not vulnerabilities for the version 3.18.8 of the package react-hook-form