Skip to content

chore(deps)(deps): bump react-native-blob-util from 0.25.1 to 1.2.0 - #199

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-native-blob-util-1.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-native-blob-util-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps react-native-blob-util from 0.25.1 to 1.2.0.

Release notes

Sourced from react-native-blob-util's releases.

1.2.0

Downloads that outlive the app

  • config({path, background: true}) runs a download outside the app's own lifetime: a background URLSession on iOS, the DownloadManager on Android (which shows a notification while it runs), BITS on Windows. The file lands at path even while the app is not running, and background.list(), background.attach(id) and background.forget(id) pick the outcome up on a later start. Needs a GET to an http or https URL and a path. A body, transform, overwrite: false, resumable or the DownloadManager option reject EINVAL, and so do customCACerts, pinnedHosts and trusty, because the system checks the server against its own certificate store. A user who force-quits an iOS app from the app switcher cancels its background downloads
  • ios.backgroundTask runs its GET in that same background session, so one session serves both (#504)
  • Expo: the config plugin adds the iOS AppDelegate hook a background download needs, so a prebuilt app needs no hand edit

Pause, resume and resumable downloads

  • pause() stops a download to path and keeps what has arrived; the task stays pending until resume() finishes it or cancel() ends it. resume() asks the server for the rest of the file (Range, with If-Range set to the first response's ETag or Last-Modified), and progress counts on from the bytes already on disk. A server that cannot continue, or whose file has changed, sends all of it again. Anything but a GET to path rejects ENOTSUP
  • resumable: true carries a download across the app ending: the data goes to <path>.part with what is needed to continue in <path>.part.json, and the next resumable request for the same URL and path continues from there. Headers are not stored, so pass them again; cancel() removes both files
  • Android, iOS and Windows all continue a download from the bytes already on disk

File system

  • New calls: fs.touch (sets mtime and ctime), fs.setAttributes (protection and excludeFromBackup on an existing file), fs.bundlePath, fs.resource and fs.externalDirs
  • fs.read and fs.write take a position and a length, so part of a file can be read or written without a stream, and fs.readFile(path, 'bytes') resolves a Uint8Array
  • fs.mkdir, fs.mv and fs.cp take protection; fs.pick takes multiple and resolves every URI the user picked; media.copyToInternal takes width, height and compression, and creates the destination's missing directories
  • The same calls now answer the same way on all three platforms. Migration.md lists what changes for code written for 0.25 (#295, #502, #235, #292)

Security

  • Android: a "download complete" broadcast is checked against the DownloadManager before it is believed, so another app cannot complete a download on this one's behalf
  • Android: a picked URI is required to come from another app's provider, and a content:// URI is never resolved to a file path
  • Android: a base64 body is never read as a file. What a body is stays JS's decision (bodyType) rather than something native infers
  • iOS and Windows: a multipart boundary is generated so that no content can contain it, and a file body is the file it named
  • iOS: a background download cannot bring its own trust - customCACerts, pinnedHosts and trusty are refused rather than quietly dropped
  • Windows: Authorization stays within its origin on a redirect
  • Windows: BITS is given http and https URLs only
  • Android, iOS and Windows: a key keeps only a response that arrived whole and with a success status, so a cached entry cannot be a truncated or failed one
  • Android: the unused ACCESS_WIFI_STATE permission is gone (#508)

Fixes

  • Android: a DownloadManager download resolves with the file it actually wrote (#330, #325, #249, #299)
  • Android: download progress counts the bytes received when the length is unknown (#235, #292)
  • Android: one stateChange event per response
  • Android: writeFile and createFile leave no file behind when they reject (#267)
  • Android and iOS: an upload source that cannot be read fails the request instead of sending nothing (#502)
  • iOS: chunked progress, and a cancel that cancels (#235, #292, #491)
  • iOS: slice writes only the bytes it read
  • iOS: a directory at a download's destination fails with EISDIR and is kept, on both the foreground and the background path. It used to be removed with everything in it and the download reported as done; Android and Windows already failed
  • Windows: fs.readFile resolves the text for utf8 and base64
  • Windows: a native rejection reaches callers as an Error
  • Windows: fs and fetch brought in line with Android and iOS (#235, #292)
  • Windows: a certificate refused after a trusting request rejects ESSL
  • Android and Windows: a base64 stream chunk that is not base64 rejects EINVAL

Packaging and docs

  • The package ships the iOS sources rather than Xcode's project folder
  • A short README with one page per subject under docs/, plus llms.txt
  • npm is the only package manager; yarn.lock is gone

1.1.1

Crashes

... (truncated)

Commits
  • 254a854 chore(release): 1.2.0
  • ebe8726 test(e2e): an Android run installs the app it was given
  • 0564782 test(e2e): record the iOS answer for fetch-untrusted-after-trusty
  • 1eeff6e test(ios): measure the presenting provider against one window
  • 3028a43 fix(test): run the iOS test bundle once per invocation
  • b4eb847 fix(windows): a certificate refused after a trusting request rejects ESSL
  • 1bd593d test(e2e): ANDROID_UDID pins the Android run to one device
  • 61b8b48 docs(security): fixes go into 1.x only
  • 7af2a41 Merge remote-tracking branch 'origin/master' into feature/1.2.0
  • 797a751 Merge pull request #508 from enagorny/fix/android-drop-wifi-state-permission
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-native-blob-util](https://github.com/RonRadtke/react-native-blob-util) from 0.25.1 to 1.2.0.
- [Release notes](https://github.com/RonRadtke/react-native-blob-util/releases)
- [Commits](RonRadtke/react-native-blob-util@0.25.1...1.2.0)

---
updated-dependencies:
- dependency-name: react-native-blob-util
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Nov 30, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: deps. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T05:49:05.287680Z
We couldn’t complete this review. Comment @codex review to try again.
a0c5735 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants