Skip to content

📇: read frozen module exports from their namespace - #1872

Open
merryman wants to merge 1 commit into
mainfrom
fix-frozen-expression-module-exports
Open

merryman wants to merge 1 commit into
mainfrom
fix-frozen-expression-module-exports

Conversation

@merryman

@merryman merryman commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Prevent Cannot read properties of null (reading 'exports') when the expression serializer collects bindings from a retained frozen module. Such modules can expose a public SystemJS namespace without a live loader record.

Read exports from that namespace when live record exports are unavailable. Keep live records as the first choice and return an empty object for unloaded modules.

Regressions cover live records, registered namespaces without records, and unloaded modules.

Refs #1149: supports binding collection for packaged structural reconciliation; the broader structural work remains open.

@merryman
merryman marked this pull request as ready for review October 26, 2026 17:23

This branch has not been deployed

No deployments
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