securityos/node_modules/comlink/CHANGELOG.md

9 lines
364 B
Markdown
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
# v3 -> v4
- Added support for NodeJS 11+ workers
- `Comlink.proxy()` is now called `Comlink.wrap()`
- `Comlink.proxyValue()` is now called `Comlink.proxy()`
- Transferable values are _not_ transferred by default anymore. They need to be wrapped with `Comlink.transfer()`
- Rewrote TypeScript types
- New folder structure in the GitHub repo and in the npm module