Skip to content

fix(blob): avoid runtime Node stream adapter - #1104

Closed
onmax wants to merge 3 commits into
vercel:mainfrom
onmax:fix/blob-portable-node-stream
Closed

onmax wants to merge 3 commits into
vercel:mainfrom
onmax:fix/blob-portable-node-stream

Conversation

@onmax

@onmax onmax commented Sep 1, 2026 •

Copy link
Copy Markdown

@vercel/blob imported Node's stream module only to convert Node readable streams. That stops Vite and Rolldown from bundling the package for runtimes without the module, so vite-hub/vitehub#1095 currently patches it.

toReadableStream now consumes the stream's async iterator, leaving the Node import type-only. Upload data, errors, and cancellation still pass through, and the PR includes a patch changeset.

@changeset-bot

changeset-bot Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ca0e263

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@vercel/blob Patch
vercel-storage-integration-test-suite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@onmax is attempting to deploy a commit to the Curated Tests - Permanent E2E Team on Vercel.

A member of the Team first needs to authorize it.

@onmax onmax closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant