Perbandingan API publik ts-api-utils 1.4.3 dan 2.5.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
Jalur impor yang dihapus
0
Ekspor yang dihapus
6
Tanda tangan yang berubah
3
Anggota kelas atau antarmuka yang dihapus
0
Anggota kelas atau antarmuka yang berubah
0
Baru ditandai usang
4
Perubahan persyaratan (engines, dependensi peer)
2
Ekspor baru
6
Ekspor yang dihapus
import
export
kind
Sebelum
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.
Perubahan persyaratan (engines, dependensi peer)
Sebelum
Sesudah
engines.node
>=16
>=18.12
peerDependencies.typescript
>=4.2.0
>=4.8.4
Ekspor baru (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
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui ts-api-utils dari 1 ke 2?
Antara ts-api-utils 1.4.3 dan 2.5.0, Vigia menemukan 6 ekspor yang dihapus, 3 tanda tangan yang berubah, dan 0 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di ts-api-utils 2?
4 ekspor atau anggota baru ditandai usang di ts-api-utils 2.5.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/ts-api-utils/upgrade?from=1.4.3&to=2.5.0