Packages

@cloudflare/sandbox

1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.10.1

11 May 2026Where it was published

0.12.14 is the newest release of 0.10.x.

In short

1 fixed

Release note

Patch Changes

  • readFile now accepts encoding: 'none' on the rpc transport, returning a result whose content is a ReadableStream<Uint8Array> of raw binary data with no base64 encoding or buffering. Mirrors the existing writeFile support for ReadableStream input.

    // 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.