@supabase/supabase-js 2.109.0 → 2.110.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/umd/supabase.js +4 -17
- package/package.json +7 -7
- package/src/index.ts +5 -5
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supabase/supabase-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.110.0-canary.0",
|
|
4
4
|
"description": "Isomorphic Javascript SDK for Supabase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"directory": "packages/core/supabase-js"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@supabase/
|
|
63
|
-
"@supabase/
|
|
64
|
-
"@supabase/realtime-js": "2.
|
|
65
|
-
"@supabase/
|
|
66
|
-
"@supabase/
|
|
62
|
+
"@supabase/functions-js": "2.110.0-canary.0",
|
|
63
|
+
"@supabase/auth-js": "2.110.0-canary.0",
|
|
64
|
+
"@supabase/realtime-js": "2.110.0-canary.0",
|
|
65
|
+
"@supabase/postgrest-js": "2.110.0-canary.0",
|
|
66
|
+
"@supabase/storage-js": "2.110.0-canary.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
|
-
"node": ">=
|
|
113
|
+
"node": ">=22.0.0"
|
|
114
114
|
},
|
|
115
115
|
"scripts": {
|
|
116
116
|
"build": "tsdown",
|
package/src/index.ts
CHANGED
|
@@ -69,7 +69,7 @@ export const createClient = <
|
|
|
69
69
|
)
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// Check for Node.js <=
|
|
72
|
+
// Check for Node.js <= 20 deprecation
|
|
73
73
|
function shouldShowDeprecationWarning(): boolean {
|
|
74
74
|
// Skip in browser environments
|
|
75
75
|
if (typeof window !== 'undefined') {
|
|
@@ -94,13 +94,13 @@ function shouldShowDeprecationWarning(): boolean {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
const majorVersion = parseInt(versionMatch[1], 10)
|
|
97
|
-
return majorVersion <=
|
|
97
|
+
return majorVersion <= 20
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
if (shouldShowDeprecationWarning()) {
|
|
101
101
|
console.warn(
|
|
102
|
-
`⚠️ Node.js
|
|
103
|
-
`Please upgrade to Node.js
|
|
104
|
-
`For more information, visit: https://github.com/orgs/supabase/discussions/
|
|
102
|
+
`⚠️ Node.js 20 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. ` +
|
|
103
|
+
`Please upgrade to Node.js 22 or later. ` +
|
|
104
|
+
`For more information, visit: https://github.com/orgs/supabase/discussions/45715`
|
|
105
105
|
)
|
|
106
106
|
}
|
package/src/lib/version.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.
|
|
7
|
+
export const version = '2.110.0-canary.0'
|