mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
chore: bump version (#4345)
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
"dependencies": {
|
||||
"@better-auth/stripe": "workspace:*",
|
||||
"@better-fetch/fetch": "catalog:",
|
||||
"@hookform/resolvers": "^3.9.1",
|
||||
"@libsql/client": "^0.12.0",
|
||||
"@hookform/resolvers": "^5.2.1",
|
||||
"@libsql/client": "^0.15.14",
|
||||
"@libsql/kysely-libsql": "^0.4.1",
|
||||
"@number-flow/react": "^0.5.5",
|
||||
"@number-flow/react": "^0.5.10",
|
||||
"@prisma/adapter-libsql": "^5.22.0",
|
||||
"@prisma/client": "^5.22.0",
|
||||
"@radix-ui/react-accordion": "^1.2.1",
|
||||
@@ -53,41 +53,41 @@
|
||||
"@types/better-sqlite3": "^7.6.12",
|
||||
"better-auth": "workspace:*",
|
||||
"better-call": "catalog:",
|
||||
"better-sqlite3": "^11.6.0",
|
||||
"better-sqlite3": "^12.2.0",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.0.0",
|
||||
"cmdk": "1.1.1",
|
||||
"consola": "^3.2.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"embla-carousel-react": "^8.5.1",
|
||||
"framer-motion": "^11.13.1",
|
||||
"framer-motion": "^12.23.12",
|
||||
"geist": "^1.3.1",
|
||||
"input-otp": "^1.4.1",
|
||||
"kysely": "^0.28.2",
|
||||
"lucide-react": "^0.477.0",
|
||||
"lucide-react": "^0.542.0",
|
||||
"mini-svg-data-uri": "^1.4.4",
|
||||
"mysql2": "^3.11.5",
|
||||
"next": "^15.5.0",
|
||||
"next-themes": "^0.3.0",
|
||||
"mysql2": "^3.14.4",
|
||||
"next": "^15.5.2",
|
||||
"next-themes": "^0.4.6",
|
||||
"prisma": "^5.22.0",
|
||||
"react": "^19.0.0",
|
||||
"react-day-picker": "8.10.1",
|
||||
"react-day-picker": "9.9.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-hook-form": "^7.54.0",
|
||||
"react-qr-code": "^2.0.15",
|
||||
"react-resizable-panels": "^2.1.7",
|
||||
"recharts": "^2.14.1",
|
||||
"resend": "^4.0.1",
|
||||
"react-resizable-panels": "^3.0.5",
|
||||
"recharts": "^3.1.2",
|
||||
"resend": "^6.0.2",
|
||||
"server-only": "^0.0.1",
|
||||
"shiki": "^1.24.0",
|
||||
"sonner": "^1.7.0",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"shiki": "^3.12.1",
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.3.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"three": "^0.168.0",
|
||||
"ua-parser-js": "^0.7.39",
|
||||
"vaul": "^0.9.9",
|
||||
"zod": "^3.23.8"
|
||||
"three": "^0.179.1",
|
||||
"ua-parser-js": "^2.0.4",
|
||||
"vaul": "^1.1.2",
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/canvas-confetti": "^1.9.0",
|
||||
@@ -101,8 +101,5 @@
|
||||
"eslint-config-next": "15.0.0-canary.149",
|
||||
"postcss": "^8.4.49",
|
||||
"tailwindcss": "3.4.16"
|
||||
},
|
||||
"overrides": {
|
||||
"whatwg-url": "^14.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"scripts:endpoint-to-doc": "bun ./scripts/endpoint-to-doc/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^3.9.1",
|
||||
"@hookform/resolvers": "^5.2.1",
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.15",
|
||||
"@radix-ui/react-aspect-ratio": "^1.1.2",
|
||||
@@ -43,7 +43,7 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.1.1",
|
||||
"date-fns": "^3.6.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"embla-carousel-react": "^8.5.1",
|
||||
"foxact": "^0.2.49",
|
||||
"fumadocs-core": "15.7.1",
|
||||
@@ -56,24 +56,24 @@
|
||||
"jotai": "^2.13.1",
|
||||
"js-beautify": "^1.15.4",
|
||||
"jsrsasign": "^11.1.0",
|
||||
"lucide-react": "^0.477.0",
|
||||
"lucide-react": "^0.542.0",
|
||||
"motion": "^12.23.12",
|
||||
"next": "15.5.0",
|
||||
"next": "15.5.2",
|
||||
"next-themes": "^0.4.6",
|
||||
"prism-react-renderer": "^2.4.1",
|
||||
"react": "^19.0.0",
|
||||
"react-day-picker": "8.10.1",
|
||||
"react-day-picker": "9.9.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-hook-form": "^7.62.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-resizable-panels": "^2.1.7",
|
||||
"recharts": "^2.14.1",
|
||||
"react-resizable-panels": "^3.0.5",
|
||||
"recharts": "^3.1.2",
|
||||
"rehype-highlight": "^7.0.2",
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.3.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"vaul": "^1.1.2",
|
||||
"zod": "^3.24.2"
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.0.9",
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
"start:client": "vite"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^5.9.2",
|
||||
"vite": "^7.1.3",
|
||||
"tsx": "^4.19.2"
|
||||
"vite": "^7.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"better-auth": "workspace:*",
|
||||
"better-sqlite3": "^11.7.0"
|
||||
"better-sqlite3": "^12.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
13
package.json
13
package.json
@@ -34,17 +34,8 @@
|
||||
"typescript": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"mdast-util-frontmatter": "2.0.1",
|
||||
"remark-mdx": "3.0.0",
|
||||
"remark-parse": "11.0.0",
|
||||
"unified": "11.0.4",
|
||||
"whatwg-url": "^14.0.0",
|
||||
"miniflare>zod": "^3"
|
||||
}
|
||||
},
|
||||
"resolutions": {
|
||||
"zod": "^4.0.0"
|
||||
"zod": "^4.0.0",
|
||||
"miniflare>zod": "^3.25.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -709,7 +709,7 @@
|
||||
"jose": "^5.10.0",
|
||||
"kysely": "^0.28.5",
|
||||
"nanostores": "^0.11.4",
|
||||
"zod": "^3.25.1 || ^4.0.0"
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0 || ^19.0.0",
|
||||
@@ -732,7 +732,7 @@
|
||||
"@types/pg": "^8.15.5",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/react": "^18.3.23",
|
||||
"better-sqlite3": "^11.10.0",
|
||||
"better-sqlite3": "^12.2.0",
|
||||
"concurrently": "^9.2.0",
|
||||
"drizzle-orm": "^0.38.2",
|
||||
"happy-dom": "^15.11.7",
|
||||
@@ -740,8 +740,8 @@
|
||||
"listhen": "^1.9.0",
|
||||
"mongodb": "^6.18.0",
|
||||
"ms": "4.0.0-nightly.202508271359",
|
||||
"mysql2": "^3.14.3",
|
||||
"next": "^15.5.0",
|
||||
"mysql2": "^3.14.4",
|
||||
"next": "^15.5.2",
|
||||
"oauth2-mock-server": "^7.2.1",
|
||||
"pg": "^8.16.3",
|
||||
"prisma": "^5.22.0",
|
||||
@@ -756,9 +756,6 @@
|
||||
"unbuild": "catalog:",
|
||||
"vue": "^3.5.18"
|
||||
},
|
||||
"overrides": {
|
||||
"whatwg-url": "^14.2.0"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
]
|
||||
|
||||
@@ -78,19 +78,11 @@ export interface Path {
|
||||
};
|
||||
}
|
||||
|
||||
type AllowedType = "string" | "number" | "boolean" | "array" | "object";
|
||||
const allowedType = new Set(["string", "number", "boolean", "array", "object"]);
|
||||
function getTypeFromZodType(zodType: ZodType<any>) {
|
||||
if (zodType instanceof ZodString) {
|
||||
return "string";
|
||||
} else if (zodType instanceof ZodNumber) {
|
||||
return "number";
|
||||
} else if (zodType instanceof ZodBoolean) {
|
||||
return "boolean";
|
||||
} else if (zodType instanceof ZodObject) {
|
||||
return "object";
|
||||
} else if (zodType instanceof ZodArray) {
|
||||
return "array";
|
||||
}
|
||||
return "string";
|
||||
const type = zodType.type;
|
||||
return allowedType.has(type) ? (type as AllowedType) : "string";
|
||||
}
|
||||
|
||||
function getFieldSchema(field: FieldAttribute) {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"@types/better-sqlite3": "^7.6.12",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"better-auth": "workspace:*",
|
||||
"better-sqlite3": "^11.6.0",
|
||||
"better-sqlite3": "^12.2.0",
|
||||
"c12": "^3.2.0",
|
||||
"chalk": "^5.3.0",
|
||||
"commander": "^12.1.0",
|
||||
@@ -61,7 +61,7 @@
|
||||
"semver": "^7.7.1",
|
||||
"tinyexec": "^0.3.1",
|
||||
"yocto-spinner": "^0.1.1",
|
||||
"zod": "^4.0.0"
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"devDependencies": {
|
||||
"@better-fetch/fetch": "catalog:",
|
||||
"better-auth": "workspace:*",
|
||||
"better-sqlite3": "^11.6.0",
|
||||
"better-sqlite3": "^12.2.0",
|
||||
"expo-constants": "~17.0.8",
|
||||
"expo-crypto": "^13.0.2",
|
||||
"expo-linking": "~7.0.5",
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"jose": "^5.9.6",
|
||||
"oauth2-mock-server": "^7.2.0",
|
||||
"samlify": "^2.10.0",
|
||||
"zod": "^4.0.0"
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/body-parser": "^1.19.6",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"zod": "^4.0.0"
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"better-auth": "workspace:*",
|
||||
|
||||
1609
pnpm-lock.yaml
generated
1609
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user