Vigia

Aktualizacja minipass z 6.x do 7.x

Porównanie publicznego API minipass 6.0.2 i 7.1.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 eksporty0
Zmienione sygnatury0
Usunięte składowe klas lub interfejsów1
Zmienione składowe klas lub interfejsów8
Nowo wycofane3
Zmiany wymagań (engines, zależności peer)0
Nowe eksporty7

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

Nie wykryto.

Usunięte składowe klas lub interfejsów

memberimportPrzed
Minipass.onceminipass<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): Minipass<RType, WType, Events>

Zmienione składowe klas lub interfejsów

memberPrzedPo
Minipass.end(cb?: (() => void) | undefined): Minipass<RType, WType, Events> | (chunk: any, cb?: (() => void) | undefined): Minipass<RType, WType, Events> | (chunk: any, encoding?: any, cb?: (() => void) | undefined): Minipass<RType, WType, Events>(cb?: (() => void) | undefined): Minipass<RType, WType, Events> | (chunk: WType, cb?: (() => void) | undefined): Minipass<RType, WType, Events> | (chunk: WType, encoding?: any, cb?: (() => void) | undefined): Minipass<RType, WType, Events>
Minipass.emit<Event extends keyof Events>(ev: Event, ...data: Events[Event]): boolean<Event extends keyof Events>(ev: Event, ...args: Events[Event]): boolean
Minipass.read(size?: number | undefined): RType(n?: number | null | undefined): RType | null
Minipass.concat(): any(): Promise<RType>
Minipass.collect(): Promise<RType[]>(): Promise<RType[] & { dataLength: number; }>
Minipass.destroy(er?: any): void(er?: unknown): Minipass<RType, WType, Events>
Minipass.constructor<RType extends unknown = Buffer, WType extends unknown = any, Events extends Minipass.Events<RType> = Events<RType>>(...args: RType extends Buffer ? [] | [Options<RType>] : [Options<RType>]): Minipass<RType, WType, Events><RType extends unknown = Buffer, WType extends unknown = any, Events extends Minipass.Events<RType> = Events<RType>>(...args: [ObjectModeOptions] | (RType extends Buffer ? [] | [Options<RType>] : [Options<RType>])): Minipass<RType, WType, Events>
Minipass.static isStream(stream: any): stream is any(s: any): s is any

Nowo wycofane

export@deprecated
minipass · Minipass.encoding- This is a read only property
minipass · Minipass.objectMode- This is a read-only property
minipass · Minipass.static isStream—

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

Nie wykryto.

Nowe eksporty (7)
importexportkind
minipassSDtype
minipassPipeclass
minipassisStreamvariable
minipassisReadablevariable
minipassisWritablevariable
minipassPipeOptionsinterface
minipassPipeProxyErrorsclass

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji minipass z 6 do 7?

Między minipass 6.0.2 a 7.1.3 Vigia znalazła 0 usuniętych eksportów, 0 zmienionych sygnatur i 9 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w minipass 7?

3 eksportów lub składowych oznaczono w minipass 7.1.3 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/minipass/upgrade?from=6.0.2&to=7.1.3