Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module.registerHooks() tracking issue #56241

Open
3 of 11 tasks
joyeecheung opened this issue Dec 12, 2024 · 4 comments
Open
3 of 11 tasks

module.registerHooks() tracking issue #56241

joyeecheung opened this issue Dec 12, 2024 · 4 comments
Labels
loaders Issues and PRs related to ES module loaders module Issues and PRs related to the module subsystem.

Comments

@joyeecheung
Copy link
Member

joyeecheung commented Dec 12, 2024

@joyeecheung joyeecheung added module Issues and PRs related to the module subsystem. loaders Issues and PRs related to ES module loaders labels Dec 12, 2024
@joyeecheung
Copy link
Member Author

cc @nodejs/loaders

@jsumners-nr

This comment has been minimized.

@legendecas

This comment has been minimized.

@joyeecheung
Copy link
Member Author

I have a WIP for the evaluate hook which already works for a mock of require-in-the-middle. Pending on resolution about whether/how ESM can play into it. Opened an issue in Chromium to discuss about ESM evaluation hook: https://issues.chromium.org/u/1/issues/384413088 (mutability of exports would probably be out of scope of V8 as that's mandated by the spec, but at least we can address the use case where the hook does not need to patch and simply wants to observe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loaders Issues and PRs related to ES module loaders module Issues and PRs related to the module subsystem.
Projects
None yet
Development

No branches or pull requests

3 participants