jest-environment-jsdom breaking changes
jest-environment-jsdom 30.5.0 (August 28, 2026) is its newest release with breaking changes, 3 of them. The first: require() of an ES module mid-load now throws ERR_REQUIRE_CYCLE_MODULE in jest-environment-jsdom 30.5.0. Every breaking API change we have recorded in jest-environment-jsdom on npm: 40 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 30.5.2, released September 18, 2026. Source repository
Its 30.0.0 release drops Node.js 14, 16, 19, 21 and 23. Node.js end of life dates.
jest-environment-jsdom 30.5.0 breaking changes
- Behavior changed
A CommonJS require() of an ES module still being loaded now throws instead of evaluating it a second time. github.com - Behavior changed
module.register
Calls to module.register() or module.registerHooks() inside a test now throw an error instead of silently attaching hooks to the wrong loader. github.com - Behavior changed
moduleFileExtensions
Files such as foo.mjs are no longer picked up when moduleFileExtensions is ['js']. github.com
jest-environment-jsdom 30.0.0 breaking changes
- Removed
Jest 30 requires Node.js 18.x or later, so upgrade Node before upgrading Jest. jestjs.io - Removed
Jest bundles internal modules, so deep imports like jest-runner/build/testWorker no longer resolve; use public APIs. jestjs.io - Removed
Jest 30 no longer supports these Node.js versions. Upgrade Node.js before using this package. github.com - Removed
Update TypeScript to 5.4 or later if you use Jest type definitions. jestjs.io - Removed
--init
Create a config with npm init jest@latest, yarn create jest or pnpm create jest instead. jestjs.io - Removed
--testPathPattern
Use --testPathPatterns, which accepts multiple patterns. jestjs.io - Removed
jest.genMockFromModule
Switch to jest.createMockFromModule, which behaves the same. jestjs.io - Removed
jest.SpyInstance
Use jest.Spied for types of jest.spyOn results. jestjs.io - Removed
lastCalledWith
Use the primary matcher name instead. jestjs.io - Removed
lastReturnedWith
Use the primary matcher name instead. jestjs.io
And 24 more in this version. Sign up to see every change
jest-environment-jsdom 30.0.0-beta.3 breaking changes
- Behavior changed
Jest no longer supports Node.js version 16; upgrade Node.js before using this version. github.com
jest-environment-jsdom 30.0.0-alpha.1 breaking changes
- Behavior changed
Jest no longer supports Node.js versions 14 and 19; upgrade Node.js before using this version. github.com - Behavior changed
The jsdom environment now runs on JSDOM v22, so tests relying on older jsdom behavior may need updating. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.