Packages

@exodus/bytes

1.16.0 · 22 Sep 2026MIT78.5M / weekRepositorynpmAtom feed

Your version

1.14.1

13 Feb 2026Where it was published

1.16.0 is the newest release of 1.x.

Release note

fix: ensure TextEncoder never returns pooled arrays

Previous implementation always ensured 0-offset Uint8Array (ret.byteOffset === 0),
but not that there is no data past the returned view (ret.byteLength === ret.buffer.byteLength).

This is now fixed.

This only affected Node.js-like platforms, as only there native buffers are pooled.

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.