Back to IssuesView on GitHub
#17299
Easy
oxfmt: 0.19.0+ throw DataCloneError in Bun
Summary
The oxfmt tool is failing in Bun due to passing non-copyable options to functions that expect clonable data for Web Workers. The fix involves identifying and modifying the data passed to `formatFile` and `formatEmbeddedCode` to ensure it adheres to the Structured Clone Algorithm.
Skills Required
RustJavaScript/TypeScript (understanding of APIs)Understanding of serialization/cloning mechanisms
Files Likely Touched
Labels
A-formatter