Jest Environment JSDOM has a new version, 30.0.2, released on June 19, 2025, following closely after version 30.0.1, released on June 18, 2025. Both versions are designed to provide a simulated browser environment for Jest tests, leveraging JSDOM to mimic browser behavior within Node.js. A key feature for developers is the continued peer dependency on "canvas" (version ^3.0.0), enabling tests involving canvas elements to run effectively. Both depend on jsdom version "^26.1.0" to get support for simulating a web browser in your tests and they include type definition dependencies that ensure good integration with Typescript projects.
Examining the package data, the core dependencies remain consistent. This suggests that the update from 30.0.1 to 30.0.2 may contain minor bug fixes, performance improvements or internal changes rather than significant feature additions. Developers upgrading should likely experience a smooth transition if upgrading through standard npm package manager commands, with little to no impact on existing test suites.
The consistent file count (5) and unpacked size (5032 bytes) further corroborate the likelihood of a minimal update. Keep an eye on the Jest changelog for precise details on the changes implemented in version 30.0.2. Consider using this package if you want to test Javascript code that relies on browser features without needing a real browser.
The are not vulnerabilities for the version 30.0.2 of the package jest-environment-jsdom