jest-util을(를) 29.x에서 30.x로 업그레이드하기
jest-util 29.7.0과 30.5.1의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 1 |
| 변경된 시그니처 | 4 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 0 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 1 |
| 새 export | 6 |
삭제된 export
| import | export | kind | 이전 |
|---|---|---|---|
jest-util | testPathPatternToRegExp | function | (testPathPattern: Config.GlobalConfig): RegExp |
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
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 |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
감지되지 않았습니다.
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
engines.node | ^14.15.0 || ^16.10.0 || >=18.0.0 | ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0 |
새 export (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 |
자주 묻는 질문
jest-util을(를) 29에서 30(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
jest-util 29.7.0과 30.5.1 사이에서 Vigia는 삭제된 export 1개, 변경된 시그니처 4개, 삭제되거나 변경된 클래스·인터페이스 멤버 0개를 찾았습니다.
jest-util 30에서 지원 중단된 것은 무엇인가요?
jest-util 30.5.1에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/jest-util/upgrade?from=29.7.0&to=30.5.1