Jest environment jsdom, a crucial package for running Jest tests in a simulated browser environment, has released version 30.0.5, building upon the previous stable version 30.0.4. Both versions share a common foundation, relying on dependencies like jsdom for DOM emulation, @types/node and @types/jsdom for TypeScript support, and @jest/environment and @jest/environment-jsdom-abstract for the core Jest environment functionality. They also include @jest/test-utils as a dev dependency and declare canvas as a peer dependency, indicating compatibility requirements for projects utilizing canvas-based functionalities. The file count (6) and unpacked size (5445) for both versions are identical.
The primary distinction lies in their release dates and potentially internal bug fixes or minor enhancements. Version 30.0.5 was released on "2025-07-22", approximately three weeks after version 30.0.4, released on "2025-07-02". While the core dependencies remain the same, developers should upgrade to 30.0.5 to benefit from the latest bug fixes, performance improvements, or subtle refinements that may not be explicitly documented but improve overall stability and compatibility. Developers integrating jest-environment-jsdom should always prioritize using the most recent stable version to ensure a smoother testing experience and avoid potential issues addressed in newer releases. The change in internal dependencies @jest/environment and @jest/environment-jsdom-abstract from 30.0.4 to 30.0.5 may also contain relevant fixes.
The are not vulnerabilities for the version 30.0.5 of the package jest-environment-jsdom