René's URL Explorer Experiment


Title: src: support import() and import.meta in embedder-run modules by joyeecheung · Pull Request #61654 · nodejs/node · GitHub

Open Graph Title: src: support import() and import.meta in embedder-run modules by joyeecheung · Pull Request #61654 · nodejs/node

X Title: src: support import() and import.meta in embedder-run modules by joyeecheung · Pull Request #61654 · nodejs/node

Description: This adds a embedder_module_hdo for identifying embedder-run modules in the dynamic import handler and import.meta initializer, and a SourceTextModuleTypes for customizing source text module compilation in the JS land via compileSourceTextModule(). Also, refactors the existing embedder module compilation code to reuse the builtin resolution logic.

Open Graph Description: This adds a embedder_module_hdo for identifying embedder-run modules in the dynamic import handler and import.meta initializer, and a SourceTextModuleTypes for customizing source text module compil...

X Description: This adds a embedder_module_hdo for identifying embedder-run modules in the dynamic import handler and import.meta initializer, and a SourceTextModuleTypes for customizing source text module compil...

Opengraph URL: https://github.com/nodejs/node/pull/61654

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:627cfdc1-cdf9-24c3-6cb9-d8330c4e5e44
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE8A:2F266A:7EB22:AB6D2:6A4C11FB
html-safe-nonce3dfa084b141b6e0084ae3dd2091f9c8115b4ee714b9d53dcf5fb9210f94d04e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRThBOjJGMjY2QTo3RUIyMjpBQjZEMjo2QTRDMTFGQiIsInZpc2l0b3JfaWQiOiIzOTgxMDkyMjAwMTg4MjE5ODk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7999d639a1e94c4422a1db5f4eda288f39706130dd4c3aa5d9d12bdce5da55a0
hovercard-subject-tagpull_request:3241225752
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/pull/61654/files
twitter:imagehttps://avatars.githubusercontent.com/u/4299420?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4299420?s=400&v=4
og:image:altThis adds a embedder_module_hdo for identifying embedder-run modules in the dynamic import handler and import.meta initializer, and a SourceTextModuleTypes for customizing source text module compil...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0ccfc9e5281bfe12e38a4d632dc422843e4d5b6757917f7efda2f6567d72fea9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release18812876666a23a0912556e224383baa4c84cf8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/61654/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F61654%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F61654%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/61654/files
Reloadhttps://github.com/nodejs/node/pull/61654/files
Reloadhttps://github.com/nodejs/node/pull/61654/files
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 967 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
joyeecheung:api-import-metahttps://github.com/joyeecheung/node/tree/api-import-meta
Conversation 11 https://github.com/nodejs/node/pull/61654
Commits 4 https://github.com/nodejs/node/pull/61654/commits
Checks 46 https://github.com/nodejs/node/pull/61654/checks
Files changed https://github.com/nodejs/node/pull/61654/files
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
src: support import() and import.meta in embedder-run modules https://github.com/nodejs/node/pull/61654/files#top
Show all changes 4 commits https://github.com/nodejs/node/pull/61654/files
6d557b8 src: support import() and import.meta in embedder-run modules joyeecheung Feb 3, 2026 https://github.com/nodejs/node/pull/61654/commits/6d557b8e00cfdff9fcf1e07fb1bdba3a7a948afb
38c7fb1 fixup! src: support import() and import.meta in embedder-run modules joyeecheung Feb 5, 2026 https://github.com/nodejs/node/pull/61654/commits/38c7fb12e8590ef15323c62ec11cea894ae407cc
85ed146 fixup! fixup! src: support import() and import.meta in embedder-run m… joyeecheung Feb 5, 2026 https://github.com/nodejs/node/pull/61654/commits/85ed1461956700857f6660d2ab005ca1e0bad963
5182318 fixup! fixup! fixup! src: support import() and import.meta in embedde… joyeecheung Feb 6, 2026 https://github.com/nodejs/node/pull/61654/commits/5182318a06b625abf957c83c209bf201353dc454
Clear filters https://github.com/nodejs/node/pull/61654/files
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
embedding.js https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
create_dynamic_module.js https://github.com/nodejs/node/pull/61654/files#diff-532b675a8256bbde0c05fc33879730cd1e8177d9288423bfc8d0e6bf2851beed
loader.js https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
translators.js https://github.com/nodejs/node/pull/61654/files#diff-b1de5e9ce1e9b411001c63d11a5092dbba32e1586269a20dc11408375eb2f16c
utils.js https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
helpers.js https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
env_properties.h https://github.com/nodejs/node/pull/61654/files#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
module_wrap.cc https://github.com/nodejs/node/pull/61654/files#diff-ea501528b0419a0e268dba0a111869879926d671b7e4240a7f8177e9eb384a4b
node_contextify.cc https://github.com/nodejs/node/pull/61654/files#diff-d194c6f9fca3e3c031ecc5b7bd91a53c8881641cd4d1df1ff169312971955c50
test_environment.cc https://github.com/nodejs/node/pull/61654/files#diff-24b6b2e258ff33df69fa563c4a877f0c7756bc1b6cc4e7422fae14e5be2dca07
lib/internal/main/embedding.jshttps://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/main/embedding.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
https://github.com/nodejs/node/pull/61654/files#diff-b599803b304405417e4d4139e8341ac060d7fbcc8bda37eaa071ce6e3812cd48
lib/internal/modules/esm/create_dynamic_module.jshttps://github.com/nodejs/node/pull/61654/files#diff-532b675a8256bbde0c05fc33879730cd1e8177d9288423bfc8d0e6bf2851beed
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/modules/esm/create_dynamic_module.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-532b675a8256bbde0c05fc33879730cd1e8177d9288423bfc8d0e6bf2851beed
https://github.com/nodejs/node/pull/61654/files#diff-532b675a8256bbde0c05fc33879730cd1e8177d9288423bfc8d0e6bf2851beed
lib/internal/modules/esm/loader.jshttps://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/modules/esm/loader.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
https://github.com/nodejs/node/pull/61654/files#diff-f6796082f599554ec3a29c47cf026cb24fc5104884f2632e472c05fe622d778b
lib/internal/modules/esm/translators.jshttps://github.com/nodejs/node/pull/61654/files#diff-b1de5e9ce1e9b411001c63d11a5092dbba32e1586269a20dc11408375eb2f16c
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/modules/esm/translators.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-b1de5e9ce1e9b411001c63d11a5092dbba32e1586269a20dc11408375eb2f16c
https://github.com/nodejs/node/pull/61654/files#diff-b1de5e9ce1e9b411001c63d11a5092dbba32e1586269a20dc11408375eb2f16c
lib/internal/modules/esm/utils.jshttps://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/modules/esm/utils.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
https://github.com/nodejs/node/pull/61654/files#diff-1831d1a1c94734d1167c7283fc5bedcce59011985d583a956e7abc16e1fb00c2
lib/internal/modules/helpers.jshttps://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/lib/internal/modules/helpers.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
https://github.com/nodejs/node/pull/61654/files#diff-fddf8a06747f8c9e83cd2a3ebee0f53dbd790567ce018044e70bd0ffbbcc815e
src/env_properties.hhttps://github.com/nodejs/node/pull/61654/files#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/src/env_properties.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
https://github.com/nodejs/node/pull/61654/files#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
src/module_wrap.cchttps://github.com/nodejs/node/pull/61654/files#diff-ea501528b0419a0e268dba0a111869879926d671b7e4240a7f8177e9eb384a4b
View file https://github.com/joyeecheung/node/blob/5182318a06b625abf957c83c209bf201353dc454/src/module_wrap.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/61654/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/61654/files#diff-ea501528b0419a0e268dba0a111869879926d671b7e4240a7f8177e9eb384a4b
https://github.com/nodejs/node/pull/61654/files#diff-ea501528b0419a0e268dba0a111869879926d671b7e4240a7f8177e9eb384a4b
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
Please reload this pagehttps://github.com/nodejs/node/pull/61654/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.