@testing-library/react version 9.1.3 is a minor patch update over version 9.1.2, focusing on internal improvements and potential bug fixes rather than introducing new features. Both versions provide simple and complete React DOM testing utilities designed to promote good testing practices, encouraging developers to write tests that resemble how users interact with their applications.
The core functionalities remain consistent between the versions, relying on dependencies like @testing-library/dom for DOM manipulation and assertions, and @types/testing-library__react for TypeScript support. Development dependencies, including React, React DOM, kcd-scripts, @reach/router, and @testing-library/jest-dom, are also unchanged. This suggests that the update is unlikely to cause breaking changes or require modifications to existing test suites.
The key difference lies in the dist object, specifically the unpackedSize. Version 9.1.3 has a slightly larger unpacked size (1688111 bytes) compared to 9.1.2 (1687770 bytes). While the difference is small, it indicates internal adjustments, potentially bug fixes or minor performance tweaks. The release date also highlights that 9.1.3 was released a day after 9.1.2. Developers should update to the latest patch (9.1.3) to benefit from any internal improvements, reliability enhancements, and bug resolutions addressed since the previous version. Both versions maintain the MIT license and depend on consistent peer dependencies of react and react-dom.
The are not vulnerabilities for the version 9.1.3 of the package @testing-library/react