ts-api-utils을(를) 1.x에서 2.x로 업그레이드하기
ts-api-utils 1.4.3과 2.5.0의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 6 |
| 변경된 시그니처 | 3 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 0 |
| 새로 지원 중단됨 | 4 |
| 요구 사항 변경 (engines, peer 의존성) | 2 |
| 새 export | 6 |
삭제된 export
| import | export | kind | 이전 |
|---|---|---|---|
ts-api-utils | isInputFiles | function | (node: ts.Node): node is ts.InputFiles |
ts-api-utils | isUnparsedPrologue | function | (node: ts.Node): node is ts.UnparsedPrologue |
ts-api-utils | isUnknownLiteralType | function | (type: ts.Type): type is UnknownLiteralType |
ts-api-utils | isUnparsedSourceText | function | (node: ts.Node): node is ts.UnparsedSourceText |
ts-api-utils | isUnparsedSyntheticReference | function | (node: ts.Node): node is ts.UnparsedSyntheticReference |
ts-api-utils | isTransientSymbolLinksFlagSet | function | (links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean |
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
ts-api-utils · typeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
ts-api-utils · unionTypeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
ts-api-utils · intersectionTypeParts | (type: ts.Type): ts.Type[] | (type: ts.Type): ts.Type[] |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
감지되지 않았습니다.
새로 지원 중단됨
| export | @deprecated |
|---|---|
ts-api-utils · typeParts | Use {@link typeConstituents} instead. |
ts-api-utils · unionTypeParts | Use {@link unionConstituents} instead. |
ts-api-utils · intersectionTypeParts | Use {@link intersectionConstituents} instead. |
ts-api-utils · symbolHasReadonlyDeclaration | This is not used by any consumers known by ts-api-utils, and so the public export will be removed in a future major version. |
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
engines.node | >=16 | >=18.12 |
peerDependencies.typescript | >=4.2.0 | >=4.8.4 |
새 export (6)
| import | export | kind |
|---|---|---|
ts-api-utils | Comment | type |
ts-api-utils | iterateTokens | function |
ts-api-utils | iterateComments | function |
ts-api-utils | typeConstituents | function |
ts-api-utils | unionConstituents | function |
ts-api-utils | intersectionConstituents | function |
자주 묻는 질문
ts-api-utils을(를) 1에서 2(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
ts-api-utils 1.4.3과 2.5.0 사이에서 Vigia는 삭제된 export 6개, 변경된 시그니처 3개, 삭제되거나 변경된 클래스·인터페이스 멤버 0개를 찾았습니다.
ts-api-utils 2에서 지원 중단된 것은 무엇인가요?
ts-api-utils 2.5.0에서 export 또는 멤버 4개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/ts-api-utils/upgrade?from=1.4.3&to=2.5.0