Vigia

react-native-blob-util: 0.x sürümünden 1.x sürümüne yükseltme

react-native-blob-util 0.25.3 ve 1.1.0 sürümlerinin genel API karşılaştırması, TypeScript tiplerinden otomatik olarak hesaplanır. Değişen bir imza olası bir uyumsuz değişikliktir, kesinlik değildir.

Özet

Kaldırılan içe aktarma yolları0
Kaldırılan dışa aktarımlar15
Değişen imzalar6
Kaldırılan sınıf veya arayüz üyeleri5
Değişen sınıf veya arayüz üyeleri46
Yeni kullanımdan kaldırılanlar24
Gereksinim değişiklikleri (engines, peer bağımlılıkları)1
Yeni dışa aktarımlar33

Kaldırılan dışa aktarımlar

importexportkindÖnce
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

Değişen imzalar

exportÖnceSonra
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

Kaldırılan sınıf veya arayüz üyeleri

memberimportÖnce
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

Değişen sınıf veya arayüz üyeleri

memberÖnceSonra
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"

Yeni kullanımdan kaldırılanlar

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

Gereksinim değişiklikleri (engines, peer bağımlılıkları)

ÖnceSonra
peerDependencies.react-native*>=0.84.0
Yeni dışa aktarımlar (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

Bu verileri yapay zekâ ajanınıza verin

Vigia ücretsiz bir MCP sunucusudur: kodlama ajanınız kod yazmadan önce sürümleri, uyumsuz değişiklikleri ve güvenlik açıklarını kontrol eder. Kayıt ve API anahtarı gerekmez.

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

Cursor'a ekleVS Code'a ekle★ GitHub'da yıldız ver

Diğer tüm MCP istemcileri
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Ajan becerisi (SKILL.md): ajana Vigia'yı ne zaman kullanacağını söyler · Pull request için GitHub Action

Sık sorulan sorular

react-native-blob-util paketini 0 sürümünden 1 sürümüne yükseltirken uyumsuz değişiklikler nelerdir?

react-native-blob-util 0.25.3 ile 1.1.0 arasında Vigia 15 kaldırılan dışa aktarım, 6 değişen imza ve 51 kaldırılan veya değişen sınıf ya da arayüz üyesi buldu.

react-native-blob-util 1 sürümünde neler kullanımdan kaldırıldı?

react-native-blob-util 1.1.0 sürümünde 24 dışa aktarım veya üye yeni olarak kullanımdan kaldırılmış işaretlendi.

Ajanlar için

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