Vigia

Aktualizacja estree-walker z 2.x do 3.x

Porównanie publicznego API estree-walker 2.0.2 i 3.0.3, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty1
Zmienione sygnatury4
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów0
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)0
Nowe eksporty1

Usunięte eksporty

importexportkindPrzed
estree-walkerBaseNodetypeany

Zmienione sygnatury

exportPrzedPo
estree-walker · walk(ast: any, { enter, leave }: { enter?: ((this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => void) | undefined; leave?: ((this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => void) | undefined; }): any(ast: any, { enter, leave }: { enter?: SyncHandler | undefined; leave?: SyncHandler | undefined; }): any
estree-walker · asyncWalk(ast: any, { enter, leave }: { enter?: ((this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => Promise<void>) | undefined; leave?: ((this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => Promise<void>) | undefined; }): Promise<any>(ast: any, { enter, leave }: { enter?: AsyncHandler | undefined; leave?: AsyncHandler | undefined; }): Promise<any>
estree-walker · SyncHandler(this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => void(this: WalkerContext, node: any, parent: any, key: string | number | symbol | null | undefined, index: number | null | undefined) => void
estree-walker · AsyncHandler(this: { skip: () => void; remove: () => void; replace: (node: any) => void; }, node: any, parent: any, key: string, index: number) => Promise<void>(this: WalkerContext, node: any, parent: any, key: string | number | symbol | null | undefined, index: number | null | undefined) => Promise<void>

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

Nie wykryto.

Zmiany wymagań (engines, zależności peer)

Nie wykryto.

Nowe eksporty (1)
importexportkind
estree-walkerNodetype

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji estree-walker z 2 do 3?

Między estree-walker 2.0.2 a 3.0.3 Vigia znalazła 1 usuniętych eksportów, 4 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w estree-walker 3?

0 eksportów lub składowych oznaczono w estree-walker 3.0.3 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/estree-walker/upgrade?from=2.0.2&to=3.0.3