@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
Your version
0.12.14 is the newest release of 0.10.x.
In short
1 fixed
Release note
Patch Changes
readFilenow acceptsencoding: 'none'on therpctransport, returning a result whosecontentis aReadableStream<Uint8Array>of raw binary data with no base64 encoding or buffering. Mirrors the existingwriteFilesupport forReadableStreaminput.// Stream a binary file without buffering or base64 overhead (rpc transport only) const { content, size, mimeType } = await sandbox.readFile( '/workspace/image.png', { encoding: 'none' } );
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.