@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
0.12.14 is the newest release of 0.7.x.
In short
3 fixed
Release note
Patch Changes
Improve
readFile()andreadFileStream()performance by using native syscall file reads instead of shell-based reads.
This increases read transfer speeds and unblocks the max throughput from file streaming.Improving file size handling: calls to
readFile()now return a413: File too large errorif the target file exceeds32 MiB. Previously such files would trigger a generic error; we're now explicit about the limitation and recommend usingreadFileStreamfor larger files.Patch
proxyToSandboxto pass redirect responses to the caller, instead of following themPatch
readFileto strip MIME type parameters, e.g.text/plain;charset=utf-8->text/plain
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.