Version 30.0.0 of @types/jest represents a significant update to the TypeScript definitions for the Jest testing framework compared to the previous stable version, 29.5.14. This new release includes updated type definitions that align with Jest version 30.0.0, as indicated by its dependency on expect and pretty-format at version ^30.0.0. Developers upgrading should be aware of potential breaking changes in Jest's core functionality necessitating adjustments to their test suites.
The jump to version 30.0.0 suggests substantial changes within Jest itself, and consequently, within its TypeScript definitions. While the file count (5) remains the same between versions, the unpacked size has slightly decreased to 76018 bytes from 78772 bytes, which could indicate optimizations in type definitions.
The most crucial difference is the shift in dependency versions, signaling compatibility adjustments and potential new features or API alterations exposed through the type definitions. Developers relying on specific Jest functionalities should thoroughly review the Jest 30.0.0 release notes and adapt their TypeScript code accordingly to leverage the updated @types/jest package effectively. Notably, the release date of v30.0.0 is in the future (2025-06-16), implying this is a planned or pre-release version, making careful evaluation essential before adoption. The jump in major version indicates potentially breaking changes, so testing migrations would be wise.
The are not vulnerabilities for the version 30.0.0 of the package @types/jest