Vigia

react-native-blob-util upgraden van 0.x naar 1.x

Vergelijking van de publieke API van react-native-blob-util 0.25.3 en 1.1.0, automatisch berekend uit hun TypeScript-types. Een gewijzigde signatuur is een mogelijke brekende wijziging, geen zekerheid.

Samenvatting

Verwijderde importpaden0
Verwijderde exports15
Gewijzigde signaturen6
Verwijderde leden van klassen of interfaces5
Gewijzigde leden van klassen of interfaces46
Nieuw als verouderd gemarkeerd24
Gewijzigde vereisten (engines, peer-afhankelijkheden)1
Nieuwe exports33

Verwijderde exports

importexportkindVoor
react-native-blob-utilNetinterfaceinterface
react-native-blob-utilPolyfillinterfaceinterface
react-native-blob-utilPolyfillBlobclassclass
react-native-blob-utilPolyfillFileclassclass
react-native-blob-utilPolyfillEventclassclass
react-native-blob-utilPolyfillFetchclassclass
react-native-blob-utilRNFetchBlobDfIOSinterfaceinterface
react-native-blob-utilPolyfillFileReaderinterfaceinterface
react-native-blob-utilRNFetchBlobDfAndroidinterfaceinterface
react-native-blob-utilPolyfillProgressEventinterfaceinterface
react-native-blob-utilPolyfillXMLHttpRequestinterfaceinterface
react-native-blob-utilReactNativeBlobUtilFileclassclass
react-native-blob-utilReactNativeBlobUtilFetchPolyfillclassclass
react-native-blob-utilReactNativeBlobUtilFetchRepsonseinterfaceinterface
react-native-blob-utilPolyfillXMLHttpRequestEventTargetinterfaceinterface

Gewijzigde signaturen

exportVoorNa
react-native-blob-util · RNFetchBlobDfRNFetchBlobDfIOS & RNFetchBlobDfAndroidReactNativeBlobUtilDf
react-native-blob-util · FetchBlobResponseinterfaceclass
react-native-blob-util · ReactNativeBlobUtilStatclassinterface
react-native-blob-util · ReactNativeBlobUtilStreaminterfaceReactNativeBlobUtilReadStream
react-native-blob-util · ReactNativeBlobUtilReadStreaminterfaceclass
react-native-blob-util · ReactNativeBlobUtilWriteStreaminterfaceclass

Verwijderde leden van klassen of interfaces

memberimportVoor
StatefulPromise.expirereact-native-blob-util(callback: () => void): StatefulPromise<void>
FetchBlobResponse.blobreact-native-blob-util(contentType: string, sliceSize: number): Promise<PolyfillBlob>
ReactNativeBlobUtilConfig.Progressreact-native-blob-util{ count?: number | undefined; interval?: number | undefined; } | undefined
ReactNativeBlobUtilConfig.indicatorreact-native-blob-utilboolean | undefined
ReactNativeBlobUtilConfig.UploadProgressreact-native-blob-util{ count?: number | undefined; interval?: number | undefined; } | undefined

Gewijzigde leden van klassen of interfaces

