Expect v30.0.3 introduces subtle but important refinements over its predecessor, v30.0.2, primarily affecting its internal dependencies and build artifacts. Developers upgrading to v30.0.3 will notice updates to @jest/expect-utils and jest-matcher-utils to version 30.0.3, whereas in v30.0.2 they were on version 30.0.2. Crucially, @jest/expect-utils provides utilities for writing custom matchers in Jest. jest-matcher-utils offers helpful functions for formatting and displaying test results. These updates likely incorporate bug fixes, performance improvements, or potentially new functionalities within these utility packages, indirectly impacting the overall assertion capabilities of expect.
Furthermore, v30.0.3 demonstrates adjustments in its distribution package. The fileCount within the distributed tarball increases from 6 to 7, and the unpackedSize grows from 131303 bytes to 146805 bytes. This suggests the addition of a new file or modification of existing files within the package, potentially related to enhanced documentation, optimized code, or supplementary resources. While the core API of expect might remain largely consistent, developers should be aware that these internal changes could influence the under-the-hood behavior of matchers and error reporting. The newer version was released approximately six days after v30.0.2, indicating a quick turnaround, and potentially addressing any immediate issues found in the earlier release. This implies improved stability and reliability as it gets improvements in the underlying utilities.
The are not vulnerabilities for the version 30.0.3 of the package expect