Content-Length: 276001 | pFad | http://github.com/nextauthjs/next-auth/pull/12937/commits/55ff744f0598e0e40bd448f92031f86284596b11

3F fix: always check typeof BroadcastChannel by maiconcarraro · Pull Request #12937 · nextauthjs/next-auth · GitHub
Skip to content

fix: always check typeof BroadcastChannel #12937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: satisfies BroadcastChannel
  • Loading branch information
maiconcarraro committed May 12, 2025
commit 55ff744f0598e0e40bd448f92031f86284596b11
7 changes: 6 additions & 1 deletion packages/next-auth/src/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ function getNewBroadcastChannel() {
postMessage: () => {},
addEventListener: () => {},
removeEventListener: () => {},
}
name: "next-auth",
onmessage: null,
onmessageerror: null,
close: () => {},
dispatchEvent: () => false,
} satisfies BroadcastChannel
}

return new BroadcastChannel("next-auth")
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nextauthjs/next-auth/pull/12937/commits/55ff744f0598e0e40bd448f92031f86284596b11

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy