napi@2.10.9
Brooooooklyn
released this
19 Jan 09:38
·
761 commits
to main
since this release
What's Changed
- fix(napi): fallback to copy buffer if zero-copy is not allowed by @Brooooooklyn in #1445
Background
Electron disallowed the create_external_xxx
API since electron@21
: https://www.electronjs.org/blog/v8-memory-cage
NAPI-RS will fallback to use create_buffer_copy
if napi_create_external_buffer
return the napi_no_external_buffers_allowed
status.
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.8...napi@2.10.9