You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(core): a11yTextExtractor throws in SSR / non-browser environments #257
a11yTextExtractor in packages/core/src/a11y.ts references the global document without guarding for SSR:
constroot=el.ownerDocument??document;
If el.ownerDocument is null and the function is called in a non-browser environment (e.g. during SSR testing, in a Node.js test harness, or in React Native), this throws ReferenceError: document is not defined.
Every other file in core that touches the DOM guards with typeof document !== 'undefined'. This one doesn't.
Activity
fix: audit fixes for sanitizer leaks, context cleanup, and listener t…