Vigia

Aktualizacja react-native-blob-util z 0.x do 1.x

Porównanie publicznego API react-native-blob-util 0.25.3 i 1.1.0, 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 eksporty15
Zmienione sygnatury6
Usunięte składowe klas lub interfejsów5
Zmienione składowe klas lub interfejsów46
Nowo wycofane24
Zmiany wymagań (engines, zależności peer)1
Nowe eksporty33

Usunięte eksporty

importexportkindPrzed
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

Zmienione sygnatury

exportPrzedPo
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

Usunięte składowe klas lub interfejsów

memberimportPrzed
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

Zmienione składowe klas lub interfejsów

memberPrzedPo
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"

Nowo wycofane

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

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

PrzedPo
peerDependencies.react-native*>=0.84.0
Nowe eksporty (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

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

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

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji react-native-blob-util z 0 do 1?

Między react-native-blob-util 0.25.3 a 1.1.0 Vigia znalazła 15 usuniętych eksportów, 6 zmienionych sygnatur i 51 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w react-native-blob-util 1?

24 eksportów lub składowych oznaczono w react-native-blob-util 1.1.0 jako wycofane.

Dla agentów

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