René's URL Explorer Experiment


Title: fix: Vercel `ai` ESM patching by timfish · Pull Request #16152 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix: Vercel `ai` ESM patching by timfish · Pull Request #16152 · getsentry/sentry-javascript

X Title: fix: Vercel `ai` ESM patching by timfish · Pull Request #16152 · getsentry/sentry-javascript

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

Open Graph Description: Closes Crash with Vercel AI SDK when used in ESM #16137 With ESM patching you need to retain the original module and just overwrite the exports you want to wrap. This usually works for CJS too but...

X Description: Closes Crash with Vercel AI SDK when used in ESM #16137 With ESM patching you need to retain the original module and just overwrite the exports you want to wrap. This usually works for CJS too but...

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

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:2eb7954e-6d9d-e839-37bd-ab750796fae8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA582:1F95:21B832E:2E26AF9:6B072FDC
html-safe-noncedc5f91bff59a8f7415eb86fd18f885d51b86995443ab1b3f99a096ca7d5fcca2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTgyOjFGOTU6MjFCODMyRToyRTI2QUY5OjZCMDcyRkRDIiwidmlzaXRvcl9pZCI6IjQxNTIyNzE4MDI1Njk1MzU0NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac63b564af302ed539043f424a873c2f7181a2efa77675fa97e7b6288d38b63800
hovercard-subject-tagpull_request:2486499836
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/16152/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fda4249970d70efea4c399532b1ac77cd23827072c192c9c3cc2a704c26134fd/getsentry/sentry-javascript/pull/16152
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fda4249970d70efea4c399532b1ac77cd23827072c192c9c3cc2a704c26134fd/getsentry/sentry-javascript/pull/16152
og:image:altCloses Crash with Vercel AI SDK when used in ESM #16137 With ESM patching you need to retain the original module and just overwrite the exports you want to wrap. This usually works for CJS too but...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimfish
hostnamegithub.com
expected-hostnamegithub.com
Noned0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1
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
releasea73ca0a5164c4669446bdffe239b0d7542ad735e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/16152#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16152
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%2F16152
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/16152
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16152
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16152
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)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
fix/vercel-ai-iitm-issuehttps://github.com/getsentry/sentry-javascript/tree/fix/vercel-ai-iitm-issue
Conversationhttps://github.com/getsentry/sentry-javascript/pull/16152
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/16152/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/16152/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/16152/files
fix: Vercel ai ESM patchinghttps://github.com/getsentry/sentry-javascript/pull/16152#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix/vercel-ai-iitm-issuehttps://github.com/getsentry/sentry-javascript/tree/fix/vercel-ai-iitm-issue
https://github.com/timfish
timfishhttps://github.com/timfish
Apr 28, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issue-3025678380
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
Crash with Vercel AI SDK when used in ESM #16137https://github.com/getsentry/sentry-javascript/issues/16137
herehttps://tc39.es/ecma262/#sec-module-namespace-objects
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 28, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2836023996
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14726022692
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/timfish
timfishhttps://github.com/timfish
AbhiPrasadhttps://github.com/AbhiPrasad
April 28, 2025 18:20https://github.com/getsentry/sentry-javascript/pull/16152#event-17439692358
https://github.com/timfish
timfishhttps://github.com/timfish
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/513e696d5d4d4d842c72bb0d26381f3bb59bdb50..f9b14f4605e15498dfaeab600404bde645e2fdec
513e696https://github.com/getsentry/sentry-javascript/commit/513e696d5d4d4d842c72bb0d26381f3bb59bdb50
f9b14f4https://github.com/getsentry/sentry-javascript/commit/f9b14f4605e15498dfaeab600404bde645e2fdec
Compare https://github.com/getsentry/sentry-javascript/compare/513e696d5d4d4d842c72bb0d26381f3bb59bdb50..f9b14f4605e15498dfaeab600404bde645e2fdec
April 28, 2025 18:35https://github.com/getsentry/sentry-javascript/pull/16152#event-17439910664
https://github.com/timfish
fix: Vercel ai import-in-the-middle patchinghttps://github.com/getsentry/sentry-javascript/pull/16152/commits/d48395d039cc41f5c21e5dc8a29eb11ca83c8a9e
d48395dhttps://github.com/getsentry/sentry-javascript/pull/16152/commits/d48395d039cc41f5c21e5dc8a29eb11ca83c8a9e
https://github.com/timfish
timfishhttps://github.com/timfish
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/f9b14f4605e15498dfaeab600404bde645e2fdec..d48395d039cc41f5c21e5dc8a29eb11ca83c8a9e
f9b14f4https://github.com/getsentry/sentry-javascript/commit/f9b14f4605e15498dfaeab600404bde645e2fdec
d48395dhttps://github.com/getsentry/sentry-javascript/commit/d48395d039cc41f5c21e5dc8a29eb11ca83c8a9e
Compare https://github.com/getsentry/sentry-javascript/compare/f9b14f4605e15498dfaeab600404bde645e2fdec..d48395d039cc41f5c21e5dc8a29eb11ca83c8a9e
April 28, 2025 18:37https://github.com/getsentry/sentry-javascript/pull/16152#event-17439935069
https://github.com/timfish
timfishhttps://github.com/timfish
Apr 28, 2025https://github.com/getsentry/sentry-javascript/pull/16152#event-17441183206
https://github.com/timfish
timfishhttps://github.com/timfish
April 28, 2025 20:20https://github.com/getsentry/sentry-javascript/pull/16152#event-17441418652
https://github.com/timfish
timfishhttps://github.com/timfish
Lms24https://github.com/Lms24
April 29, 2025 08:36https://github.com/getsentry/sentry-javascript/pull/16152#event-17450596645
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 29, 2025 https://github.com/getsentry/sentry-javascript/pull/16152#pullrequestreview-2802711375
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16152/files/ac18cd58d1b6b53216c75eb680cf71ba0923cfd6
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/16152#pullrequestreview-2802711375
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2838091422
@timfishhttps://github.com/timfish
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
timfishhttps://github.com/timfish
April 29, 2025 11:32https://github.com/getsentry/sentry-javascript/pull/16152#commits-pushed-3405d36
https://github.com/timfish
Merge branch 'develop' into fix/vercel-ai-iitm-issuehttps://github.com/getsentry/sentry-javascript/pull/16152/commits/3405d36db430350205216e09ba4bdc1328e5c7ae
3405d36https://github.com/getsentry/sentry-javascript/pull/16152/commits/3405d36db430350205216e09ba4bdc1328e5c7ae
https://github.com/timfish
Lint fail from masterhttps://github.com/getsentry/sentry-javascript/pull/16152/commits/f4c62da2419b59606898a4115152f9b3a48910c9
f4c62dahttps://github.com/getsentry/sentry-javascript/pull/16152/commits/f4c62da2419b59606898a4115152f9b3a48910c9
https://github.com/timfish
timfishhttps://github.com/timfish
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2838169710
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2838205924
#16134https://github.com/getsentry/sentry-javascript/pull/16134
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/timfish
timfishhttps://github.com/timfish
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2838283552
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2838520980
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#issuecomment-2839087510
@timfishhttps://github.com/timfish
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16152
https://github.com/timfish
Merge branch 'develop' into fix/vercel-ai-iitm-issuehttps://github.com/getsentry/sentry-javascript/pull/16152/commits/ac18cd58d1b6b53216c75eb680cf71ba0923cfd6
ac18cd5https://github.com/getsentry/sentry-javascript/pull/16152/commits/ac18cd58d1b6b53216c75eb680cf71ba0923cfd6
https://github.com/chargome
chargomehttps://github.com/chargome
ffdd2ddhttps://github.com/getsentry/sentry-javascript/commit/ffdd2dda1c52ce1d7cb32b1fb2c95b2f58fb50e1
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16152#event-17457136442
https://github.com/chargome
chargomehttps://github.com/chargome
April 29, 2025 14:37https://github.com/getsentry/sentry-javascript/pull/16152#event-17457137356
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 29, 2025 https://github.com/getsentry/sentry-javascript/pull/16152#ref-issue-3021103541
Crash with Vercel AI SDK when used in ESM #16137 https://github.com/getsentry/sentry-javascript/issues/16137
https://github.com/Lms24
Lms24https://github.com/Lms24
May 23, 2025 https://github.com/getsentry/sentry-javascript/pull/16152#ref-issue-3073581253
TypeError: setters.get(...)[name] is not a function #16327 https://github.com/getsentry/sentry-javascript/issues/16327
aviator-apphttps://github.com/apps/aviator-app
May 30, 2025 https://github.com/getsentry/sentry-javascript/pull/16152#ref-commit-0cb81b2
https://github.com/marketplace/mergequeue
https://github.com/snyk-bot
[Snyk] Upgrade @sentry/browser from 9.10.0 to 9.17.0 (https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
#386https://github.com/reisene/HulajDusza-serwis/pull/386
)https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
0cb81b2https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
https://badgen.net/badge/icon/reisene/green?label=https://badgen.net/badge/icon/reisene/green?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)