jest-resolve breaking changes
Updated December 4, 2026
On this page
Latest version 30.5.1, released September 1, 2026. Source repository
Its 30.0.0 release drops Node.js 14, 16, 19, 21 and 23. Node.js end of life dates.
- From 29.7.0 to 30.5.1: 36 breaking changes in 9 versions.
- From 28.0.0 to 30.5.1: 47 breaking changes in 14 versions.
jest-resolve 30.5.1 breaking changes
- Configuration changed
coverageReporters
The coverageReporters option in a project config was silently ignored and now prints a warning like other global-only options. Move it to the global config. github.com - Configuration changed
coverageThreshold
The coverageThreshold option in a project config was silently dropped and now prints a warning. Move it to the global config. github.com - Configuration changed
cwd
The cwd option in a project config was silently ignored and now prints a warning like other global-only options. Move it to the global config. github.com - Configuration changed
maxWorkers
The maxWorkers option in a project config was silently dropped and now prints a warning. Move it to the global config. github.com - Configuration changed
reporters
The reporters option in a project config was silently ignored and now prints a warning like other global-only options. Move it to the global config. github.com - Configuration changed
runnerOptions
The runnerOptions option in a project config was silently ignored and now prints a warning like other global-only options. Move it to the global config. github.com - Configuration changed
workerIdleMemoryLimit
The workerIdleMemoryLimit option in a project config was silently ignored and now prints a warning like other global-only options. Move it to the global config. github.com
jest-resolve 30.5.0 breaking changes
- Behavior changed
When --preserve-symlinks or NODE_PRESERVE_SYMLINKS is set, the default resolver now keeps symlinked paths instead of resolving them to real paths. Code relying on resolved real paths may see different module IDs. github.com - Behavior changed
moduleNameMapper
moduleNameMapper rules now match both fs and node:fs style core module specifiers consistently. Mappings that only matched one spelling may now apply to the other. github.com
jest-resolve 30.4.0 breaking changes
- Signature changed
FindNodeModuleConfig
Was type FindNodeModuleConfig = {basedir: string; conditions?: Array<string>; extensions?: Array<string>; moduleDirectory?: Array<string>; paths?: Array<string>; resolver?: string | null; rootDir?: string; throwIfNotFound?: boolean;}; now... npmjs.com - Signature changed
FindNodeModuleConfig.conditions
Was conditions?: Array<string>; now conditions?: ReadonlyArray<string>. npmjs.com - Signature changed
FindNodeModuleConfig.extensions
Was extensions?: Array<string>; now extensions?: ReadonlyArray<string>. npmjs.com - Signature changed
FindNodeModuleConfig.moduleDirectory
Was moduleDirectory?: Array<string>; now moduleDirectory?: ReadonlyArray<string>. npmjs.com - Signature changed
FindNodeModuleConfig.paths
Was paths?: Array<string>; now paths?: ReadonlyArray<string>. npmjs.com - Signature changed
ResolveModuleConfig
Was type ResolveModuleConfig = {conditions?: Array<string>; skipNodeResolution?: boolean; paths?: Array<string>;}; now type ResolveModuleConfig = {conditions?: ReadonlyArray<string>; skipNodeResolution?: boolean; paths?... npmjs.com - Signature changed
ResolveModuleConfig.conditions
Was conditions?: Array<string>; now conditions?: ReadonlyArray<string>. npmjs.com - Signature changed
ResolveModuleConfig.paths
Was paths?: Array<string>; now paths?: ReadonlyArray<string>. npmjs.com - Signature changed
ResolverOptions
Was interface ResolverOptions extends NapiResolveOptions; now interface ResolverOptions extends Omit<NapiResolveOptions, 'extensions'>. npmjs.com - Signature changed
ResolverOptions.conditions
Was conditions?: Array<string>; now conditions?: ReadonlyArray<string>. npmjs.com
And 2 more in this version. Sign up to see every change
jest-resolve 30.3.0 breaking changes
- Behavior changed
jest.mock
The V30 migration guide was updated to note that jest.mock() works with case-sensitive paths; code relying on case-insensitive mock paths may need adjusting. github.com
jest-resolve 30.0.1 breaking changes
- Signature changed
ResolverOptions.defaultResolver
Was defaultResolver: typeof defaultResolver; now defaultResolver: SyncResolver. npmjs.com
jest-resolve 30.0.0 breaking changes
- Removed
Jest 30 no longer supports these Node.js versions, so projects on them must upgrade Node.js before using jest-resolve from this release. github.com - Removed
PackageFilter
PackageFilter was removed in jest-resolve 30.0.0 npmjs.com - Removed
PathFilter
PathFilter was removed in jest-resolve 30.0.0 npmjs.com - Signature changed
default.getMockModule
Was getMockModule(from: string, name: string): string | null; now getMockModule(from: string, name: string, options?: Pick<ResolveModuleConfig, 'conditions'>): string | null. npmjs.com - Signature changed
default.getMockModuleAsync
Was getMockModuleAsync(from: string, name: string): Promise<string | null>; now getMockModuleAsync(from: string, name: string, options: Pick<ResolveModuleConfig, 'conditions'>): Promise<string | null>. npmjs.com - Signature changed
default.getModuleID
Was getModuleID(virtualMocks: Map<string, boolean>, from: string, moduleName?: string, options?: ResolveModuleConfig): string; now getModuleID(virtualMocks: Map<string, boolean>, from: string, moduleName: string | undefined, options... npmjs.com - Signature changed
default.getModuleIDAsync
Was getModuleIDAsync(virtualMocks: Map<string, boolean>, from: string, moduleName?: string, options?: ResolveModuleConfig): Promise<string>; now getModuleIDAsync(virtualMocks: Map<string, boolean>, from: string, moduleName: string |... npmjs.com - Signature changed
default.resolveStubModuleName
Was resolveStubModuleName(from: string, moduleName: string): string | null; now resolveStubModuleName(from: string, moduleName: string, options?: Pick<ResolveModuleConfig, 'conditions'>): string | null. npmjs.com - Signature changed
default.resolveStubModuleNameAsync
Was resolveStubModuleNameAsync(from: string, moduleName: string): Promise<string | null>; now resolveStubModuleNameAsync(from: string, moduleName: string, options?: Pick<ResolveModuleConfig, 'conditions'>): Promise<string | null>. npmjs.com - Signature changed
ResolverOptions
Was type ResolverOptions = {basedir: string; conditions?: Array<string>; defaultResolver: typeof defaultResolver; extensions?: Array<string>; moduleDirectory?: Array<string>; paths?: Array<string>; packageFilter?: PackageFilter... npmjs.com
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
jest-resolve 30.0.0-beta.3 breaking changes
- Removed
This release no longer supports Node.js 16. Upgrade Node.js before using this version. github.com
jest-resolve 30.0.0-alpha.6 breaking changes
- Removed
This release no longer supports Node.js 14, 19 and 21. Upgrade Node.js before using this version. github.com
jest-resolve 30.0.0-alpha.1 breaking changes
- Removed
This release no longer supports Node.js 14 and 19. Upgrade Node.js before using this version. github.com
jest-resolve 29.7.0 breaking changes
- Behavior changed
moduleNameMapper
Capture groups in moduleNameMapper that do not match now expand to an empty string rather than undefined. Code that checks for undefined in mapped module names must be updated. github.com
jest-resolve 29.4.0 breaking changes
- Behavior changed
jest-runtime
Importing JSON in ESM now enforces import assertions, so JSON imports without them will fail. github.com - Behavior changed
require.resolve.paths
require.resolve.paths now includes global paths; code relying on the previous result list may see different entries. github.com
jest-resolve 29.2.0 breaking changes
- Signature changed
resolveTestEnvironment
Was const resolveTestEnvironment: ({rootDir, testEnvironment, requireResolveFunction}: {rootDir: string; testEnvironment: string; requireResolveFunction: (moduleName: string) => string;}) => string; now const resolveTestEnvironment... npmjs.com
jest-resolve 29.0.2 breaking changes
- Signature changed
resolveTestEnvironment
Was const resolveTestEnvironment: ({rootDir, testEnvironment: filePath, requireResolveFunction}: {rootDir: string; testEnvironment: string; requireResolveFunction: (moduleName: string) => string;}) => string; now const... npmjs.com
jest-resolve 29.0.0 breaking changes
- Removed
Jest 29 no longer supports Node v12 and v17. github.com - Removed
collectCoverageOnlyFrom
The collectCoverageOnlyFrom config option was removed. Configs that set it will no longer have that effect. github.com
And 4 more in this version.
jest-resolve 28.0.0 breaking changes
- Removed
The package no longer supports Node v10 and v15; the minimum supported version is now the first LTS 16.13.0. github.com - Removed
browser
The browser boolean is gone from resolver options. Pass conditions: ['browser'] instead. github.com
And 17 more in this version.
jest-resolve 28.0.0-alpha.0 breaking changes
- Removed
Node v10 and v15 are no longer supported. Use Node 16.13.0 or later. github.com - Behavior changed
Module resolution now follows package.json exports, which can change which files are found for some imports. Check imports of packages that define exports. github.com
And 1 more in this version.
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.