René's URL Explorer Experiment


Title: fix(nextjs): Update imports to avoid Node.js build warnings on edge runtime by LauraBeatris · Pull Request #3661 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): Update imports to avoid Node.js build warnings on edge runtime by LauraBeatris · Pull Request #3661 · clerk/javascript

X Title: fix(nextjs): Update imports to avoid Node.js build warnings on edge runtime by LauraBeatris · Pull Request #3661 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): Update imports to avoid Node.js build warnings on edge runtime by LauraBeatris · Pull Request #3661 · clerk/javascript

Open Graph Description: Description Fixes #3660 Uses AsyncLocalStorage available as a global polyfill for the edge runtime, instead of importing from Node.js: https://nextjs.org/docs/pages/api-reference/edge#nextjs-speci...

X Description: Description Fixes #3660 Uses AsyncLocalStorage available as a global polyfill for the edge runtime, instead of importing from Node.js: https://nextjs.org/docs/pages/api-reference/edge#nextjs-speci...

Opengraph URL: https://github.com/clerk/javascript/pull/3661

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:bc0de54f-5ad7-10c8-7adb-cbece406a8ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4DE:1E2459:2C6FED4:3ED7998:6AFAD1B7
html-safe-noncea0aff41e8e6a914df466c9b7fb50fd99f56ad2f36c2df3bb6dae53d715d4fe6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENERFOjFFMjQ1OToyQzZGRUQ0OjNFRDc5OTg6NkFGQUQxQjciLCJ2aXNpdG9yX2lkIjoiOTIzOTU5NzgwNTU5MjEyOTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9e4e74bdd29a81c650aa2c2616f3782bcb9d9c563f53a4deb2eb7b4060fdfc9
hovercard-subject-tagpull_request:1952373451
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/clerk/javascript/3661/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/91bc90ca2c5f3a3d08400394112218b019ebdca52bf1f990f137341ea94bbde4/clerk/javascript/pull/3661
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/91bc90ca2c5f3a3d08400394112218b019ebdca52bf1f990f137341ea94bbde4/clerk/javascript/pull/3661
og:image:altDescription Fixes #3660 Uses AsyncLocalStorage available as a global polyfill for the edge runtime, instead of importing from Node.js: https://nextjs.org/docs/pages/api-reference/edge#nextjs-speci...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLauraBeatris
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/3661#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F3661
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%2Fclerk%2Fjavascript%2Fpull%2F3661
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=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/3661
Reloadhttps://github.com/clerk/javascript/pull/3661
Reloadhttps://github.com/clerk/javascript/pull/3661
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
LauraBeatrishttps://github.com/LauraBeatris
mainhttps://github.com/clerk/javascript/tree/main
fix/use-als-globalhttps://github.com/clerk/javascript/tree/fix/use-als-global
Conversationhttps://github.com/clerk/javascript/pull/3661
Commits4 (4)https://github.com/clerk/javascript/pull/3661/commits
Checkshttps://github.com/clerk/javascript/pull/3661/checks
Files changedhttps://github.com/clerk/javascript/pull/3661/files
fix(nextjs): Update imports to avoid Node.js build warnings on edge runtimehttps://github.com/clerk/javascript/pull/3661#top
LauraBeatrishttps://github.com/LauraBeatris
mainhttps://github.com/clerk/javascript/tree/main
fix/use-als-globalhttps://github.com/clerk/javascript/tree/fix/use-als-global
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#issue-2389441449
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
#3660https://github.com/clerk/javascript/issues/3660
https://nextjs.org/docs/pages/api-reference/edge#nextjs-specific-polyfillshttps://nextjs.org/docs/pages/api-reference/edge#nextjs-specific-polyfills
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#event-13386062674
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#issuecomment-2207246256
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
00b7447https://github.com/clerk/javascript/commit/00b744726339997f60174a71e621b51cb24b7f4b
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/fix/use-als-global?filename=.changeset/pink-experts-explode.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20Update%20imports%20to%20avoid%20Node.js%20build%20warnings%20on%20edge%20runtime%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#event-13386066835
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
force-pushedhttps://github.com/clerk/javascript/compare/88202810d51b703c5e972ec4cfe8facd74703ef8..8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
8820281https://github.com/clerk/javascript/commit/88202810d51b703c5e972ec4cfe8facd74703ef8
8d49c3ahttps://github.com/clerk/javascript/commit/8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
Compare https://github.com/clerk/javascript/compare/88202810d51b703c5e972ec4cfe8facd74703ef8..8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
July 3, 2024 20:50https://github.com/clerk/javascript/pull/3661#event-13386097519
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 3, 2024 https://github.com/clerk/javascript/pull/3661#pullrequestreview-2157405041
View reviewed changes https://github.com/clerk/javascript/pull/3661/files
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#event-13386126842
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
July 3, 2024 20:52https://github.com/clerk/javascript/pull/3661#event-13386127371
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
force-pushedhttps://github.com/clerk/javascript/compare/f3eb38dcd52742ef1d1c22adbeb383b4d4b087c2..8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
f3eb38dhttps://github.com/clerk/javascript/commit/f3eb38dcd52742ef1d1c22adbeb383b4d4b087c2
8d49c3ahttps://github.com/clerk/javascript/commit/8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
Compare https://github.com/clerk/javascript/compare/f3eb38dcd52742ef1d1c22adbeb383b4d4b087c2..8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
July 3, 2024 22:36https://github.com/clerk/javascript/pull/3661#event-13387104756
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 3, 2024https://github.com/clerk/javascript/pull/3661#event-13387132097
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 4, 2024https://github.com/clerk/javascript/pull/3661#event-13387668434
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
July 4, 2024 00:26https://github.com/clerk/javascript/pull/3661#event-13387674439
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
July 4, 2024 13:24https://github.com/clerk/javascript/pull/3661#event-13395002092
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 4, 2024 https://github.com/clerk/javascript/pull/3661#pullrequestreview-2158934095
View reviewed changes https://github.com/clerk/javascript/pull/3661/files
packages/nextjs/src/server/utils.tshttps://github.com/clerk/javascript/pull/3661/files#diff-8788fc062b66a4cb16661d1153e0b969b55b99b08ed4a890887eed31b864d30d
LauraBeatrishttps://github.com/LauraBeatris
Jul 4, 2024https://github.com/clerk/javascript/pull/3661#discussion_r1665712200
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Jul 4, 2024 https://github.com/clerk/javascript/pull/3661#pullrequestreview-2158936850
View reviewed changes https://github.com/clerk/javascript/pull/3661/files
packages/nextjs/src/server/clerkMiddleware.tshttps://github.com/clerk/javascript/pull/3661/files#diff-f6d762a2890e99ee53fbdeb979f234d6dd5bcd2299c5925bee9859b14b205d71
LauraBeatrishttps://github.com/LauraBeatris
Jul 4, 2024https://github.com/clerk/javascript/pull/3661#discussion_r1665713911
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://vercel.com/docs/functions/runtimes/edge-runtime#compatible-node.js-moduleshttps://vercel.com/docs/functions/runtimes/edge-runtime#compatible-node.js-modules
https://private-user-images.githubusercontent.com/48022589/345847179-9b14a607-8ad0-45c5-8018-f9e408fd3070.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4MjI4ODQsIm5iZiI6MTc5NDgyMjU4NCwicGF0aCI6Ii80ODAyMjU4OS8zNDU4NDcxNzktOWIxNGE2MDctOGFkMC00NWM1LTgwMTgtZjllNDA4ZmQzMDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE2VDA5NDk0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyZGM5MDVmZGI3YmE5MDgzNjk3YWFiNDY4NDUxZTE2MGRiYzdjZTA5MWM3ZDI0NmQwYzJjNzU0ZWM1NDdiMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.JoJauWIv1OkeVfTsIqQ1LkAIJh0cpA-VMXrz9aEJDUY
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
LauraBeatrishttps://github.com/LauraBeatris
July 4, 2024 10:27https://github.com/clerk/javascript/pull/3661#commits-pushed-164f845
https://github.com/LauraBeatris
Use AsyncLocalStorage as globalhttps://github.com/clerk/javascript/pull/3661/commits/164f84596cd9c22cb8cb9b4a47f72487e1c7329d
164f845https://github.com/clerk/javascript/pull/3661/commits/164f84596cd9c22cb8cb9b4a47f72487e1c7329d
https://github.com/LauraBeatris
Import ALS with node prefixhttps://github.com/clerk/javascript/pull/3661/commits/53b4a0cd2789f84c1992aec223ddc945828d3ad3
53b4a0chttps://github.com/clerk/javascript/pull/3661/commits/53b4a0cd2789f84c1992aec223ddc945828d3ad3
https://github.com/LauraBeatris
Fix logger importhttps://github.com/clerk/javascript/pull/3661/commits/8ad47a2f022c709700e1ad1be15c4c0221e88bf4
8ad47a2https://github.com/clerk/javascript/pull/3661/commits/8ad47a2f022c709700e1ad1be15c4c0221e88bf4
https://github.com/LauraBeatris
Update changesethttps://github.com/clerk/javascript/pull/3661/commits/00b744726339997f60174a71e621b51cb24b7f4b
00b7447https://github.com/clerk/javascript/pull/3661/commits/00b744726339997f60174a71e621b51cb24b7f4b
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
force-pushedhttps://github.com/clerk/javascript/compare/23e238ef5f18b8d74c8d934c206ea989ff6ee2aa..00b744726339997f60174a71e621b51cb24b7f4b
23e238ehttps://github.com/clerk/javascript/commit/23e238ef5f18b8d74c8d934c206ea989ff6ee2aa
00b7447https://github.com/clerk/javascript/commit/00b744726339997f60174a71e621b51cb24b7f4b
Compare https://github.com/clerk/javascript/compare/23e238ef5f18b8d74c8d934c206ea989ff6ee2aa..00b744726339997f60174a71e621b51cb24b7f4b
July 4, 2024 13:27https://github.com/clerk/javascript/pull/3661#event-13395053879
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
e8a2af5https://github.com/clerk/javascript/commit/e8a2af52f263ee4070c909dac05f952cdf7b2761
Jul 4, 2024https://github.com/clerk/javascript/pull/3661#event-13395240938
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
July 4, 2024 13:41https://github.com/clerk/javascript/pull/3661#event-13395241229
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 4, 2024 https://github.com/clerk/javascript/pull/3661#ref-pullrequest-2390458929
ci(repo): Version packages #3665 https://github.com/clerk/javascript/pull/3665
https://github.co/hiddenchars
https://github.com/clerk/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%2Fclerk%2Fjavascript%2Fpull%2F3661
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/3661/files/8d49c3a97841ae7ba0f553c62ab4b1635caf5a78
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
https://github.com/LauraBeatris
LauraBeatris https://github.com/LauraBeatris
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
@clerk/nextjs@5.2.0 cause a build warning in NextJS middleware https://github.com/clerk/javascript/issues/3660
Please reload this pagehttps://github.com/clerk/javascript/pull/3661
https://github.com/LauraBeatris
https://github.com/brkalow
https://github.com/clerk-cookie
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.