@cloudflare/unenv-preset@2.14.0
📦 cloudflare-workersView on GitHub →
✨ 2 features
Summary
This release introduces experimental support for the native 'node:readline' and 'node:worker_threads' modules within Workers, contingent on enabling specific compatibility flags.
✨ New Features
- Add support for native 'node:readline' module when the 'enable_nodejs_readline_module' compatibility flag is enabled (experimental, requires 'experimental' flag too).
- Add support for native 'node:worker_threads' module from workerd when the 'enable_nodejs_worker_threads_module' compatibility flag is enabled (experimental, requires 'nodejs_compat', 'experimental', and 'enable_nodejs_worker_threads_module' flags).