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