Skip to content

fix: update Undici to fix incompatibility with Node.js 26#220

Merged
QuiiBz merged 1 commit into
mainfrom
update-undici
Jun 4, 2026
Merged

fix: update Undici to fix incompatibility with Node.js 26#220
QuiiBz merged 1 commit into
mainfrom
update-undici

Conversation

@QuiiBz

@QuiiBz QuiiBz commented Jun 4, 2026

Copy link
Copy Markdown
Member

Closes #198

Update the Undici version we use to fix an issue where using Undici v7 Agent with a Undici v8 fetch (e.g. using Node.js 26 with the global, bundled fetch) would cause response headers to be dropped, and response body to not be decompressed

Upstream Undici fix: nodejs/undici#5345

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox-sdk Ready Ready Preview, Comment Jun 4, 2026 11:44am

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​undici@​7.27.110010010098100

View full report

@QuiiBz QuiiBz merged commit 3ba842a into main Jun 4, 2026
14 checks passed
@QuiiBz QuiiBz deleted the update-undici branch June 4, 2026 14:26
@github-actions github-actions Bot mentioned this pull request Jun 4, 2026
QuiiBz added a commit that referenced this pull request Jun 4, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@3.1.2

### Patch Changes

- Update Undici version to fix incompatibility with Node.js 26
([#220](#220))

- Updated dependencies
[[`3ba842a5d029177b11a619f3ae6c5b4b0dd8b215`](3ba842a)]:
  - @vercel/sandbox@2.1.1
## @vercel/sandbox@2.1.1

### Patch Changes

- Update Undici version to fix incompatibility with Node.js 26
([#220](#220))

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Lienard <tom.lienrd@gmail.com>
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.

runCommand fails with 'Expected a stream of command data' on Node 26 due to bundled undici@7 / built-in undici@8 dispatcher mismatch

2 participants