Skip to content

fix(compartment-mapper): moduleSourceHook uses specifier for exit module's canonicalName#3115

Open
boneskull wants to merge 1 commit intomasterfrom
boneskull/more-module-source-hook-tests
Open

fix(compartment-mapper): moduleSourceHook uses specifier for exit module's canonicalName#3115
boneskull wants to merge 1 commit intomasterfrom
boneskull/more-module-source-hook-tests

Conversation

@boneskull
Copy link
Member

Fixes issue where canonicalName reported as the requesting (parent) compartment's canonicalName. Builtins are not necessarily canonical names, however.

Removes unused ModuleSourceHook's "error" module source type.

…ule's canonicalName

Fixes issue where `canonicalName` reported as the _requesting_ (parent) compartment's `canonicalName`. Builtins are not necessarily canonical names, however.

Removes unused `ModuleSourceHook`'s "error" module source type.
@boneskull
Copy link
Member Author

📚 Pull Request Stack


Managed by gh-stack

@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: abe2c9b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@endo/compartment-mapper Patch
@endo/bundle-source Patch
@endo/check-bundle Patch
@endo/cli Patch
@endo/daemon Patch
@endo/import-bundle Patch
@endo/test262-runner Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@boneskull boneskull requested a review from naugtur March 5, 2026 01:01
@boneskull boneskull self-assigned this Mar 5, 2026
reexports?: string[] | undefined;
sha512?: string | undefined;
}
| { error: string }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error seems to be missing. Is that deliberate?

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.

2 participants