🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
bump better auth
Bill Yang2e928f61ae5a
diff --git a/client/package-lock.json b/client/package-lock.jsonindex 7aca3be3a..8a4cf0206 100644--- a/client/package-lock.json+++ b/client/package-lock.json@@ -1,12 +1,12 @@{"name": "client",- "version": "1.3.0",+ "version": "1.5.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "client",- "version": "1.3.0",+ "version": "1.5.1","dependencies": {"@hookform/resolvers": "5.0.1","@nivo/bar": "0.96.0",@@ -39,7 +39,7 @@"@types/three": "0.176.0","@uidotdev/usehooks": "2.4.1","axios": "^1.9.0",- "better-auth": "1.2.7",+ "better-auth": "1.3.1","boring-avatars": "1.11.2","class-variance-authority": "0.7.1","clsx": "2.1.1",@@ -369,9 +369,9 @@}},"node_modules/@better-auth/utils": {- "version": "0.2.4",- "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.4.tgz",- "integrity": "sha512-ayiX87Xd5sCHEplAdeMgwkA0FgnXsEZBgDn890XHHwSWNqqRZDYOq3uj2Ei2leTv1I2KbG5HHn60Ah1i2JWZjQ==",+ "version": "0.2.5",+ "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.5.tgz",+ "integrity": "sha512-uI2+/8h/zVsH8RrYdG8eUErbuGBk16rZKQfz8CjxQOyCE6v7BqFYEbFwvOkvl1KbUdxhqOnXp78+uE5h8qVEgQ==","license": "MIT","dependencies": {"typescript": "^5.8.2",@@ -6769,28 +6769,50 @@}},"node_modules/better-auth": {- "version": "1.2.7",- "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.7.tgz",- "integrity": "sha512-2hCB263GSrgetsMUZw8vv9O1e4S4AlYJW3P4e8bX9u3Q3idv4u9BzDFCblpTLuL4YjYovghMCN0vurAsctXOAQ==",+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.3.1.tgz",+ "integrity": "sha512-whsRGZU0Qn/QIw6NpVhSdSxeK+ijJzy3XH8NXBHJj3mLP+BToHrYfHpyyMInaQ0So1bNKj/1qcQ+B2qc9VjmBg==",+ "license": "MIT","dependencies": {- "@better-auth/utils": "0.2.4",+ "@better-auth/utils": "0.2.5","@better-fetch/fetch": "^1.1.18","@noble/ciphers": "^0.6.0",- "@noble/hashes": "^1.6.1",+ "@noble/hashes": "^1.8.0","@simplewebauthn/browser": "^13.0.0","@simplewebauthn/server": "^13.0.0",- "better-call": "^1.0.8",+ "better-call": "^1.0.12","defu": "^6.1.4","jose": "^5.9.6",- "kysely": "^0.27.6",+ "kysely": "^0.28.1","nanostores": "^0.11.3",- "zod": "^3.24.1"+ "zod": "^4.0.5"+ },+ "peerDependencies": {+ "react": "^18.0.0 || ^19.0.0",+ "react-dom": "^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "react": {+ "optional": true+ },+ "react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/better-auth/node_modules/zod": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.0.5.tgz",+ "integrity": "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"}},"node_modules/better-call": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.9.tgz",- "integrity": "sha512-Qfm0gjk0XQz0oI7qvTK1hbqTsBY4xV2hsHAxF8LZfUYl3RaECCIifXuVqtPpZJWvlCCMlQSvkvhhyuApGUba6g==",+ "version": "1.0.12",+ "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.12.tgz",+ "integrity": "sha512-ssq5OfB9Ungv2M1WVrRnMBomB0qz1VKuhkY2WxjHaLtlsHoSe9EPolj1xf7xf8LY9o3vfk3Rx6rCWI4oVHeBRg==","dependencies": {"@better-fetch/fetch": "^1.1.4","rou3": "^0.5.1",@@ -8578,12 +8600,12 @@}},"node_modules/kysely": {- "version": "0.27.6",- "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.6.tgz",- "integrity": "sha512-FIyV/64EkKhJmjgC0g2hygpBv5RNWVPyNCqSAD7eTCv6eFWNIi4PN1UvdSJGicN/o35bnevgis4Y0UDC0qi8jQ==",+ "version": "0.28.3",+ "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.28.3.tgz",+ "integrity": "sha512-svKnkSH72APRdjfVCCOknxaC9Eb3nA2StHG9d5/sKOqRvHRp2Dtf1XwDvc92b4B5v6LV+EAGWXQbZ5jMOvHaDw==","license": "MIT","engines": {- "node": ">=14.0.0"+ "node": ">=20.0.0"}},"node_modules/ldrs": {diff --git a/client/package.json b/client/package.jsonindex 34cb776ba..287cd66d9 100644--- a/client/package.json+++ b/client/package.json@@ -41,7 +41,7 @@"@types/three": "0.176.0","@uidotdev/usehooks": "2.4.1","axios": "^1.9.0",- "better-auth": "1.2.7",+ "better-auth": "1.3.1","boring-avatars": "1.11.2","class-variance-authority": "0.7.1","clsx": "2.1.1",diff --git a/server/package-lock.json b/server/package-lock.jsonindex b4b3ff51a..1df2a9d2e 100644--- a/server/package-lock.json+++ b/server/package-lock.json@@ -1,12 +1,12 @@{- "name": "analytics-backend",- "version": "1.0.0",+ "name": "rybbit-backend",+ "version": "1.5.1","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "analytics-backend",- "version": "1.0.0",+ "name": "rybbit-backend",+ "version": "1.5.1","dependencies": {"@aws-sdk/client-s3": "^3.842.0","@clickhouse/client": "1.11.1",@@ -17,7 +17,7 @@"@maxmind/geoip2-node": "6.1.0","@mongodb-js/zstd": "^2.0.1","@rybbit/shared": "file:../shared",- "better-auth": "1.2.12",+ "better-auth": "1.3.1","dotenv": "16.5.0","drizzle-orm": "0.43.1","fastify": "5.3.3",@@ -4043,29 +4043,50 @@"license": "MIT"},"node_modules/better-auth": {- "version": "1.2.12",- "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.12.tgz",- "integrity": "sha512-YicCyjQ+lxb7YnnaCewrVOjj3nPVa0xcfrOJK7k5MLMX9Mt9UnJ8GYaVQNHOHLyVxl92qc3C758X1ihqAUzm4w==",+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.3.1.tgz",+ "integrity": "sha512-whsRGZU0Qn/QIw6NpVhSdSxeK+ijJzy3XH8NXBHJj3mLP+BToHrYfHpyyMInaQ0So1bNKj/1qcQ+B2qc9VjmBg==","license": "MIT","dependencies": {"@better-auth/utils": "0.2.5","@better-fetch/fetch": "^1.1.18","@noble/ciphers": "^0.6.0",- "@noble/hashes": "^1.6.1",+ "@noble/hashes": "^1.8.0","@simplewebauthn/browser": "^13.0.0","@simplewebauthn/server": "^13.0.0",- "better-call": "^1.0.8",+ "better-call": "^1.0.12","defu": "^6.1.4",- "jose": "^6.0.11",- "kysely": "^0.28.2",+ "jose": "^5.9.6",+ "kysely": "^0.28.1","nanostores": "^0.11.3",- "zod": "^3.24.1"+ "zod": "^4.0.5"+ },+ "peerDependencies": {+ "react": "^18.0.0 || ^19.0.0",+ "react-dom": "^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "react": {+ "optional": true+ },+ "react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/better-auth/node_modules/zod": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.0.5.tgz",+ "integrity": "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"}},"node_modules/better-call": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.9.tgz",- "integrity": "sha512-Qfm0gjk0XQz0oI7qvTK1hbqTsBY4xV2hsHAxF8LZfUYl3RaECCIifXuVqtPpZJWvlCCMlQSvkvhhyuApGUba6g==",+ "version": "1.0.12",+ "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.12.tgz",+ "integrity": "sha512-ssq5OfB9Ungv2M1WVrRnMBomB0qz1VKuhkY2WxjHaLtlsHoSe9EPolj1xf7xf8LY9o3vfk3Rx6rCWI4oVHeBRg==","dependencies": {"@better-fetch/fetch": "^1.1.4","rou3": "^0.5.1",@@ -5569,9 +5590,9 @@}},"node_modules/jose": {- "version": "6.0.11",- "resolved": "https://registry.npmjs.org/jose/-/jose-6.0.11.tgz",- "integrity": "sha512-QxG7EaliDARm1O1S8BGakqncGT9s25bKL1WSf6/oa17Tkqwi8D2ZNglqCF+DsYF88/rV66Q/Q2mFAy697E1DUg==",+ "version": "5.10.0",+ "resolved": "https://registry.npmjs.org/jose/-/jose-5.10.0.tgz",+ "integrity": "sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==","license": "MIT","funding": {"url": "https://github.com/sponsors/panva"diff --git a/server/package.json b/server/package.jsonindex 6b41bf0d6..92d466949 100644--- a/server/package.json+++ b/server/package.json@@ -30,7 +30,7 @@"@maxmind/geoip2-node": "6.1.0","@mongodb-js/zstd": "^2.0.1","@rybbit/shared": "file:../shared",- "better-auth": "1.2.12",+ "better-auth": "1.3.1","dotenv": "16.5.0","drizzle-orm": "0.43.1","fastify": "5.3.3",