Skip to content

fix: Improve Deno and Bun compatibility - #2228

Merged
dcodeIO merged 1 commit into
masterfrom
patch/deno-bun-compat
May 7, 2026
Merged

dcodeIO merged 1 commit into
masterfrom
patch/deno-bun-compat

Conversation

@dcodeIO

@dcodeIO dcodeIO commented May 6, 2026

Copy link
Copy Markdown
Member

For Deno, the main and CLI packages are explicitly marked as CommonJS, so Deno does not need CommonJS detection to load them. For Bun, pbts now runs the JSDoc subprocess with Node.js because JSDoc still depends on Node.js loader internals that Bun does not mirror.

Also adds compatibility notes to README.

@dcodeIO
dcodeIO requested a review from alexander-fenster May 6, 2026 12:26
@dcodeIO
dcodeIO merged commit 6034af8 into master May 7, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request May 7, 2026
@dcodeIO
dcodeIO deleted the patch/deno-bun-compat branch May 11, 2026 14:15
zeekay pushed a commit to hanzoai/protobuf.js that referenced this pull request Sep 9, 2026
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.

2 participants