René's URL Explorer Experiment


Title: fix dots in file/directory names breaking Lua require resolution (#1445) by RealColdFry · Pull Request #1702 · TypeScriptToLua/TypeScriptToLua · GitHub

Open Graph Title: fix dots in file/directory names breaking Lua require resolution (#1445) by RealColdFry · Pull Request #1702 · TypeScriptToLua/TypeScriptToLua

X Title: fix dots in file/directory names breaking Lua require resolution (#1445) by RealColdFry · Pull Request #1702 · TypeScriptToLua/TypeScriptToLua

Description: Fixes #1445 Lua's require() uses dots as path separators, so a file at Foo.Bar/index.lua is unreachable via require("Foo.Bar.index") since Lua looks for Foo/Bar/index.lua. Expand dotted path segments into nested directories in the emit output, and emit a diagnostic when this expansion causes output path collisions.

Open Graph Description: Fixes #1445 Lua's require() uses dots as path separators, so a file at Foo.Bar/index.lua is unreachable via require("Foo.Bar.index") since Lua looks for Foo/Bar/index.lua. Expand dott...

X Description: Fixes #1445 Lua's require() uses dots as path separators, so a file at Foo.Bar/index.lua is unreachable via require("Foo.Bar.index") since Lua looks for Foo/Bar/index.lua....

Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f1c09768-7704-bfe6-6472-ebe341485d23
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0CA:2F9718:993517:CEE77C:6B00ED97
html-safe-nonce4fa51654381663ecd080f6b51cbc3d8a8d784f243f044e0d19d381298e1ca0e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMENBOjJGOTcxODo5OTM1MTc6Q0VFNzdDOjZCMDBFRDk3IiwidmlzaXRvcl9pZCI6IjU5NjQ0NjY3MzY5NTc4MTIxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd73c8373feb5dc12502837b74218c6ecdd6d971044c8d79c3a8dd6ca62d73d74
hovercard-subject-tagpull_request:3466550792
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/TypeScriptToLua/TypeScriptToLua/pull/1702/files
twitter:imagehttps://avatars.githubusercontent.com/u/267994082?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/267994082?s=400&v=4
og:image:altFixes #1445 Lua's require() uses dots as path separators, so a file at Foo.Bar/index.lua is unreachable via require("Foo.Bar.index") since Lua looks for Foo/Bar/index.lua. Expand dott...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git
octolytics-dimension-user_id44121206
octolytics-dimension-user_loginTypeScriptToLua
octolytics-dimension-repository_id115876595
octolytics-dimension-repository_nwoTypeScriptToLua/TypeScriptToLua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115876595
octolytics-dimension-repository_network_root_nwoTypeScriptToLua/TypeScriptToLua
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1702%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1702%2Ffiles
Sign uphttps://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=TypeScriptToLua%2FTypeScriptToLua
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
TypeScriptToLuahttps://github.com/TypeScriptToLua
TypeScriptToLuahttps://github.com/TypeScriptToLua/TypeScriptToLua
Codehttps://github.com/TypeScriptToLua/TypeScriptToLua
Issues132 (132)https://github.com/TypeScriptToLua/TypeScriptToLua/issues
Pull requests13 (13)https://github.com/TypeScriptToLua/TypeScriptToLua/pulls
Actionshttps://github.com/TypeScriptToLua/TypeScriptToLua/actions
Wikihttps://github.com/TypeScriptToLua/TypeScriptToLua/wiki
Security and qualityhttps://github.com/TypeScriptToLua/TypeScriptToLua/security
Insightshttps://github.com/TypeScriptToLua/TypeScriptToLua/insights
Sign up for GitHub https://github.com/signup?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
Perryvwhttps://github.com/Perryvw
TypeScriptToLua:masterhttps://github.com/TypeScriptToLua/TypeScriptToLua/tree/master
RealColdFry:fix/dots-in-module-pathshttps://github.com/RealColdFry/TypeScriptToLua/tree/fix/dots-in-module-paths
Conversation 4 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702
Commits 3 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/commits
Checks 5 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/checks
Files changed https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
fix dots in file/directory names breaking Lua require resolution (#1445) https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#top
Show all changes 3 commits https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
b85b5de fix dots in file/directory names breaking Lua require resolution (#1445) RealColdFry Mar 30, 2026 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/commits/b85b5dee94a3b5a84ff7da4b9d576b98c9a849ae
3f30817 replace dots with underscores in output paths instead of expanding to… RealColdFry Apr 3, 2026 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/commits/3f30817a57f1122107ffd54241338840e727b290
c438501 more tests RealColdFry Apr 14, 2026 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/commits/c43850140f254180771e702e5c664cece68eba91
Clear filters https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
diagnostics.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-9f8088a0112594822b0b1ef02bfa7c504d508a9bbbbbff83c3ffe068b9058cf7
transpiler.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
resolution.spec.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafce
util.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
src/transpilation/diagnostics.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-9f8088a0112594822b0b1ef02bfa7c504d508a9bbbbbff83c3ffe068b9058cf7
View file https://github.com/RealColdFry/TypeScriptToLua/blob/c43850140f254180771e702e5c664cece68eba91/src/transpilation/diagnostics.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-9f8088a0112594822b0b1ef02bfa7c504d508a9bbbbbff83c3ffe068b9058cf7
src/transpilation/transpiler.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
View file https://github.com/RealColdFry/TypeScriptToLua/blob/c43850140f254180771e702e5c664cece68eba91/src/transpilation/transpiler.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-77998adff394bad31fd65137c86ca57bdd1d76038aed1c6065544bbd18841b28
test/unit/modules/resolution.spec.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafce
View file https://github.com/RealColdFry/TypeScriptToLua/blob/c43850140f254180771e702e5c664cece68eba91/test/unit/modules/resolution.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafce
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafce
Perryvwhttps://github.com/Perryvw
Apr 3, 2026https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#r3033963280
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
RealColdFryhttps://github.com/RealColdFry
Apr 14, 2026https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#r3077907702
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
c438501#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafceR189https://github.com/TypeScriptToLua/TypeScriptToLua/commit/c43850140f254180771e702e5c664cece68eba91#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafceR189
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-90683c66d20ef437879beec3960e869dfb418e44caf0bcccffa005c8f64bafce
test/util.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
View file https://github.com/RealColdFry/TypeScriptToLua/blob/c43850140f254180771e702e5c664cece68eba91/test/util.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1702/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.