Vigia

minipass を 6.x から 7.x へアップグレード

minipass 6.0.2 と 7.1.3 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート0
変更されたシグネチャ0
削除されたクラス/インターフェースのメンバー1
変更されたクラス/インターフェースのメンバー8
新たに非推奨3
要件の変更(engines、peer 依存関係)0
新しいエクスポート7

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

検出されませんでした。

削除されたクラス/インターフェースのメンバー

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

変更されたクラス/インターフェースのメンバー

member変更前変更後
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

新たに非推奨

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

要件の変更(engines、peer 依存関係)

検出されませんでした。

新しいエクスポート (7)
importexportkind
minipassSDtype
minipassPipeclass
minipassisStreamvariable
minipassisReadablevariable
minipassisWritablevariable
minipassPipeOptionsinterface
minipassPipeProxyErrorsclass

よくある質問

minipass を 6 から 7 にアップグレードする際の破壊的変更は?

minipass 6.0.2 と 7.1.3 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 0 件、削除または変更されたクラス/インターフェースのメンバーを 9 件検出しました。

minipass 7 で非推奨になったものは?

minipass 7.1.3 では 3 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

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