Skip to content

v1.14.1

Choose a tag to compare

@ChALkeR ChALkeR released this 13 Feb 01:49
· 46 commits to main since this release
Immutable release. Only release title and notes can be modified.
d1a6192

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.

Full Changelog: v1.14.0...v1.14.1