René's URL Explorer Experiment


Title: ref(utils): Improve uuid generation by timfish · Pull Request #5426 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(utils): Improve uuid generation by timfish · Pull Request #5426 · getsentry/sentry-javascript

X Title: ref(utils): Improve uuid generation by timfish · Pull Request #5426 · getsentry/sentry-javascript

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

Open Graph Description: Since modern browsers support crypto.randomUUID() it's probably a good idea to use that when available. Rather than let this impact bundle size, I also took some of the recent updates from the ...

X Description: Since modern browsers support crypto.randomUUID() it's probably a good idea to use that when available. Rather than let this impact bundle size, I also took some of the recent updates from ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:4997940d-8351-103d-12fe-eae73f43ad91
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id844A:13A804:188AA7:225A1C:6B040529
html-safe-noncebeba8e51a729ab0884270e2be083f515e077df21ff4e03d70a4dd709520a7d71
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDRBOjEzQTgwNDoxODhBQTc6MjI1QTFDOjZCMDQwNTI5IiwidmlzaXRvcl9pZCI6IjI3ODY0MTY1MzUzNzAyMDQ0NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb64664ffa385e77d82c51458ed8185e169c57235d2810893dd727123fb4823da
hovercard-subject-tagpull_request:998470521
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/5426/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/321c5b8eb2d7bbc7bf7a14b6d4345643c9d046499f3073cb507b0a66ea1233e3/getsentry/sentry-javascript/pull/5426
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/321c5b8eb2d7bbc7bf7a14b6d4345643c9d046499f3073cb507b0a66ea1233e3/getsentry/sentry-javascript/pull/5426
og:image:altSince modern browsers support crypto.randomUUID() it's probably a good idea to use that when available. Rather than let this impact bundle size, I also took some of the recent updates from the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimfish
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/5426#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F5426
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%2F5426
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/5426
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5426
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5426
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests60 (60)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
Lms24https://github.com/Lms24
getsentry:masterhttps://github.com/getsentry/sentry-javascript/tree/master
timfish:better-uuidhttps://github.com/timfish/sentry-javascript/tree/better-uuid
Conversationhttps://github.com/getsentry/sentry-javascript/pull/5426
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/5426/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/5426/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/5426/files
ref(utils): Improve uuid generationhttps://github.com/getsentry/sentry-javascript/pull/5426#top
Lms24https://github.com/Lms24
getsentry:masterhttps://github.com/getsentry/sentry-javascript/tree/master
timfish:better-uuidhttps://github.com/timfish/sentry-javascript/tree/better-uuid
https://github.com/timfish
timfishhttps://github.com/timfish
Jul 16, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issue-1306865673
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
modern browsershttps://caniuse.com/mdn-api_crypto_randomuuid
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
Better uuid generation?https://github.com/getsentry/sentry-javascript/pull/5426/commits/7b9025f9e5397da0d1ccf3321003bae9ecbce635
7b9025fhttps://github.com/getsentry/sentry-javascript/pull/5426/commits/7b9025f9e5397da0d1ccf3321003bae9ecbce635
https://github.com/Lms24
Lms24https://github.com/Lms24
timfishhttps://github.com/timfish
Jul 18, 2022https://github.com/getsentry/sentry-javascript/pull/5426#event-7009658887
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 18, 2022 https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1041429096
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5426/files/7b9025f9e5397da0d1ccf3321003bae9ecbce635
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1041429096
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
Validate uuids in a testhttps://github.com/getsentry/sentry-javascript/pull/5426/commits/d1de1140cc6900026d3450331e550caa35e3137a
d1de114https://github.com/getsentry/sentry-javascript/pull/5426/commits/d1de1140cc6900026d3450331e550caa35e3137a
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 18, 2022 https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1041570402
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5426/files/d1de1140cc6900026d3450331e550caa35e3137a
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1041570402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
timfishhttps://github.com/timfish
Jul 18, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1187013641
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 18, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1187271974
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
timfishhttps://github.com/timfish
Jul 21, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1191996151
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
Improve testshttps://github.com/getsentry/sentry-javascript/pull/5426/commits/08657e88ffc832521ffe6310730dd0677b5653e7
08657e8https://github.com/getsentry/sentry-javascript/pull/5426/commits/08657e88ffc832521ffe6310730dd0677b5653e7
https://github.com/timfish
timfishhttps://github.com/timfish
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/a3e0dfa65f80f9e6f84fd6e82262fdb07fe21a1b..08657e88ffc832521ffe6310730dd0677b5653e7
a3e0dfahttps://github.com/getsentry/sentry-javascript/commit/a3e0dfa65f80f9e6f84fd6e82262fdb07fe21a1b
08657e8https://github.com/getsentry/sentry-javascript/commit/08657e88ffc832521ffe6310730dd0677b5653e7
Compare https://github.com/getsentry/sentry-javascript/compare/a3e0dfa65f80f9e6f84fd6e82262fdb07fe21a1b..08657e88ffc832521ffe6310730dd0677b5653e7
July 21, 2022 22:33https://github.com/getsentry/sentry-javascript/pull/5426#event-7041850400
https://github.com/timfish
Fix lintinghttps://github.com/getsentry/sentry-javascript/pull/5426/commits/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
f156f2dhttps://github.com/getsentry/sentry-javascript/pull/5426/commits/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
https://github.com/timfish
timfishhttps://github.com/timfish
Lms24https://github.com/Lms24
July 22, 2022 00:40https://github.com/getsentry/sentry-javascript/pull/5426#event-7042261815
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 22, 2022 https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1047479130
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5426/files/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-1047479130
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/Lms24
Lms24https://github.com/Lms24
f1cfc70https://github.com/getsentry/sentry-javascript/commit/f1cfc70d30a961c9d66d11198fc07bc95482b225
Jul 22, 2022https://github.com/getsentry/sentry-javascript/pull/5426#event-7044373245
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Jul 22, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1192793610
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
mucks directly with globalhttps://github.com/facebook/jest/blob/main/packages/jest-environment-node/src/index.ts
by their own admissionhttps://github.com/jsdom/jsdom#unimplemented-parts-of-the-web-platform
have to downgradehttps://github.com/getsentry/sentry-javascript/blob/f1cfc70d30a961c9d66d11198fc07bc95482b225/scripts/test.ts#L22-L32
#3945https://github.com/getsentry/sentry-javascript/pull/3945
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
timfishhttps://github.com/timfish
July 23, 2022 10:06https://github.com/getsentry/sentry-javascript/pull/5426#event-7050122100
https://github.com/timfish
timfishhttps://github.com/timfish
Jul 23, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1193099736
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/bendehghan
bendehghanhttps://github.com/bendehghan
Aug 11, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1212529492
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Aug 12, 2022https://github.com/getsentry/sentry-javascript/pull/5426#issuecomment-1212627613
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/Lms24
Lms24https://github.com/Lms24
Aug 29, 2022 https://github.com/getsentry/sentry-javascript/pull/5426#ref-issue-1345991022
Exception on captureException() call #5622 https://github.com/getsentry/sentry-javascript/issues/5622
https://github.com/canfan
canfanhttps://github.com/canfan
Oct 14, 2025 https://github.com/getsentry/sentry-javascript/pull/5426#pullrequestreview-3337344925
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5426/files/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
packages/utils/src/misc.tshttps://github.com/getsentry/sentry-javascript/pull/5426/files/f156f2d49d331eac9e1ddc54f0d7e4c19725377c#diff-f1d46a8517e17eef8c9e3dbb4dfc1524034371b35e5cbbbcae3bd6c560a62ae0
canfanhttps://github.com/canfan
Oct 14, 2025https://github.com/getsentry/sentry-javascript/pull/5426#discussion_r2430362104
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
timfishhttps://github.com/timfish
Oct 14, 2025https://github.com/getsentry/sentry-javascript/pull/5426#discussion_r2430594858
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lukeed/uuidhttps://www.npmjs.com/package/@lukeed/uuid#benchmarks
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
canfanhttps://github.com/canfan
Oct 15, 2025https://github.com/getsentry/sentry-javascript/pull/5426#discussion_r2433269117
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
timfishhttps://github.com/timfish
Oct 15, 2025https://github.com/getsentry/sentry-javascript/pull/5426#discussion_r2433357083
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/getsentry/sentry-react-native/https://github.com/getsentry/sentry-react-native/
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
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%2F5426
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/5426/files/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
https://github.com/canfan
canfan https://github.com/canfan
https://github.com/getsentry/sentry-javascript/pull/5426/files/f156f2d49d331eac9e1ddc54f0d7e4c19725377c
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
timfish https://github.com/timfish
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5426
https://github.com/timfish
https://github.com/Lms24
https://github.com/lobsterkatie
https://github.com/bendehghan
https://github.com/canfan
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.