Upgrading jest-util from 29.x to 30.x
Comparison of the public API of jest-util 29.7.0 and 30.5.1, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 1 |
| Changed signatures | 4 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 6 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
jest-util | testPathPatternToRegExp | function | (testPathPattern: Config.GlobalConfig): RegExp |
Changed signatures
| export | Before | After |
|---|---|---|
jest-util · clearLine | (stream: NodeJS.WriteStream): void | (stream: WriteStream): void |
jest-util · setGlobal | (globalToMutate: any, key: string, value: unknown): void | (globalToMutate: any, key: string | symbol, value: unknown, afterTeardown?: "clean" | "retain" | undefined): void |
jest-util · globsToMatcher | (globs: string[]): Matcher | (globs: string[], picomatchOptions?: any): Matcher |
jest-util · installCommonGlobals | (globalObject: typeof globalThis, globals: Config.ConfigGlobals): any | (globalObject: typeof globalThis, globals: Config.ConfigGlobals, garbageCollectionDeletionMode?: DeletionMode | undefined): any |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | ^14.15.0 || ^16.10.0 || >=18.0.0 | ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0 |
New exports (6)
| import | export | kind |
|---|---|---|
jest-util | isError | variable |
jest-util | DeletionMode | type |
jest-util | deleteProperties | function |
jest-util | protectProperties | function |
jest-util | canDeleteProperties | function |
jest-util | initializeGarbageCollectionUtils | function |
Frequently asked questions
What are the breaking changes when upgrading jest-util from 29 to 30?
Between jest-util 29.7.0 and 30.5.1, Vigia found 1 removed exports, 4 changed signatures and 0 removed or changed class or interface members.
What became deprecated in jest-util 30?
0 exports or members are newly marked as deprecated in jest-util 30.5.1.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/jest-util/upgrade?from=29.7.0&to=30.5.1