Claude Bot
368f8284ea
Fix process.emitWarning to use Node.js-compatible formatting
...
This change makes Bun's warning output much less scary by matching Node.js behavior.
Changes:
- Add --trace-warnings CLI flag support
- Format warnings as: (bun:PID) WarningName: message
- Show stack traces only when --trace-warnings is passed
- Show helpful hint about --trace-warnings flag (only once per process)
- Warnings go to stderr (not console.warn which showed full error objects)
Before:
process.emitWarning() would dump full error object with stack trace,
making every warning look like a critical error
After:
- Without --trace-warnings: Shows minimal format with helpful hint
- With --trace-warnings: Shows stack trace like Node.js
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-29 08:35:58 +00:00
..
2025-10-20 20:52:35 -07:00
2025-07-22 17:51:38 -07:00
2025-10-27 12:26:21 -07:00
2025-10-20 21:18:47 -07:00
2025-08-11 20:19:34 -07:00
2025-10-27 12:26:09 -07:00
2025-07-22 17:51:38 -07:00
2025-10-29 08:35:58 +00:00
2025-10-27 12:26:21 -07:00
2025-10-29 08:35:58 +00:00
2025-10-19 22:17:19 -07:00
2025-10-21 14:18:39 -07:00
2025-09-14 04:14:48 -07:00
2025-10-24 19:27:14 -07:00
2025-10-20 23:46:44 -07:00
2025-10-20 23:46:44 -07:00
2025-07-22 17:51:38 -07:00
2025-10-11 19:21:14 -07:00
2025-10-23 23:08:08 -07:00
2025-10-10 22:49:45 -07:00
2025-10-23 23:08:08 -07:00
2025-10-23 23:08:08 -07:00
2025-10-09 19:04:41 -07:00
2025-10-27 15:24:38 -07:00
2025-10-10 03:48:04 -07:00
2025-10-03 17:10:28 -07:00
2025-10-23 23:08:08 -07:00
2025-10-03 17:10:28 -07:00
2025-10-08 18:00:38 -07:00
2025-10-03 16:13:06 -07:00
2025-10-14 20:51:34 -07:00
2025-10-20 20:28:14 -07:00
2025-09-09 20:41:10 -07:00
2025-10-21 17:54:44 -07:00
2025-10-23 23:08:08 -07:00
2025-10-28 00:05:16 -07:00
2025-10-23 23:08:08 -07:00
2025-10-21 18:42:39 -07:00
2025-10-16 21:52:22 -04:00
2025-09-26 13:47:24 -07:00
2025-10-23 23:08:08 -07:00
2025-10-23 23:08:08 -07:00
2025-10-20 20:52:35 -07:00
2025-10-04 02:17:55 -07:00
2025-10-20 20:39:46 -07:00
2025-10-23 23:08:08 -07:00
2025-07-29 19:35:46 -07:00
2025-10-18 20:49:57 -07:00
2025-07-22 17:51:38 -07:00
2025-10-23 23:08:08 -07:00
2025-07-22 17:51:38 -07:00
2025-09-03 18:57:39 -07:00
2025-07-22 17:51:38 -07:00
2025-10-14 19:48:25 -07:00
2025-10-27 12:26:09 -07:00
2025-10-21 14:18:39 -07:00
2025-09-18 19:37:24 -07:00
2025-10-23 23:08:08 -07:00
2025-10-24 23:42:20 -07:00
2025-10-23 23:08:08 -07:00
2025-09-26 15:19:45 -07:00
2025-10-23 23:08:08 -07:00
2025-07-31 00:56:50 -07:00
2025-10-23 23:08:08 -07:00
2025-10-23 23:08:08 -07:00
2025-07-22 17:51:38 -07:00
2025-09-26 22:21:00 -07:00
2025-09-19 02:06:02 -07:00
2025-10-14 19:48:25 -07:00
2025-10-23 23:08:08 -07:00
2025-10-24 14:43:05 -07:00
2025-08-22 23:04:58 -07:00
2025-08-14 18:03:26 -07:00
2025-10-23 23:08:08 -07:00
2025-10-10 03:48:04 -07:00
2025-10-23 23:08:08 -07:00
2025-08-23 06:55:30 -07:00
2025-10-04 00:31:47 -07:00
2025-10-19 23:29:29 -07:00
2025-10-02 14:11:29 -07:00
2025-09-19 02:38:38 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-09-09 20:41:10 -07:00
2025-10-23 17:52:13 -07:00
2025-10-14 20:51:34 -07:00
2025-10-21 14:18:39 -07:00
2025-08-23 06:55:30 -07:00
2025-07-22 17:51:38 -07:00
2025-10-10 03:48:04 -07:00
2025-10-15 14:31:27 -07:00
2025-10-27 12:26:09 -07:00
2025-09-11 23:29:53 -07:00
2025-10-14 20:51:34 -07:00
2025-10-23 23:08:08 -07:00
2025-10-27 12:26:21 -07:00
2025-10-23 23:08:08 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-10-25 00:05:28 -07:00
2025-10-18 18:14:01 -07:00
2025-10-03 17:10:28 -07:00
2025-07-22 17:51:38 -07:00
2025-09-14 04:14:48 -07:00
2025-10-14 20:51:34 -07:00
2025-10-24 12:11:20 -07:00
2025-07-22 17:51:38 -07:00
2025-10-23 23:08:08 -07:00
2025-09-30 00:10:15 -07:00
2025-09-25 18:03:27 -07:00
2025-10-23 23:08:08 -07:00
2025-09-09 20:41:10 -07:00
2025-09-26 15:15:58 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-09-26 22:21:00 -07:00
2025-09-26 22:21:00 -07:00
2025-09-03 15:40:44 -07:00
2025-09-22 19:28:26 -07:00
2025-10-27 12:26:09 -07:00
2025-10-23 13:17:51 -07:00
2025-10-04 04:57:29 -07:00
2025-10-19 22:17:19 -07:00
2025-09-03 15:40:44 -07:00
2025-07-25 12:38:06 -07:00
2025-10-23 23:08:08 -07:00
2025-10-23 23:08:08 -07:00
2025-10-03 17:10:28 -07:00
2025-10-14 19:48:25 -07:00
2025-10-20 20:39:46 -07:00
2025-10-14 16:33:30 -07:00
2025-07-22 17:51:38 -07:00
2025-08-11 20:19:34 -07:00
2025-10-20 20:52:35 -07:00
2025-07-22 17:51:38 -07:00
2025-09-03 18:57:39 -07:00