René's URL Explorer Experiment


Title: Create synthetic `exports` symbol for commonjs `module` by sandersn · Pull Request #42655 · microsoft/TypeScript · GitHub

Open Graph Title: Create synthetic `exports` symbol for commonjs `module` by sandersn · Pull Request #42655 · microsoft/TypeScript

X Title: Create synthetic `exports` symbol for commonjs `module` by sandersn · Pull Request #42655 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Create synthetic `exports` symbol for commonjs `module` by sandersn · Pull Request #42655 · microsoft/TypeScript

Open Graph Description: Previously, the module identifier in commonjs modules got a synthetic type with a single property exports. The exports property reused the file's symbol, which, for a module file, gives the cor...

X Description: Previously, the module identifier in commonjs modules got a synthetic type with a single property exports. The exports property reused the file's symbol, which, for a module file, gives the...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/42655

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/_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:4f1c49e0-fbb1-4995-5f06-d43c03a74ffa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABDC:3A347:B4906A:F0C71A:6B00EFEA
html-safe-nonce7f9b58fd28cfe9c4c2f4252a4b94b0e368e50d3a8080b3d09b15f77d748c89db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkRDOjNBMzQ3OkI0OTA2QTpGMEM3MUE6NkIwMEVGRUEiLCJ2aXNpdG9yX2lkIjoiMTU2MDcwMDIwOTg4MzgzNjM5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd725cfe27cbee8ff6e03d3f4aefe1ffc854529dd6d6046d6c44a1c6e11434123
hovercard-subject-tagpull_request:567986325
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/microsoft/TypeScript/42655/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bf847ecba19d5cbd04ec1b22a28b16f93a97f592e72b675bcf751dafd83467c2/microsoft/TypeScript/pull/42655
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf847ecba19d5cbd04ec1b22a28b16f93a97f592e72b675bcf751dafd83467c2/microsoft/TypeScript/pull/42655
og:image:altPreviously, the module identifier in commonjs modules got a synthetic type with a single property exports. The exports property reused the file's symbol, which, for a module file, gives the cor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/42655#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42655
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%2Fmicrosoft%2FTypeScript%2Fpull%2F42655
Sign uphttps://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=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/42655
Reloadhttps://github.com/microsoft/TypeScript/pull/42655
Reloadhttps://github.com/microsoft/TypeScript/pull/42655
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
create-synthetic-exports-symbol-for-commonjs-modulehttps://github.com/microsoft/TypeScript/tree/create-synthetic-exports-symbol-for-commonjs-module
Conversationhttps://github.com/microsoft/TypeScript/pull/42655
Commits3 (3)https://github.com/microsoft/TypeScript/pull/42655/commits
Checkshttps://github.com/microsoft/TypeScript/pull/42655/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/42655/files
Create synthetic exports symbol for commonjs modulehttps://github.com/microsoft/TypeScript/pull/42655#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
create-synthetic-exports-symbol-for-commonjs-modulehttps://github.com/microsoft/TypeScript/tree/create-synthetic-exports-symbol-for-commonjs-module
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 4, 2021https://github.com/microsoft/TypeScript/pull/42655#issue-801719445
#41764https://github.com/microsoft/TypeScript/issues/41764
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
Commonjs module:create synthetic exports symbolhttps://github.com/microsoft/TypeScript/pull/42655/commits/09ae24b5b007de096c8bbb0228c40078a362e44b
09ae24bhttps://github.com/microsoft/TypeScript/pull/42655/commits/09ae24b5b007de096c8bbb0228c40078a362e44b
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 4, 2021https://github.com/microsoft/TypeScript/pull/42655#event-4293578199
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
Feb 4, 2021https://github.com/microsoft/TypeScript/pull/42655#event-4293578223
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Wesley Wigham (weswigham)https://github.com/weswigham
February 4, 2021 23:42https://github.com/microsoft/TypeScript/pull/42655#event-4293578246
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Feb 4, 2021https://github.com/microsoft/TypeScript/pull/42655#event-4293578373
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 4, 2021https://github.com/microsoft/TypeScript/pull/42655#event-4293579378
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Eli Barzilay (elibarzilay)https://github.com/elibarzilay
February 5, 2021 00:00https://github.com/microsoft/TypeScript/pull/42655#event-4293620564
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Feb 5, 2021 https://github.com/microsoft/TypeScript/pull/42655#pullrequestreview-583938250
View reviewed changes https://github.com/microsoft/TypeScript/pull/42655/files/09ae24b5b007de096c8bbb0228c40078a362e44b
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/42655/files/09ae24b5b007de096c8bbb0228c40078a362e44b#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#discussion_r570647138
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
February 5, 2021 09:33https://github.com/microsoft/TypeScript/pull/42655#commits-pushed-2f235a9
https://github.com/sandersn
correct parent of synthetic symbolhttps://github.com/microsoft/TypeScript/pull/42655/commits/2f235a9fde564a5b318bb7a6b5a15af50a715508
2f235a9https://github.com/microsoft/TypeScript/pull/42655/commits/2f235a9fde564a5b318bb7a6b5a15af50a715508
https://github.com/sandersn
Merge branch 'master' into create-synthetic-exports-symbol-for-common…https://github.com/microsoft/TypeScript/pull/42655/commits/5289808445d831ea554e384b7880fabf528103c9
5289808https://github.com/microsoft/TypeScript/pull/42655/commits/5289808445d831ea554e384b7880fabf528103c9
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Feb 5, 2021 https://github.com/microsoft/TypeScript/pull/42655#pullrequestreview-584583607
View reviewed changes https://github.com/microsoft/TypeScript/pull/42655/files/5289808445d831ea554e384b7880fabf528103c9
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/42655/files/5289808445d831ea554e384b7880fabf528103c9#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#discussion_r571154763
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#discussion_r571165046
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
an SO answer from a V8 developerhttps://stackoverflow.com/a/54466812/7851
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#issuecomment-774199951
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#issuecomment-774199981
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
5289808https://github.com/microsoft/TypeScript/commit/5289808445d831ea554e384b7880fabf528103c9
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=95084
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Feb 5, 2021 https://github.com/microsoft/TypeScript/pull/42655#pullrequestreview-584599238
View reviewed changes https://github.com/microsoft/TypeScript/pull/42655/files/5289808445d831ea554e384b7880fabf528103c9
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 5, 2021 https://github.com/microsoft/TypeScript/pull/42655#ref-pullrequest-802396863
🤖 User test baselines have changed for create-synthetic-exports-symbol-for-commonjs-module typescript-bot/TypeScript#146 https://github.com/typescript-bot/TypeScript/pull/146
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#issuecomment-774222227
PR with the baseline diff from masterhttps://github.com/typescript-bot/TypeScript/pull/146
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#issuecomment-774223595
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
aba932ahttps://github.com/microsoft/TypeScript/commit/aba932aefaf7657699ba0f9af1af43574f1be64c
Feb 5, 2021https://github.com/microsoft/TypeScript/pull/42655#event-4297549489
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
February 5, 2021 18:56https://github.com/microsoft/TypeScript/pull/42655#event-4297549745
https://github.com/brendankenny
Brendan Kenny (brendankenny)https://github.com/brendankenny
Mar 5, 2021 https://github.com/microsoft/TypeScript/pull/42655#ref-pullrequest-823383845
deps: update typescript and axe-core to latest GoogleChrome/lighthouse#12207 https://github.com/GoogleChrome/lighthouse/pull/12207
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 10, 2021 https://github.com/microsoft/TypeScript/pull/42655#ref-issue-581681496
Should preserve unique symbols when re‑assigning module.exports #37403 https://github.com/microsoft/TypeScript/issues/37403
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/42655#event-20417371965
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42655
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/42655/files/09ae24b5b007de096c8bbb0228c40078a362e44b
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42655/files/5289808445d831ea554e384b7880fabf528103c9
https://github.com/elibarzilay
Eli Barzilay (elibarzilay) https://github.com/elibarzilay
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
In JS, checking require.main === module causes the type of module to get messed up https://github.com/microsoft/TypeScript/issues/41764
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42655
https://github.com/sandersn
https://github.com/typescript-bot
https://github.com/weswigham
https://github.com/andrewbranch
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.