René's URL Explorer Experiment


Title: test: use index.js if package.json "main" is empty by bnoordhuis · Pull Request #32040 · nodejs/node · GitHub

Open Graph Title: test: use index.js if package.json "main" is empty by bnoordhuis · Pull Request #32040 · nodejs/node

X Title: test: use index.js if package.json "main" is empty by bnoordhuis · Pull Request #32040 · nodejs/node

Description: Verify that the module loader uses index.js when the "main" property of package.json is the empty string. Refs: #32013

Open Graph Description: Verify that the module loader uses index.js when the "main" property of package.json is the empty string. Refs: #32013

X Description: Verify that the module loader uses index.js when the "main" property of package.json is the empty string. Refs: #32013

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:67790f44-402f-36fc-b00f-a0d2421c3692
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4FC:39E51F:1AF252C:2305944:696B364C
html-safe-nonce76898ef2e26cc0974c8961b1c4f0f52775d4feea71582048b68cc4c9703ad1a9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEZDOjM5RTUxRjoxQUYyNTJDOjIzMDU5NDQ6Njk2QjM2NEMiLCJ2aXNpdG9yX2lkIjoiMTcwNDM5OTE5ODQyMjI1MTA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdf8b263239ea0b187f5965c469670373cae50028f1c592e2856c5f89c5aee931
hovercard-subject-tagpull_request:382334713
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/32040/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6d86fe2c6956d7db1a833b7a25de7368a946320223deabf5d9a137153a8bff66/nodejs/node/pull/32040
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6d86fe2c6956d7db1a833b7a25de7368a946320223deabf5d9a137153a8bff66/nodejs/node/pull/32040
og:image:altVerify that the module loader uses index.js when the "main" property of package.json is the empty string. Refs: #32013
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebnoordhuis
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/32040#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F32040
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2F32040
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/32040
Reloadhttps://github.com/nodejs/node/pull/32040
Reloadhttps://github.com/nodejs/node/pull/32040
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/32040
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 691 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/pull/32040
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 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
Jump to bottomhttps://github.com/nodejs/node/pull/32040#issue-comment-box
bnoordhuishttps://github.com/bnoordhuis
nodejs:masterhttps://github.com/nodejs/node/tree/master
bnoordhuis:empty-mainhttps://github.com/bnoordhuis/io.js/tree/empty-main
test: use index.js if package.json "main" is empty https://github.com/nodejs/node/pull/32040#top
bnoordhuishttps://github.com/bnoordhuis
nodejs:masterhttps://github.com/nodejs/node/tree/master
bnoordhuis:empty-mainhttps://github.com/bnoordhuis/io.js/tree/empty-main
Conversation 2 https://github.com/nodejs/node/pull/32040
Commits 1 https://github.com/nodejs/node/pull/32040/commits
Checks 0 https://github.com/nodejs/node/pull/32040/checks
Files changed https://github.com/nodejs/node/pull/32040/files
Please reload this pagehttps://github.com/nodejs/node/pull/32040
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Mar 2, 2020https://github.com/nodejs/node/pull/32040#issue-573915091
#32013https://github.com/nodejs/node/issues/32013
Please reload this pagehttps://github.com/nodejs/node/pull/32040
https://github.com/bnoordhuis
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/pull/32040/commits/3704db3dcee711e129f171011da84abf689d87e0
3704db3https://github.com/nodejs/node/pull/32040/commits/3704db3dcee711e129f171011da84abf689d87e0
nodejs#32013https://github.com/nodejs/node/issues/32013
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
Mar 2, 2020https://github.com/nodejs/node/pull/32040#event-3087576908
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#ref-issue-572978965
require.resolve should return package.json path if "main" in package.json is empty #32013 https://github.com/nodejs/node/issues/32013
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#pullrequestreview-367193537
View reviewed changes https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#pullrequestreview-367364779
View reviewed changes https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/lundibundi
lundibundihttps://github.com/lundibundi
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#pullrequestreview-367369064
View reviewed changes https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Mar 2, 2020https://github.com/nodejs/node/pull/32040#issuecomment-593508329
https://ci.nodejs.org/job/node-test-pull-request/29491/https://ci.nodejs.org/job/node-test-pull-request/29491/
Please reload this pagehttps://github.com/nodejs/node/pull/32040
https://github.com/lundibundi
lundibundihttps://github.com/lundibundi
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
Mar 2, 2020https://github.com/nodejs/node/pull/32040#event-3088837147
https://github.com/richardlau
richardlauhttps://github.com/richardlau
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#pullrequestreview-367440689
View reviewed changes https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/lpinca
lpincahttps://github.com/lpinca
Mar 2, 2020 https://github.com/nodejs/node/pull/32040#pullrequestreview-367506364
View reviewed changes https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
addaleaxhttps://github.com/addaleax
Mar 9, 2020 https://github.com/nodejs/node/pull/32040#ref-commit-8ce6315
https://github.com/bnoordhuis
https://github.com/addaleax
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/commit/8ce6315e8896dd30f5d21caca542b031f33e6b8d
8ce6315https://github.com/nodejs/node/commit/8ce6315e8896dd30f5d21caca542b031f33e6b8d
#32013https://github.com/nodejs/node/issues/32013
#32040https://github.com/nodejs/node/pull/32040
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Mar 9, 2020https://github.com/nodejs/node/pull/32040#issuecomment-596494679
8ce6315https://github.com/nodejs/node/commit/8ce6315e8896dd30f5d21caca542b031f33e6b8d
Please reload this pagehttps://github.com/nodejs/node/pull/32040
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Mar 9, 2020https://github.com/nodejs/node/pull/32040#event-3110391730
MylesBorinshttps://github.com/MylesBorins
Mar 9, 2020 https://github.com/nodejs/node/pull/32040#ref-commit-862cd2b
https://github.com/bnoordhuis
https://github.com/MylesBorins
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/commit/862cd2b49d06d7af95a0fee64ec9ef389f1f9517
862cd2bhttps://github.com/nodejs/node/commit/862cd2b49d06d7af95a0fee64ec9ef389f1f9517
#32013https://github.com/nodejs/node/issues/32013
#32040https://github.com/nodejs/node/pull/32040
https://github.com/MylesBorins
MylesBorinshttps://github.com/MylesBorins
Mar 10, 2020 https://github.com/nodejs/node/pull/32040#ref-pullrequest-578909658
v13.11.0 proposal #32185 https://github.com/nodejs/node/pull/32185
codebyterehttps://github.com/codebytere
Mar 17, 2020 https://github.com/nodejs/node/pull/32040#ref-commit-fa8d736
https://github.com/bnoordhuis
https://github.com/codebytere
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/commit/fa8d736b6e446c541348cb0f9538bd7ef56e6d56
fa8d736https://github.com/nodejs/node/commit/fa8d736b6e446c541348cb0f9538bd7ef56e6d56
#32013https://github.com/nodejs/node/issues/32013
#32040https://github.com/nodejs/node/pull/32040
https://github.com/codebytere
codebyterehttps://github.com/codebytere
Mar 17, 2020 https://github.com/nodejs/node/pull/32040#ref-pullrequest-582721275
v12.16.2 proposal #32313 https://github.com/nodejs/node/pull/32313
codebyterehttps://github.com/codebytere
Mar 23, 2020 https://github.com/nodejs/node/pull/32040#ref-commit-bd09a75
https://github.com/bnoordhuis
https://github.com/codebytere
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/commit/bd09a7549dbbb1f95cb07f39a879646bd590b9e5
bd09a75https://github.com/nodejs/node/commit/bd09a7549dbbb1f95cb07f39a879646bd590b9e5
#32013https://github.com/nodejs/node/issues/32013
#32040https://github.com/nodejs/node/pull/32040
codebyterehttps://github.com/codebytere
Mar 30, 2020 https://github.com/nodejs/node/pull/32040#ref-commit-1470457
https://github.com/bnoordhuis
https://github.com/codebytere
test: use index.js if package.json "main" is emptyhttps://github.com/nodejs/node/commit/147045716b8364d4c6fcbc5d475182c00d1fba91
1470457https://github.com/nodejs/node/commit/147045716b8364d4c6fcbc5d475182c00d1fba91
#32013https://github.com/nodejs/node/issues/32013
#32040https://github.com/nodejs/node/pull/32040
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F32040
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/lpinca
lpinca https://github.com/lpinca
https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/richardlau
richardlau https://github.com/richardlau
https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
https://github.com/lundibundi
lundibundi https://github.com/lundibundi
https://github.com/nodejs/node/pull/32040/files/3704db3dcee711e129f171011da84abf689d87e0
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
Please reload this pagehttps://github.com/nodejs/node/pull/32040
https://github.com/bnoordhuis
https://github.com/nodejs-github-bot
https://github.com/addaleax
https://github.com/jasnell
https://github.com/lpinca
https://github.com/cjihrig
https://github.com/richardlau
https://github.com/lundibundi
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.