File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
import SupabaseClient from './SupabaseClient'
2
- import type { GenericSchema , SupabaseClientOptions } from './lib/typesz
2
+ import type { GenericSchema , SupabaseClientOptions } from './lib/types'
3
3
4
4
export * from '@supabase/auth-js'
5
5
export type { User as AuthUser , Session as AuthSession } from '@supabase/auth-js'
@@ -41,7 +41,12 @@ export const createClient = <
41
41
}
42
42
43
43
// Check for Node.js 18 deprecation
44
- if ( typeof window === 'undefined' && typeof process !== 'undefined' && process . version && process . version . startsWith ( 'v18' ) ) {
44
+ if (
45
+ typeof window === 'undefined' &&
46
+ typeof process !== 'undefined' &&
47
+ process . version &&
48
+ process . version . startsWith ( 'v18' )
49
+ ) {
45
50
console . warn (
46
51
`⚠️ Node.js 18 is deprecated and will no longer be supported in future versions of @supabase/supabase-js. ` +
47
52
`Please upgrade to Node.js 20 or later. ` +
You can’t perform that action at this time.
0 commit comments