Skip to content

fix: browser-safe registry (process guards) - #61

Merged
ronaldtse merged 1 commit into
mainfrom
fix/browser-safe
Sep 1, 2026
Merged

fix: browser-safe registry (process guards)#61
ronaldtse merged 1 commit into
mainfrom
fix/browser-safe

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The E3 chain exposed the final layer: bare process.env/process.pid reads crash browser bundles (local dev: 'process is not defined'). All accesses now optional-chained through globalThis; 249 tests green.

Browsers have no process global: cacheDir/env reads and the fs tmp
suffix threw ReferenceError before any fetch. All access now via
optional globalThis chains.
@ronaldtse
ronaldtse merged commit 3ae0051 into main Sep 1, 2026
8 checks passed
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