Closed brettz9 closed 5 months ago
feat: add support for maxByteLength
maxByteLength
BREAKING CHANGE:
Encodes array buffers as objects rather than strings in order to add any metadata
Wanted to give you a heads up, @dfahlander , as it modifies long-standing types like arraybuffer (to accommodate the new maxByteLength option)...
The semver check is because this option is only available in Node 20+ (and not yet in Firefox, I might add).
semver
Btw, here's a link to ArrayBuffer which makes mention of the new option this PR attempts to support.
All right if I go ahead and merge, @dfahlander ?
Assume it's ok since haven't heard back...
feat: add support for
maxByteLength
BREAKING CHANGE:
Encodes array buffers as objects rather than strings in order to add any metadata
Wanted to give you a heads up, @dfahlander , as it modifies long-standing types like arraybuffer (to accommodate the new
maxByteLength
option)...The
semver
check is because this option is only available in Node 20+ (and not yet in Firefox, I might add).