Files
thePR0M3TH3AN f697668f8f fix(widget): make the bundle importable without a DOM
The package documented itself as safe to import in Node, with registration a
no-op absent a DOM. That was false: a class declaration evaluates its extends
clause at module load, so `extends globalThis.HTMLElement` threw before
canRegisterElements() could run. Caught by loading the deployed bundle rather
than the source.

Falls back to a plain base class when there is no DOM, so a server-rendering
host can import the helpers and the documented promise is now true.
2026-08-10 08:36:24 -04:00
..