René's URL Explorer Experiment


Title: fix(core): Guard `loadModule` default parameter against ESM scope by chargome · Pull Request #24124 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Guard `loadModule` default parameter against ESM scope by chargome · Pull Request #24124 · getsentry/sentry-javascript

X Title: fix(core): Guard `loadModule` default parameter against ESM scope by chargome · Pull Request #24124 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Guard loadModule's default existingModule parameter with a typeof module check so calling it from the ESM build degrades to undefined instead of throwing ReferenceError: module is not defined, ...

X Description: Guard loadModule's default existingModule parameter with a typeof module check so calling it from the ESM build degrades to undefined instead of throwing ReferenceError: module is not defin...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/24124

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:84898375-f6b0-2323-c4fe-0f0a4cb3cff3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB54:176400:13DC208:1BD44EA:6B045852
html-safe-nonce5abc2ddda62d01cfa38cd0aa4fe27126ea83c7709f14f0cb64bbf8bfee934254
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjU0OjE3NjQwMDoxM0RDMjA4OjFCRDQ0RUE6NkIwNDU4NTIiLCJ2aXNpdG9yX2lkIjoiMTc4NzUyMDUxMjI3NzM3MDk2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4f3838463496dd7a584f85b4645730a28acc9457a0f330b5587c0fd41e3f5b7f
hovercard-subject-tagpull_request:4461576575
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/getsentry/sentry-javascript/24124/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e97ad01a0ee2f42b48d6482ad5491f88c3d2615a48ee051d3d94213aea5bde8a/getsentry/sentry-javascript/pull/24124
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e97ad01a0ee2f42b48d6482ad5491f88c3d2615a48ee051d3d94213aea5bde8a/getsentry/sentry-javascript/pull/24124
og:image:altGuard loadModule's default existingModule parameter with a typeof module check so calling it from the ESM build degrades to undefined instead of throwing ReferenceError: module is not defined, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
releasee086f9b7e88322eb2b41885a6ad425b215737fa5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/24124#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24124
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%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24124
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=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24124
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24124
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24124
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
investigate-loadmodule-eshttps://github.com/getsentry/sentry-javascript/tree/investigate-loadmodule-es
Conversationhttps://github.com/getsentry/sentry-javascript/pull/24124
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/24124/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/24124/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/24124/files
fix(core): Guard loadModule default parameter against ESM scopehttps://github.com/getsentry/sentry-javascript/pull/24124#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
investigate-loadmodule-eshttps://github.com/getsentry/sentry-javascript/tree/investigate-loadmodule-es
https://github.com/chargome
chargomehttps://github.com/chargome
Sep 7, 2026https://github.com/getsentry/sentry-javascript/pull/24124#issue-5371682456
#24117https://github.com/getsentry/sentry-javascript/issues/24117
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
chargomehttps://github.com/chargome
Sep 7, 2026https://github.com/getsentry/sentry-javascript/pull/24124#event-30674508468
https://github.com/chargome
chargomehttps://github.com/chargome
Sep 7, 2026https://github.com/getsentry/sentry-javascript/pull/24124#issuecomment-5567240421
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Sep 7, 2026 https://github.com/getsentry/sentry-javascript/pull/24124#pullrequestreview-5129403180
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24124/files
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/24124#pullrequestreview-5129403180
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
0770e69https://github.com/getsentry/sentry-javascript/commit/0770e69f627197df4591feffadcfac10783cc901
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
https://github.com/claude
fix(core): Guard loadModule default parameter against ESM scopehttps://github.com/getsentry/sentry-javascript/pull/24124/commits/c6c97f325147b8b807b3844efbc9075172276b97
c6c97f3https://github.com/getsentry/sentry-javascript/pull/24124/commits/c6c97f325147b8b807b3844efbc9075172276b97
#24117https://github.com/getsentry/sentry-javascript/issues/24117
https://github.com/chargome
chargomehttps://github.com/chargome
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/8908e3eee3f2267a987dd272ecc47de1c680e1fb..c6c97f325147b8b807b3844efbc9075172276b97
8908e3ehttps://github.com/getsentry/sentry-javascript/commit/8908e3eee3f2267a987dd272ecc47de1c680e1fb
c6c97f3https://github.com/getsentry/sentry-javascript/commit/c6c97f325147b8b807b3844efbc9075172276b97
Compare https://github.com/getsentry/sentry-javascript/compare/8908e3eee3f2267a987dd272ecc47de1c680e1fb..c6c97f325147b8b807b3844efbc9075172276b97
September 7, 2026 07:56https://github.com/getsentry/sentry-javascript/pull/24124#event-30674810009
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 7, 2026https://github.com/getsentry/sentry-javascript/pull/24124#issuecomment-5567394493
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/33900446275
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
chargomehttps://github.com/chargome
September 7, 2026 08:38https://github.com/getsentry/sentry-javascript/pull/24124#event-30677241897
https://github.com/chargome
chargomehttps://github.com/chargome
code ownerhttps://github.com/getsentry/sentry-javascript/blob/83ef294fea2913319bd463c77c846a4be5e06154/.github/CODEOWNERS#L24
September 7, 2026 08:38https://github.com/getsentry/sentry-javascript/pull/24124#event-30677242550
https://github.com/chargome
chargomehttps://github.com/chargome
isaacshttps://github.com/isaacs
mydeahttps://github.com/mydea
timfishhttps://github.com/timfish
September 7, 2026 08:38https://github.com/getsentry/sentry-javascript/pull/24124#event-30677242992
https://github.com/timfish
timfishhttps://github.com/timfish
Sep 7, 2026 https://github.com/getsentry/sentry-javascript/pull/24124#pullrequestreview-5130506622
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24124/files/c6c97f325147b8b807b3844efbc9075172276b97
https://github.com/chargome
chargomehttps://github.com/chargome
492b5e1https://github.com/getsentry/sentry-javascript/commit/492b5e13958ae91c3795853c63b4e6e80118d453
Sep 7, 2026https://github.com/getsentry/sentry-javascript/pull/24124#event-30687691346
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
chargomehttps://github.com/chargome
September 7, 2026 11:35https://github.com/getsentry/sentry-javascript/pull/24124#event-30687693433
https://github.com/chargome
chargomehttps://github.com/chargome
Sep 7, 2026 https://github.com/getsentry/sentry-javascript/pull/24124#ref-pullrequest-5374144692
fix(v10/core): Guard loadModule default parameter against ESM scope #24154 https://github.com/getsentry/sentry-javascript/pull/24154
chargomehttps://github.com/chargome
Sep 7, 2026 https://github.com/getsentry/sentry-javascript/pull/24124#ref-commit-de25dcb
https://github.com/chargome
fix(v10/core): Guardhttps://github.com/getsentry/sentry-javascript/commit/de25dcb926c87ed7002406e4c54647e39143790a
loadModulehttps://github.com/getsentry/sentry-javascript/commit/de25dcb926c87ed7002406e4c54647e39143790a
default parameter against ESM scope (https://github.com/getsentry/sentry-javascript/commit/de25dcb926c87ed7002406e4c54647e39143790a
…https://github.com/getsentry/sentry-javascript/pull/24154
de25dcbhttps://github.com/getsentry/sentry-javascript/commit/de25dcb926c87ed7002406e4c54647e39143790a
…#24154https://github.com/getsentry/sentry-javascript/pull/24154
#24124https://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Sep 16, 2026 https://github.com/getsentry/sentry-javascript/pull/24124#ref-issue-5474005562
publish: getsentry/sentry-javascript@11.0.0-rc.0 getsentry/publish#9545 https://github.com/getsentry/publish/issues/9545
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24124
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/24124/files/0770e69f627197df4591feffadcfac10783cc901
https://github.com/timfish
timfish https://github.com/timfish
https://github.com/getsentry/sentry-javascript/pull/24124/files/c6c97f325147b8b807b3844efbc9075172276b97
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
chargome https://github.com/chargome
loadModule throws ReferenceError: module is not defined from the ESM build (default parameter is outside the try/catch) https://github.com/getsentry/sentry-javascript/issues/24117
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24124
https://github.com/chargome
https://github.com/timfish
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.