Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[v22.x backport] module: link module with a module request record#60000

Merged
aduh95 merged 1 commit intonodejs:v22.x-stagingnodejs/node:v22.x-stagingfrom
legendecas:backport-58886-to-22legendecas/node:backport-58886-to-22Copy head branch name to clipboard
Oct 7, 2025
Merged

[v22.x backport] module: link module with a module request record#60000
aduh95 merged 1 commit intonodejs:v22.x-stagingnodejs/node:v22.x-stagingfrom
legendecas:backport-58886-to-22legendecas/node:backport-58886-to-22Copy head branch name to clipboard

Conversation

@legendecas
Copy link
Member

When a module is being statically linked with module requests, if two module requests with a same specifier but different attributes are resolved to two modules, the module requests should be linked to these two modules.

PR-URL: #58886
Refs: https://tc39.es/ecma262/#sec-HostLoadImportedModule
Refs: https://github.com/tc39/proposal-import-attributes?tab=readme-ov-file#how-would-this-proposal-work-with-caching
Reviewed-By: Guy Bedford guybedford@gmail.com
Reviewed-By: Joyee Cheung joyeec9h3@gmail.com

When a module is being statically linked with module requests, if two
module requests with a same specifier but different attributes are
resolved to two modules, the module requests should be linked to these
two modules.

PR-URL: nodejs#58886
Refs: https://tc39.es/ecma262/#sec-HostLoadImportedModule
Refs: https://github.com/tc39/proposal-import-attributes?tab=readme-ov-file#how-would-this-proposal-work-with-caching
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/loaders
  • @nodejs/vm

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. esm Issues and PRs related to the ECMAScript Modules implementation. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. vm Issues and PRs related to the vm subsystem. labels Sep 24, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 changed the title [v22.x] module: link module with a module request record [v22.x backport] module: link module with a module request record Oct 7, 2025
@aduh95 aduh95 merged commit 2237142 into nodejs:v22.x-staging Oct 7, 2025
73 checks passed
@aduh95
Copy link
Contributor

aduh95 commented Oct 7, 2025

Landed in 2237142

@legendecas legendecas deleted the backport-58886-to-22 branch October 7, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. esm Issues and PRs related to the ECMAScript Modules implementation. needs-ci PRs that need a full CI run. v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. vm Issues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.