Skip to content

v6.9.4

@itechdom itechdom tagged this 10 Jun 02:56
The renderer interpreter (imported by @almadar/ui for in-browser orbital preview)
was dragging node-only modules into the browser bundle:
- BindingResolver imported `isKnownOperator` from the @almadar/std INDEX, which
  also bundles std's node-only registry LOADER (createRequire/fs/path) and has no
  `browser` field to stub it. Import from the pure `@almadar/std/registry` subpath
  instead (same function, zero node deps).
- The package index value-exported the pure `collectDeclaredConfigDefaults` from
  OrbitalServerRuntime.js (top-level `import * as nodeModule from 'module'`).
  Moved it to a browser-safe `config-defaults.ts`; the index re-exports from
  there, OrbitalServerRuntime keeps a backward-compat re-export for existing
  importers. (This package already declares `browser: { module: false }` +
  isNodeEnv() guards; the remaining builtins are intentionally browser-stubbed.)

147 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Assets 2
Loading