Porównanie publicznego API ts-api-utils 1.4.3 i 2.5.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
Usunięte ścieżki importu
0
Usunięte eksporty
6
Zmienione sygnatury
3
Usunięte składowe klas lub interfejsów
0
Zmienione składowe klas lub interfejsów
0
Nowo wycofane
4
Zmiany wymagań (engines, zależności peer)
2
Nowe eksporty
6
Usunięte eksporty
import
export
kind
Przed
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
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.
Zmiany wymagań (engines, zależności peer)
Przed
Po
engines.node
>=16
>=18.12
peerDependencies.typescript
>=4.2.0
>=4.8.4
Nowe eksporty (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
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji ts-api-utils z 1 do 2?
Między ts-api-utils 1.4.3 a 2.5.0 Vigia znalazła 6 usuniętych eksportów, 3 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w ts-api-utils 2?
4 eksportów lub składowych oznaczono w ts-api-utils 2.5.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/ts-api-utils/upgrade?from=1.4.3&to=2.5.0