Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

> **Status:** ✅ Completed
> **Confidence:** 90%
> **Started:** June 19, 2026 at 01:41 PM
> **Completed:** June 19, 2026 at 01:42 PM
> **Started:** June 19, 2026, at 01:41 PM
> **Completed:** June 19, 2026, at 01:42 PM

---

Expand All @@ -30,4 +30,4 @@ Addressed PR 1170 automated review feedback by adding marker-aware default unwra

_Agent: default_

- Preserve Node.js JS interop while keeping Bun standalone off the jiti fallback: Preserve Node.js JS interop while keeping Bun standalone off the jiti fallback
- Updated the loader to preserve Node.js interop for CommonJS default wrappers and ESM-syntax `.js` files while keeping the Bun standalone path on native import unless a TypeScript-like extension requires `jiti`.
85 changes: 42 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/src/cli/commands/fleet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ describe('fleet command support', () => {
it('loads CommonJS compiled JS node files that export default wrappers', async () => {
const dir = await mkdtemp(path.join(os.tmpdir(), 'relay-node-def-'));
try {
await writeFile(path.join(dir, 'package.json'), JSON.stringify({ type: 'commonjs' }));
const file = path.join(dir, 'node-def.js');
await writeFile(
file,
Expand Down
Loading