The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: Remove unactionable warning polluting CI (#43748)
Jeremias Menichelli41dd3c3cad1e
diff --git a/packages/common/gotrue.ts b/packages/common/gotrue.tsindex 1c6042ae020..49c16ad105e 100644--- a/packages/common/gotrue.ts+++ b/packages/common/gotrue.ts@@ -1,4 +1,5 @@import { AuthClient, navigatorLock, User } from '@supabase/auth-js'+import { isBrowser } from './helpers'export const STORAGE_KEY = process.env.NEXT_PUBLIC_STORAGE_KEY || 'supabase.dashboard.auth.token'export const AUTH_DEBUG_KEY =@@ -38,7 +39,7 @@ const shouldDetectSessionInUrl = process.env.NEXT_PUBLIC_AUTH_DETECT_SESSION_IN_const navigatorLockEnabled = !!(shouldEnableNavigatorLock && globalThis?.navigator?.locks)-if (shouldEnableNavigatorLock && !globalThis?.navigator?.locks) {+if (isBrowser && shouldEnableNavigatorLock && !globalThis?.navigator?.locks) {console.warn('This browser does not support the Navigator Locks API. Please update it.')}