Files
bun.sh/test/regression/issue
Claude Bot 86686c468c Fix import.meta handling in CJS format
In CommonJS format, import.meta and import.meta.url need to be
transformed into valid CJS equivalents:

- import.meta -> {url: require('url').pathToFileURL(__filename).href}
- import.meta.url -> require('url').pathToFileURL(__filename).href

This change updates js_printer.zig to handle these transformations
when module_type is .cjs. The ESM format remains unchanged.

Added comprehensive tests to verify the transformation works correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 22:40:35 +00:00
..
2025-08-06 06:44:46 -07:00
2025-01-28 17:23:57 -08:00
2025-06-03 13:23:12 -07:00
2025-06-03 23:41:37 -07:00
2025-01-17 22:08:07 -08:00
2025-03-03 21:38:05 -08:00
2025-05-26 21:18:22 -07:00
2025-07-03 01:06:22 -07:00
2025-07-23 22:31:42 -07:00
2025-07-20 23:02:10 -07:00