Vigia

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 paths0
Removed exports1
Changed signatures4
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports6

Removed exports

importexportkindBefore
jest-utiltestPathPatternToRegExpfunction(testPathPattern: Config.GlobalConfig): RegExp

Changed signatures

exportBeforeAfter
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)

BeforeAfter
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)
importexportkind
jest-utilisErrorvariable
jest-utilDeletionModetype
jest-utildeletePropertiesfunction
jest-utilprotectPropertiesfunction
jest-utilcanDeletePropertiesfunction
jest-utilinitializeGarbageCollectionUtilsfunction

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