- Remove '(not no-ops)' defensive language from module section
- Remove '(stub implementation)' redundant technical details
- Remove 'complete statistical analysis capabilities' unnecessary detail
- Remove 'comprehensive', 'Zero-cost when not in use, optimized for production workloads' marketing language
- Remove 'Mostly Complete', 'Minor limitations', 'easy fix' implementation details
- Simplify child_process from bullet points to single sentence
Focus on what users need to know about compatibility, not implementation details.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- node:async_hooks: Combined multiple status indicators into single 🟡
- node:cluster: Simplified bullet points into single 🟡 description
- node:module: Merged multiple ✅/⚠️ indicators into single 🟡 description
Maintains all detailed information while following consistent formatting.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit updates the Node.js API compatibility documentation to accurately reflect the current state of implementation in Bun. Many features were previously marked as incomplete or missing when they are actually fully or mostly implemented.
Key updates:
- node:async_hooks: AsyncLocalStorage is fully implemented, detailed breakdown of other features
- node:child_process: Upgraded to mostly complete (🟢) - all core functionality works
- node:cluster: More detailed explanation of what works vs limitations
- node:crypto: Specific details about actual vs missing functionality
- node:http2: ALTSVC extension is actually implemented
- node:module: Many functions are fully functional, not no-ops as previously documented
- node:perf_hooks: createHistogram is fully implemented, only monitorEventLoopDelay missing
- node:util: Comprehensive list of missing functions with version context
- node:vm: More positive description highlighting implemented features
- node:inspector: Has infrastructure, just needs API layer (🔴→🟡)
- node:repl: CLI works, just module API missing (🔴→🟡)
- node:trace_events: Extensive internal tracing exists (🔴→🟡)
The documentation now much more accurately reflects Bun's high level of Node.js compatibility, showing that many APIs are more complete than previously documented.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Fixes#7569
This adds expectTypeOf, but not the experimental `--typecheck` flag from
vitest. To use it, you need to typecheck manually with `bunx tsc
--noEmit` in addition to `bun test`
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>