memberVoorNa
FS.cp(path: string, dest: string): Promise<boolean>(path: string, dest: string): Promise<void>
FS.df(): Promise<RNFetchBlobDf>(): Promise<ReactNativeBlobUtilDf>
FS.ls(path: string): Promise<string[]>(path: string, options?: { stats?: false | undefined; } | undefined): Promise<string[]> | (path: string, options: { stats: true; }): Promise<ReactNativeBlobUtilStat[]>
FS.mv(path: string, dest: string): Promise<boolean>(path: string, dest: string): Promise<void>
FS.slice(src: string, dest: string, start: number, end: number): Promise<string>(src: string, dest: string, start?: number | undefined, end?: number | undefined): Promise<void>
FS.readFile(path: string, encoding: Encoding, bufferSize?: number | undefined): Promise<any>(path: string, encoding: "ascii"): Promise<number[]> | (path: string, encoding?: "base64" | "utf8" | undefined): Promise<string> | (path: string, encoding: "ascii", options: { transform?: boolean | undefined; }): Promise<number[]> | (path: string, encoding: "base64" | "utf8" | undefined, options: { …
FS.scanFile(pairs: { [key: string]: string; }[]): Promise<void>(files: { path: string; mime?: string | undefined; }[]): Promise<void>
FS.writeFile(path: string, data: string | number[], encoding?: Encoding | undefined): Promise<void>(path: string, data: string, encoding?: "base64" | "utf8" | "uri" | undefined): Promise<number> | (path: string, data: number[], encoding: "ascii"): Promise<number> | (path: string, data: string, encoding: "base64" | "utf8" | "uri" | undefined, options: { transform?: boolean | undefined; }): Promise…
FS.appendFile(path: string, data: string | number[], encoding?: Encoding | "uri" | undefined): Promise<number>(path: string, data: string, encoding?: "base64" | "utf8" | "uri" | undefined): Promise<number> | (path: string, data: number[], encoding: "ascii"): Promise<number> | (path: string, data: string | number[], encoding?: WriteEncoding | undefined): Promise<number> | (path: string, data: string | number…
FS.createFile(path: string, data: string, encoding: Encoding): Promise<void>(path: string, data: string, encoding?: "base64" | "utf8" | "uri" | undefined): Promise<void> | (path: string, data: number[], encoding: "ascii"): Promise<void> | (path: string, data: string | number[], options: { encoding?: WriteEncoding | undefined; }): Promise<void>
FS.readStream(path: string, encoding: Encoding, bufferSize?: number | undefined, tick?: number | undefined): Promise<ReactNativeBlobUtilReadStream>(path: string, encoding?: Encoding | undefined, bufferSize?: number | undefined, tick?: number | undefined): Promise<ReactNativeBlobUtilReadStream> | (path: string, options: { encoding?: Encoding | undefined; bufferSize?: number | undefined; tick?: number | undefined; }): Promise<ReactNativeBlobUtil…
FS.writeStream(path: string, encoding: Encoding, append?: boolean | undefined): Promise<ReactNativeBlobUtilWriteStream>(path: string, encoding?: Encoding | undefined, append?: boolean | undefined): Promise<ReactNativeBlobUtilWriteStream> | (path: string, options: { encoding?: Encoding | undefined; append?: boolean | undefined; }): Promise<ReactNativeBlobUtilWriteStream>
FS.readFileWithTransform(path: string, encoding: Encoding, bufferSize?: number | undefined): Promise<any>(path: string, encoding: "ascii"): Promise<number[]> | (path: string, encoding?: "base64" | "utf8" | undefined): Promise<string>
FS.writeFileWithTransform(path: string, data: string | number[], encoding?: Encoding | undefined): Promise<void>(path: string, data: string, encoding?: "base64" | "utf8" | "uri" | undefined): Promise<number>
FS.ReactNativeBlobUtilSessionReactNativeBlobUtilSessiontypeof ReactNativeBlobUtilSession
IOSApi.presentPreview(path: string, scheme?: string | undefined): void(path: string, scheme?: string | undefined): Promise<void>
IOSApi.previewDocument(path: string, scheme?: string | undefined): void(path: string, scheme?: string | undefined): Promise<void>
IOSApi.presentOpenInMenu(path: string, scheme?: string | undefined): void(path: string, scheme?: string | undefined): Promise<void>
IOSApi.presentOptionsMenu(path: string, scheme?: string | undefined): void(path: string, scheme?: string | undefined): Promise<void>
AndroidApi.actionViewIntent(path: string, mime: string, chooserTitle?: string | undefined): Promise<boolean | null>(path: string, mime: string, chooserTitle?: string | undefined): Promise<void>
AndroidApi.getContentIntent(mime: string): Promise<any>(mime: string): Promise<string | null>
MediaCollection.getBlob(contenturi: string, encoding: string): Promise<string>(contenturi: string, encoding: "ascii"): Promise<number[]> | (contenturi: string, encoding: "base64" | "utf8"): Promise<string>
StatefulPromise.cancel(cb?: ((reason: any) => void) | undefined): StatefulPromise<FetchBlobResponse>(callback?: ((reason?: any) => void) | undefined): Promise<void>
StatefulPromise.progress(callback: (received: number, total: number) => void): StatefulPromise<FetchBlobResponse> | (config: { count?: number | undefined; interval?: number | undefined; }, callback: (received: number, total: number) => void): StatefulPromise<FetchBlobResponse>(callback: ProgressHandler): StatefulPromise<T> | (config: ProgressConfig, callback: ProgressHandler): StatefulPromise<T>
StatefulPromise.uploadProgress(callback: (sent: number, total: number) => void): StatefulPromise<FetchBlobResponse> | (config: { count?: number | undefined; interval?: number | undefined; }, callback: (sent: number, total: number) => void): StatefulPromise<FetchBlobResponse>(callback: UploadProgressHandler): StatefulPromise<T> | (config: ProgressConfig, callback: UploadProgressHandler): StatefulPromise<T>
FetchBlobResponse.json(): any(): Promise<any>
FetchBlobResponse.path(): string(): string | null
FetchBlobResponse.text(): string | Promise<any>(): Promise<string>
FetchBlobResponse.flush(): void(): Promise<void>
FetchBlobResponse.base64(): any(): Promise<string>
FetchBlobResponse.session(name: string): ReactNativeBlobUtilSession | null(name: string): ReactNativeBlobUtilSession
FetchBlobResponse.readFile(encode: Encoding): Promise<any> | null(encoding: "ascii"): Promise<number[]> | (encoding: "base64" | "utf8"): Promise<string>
FetchBlobResponse.readStream(encode: Encoding): ReactNativeBlobUtilStream | null(encoding: Encoding): Promise<ReactNativeBlobUtilReadStream>
AndroidDownloadOption.showNotificationbooleanboolean | undefined
ReactNativeBlobUtilStat.type"directory" | "file""file" | "directory" | "asset"
ReactNativeBlobUtilStat.constructor(): ReactNativeBlobUtilStat
ReactNativeBlobUtilSession.constructor(name: string, list: string[]): ReactNativeBlobUtilSession(name: string, list?: string[] | undefined): ReactNativeBlobUtilSession
ReactNativeBlobUtilSession.static getSession(name: string): any(name: string): string[] | undefined
ReactNativeBlobUtilSession.static setSession(name: string): void(name: string, list: string[]): void
ReactNativeBlobUtilReadStream.open(): void(): Promise<void>
ReactNativeBlobUtilReadStream.onError(fn: (err: any) => void): void(fn: (err: CodedError) => void): void
ReactNativeBlobUtilWriteStream.write(data: string): Promise<void>(data: string | number[]): Promise<ReactNativeBlobUtilWriteStream>
ReactNativeBlobUtilResponseInfo.headersany{ [name: string]: string; }
ReactNativeBlobUtilResponseInfo.timeoutbooleanboolean | undefined
ReactNativeBlobUtilResponseInfo.redirectsstring[]string[] | undefined
ReactNativeBlobUtilResponseInfo.rnfbEncode"base64" | "path" | "utf8" | "ascii""base64" | "path" | "utf8"

Nieuw als verouderd gemarkeerd

export@deprecated
react-native-blob-util · FS.lstatuse `ls(path, {stats: true})`
react-native-blob-util · FS.scanFileuse `media.scan`
react-native-blob-util · FS.pathForAppGroupuse `fs.appGroupDir`
react-native-blob-util · FS.readFileWithTransformuse `readFile(path, encoding, {transform: true})`
react-native-blob-util · FS.writeFileWithTransformuse `writeFile(path, data, encoding, {transform: true})`
react-native-blob-util · Dirs.SDCardDir—
react-native-blob-util · Dirs.LegacySDCardDir—
react-native-blob-util · IOSApiThe names from before 1.0; each forwards to `open.*` or `fs.*`.
react-native-blob-util · IOSApi.openDocumentuse `open.optionsMenu`
react-native-blob-util · IOSApi.previewDocumentuse `open.file`
react-native-blob-util · AndroidApiThe names from before 1.0; each forwards to `open.*` or `media.*`.
react-native-blob-util · AndroidApi.actionViewIntentuse `open.file` or `open.chooser`
react-native-blob-util · RNFetchBlobDfuse ReactNativeBlobUtilDf
react-native-blob-util · MediaCollectionThe names from before 1.0; each forwards to `media.*`.
react-native-blob-util · MediaCollection.createMediafileuse `media.createFile`
react-native-blob-util · MediaCollection.writeToMediafileuse `media.write`
react-native-blob-util · MediaCollection.writeToMediafileWithTransformuse `media.write(uri, path, {transform: true})`
react-native-blob-util · AndroidDownloadOption.showNotificationuse `notification`
react-native-blob-util · ReactNativeBlobUtilConfig.wifiOnlyuse `android.wifiOnly`
react-native-blob-util · ReactNativeBlobUtilConfig.targetHostIpuse `android.targetHostIp`
react-native-blob-util · ReactNativeBlobUtilConfig.transformFileuse `transform`
react-native-blob-util · ReactNativeBlobUtilConfig.IOSBackgroundTaskuse `ios.backgroundTask`
react-native-blob-util · ReactNativeBlobUtilConfig.addAndroidDownloadsuse `android.downloadManager`
react-native-blob-util · ReactNativeBlobUtilStreamuse ReactNativeBlobUtilReadStream

Gewijzigde vereisten (engines, peer-afhankelijkheden)

VoorNa
peerDependencies.react-native*>=0.84.0
Nieuwe exports (33)
importexportkind
react-native-blob-utilfsvariable
react-native-blob-utilopenvariable
react-native-blob-utilwrapvariable
react-native-blob-utilfetchvariable
react-native-blob-utilmediavariable
react-native-blob-utilbase64variable
react-native-blob-utilconfigvariable
react-native-blob-utilMethodstype
react-native-blob-utilOpenApiinterface
react-native-blob-utilURIUtilvariable
react-native-blob-utilgetUUIDfunction
react-native-blob-utilsessionvariable
react-native-blob-utilFileBodyinterface
react-native-blob-utilMediaApiinterface
react-native-blob-utilTextBodyinterface
react-native-blob-utilErrorCodetype
react-native-blob-utilFormFieldinterface
react-native-blob-utilBase64Bodyinterface
react-native-blob-utilCodedErrorinterface
react-native-blob-utilFetchErrorinterface
react-native-blob-utilFileOptionsinterface
react-native-blob-utilRequestBodytype
react-native-blob-utilExplicitBodytype
react-native-blob-utilHashAlgorithmtype
react-native-blob-utilWriteEncodingtype
react-native-blob-utilProgressConfiginterface
react-native-blob-utilRequestHeaderstype
react-native-blob-utilfiledescriptorinterface
react-native-blob-utilProgressHandlertype
react-native-blob-utilCanceledFetchErrorclass
react-native-blob-utilReactNativeBlobUtilDfinterface
react-native-blob-utilUploadProgressHandlertype
react-native-blob-utilReactNativeBlobUtilStaticinterface

Geef je AI-agent deze feiten

Vigia is een gratis MCP-server: je coding-agent controleert versies, breaking changes en kwetsbaarheden voordat hij code schrijft. Geen account, geen API-sleutel.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Toevoegen aan CursorToevoegen aan VS Code★ Ster op GitHub

Elke andere MCP-client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent-skill (SKILL.md): vertelt de agent wanneer hij Vigia moet gebruiken · GitHub Action voor pull requests

Veelgestelde vragen

Wat zijn de brekende wijzigingen bij het upgraden van react-native-blob-util van 0 naar 1?

Tussen react-native-blob-util 0.25.3 en 1.1.0 vond Vigia 15 verwijderde exports, 6 gewijzigde signaturen en 51 verwijderde of gewijzigde leden van klassen of interfaces.

Wat is verouderd in react-native-blob-util 1?

24 exports of leden zijn in react-native-blob-util 1.1.0 nieuw als verouderd gemarkeerd.

Voor agents

GET https://vigia.coredls.cloud/v1/packages/npm/react-native-blob-util/upgrade?from=0.25.3&to=1.1.0