mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
- Enable --json flag in outdated command parameters
- Add outdated to supportsJsonOutput() function
- Implement printOutdatedInfoJson() function with structured JSON output
- JSON format includes current, update, latest versions and dependency type
- Add test case for JSON output validation (currently skipped due to registry issues)
- JSON output matches format: {"package": {"current": "1.0.0", "update": "1.0.0", "latest": "1.0.1", "dependencyType": "prod"}}
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>