@cloudflare/unenv-preset@2.8.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🔧 2 symbols
Summary
This minor release introduces experimental support for the native Node.js inspector module, 'node:inspector' and 'node:inspector/promises', contingent on enabling specific compatibility flags.
Migration Steps
- To enable the native inspector module, add ["experimental", "enable_nodejs_inspector_module"] to the 'compatibility_flags' array in your 'wrangler.jsonc' file.
- To enable the native inspector/promises module, add ["experimental", "enable_nodejs_inspector_module"] to the 'compatibility_flags' array in your 'wrangler.jsonc' file.
✨ New Features
- Add support for native 'node:inspector' module when the 'enable_nodejs_inspector_module' compatibility flag is enabled (experimental).
- Add support for native 'node:inspector/promises' module when the 'enable_nodejs_inspector_module' compatibility flag is enabled (experimental).
🔧 Affected Symbols
node:inspectornode:inspector/promises