Skip to content

fix(core): import fast-json-patch through its default export - #193

Merged
isaacwasserman merged 1 commit into
mainfrom
fix-fast-json-patch-node-import
Sep 24, 2026
Merged

isaacwasserman merged 1 commit into
mainfrom
fix-fast-json-patch-node-import

Conversation

@isaacwasserman

Copy link
Copy Markdown
Owner

Apps that load @remoraflow/core under Node ESM failed at startup with "Named export 'applyOperation' not found", because Node cannot detect the named exports of fast-json-patch's CommonJS entry (Bun can, so the tests did not catch it). workflow-editor.ts now imports the package's default export and calls jsonPatch.applyOperation and jsonPatch.JsonPatchError. I verified that the built dist/index.js loads in Node 24 and that the core unit tests pass.

🤖 Generated with Claude Code

Node's ESM loader cannot see the named exports of fast-json-patch's CommonJS
entry, so apps running @remoraflow/core under Node failed at startup with
"Named export 'applyOperation' not found".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
remoraflow Ready Ready Preview Sep 24, 2026 3:33pm UTC

@isaacwasserman
isaacwasserman merged commit 3824523 into main Sep 24, 2026
13 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2da0b81d Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant