ts-api-utils upgraden van 1.x naar 2.x
Vergelijking van de publieke API van ts-api-utils 1.4.3 en 2.5.0, automatisch berekend uit hun TypeScript-types. Een gewijzigde signatuur is een mogelijke brekende wijziging, geen zekerheid.
Samenvatting
| Verwijderde importpaden | 0 |
|---|---|
| Verwijderde exports | 6 |
| Gewijzigde signaturen | 3 |
| Verwijderde leden van klassen of interfaces | 0 |
| Gewijzigde leden van klassen of interfaces | 0 |
| Nieuw als verouderd gemarkeerd | 4 |
| Gewijzigde vereisten (engines, peer-afhankelijkheden) | 2 |
| Nieuwe exports | 6 |
Verwijderde exports
| import | export | kind | Voor |
|---|---|---|---|
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 |
Gewijzigde signaturen
| export | Voor | Na |
|---|---|---|
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[] |
Verwijderde leden van klassen of interfaces
Niets gevonden.
Gewijzigde leden van klassen of interfaces
Niets gevonden.
Nieuw als verouderd gemarkeerd
| 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. |
Gewijzigde vereisten (engines, peer-afhankelijkheden)
| Voor | Na | |
|---|---|---|
engines.node | >=16 | >=18.12 |
peerDependencies.typescript | >=4.2.0 | >=4.8.4 |
Nieuwe exports (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 |
Geef je AI-agent deze feiten
Vigia is een gratis MCP-server: je coding-agent controleert versies, breaking changes en kwetsbaarheden voordat hij code schrijft. Geen account, geen API-sleutel.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Toevoegen aan CursorToevoegen aan VS Code★ Ster op GitHub
Elke andere MCP-client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent-skill (SKILL.md): vertelt de agent wanneer hij Vigia moet gebruiken · GitHub Action voor pull requests
Veelgestelde vragen
Wat zijn de brekende wijzigingen bij het upgraden van ts-api-utils van 1 naar 2?
Tussen ts-api-utils 1.4.3 en 2.5.0 vond Vigia 6 verwijderde exports, 3 gewijzigde signaturen en 0 verwijderde of gewijzigde leden van klassen of interfaces.
Wat is verouderd in ts-api-utils 2?
4 exports of leden zijn in ts-api-utils 2.5.0 nieuw als verouderd gemarkeerd.
Voor agents
GET https://vigia.coredls.cloud/v1/packages/npm/ts-api-utils/upgrade?from=1.4.3&to=2.5.0