Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update dependencies for better-auth and related packages

Bill Yangc434855db2df
diff --git a/client/package-lock.json b/client/package-lock.json
index c766c6fd2..3b995301c 100644
--- a/client/package-lock.json
+++ b/client/package-lock.json
@@ -38,7 +38,7 @@
"@types/country-flag-icons": "^1.2.2",
"@types/three": "^0.175.0",
"@uidotdev/usehooks": "^2.4.1",
- "better-auth": "^1.2.2",
+ "better-auth": "^1.2.6",
"boring-avatars": "^1.11.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -230,17 +230,18 @@
}
},
"node_modules/@better-auth/utils": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.3.tgz",
- "integrity": "sha512-Ap1GaSmo6JYhJhxJOpUB0HobkKPTNzfta+bLV89HfpyCAHN7p8ntCrmNFHNAVD0F6v0mywFVEUg1FUhNCc81Rw==",
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.4.tgz",
+ "integrity": "sha512-ayiX87Xd5sCHEplAdeMgwkA0FgnXsEZBgDn890XHHwSWNqqRZDYOq3uj2Ei2leTv1I2KbG5HHn60Ah1i2JWZjQ==",
"dependencies": {
+ "typescript": "^5.8.2",
"uncrypto": "^0.1.3"
}
},
"node_modules/@better-fetch/fetch": {
- "version": "1.1.15",
- "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.1.15.tgz",
- "integrity": "sha512-0Bl8YYj1f8qCTNHeSn5+1DWv2hy7rLBrQ8rS8Y9XYloiwZEfc3k4yspIG0llRxafxqhGCwlGRg+F8q1HZRCMXA=="
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.1.18.tgz",
+ "integrity": "sha512-rEFOE1MYIsBmoMJtQbl32PGHHXuG2hDxvEd7rUHE0vCBoFQVSDqaVs9hkZEtHCxRoY+CljXKFCOuJ8uxqw1LcA=="
},
"node_modules/@drizzle-team/brocli": {
"version": "0.10.2",
@@ -4599,29 +4600,28 @@
]
},
"node_modules/better-auth": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.3.tgz",
- "integrity": "sha512-y97/ah2SOWaW81IRg36m7xMSMVl7ATaHie/nhQ0in/reVlEX/6juVPszNqq0gcTwQtFsB8oe15wQKgdf4yHP9Q==",
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.7.tgz",
+ "integrity": "sha512-2hCB263GSrgetsMUZw8vv9O1e4S4AlYJW3P4e8bX9u3Q3idv4u9BzDFCblpTLuL4YjYovghMCN0vurAsctXOAQ==",
"dependencies": {
- "@better-auth/utils": "0.2.3",
- "@better-fetch/fetch": "^1.1.15",
+ "@better-auth/utils": "0.2.4",
+ "@better-fetch/fetch": "^1.1.18",
"@noble/ciphers": "^0.6.0",
"@noble/hashes": "^1.6.1",
"@simplewebauthn/browser": "^13.0.0",
"@simplewebauthn/server": "^13.0.0",
- "better-call": "^1.0.3",
+ "better-call": "^1.0.8",
"defu": "^6.1.4",
"jose": "^5.9.6",
- "kysely": "^0.27.4",
+ "kysely": "^0.27.6",
"nanostores": "^0.11.3",
- "valibot": "1.0.0-beta.15",
"zod": "^3.24.1"
}
},
"node_modules/better-call": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.4.tgz",
- "integrity": "sha512-NdAihYdkS0IOz1mtz8mw1gWacCxR9r921U8YqB+VB6++rt8edMG13vVL16Y4TBL4XkjMK/DUewEsOOFkw9LJYQ==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.8.tgz",
+ "integrity": "sha512-/PV8JLqDRUN7JyBPbklVsS/8E4SO3pnf8hbpa8B7xrBrr+BBYpeOAxoqtnsyk/pRs35vNB4MZx8cn9dBuNlLDA==",
"dependencies": {
"@better-fetch/fetch": "^1.1.4",
"rou3": "^0.5.1",
@@ -6547,9 +6547,9 @@
}
},
"node_modules/kysely": {
- "version": "0.27.5",
- "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.5.tgz",
- "integrity": "sha512-s7hZHcQeSNKpzCkHRm8yA+0JPLjncSWnjb+2TIElwS2JAqYr+Kv3Ess+9KFfJS0C1xcQ1i9NkNHpWwCYpHMWsA==",
+ "version": "0.27.6",
+ "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.6.tgz",
+ "integrity": "sha512-FIyV/64EkKhJmjgC0g2hygpBv5RNWVPyNCqSAD7eTCv6eFWNIi4PN1UvdSJGicN/o35bnevgis4Y0UDC0qi8jQ==",
"engines": {
"node": ">=14.0.0"
}
@@ -8635,10 +8635,9 @@
}
},
"node_modules/typescript": {
- "version": "5.7.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
- "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
- "dev": true,
+ "version": "5.8.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -8744,19 +8743,6 @@
"node": ">= 4"
}
},
- "node_modules/valibot": {
- "version": "1.0.0-beta.15",
- "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.0.0-beta.15.tgz",
- "integrity": "sha512-BKy8XosZkDHWmYC+cJG74LBzP++Gfntwi33pP3D3RKztz2XV9jmFWnkOi21GoqARP8wAWARwhV6eTr1JcWzjGw==",
- "peerDependencies": {
- "typescript": ">=5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
"node_modules/validate-npm-package-license": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
diff --git a/client/package.json b/client/package.json
index ec380da4a..dcfe1e0fb 100644
--- a/client/package.json
+++ b/client/package.json
@@ -39,7 +39,7 @@
"@types/country-flag-icons": "^1.2.2",
"@types/three": "^0.175.0",
"@uidotdev/usehooks": "^2.4.1",
- "better-auth": "^1.2.2",
+ "better-auth": "^1.2.6",
"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.json
index 66ecb0c7d..9dc3e3624 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -8,12 +8,12 @@
"name": "analytics-backend",
"version": "1.0.0",
"dependencies": {
- "@better-auth/stripe": "^1.2.3",
+ "@better-auth/stripe": "^1.2.7",
"@clickhouse/client": "^1.10.1",
"@fastify/cors": "^10.0.2",
"@fastify/one-line-logger": "^1.4.0",
"@fastify/static": "^8.0.4",
- "better-auth": "^1.2.2",
+ "better-auth": "^1.2.6",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.40.0",
"fastify": "^5.1.0",
@@ -38,26 +38,27 @@
}
},
"node_modules/@better-auth/stripe": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@better-auth/stripe/-/stripe-1.2.3.tgz",
- "integrity": "sha512-bXXH9rsPKPEJ6sNanqPuH1pqHgXwQsfW5Sy6/heaQoPpI9p2Ah3/5AocTdN3zgdduDMzNRdTR1mshcsLjN2e7w==",
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/@better-auth/stripe/-/stripe-1.2.7.tgz",
+ "integrity": "sha512-MPZ9dSSHPiFfa4KCACu3AzbCjfqEDZM9tWJZYU5W4vUrmt1izzDOfTXH0gALKN0CXZM4yQImGeafy3h9nqK0ww==",
"dependencies": {
- "better-auth": "^1.2.3",
+ "better-auth": "^1.2.7",
"zod": "^3.24.1"
}
},
"node_modules/@better-auth/utils": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.3.tgz",
- "integrity": "sha512-Ap1GaSmo6JYhJhxJOpUB0HobkKPTNzfta+bLV89HfpyCAHN7p8ntCrmNFHNAVD0F6v0mywFVEUg1FUhNCc81Rw==",
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.2.4.tgz",
+ "integrity": "sha512-ayiX87Xd5sCHEplAdeMgwkA0FgnXsEZBgDn890XHHwSWNqqRZDYOq3uj2Ei2leTv1I2KbG5HHn60Ah1i2JWZjQ==",
"dependencies": {
+ "typescript": "^5.8.2",
"uncrypto": "^0.1.3"
}
},
"node_modules/@better-fetch/fetch": {
- "version": "1.1.15",
- "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.1.15.tgz",
- "integrity": "sha512-0Bl8YYj1f8qCTNHeSn5+1DWv2hy7rLBrQ8rS8Y9XYloiwZEfc3k4yspIG0llRxafxqhGCwlGRg+F8q1HZRCMXA=="
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.1.18.tgz",
+ "integrity": "sha512-rEFOE1MYIsBmoMJtQbl32PGHHXuG2hDxvEd7rUHE0vCBoFQVSDqaVs9hkZEtHCxRoY+CljXKFCOuJ8uxqw1LcA=="
},
"node_modules/@clickhouse/client": {
"version": "1.10.1",
@@ -1516,29 +1517,28 @@
]
},
"node_modules/better-auth": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.3.tgz",
- "integrity": "sha512-y97/ah2SOWaW81IRg36m7xMSMVl7ATaHie/nhQ0in/reVlEX/6juVPszNqq0gcTwQtFsB8oe15wQKgdf4yHP9Q==",
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.7.tgz",
+ "integrity": "sha512-2hCB263GSrgetsMUZw8vv9O1e4S4AlYJW3P4e8bX9u3Q3idv4u9BzDFCblpTLuL4YjYovghMCN0vurAsctXOAQ==",
"dependencies": {
- "@better-auth/utils": "0.2.3",
- "@better-fetch/fetch": "^1.1.15",
+ "@better-auth/utils": "0.2.4",
+ "@better-fetch/fetch": "^1.1.18",
"@noble/ciphers": "^0.6.0",
"@noble/hashes": "^1.6.1",
"@simplewebauthn/browser": "^13.0.0",
"@simplewebauthn/server": "^13.0.0",
- "better-call": "^1.0.3",
+ "better-call": "^1.0.8",
"defu": "^6.1.4",
"jose": "^5.9.6",
- "kysely": "^0.27.4",
+ "kysely": "^0.27.6",
"nanostores": "^0.11.3",
- "valibot": "1.0.0-beta.15",
"zod": "^3.24.1"
}
},
"node_modules/better-call": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.4.tgz",
- "integrity": "sha512-NdAihYdkS0IOz1mtz8mw1gWacCxR9r921U8YqB+VB6++rt8edMG13vVL16Y4TBL4XkjMK/DUewEsOOFkw9LJYQ==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.0.8.tgz",
+ "integrity": "sha512-/PV8JLqDRUN7JyBPbklVsS/8E4SO3pnf8hbpa8B7xrBrr+BBYpeOAxoqtnsyk/pRs35vNB4MZx8cn9dBuNlLDA==",
"dependencies": {
"@better-fetch/fetch": "^1.1.4",
"rou3": "^0.5.1",
@@ -2660,9 +2660,9 @@
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
},
"node_modules/kysely": {
- "version": "0.27.5",
- "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.5.tgz",
- "integrity": "sha512-s7hZHcQeSNKpzCkHRm8yA+0JPLjncSWnjb+2TIElwS2JAqYr+Kv3Ess+9KFfJS0C1xcQ1i9NkNHpWwCYpHMWsA==",
+ "version": "0.27.6",
+ "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.6.tgz",
+ "integrity": "sha512-FIyV/64EkKhJmjgC0g2hygpBv5RNWVPyNCqSAD7eTCv6eFWNIi4PN1UvdSJGicN/o35bnevgis4Y0UDC0qi8jQ==",
"engines": {
"node": ">=14.0.0"
}
@@ -4289,10 +4289,9 @@
}
},
"node_modules/typescript": {
- "version": "5.7.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
- "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
- "devOptional": true,
+ "version": "5.8.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -4382,19 +4381,6 @@
"integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==",
"dev": true
},
- "node_modules/valibot": {
- "version": "1.0.0-beta.15",
- "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.0.0-beta.15.tgz",
- "integrity": "sha512-BKy8XosZkDHWmYC+cJG74LBzP++Gfntwi33pP3D3RKztz2XV9jmFWnkOi21GoqARP8wAWARwhV6eTr1JcWzjGw==",
- "peerDependencies": {
- "typescript": ">=5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
"node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
diff --git a/server/package.json b/server/package.json
index 99f6c8077..0b924a165 100644
--- a/server/package.json
+++ b/server/package.json
@@ -16,12 +16,12 @@
"db:check": "drizzle-kit check --config=drizzle.config.ts"
},
"dependencies": {
- "@better-auth/stripe": "^1.2.3",
+ "@better-auth/stripe": "^1.2.7",
"@clickhouse/client": "^1.10.1",
"@fastify/cors": "^10.0.2",
"@fastify/one-line-logger": "^1.4.0",
"@fastify/static": "^8.0.4",
- "better-auth": "^1.2.2",
+ "better-auth": "^1.2.6",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.40.0",
"fastify": "^5.1.0",