René's URL Explorer Experiment


Title: Hoist function exports to top of module body in CJS/AMD/UMD by rbuckton · Pull Request #57669 · microsoft/TypeScript · GitHub

Open Graph Title: Hoist function exports to top of module body in CJS/AMD/UMD by rbuckton · Pull Request #57669 · microsoft/TypeScript

X Title: Hoist function exports to top of module body in CJS/AMD/UMD by rbuckton · Pull Request #57669 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Hoist function exports to top of module body in CJS/AMD/UMD by rbuckton · Pull Request #57669 · microsoft/TypeScript

Open Graph Description: This changes our emit for CommonJS, AMD, and UMD so that exports for exported function declarations are hoisted to the top of the transformed module body. There is a minor impact on the order of ke...

X Description: This changes our emit for CommonJS, AMD, and UMD so that exports for exported function declarations are hoisted to the top of the transformed module body. There is a minor impact on the order of ke...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:b6d4075c-6006-f933-89ed-bad1f11941c7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A14:7F641:241E11C:2FD163B:6B0585FE
html-safe-nonce452ec2aa485534a05596a525481a6ae1c4186c56c240a34099145721826e4ad3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTE0OjdGNjQxOjI0MUUxMUM6MkZEMTYzQjo2QjA1ODVGRSIsInZpc2l0b3JfaWQiOiI3MDYyMTQxNDYwNDI0NDQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3d5ce758142a27b19e6f102f8060d2becea1292c2a9ff36595edeabef29fd2df
hovercard-subject-tagpull_request:1759755950
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/57669/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57669
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec6518b6d8753e2808f2cd8308f93e90bacc88f267887e34d83f4d888e5fc291/microsoft/TypeScript/pull/57669
og:image:altThis changes our emit for CommonJS, AMD, and UMD so that exports for exported function declarations are hoisted to the top of the transformed module body. There is a minor impact on the order of ke...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbuckton
hostnamegithub.com
expected-hostnamegithub.com
None9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c
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
releasef089e689ad324655ac44bf6cdbc04d976105b374
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/57669#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57669
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%2F57669
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/57669
Reloadhttps://github.com/microsoft/TypeScript/pull/57669
Reloadhttps://github.com/microsoft/TypeScript/pull/57669
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests321 (321)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
Ron Buckton (rbuckton)https://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
fix39853https://github.com/microsoft/TypeScript/tree/fix39853
Conversationhttps://github.com/microsoft/TypeScript/pull/57669
Commits2 (2)https://github.com/microsoft/TypeScript/pull/57669/commits
Checkshttps://github.com/microsoft/TypeScript/pull/57669/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/57669/files
Hoist function exports to top of module body in CJS/AMD/UMDhttps://github.com/microsoft/TypeScript/pull/57669#top
Ron Buckton (rbuckton)https://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
fix39853https://github.com/microsoft/TypeScript/tree/fix39853
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Mar 6, 2024https://github.com/microsoft/TypeScript/pull/57669#issue-2172434959
#39853https://github.com/microsoft/TypeScript/issues/39853
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/rbuckton
Hoist function exports to top of module body in CJS/AMD/UMDhttps://github.com/microsoft/TypeScript/pull/57669/commits/6d704a9bc56c182f0256eeb102d84c039899ce52
6d704a9https://github.com/microsoft/TypeScript/pull/57669/commits/6d704a9bc56c182f0256eeb102d84c039899ce52
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
March 6, 2024 21:12https://github.com/microsoft/TypeScript/pull/57669#event-12033583047
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Ron Buckton (rbuckton)https://github.com/rbuckton
Mar 6, 2024https://github.com/microsoft/TypeScript/pull/57669#event-12033583774
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
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Mar 6, 2024https://github.com/microsoft/TypeScript/pull/57669#event-12033583900
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Mar 6, 2024 https://github.com/microsoft/TypeScript/pull/57669#pullrequestreview-1920910867
View reviewed changes https://github.com/microsoft/TypeScript/pull/57669/files/6d704a9bc56c182f0256eeb102d84c039899ce52
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Mar 6, 2024https://github.com/microsoft/TypeScript/pull/57669#issuecomment-1981974815
#57668https://github.com/microsoft/TypeScript/pull/57668
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/rbuckton
Merge branch 'main' into fix39853https://github.com/microsoft/TypeScript/pull/57669/commits/691f83cd766485ef3dee2cd9a7894be08933f1eb
691f83chttps://github.com/microsoft/TypeScript/pull/57669/commits/691f83cd766485ef3dee2cd9a7894be08933f1eb
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
881f449https://github.com/microsoft/TypeScript/commit/881f449a8a10839db5d535c3a407621d53c78666
Mar 6, 2024https://github.com/microsoft/TypeScript/pull/57669#event-12034788193
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
March 6, 2024 23:44https://github.com/microsoft/TypeScript/pull/57669#event-12034788265
https://github.com/danvk
Dan Vanderkam (danvk)https://github.com/danvk
Mar 14, 2024 https://github.com/microsoft/TypeScript/pull/57669#ref-pullrequest-2147194585
Infer type predicates from function bodies using control flow analysis #57465 https://github.com/microsoft/TypeScript/pull/57465
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
May 9, 2024 https://github.com/microsoft/TypeScript/pull/57669#ref-issue-2285851386
5.5.0 regression - Named exports of functions are not emitted for CommonJS #58473 https://github.com/microsoft/TypeScript/issues/58473
https://github.com/tjzel
Tomasz Żelawski (tjzel)https://github.com/tjzel
Jul 23, 2024https://github.com/microsoft/TypeScript/pull/57669#issuecomment-2244693469
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
Ron Buckton (@rbuckton)https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/tjzel
Tomasz Żelawski (tjzel)https://github.com/tjzel
Jul 23, 2024 https://github.com/microsoft/TypeScript/pull/57669#ref-pullrequest-2424743355
feat: Move commonjs exports down for worklet files software-mansion/react-native-reanimated#6316 https://github.com/software-mansion/react-native-reanimated/pull/6316
github-merge-queuehttps://github.com/apps/github-merge-queue
Jul 23, 2024 https://github.com/microsoft/TypeScript/pull/57669#ref-commit-818ed78
https://github.com/tjzel
feat: Move commonjs exports down for worklet files (https://github.com/software-mansion/react-native-reanimated/commit/818ed78870bf41b6255abdd16b153444761101b2
#6316https://github.com/software-mansion/react-native-reanimated/pull/6316
)https://github.com/software-mansion/react-native-reanimated/commit/818ed78870bf41b6255abdd16b153444761101b2
818ed78https://github.com/software-mansion/react-native-reanimated/commit/818ed78870bf41b6255abdd16b153444761101b2
microsoft/TypeScript#57669https://github.com/microsoft/TypeScript/pull/57669
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Jul 23, 2024https://github.com/microsoft/TypeScript/pull/57669#issuecomment-2245288502
Ron Buckton (@rbuckton)https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/tjzel
Tomasz Żelawski (tjzel)https://github.com/tjzel
Jul 24, 2024https://github.com/microsoft/TypeScript/pull/57669#issuecomment-2247337356
Reanimated Babel pluginhttps://github.com/software-mansion/react-native-reanimated/tree/main/packages/react-native-reanimated/plugin
move the exports to the bottom of filehttps://github.com/software-mansion/react-native-reanimated/pull/6316
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
r0h0gg6https://github.com/r0h0gg6
Jul 28, 2025 https://github.com/microsoft/TypeScript/pull/57669#ref-commit-6f6f73a
https://github.com/tjzel
feat: Move commonjs exports down for worklet files (https://github.com/r0h0gg6/react-native-reanimated/commit/6f6f73ae4550572ab6128b1c24c2195b9316edfc
software-mansion#…https://github.com/software-mansion/react-native-reanimated/pull/6316
6f6f73ahttps://github.com/r0h0gg6/react-native-reanimated/commit/6f6f73ae4550572ab6128b1c24c2195b9316edfc
…6316https://github.com/software-mansion/react-native-reanimated/pull/6316
microsoft/TypeScript#57669https://github.com/microsoft/TypeScript/pull/57669
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/57669#event-20323076310
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%2F57669
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/57669/files/6d704a9bc56c182f0256eeb102d84c039899ce52
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat) https://github.com/sheetalkamat
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
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
Hoisted function declarations should be assigned to exports before any require calls https://github.com/microsoft/TypeScript/issues/39853
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57669
https://github.com/rbuckton
https://github.com/jakebailey
https://github.com/tjzel
https://github.com/andrewbranch
https://github.com/typescript-bot
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.