Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

⬆️ Upgrade to zod 4 (#1947)

Luke Vellacfdd29ca38dc
diff --git a/apps/web/package.json b/apps/web/package.json
index b26f04620..d63feac1f 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -16,7 +16,7 @@
"docker:start": "./scripts/docker-start.sh"
},
"dependencies": {
- "@ai-sdk/openai": "^1.2.0",
+ "@ai-sdk/openai":"^2.0.28",
"@auth/prisma-adapter": "^2.7.4",
"@aws-sdk/client-s3": "^3.645.0",
"@aws-sdk/s3-request-presigner": "^3.645.0",
@@ -24,8 +24,8 @@
"@casl/prisma": "^1.5.1",
"@casl/react": "^5.0.0",
"@hono-rate-limiter/redis": "^0.1.4",
- "@hono/zod-validator": "^0.5.0",
- "@hookform/resolvers": "^3.3.1",
+ "@hono/zod-validator": "^0.7.2",
+ "@hookform/resolvers": "^5.2.1",
"@next/env": "^15.3.1",
"@panva/hkdf": "^1.2.1",
"@prisma/client": "^6.8.2",
@@ -43,7 +43,7 @@
"@rallly/utils": "workspace:*",
"@sentry/nextjs": "^9.14.0",
"@svgr/webpack": "^8.1.0",
- "@t3-oss/env-nextjs": "^0.11.0",
+ "@t3-oss/env-nextjs": "^0.13.8",
"@tanstack/react-query": "^5.74.11",
"@tanstack/react-query-devtools": "^5.74.11",
"@tanstack/react-table": "^8.9.1",
@@ -55,7 +55,7 @@
"@upstash/ratelimit": "^1.2.1",
"@vercel/functions": "^2.0.0",
"@vercel/kv": "^3.0.0",
- "ai": "^4.1.50",
+ "ai": "^5.0.41",
"autoprefixer": "^10.4.13",
"calendar-link": "^2.6.0",
"class-variance-authority": "^0.7.1",
@@ -101,7 +101,7 @@
"superjson": "^2.0.0",
"tailwindcss": "^3.4.17",
"timezone-soft": "^1.5.1",
- "zod": "^3.25.6"
+ "zod": "^4.1.8"
},
"devDependencies": {
"@babel/core": "^7.26.10",
diff --git a/apps/web/src/app/[locale]/(auth)/auth/login/page.tsx b/apps/web/src/app/[locale]/(auth)/auth/login/page.tsx
index 652886cbf..23c078261 100644
--- a/apps/web/src/app/[locale]/(auth)/auth/login/page.tsx
+++ b/apps/web/src/app/[locale]/(auth)/auth/login/page.tsx
@@ -9,13 +9,13 @@ import { LoginPage } from "./components/login-page";
export const dynamic = "force-dynamic";
const searchParamsSchema = z.object({
- magicLink: z.string().url(),
+ magicLink: z.url(),
});
type SearchParams = z.infer<typeof searchParamsSchema>;
const magicLinkParams = z.object({
- email: z.string().email(),
+ email: z.email(),
token: z.string(),
});
diff --git a/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx b/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
index c64af0ca7..7f6aed4bd 100644
--- a/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
+++ b/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
@@ -24,7 +24,7 @@ function useLoginWithEmailSchema() {
const { t } = useTranslation();
return React.useMemo(() => {
return z.object({
- identifier: z.string().email(t("validEmail")),
+ identifier: z.email(t("validEmail")),
});
}, [t]);
}
diff --git a/apps/web/src/app/[locale]/(auth)/register/components/schema.ts b/apps/web/src/app/[locale]/(auth)/register/components/schema.ts
index 4a32a83a9..6f44b7287 100644
--- a/apps/web/src/app/[locale]/(auth)/register/components/schema.ts
+++ b/apps/web/src/app/[locale]/(auth)/register/components/schema.ts
@@ -4,9 +4,9 @@ import { isValidName } from "@/utils/is-valid-name";
export const registerNameFormSchema = z.object({
name: z.string().trim().min(1).max(100).refine(isValidName, {
- message: "Please enter a valid name, not a URL, email, or phone number",
+ error: "Please enter a valid name, not a URL, email, or phone number",
}),
- email: z.string().email(),
+ email: z.email(),
});
export type RegisterNameFormValues = z.infer<typeof registerNameFormSchema>;
diff --git a/apps/web/src/app/[locale]/(space)/(dashboard)/polls/schema.ts b/apps/web/src/app/[locale]/(space)/(dashboard)/polls/schema.ts
index 928834abb..7d1290716 100644
--- a/apps/web/src/app/[locale]/(space)/(dashboard)/polls/schema.ts
+++ b/apps/web/src/app/[locale]/(space)/(dashboard)/polls/schema.ts
@@ -3,7 +3,7 @@ import { pollStatusSchema } from "@/features/poll/schema";
export const DEFAULT_PAGE_SIZE = 10;
-export const pageSchema = z.coerce.number().optional().default(1);
+export const pageSchema = z.coerce.number().default(1);
export const querySchema = z
.string()
diff --git a/apps/web/src/app/[locale]/(space)/(dashboard)/settings/members/components/invite-member-dialog.tsx b/apps/web/src/app/[locale]/(space)/(dashboard)/settings/members/components/invite-member-dialog.tsx
index 6e1599ad0..f0784275d 100644
--- a/apps/web/src/app/[locale]/(space)/(dashboard)/settings/members/components/invite-member-dialog.tsx
+++ b/apps/web/src/app/[locale]/(space)/(dashboard)/settings/members/components/invite-member-dialog.tsx
@@ -45,7 +45,7 @@ function useInviteMemberFormSchema() {
return useMemo(() => {
return z.object({
- email: z.string().email({
+ email: z.email({
message: t("invalidEmailAddress", {
defaultValue: "Please enter a valid email address",
}),
@@ -197,7 +197,7 @@ export function InviteMemberForm({ onSuccess }: { onSuccess?: () => void }) {
/>
</SelectTrigger>
<SelectContent>
- {Object.values(memberRoleSchema.Values).map((role) => (
+ {Object.values(memberRoleSchema.enum).map((role) => (
<SelectItem key={role} value={role}>
<SpaceRole role={role} />
</SelectItem>
diff --git a/apps/web/src/app/[locale]/account/profile/profile-email-address.tsx b/apps/web/src/app/[locale]/account/profile/profile-email-address.tsx
index 96b71f8c5..03c901379 100644
--- a/apps/web/src/app/[locale]/account/profile/profile-email-address.tsx
+++ b/apps/web/src/app/[locale]/account/profile/profile-email-address.tsx
@@ -25,7 +25,7 @@ import { useAuthenticatedUser } from "@/components/user-provider";
import { trpc } from "@/trpc/client";
const emailChangeFormData = z.object({
- email: z.string().email(),
+ email: z.email(),
});
type EmailChangeFormData = z.infer<typeof emailChangeFormData>;
diff --git a/apps/web/src/app/[locale]/account/spaces/components/leave-space-dialog.tsx b/apps/web/src/app/[locale]/account/spaces/components/leave-space-dialog.tsx
index ca93d1e6a..ad180200b 100644
--- a/apps/web/src/app/[locale]/account/spaces/components/leave-space-dialog.tsx
+++ b/apps/web/src/app/[locale]/account/spaces/components/leave-space-dialog.tsx
@@ -48,7 +48,7 @@ export function LeaveSpaceDialog({
.string()
.transform((s) => s.trim())
.refine((val) => val === spaceName, {
- message: t("spaceNameMismatch", {
+ error: t("spaceNameMismatch", {
defaultValue: "Space name does not match",
}),
}),
diff --git a/apps/web/src/app/[locale]/control-panel/users/dialogs/delete-user-dialog.tsx b/apps/web/src/app/[locale]/control-panel/users/dialogs/delete-user-dialog.tsx
index 493cc625e..b258845cd 100644
--- a/apps/web/src/app/[locale]/control-panel/users/dialogs/delete-user-dialog.tsx
+++ b/apps/web/src/app/[locale]/control-panel/users/dialogs/delete-user-dialog.tsx
@@ -31,7 +31,6 @@ const useSchema = (email: string) => {
const { t } = useTranslation();
return z.object({
email: z
- .string()
.email()
.refine((value) => value.toLowerCase() === email.toLowerCase(), {
message: t("emailDoesNotMatch", {
diff --git a/apps/web/src/components/new-participant-modal.tsx b/apps/web/src/components/new-participant-modal.tsx
index 6ef067c14..67d06f56e 100644
--- a/apps/web/src/components/new-participant-modal.tsx
+++ b/apps/web/src/components/new-participant-modal.tsx
@@ -20,13 +20,13 @@ import { useUser } from "./user-provider";
const requiredEmailSchema = z.object({
requireEmail: z.literal(true),
name: z.string().trim().min(1).max(100),
- email: z.string().email(),
+ email: z.email(),
});
const optionalEmailSchema = z.object({
requireEmail: z.literal(false),
name: z.string().trim().min(1).max(100),
- email: z.string().email().or(z.literal("")),
+ email: z.email().or(z.literal("")),
});
const schema = z.union([requiredEmailSchema, optionalEmailSchema]);
diff --git a/apps/web/src/env.ts b/apps/web/src/env.ts
index 69df1eefe..38471b334 100644
--- a/apps/web/src/env.ts
+++ b/apps/web/src/env.ts
@@ -7,7 +7,7 @@ export const env = createEnv({
* Will throw if you access these variables on the client.
*/
server: {
- DATABASE_URL: z.string().url(),
+ DATABASE_URL: z.url(),
NODE_ENV: z
.enum(["development", "production", "test"])
.default("development"),
@@ -58,8 +58,8 @@ export const env = createEnv({
/**
* Email addresses for support and no-reply emails.
*/
- SUPPORT_EMAIL: z.string().email(),
- NOREPLY_EMAIL: z.string().email().optional(),
+ SUPPORT_EMAIL: z.email(),
+ NOREPLY_EMAIL: z.email().optional(),
NOREPLY_EMAIL_NAME: z.string().default("Rallly"),
/**
@@ -93,7 +93,7 @@ export const env = createEnv({
*/
client: {
NEXT_PUBLIC_POSTHOG_API_KEY: z.string().optional(),
- NEXT_PUBLIC_POSTHOG_API_HOST: z.string().url().optional(),
+ NEXT_PUBLIC_POSTHOG_API_HOST: z.url().optional(),
NEXT_PUBLIC_SELF_HOSTED: z.enum(["true", "false"]).optional(),
},
/*
diff --git a/apps/web/src/features/billing/actions.ts b/apps/web/src/features/billing/actions.ts
index 6cbf84d1d..b7e7ad862 100644
--- a/apps/web/src/features/billing/actions.ts
+++ b/apps/web/src/features/billing/actions.ts
@@ -13,7 +13,7 @@ export const updateSeatsAction = spaceActionClient
})
.inputSchema(
z.object({
- seatDelta: z.number().int(),
+ seatDelta: z.int(),
}),
)
.action(async ({ ctx, parsedInput }) => {
diff --git a/apps/web/src/features/licensing/components/license-key-form.tsx b/apps/web/src/features/licensing/components/license-key-form.tsx
index f38766da2..76b2647f3 100644
--- a/apps/web/src/features/licensing/components/license-key-form.tsx
+++ b/apps/web/src/features/licensing/components/license-key-form.tsx
@@ -21,7 +21,7 @@ import { checkLicenseKey } from "../helpers/check-license-key";
const formSchema = z.object({
licenseKey: z.string().trim().min(1).refine(checkLicenseKey, {
- message: "Invalid license key",
+ error: "Invalid license key",
}),
});
diff --git a/apps/web/src/features/space/actions.ts b/apps/web/src/features/space/actions.ts
index 56510b21a..b40b4c000 100644
--- a/apps/web/src/features/space/actions.ts
+++ b/apps/web/src/features/space/actions.ts
@@ -166,7 +166,7 @@ export const inviteMemberAction = spaceActionClient
})
.inputSchema(
z.object({
- email: z.string().email(),
+ email: z.email(),
role: memberRoleSchema,
}),
)
diff --git a/apps/web/src/trpc/routers/auth.ts b/apps/web/src/trpc/routers/auth.ts
index ea25ae494..a677186ea 100644
--- a/apps/web/src/trpc/routers/auth.ts
+++ b/apps/web/src/trpc/routers/auth.ts
@@ -23,7 +23,7 @@ export const auth = router({
getUserInfo: publicProcedure
.input(
z.object({
- email: z.string().email(),
+ email: z.email(),
}),
)
.mutation(async ({ input }) => {
@@ -40,7 +40,7 @@ export const auth = router({
.input(
z.object({
name: z.string().trim().min(1).max(100).refine(isValidName),
- email: z.string().email(),
+ email: z.email(),
}),
)
.mutation(
diff --git a/apps/web/src/trpc/routers/user.ts b/apps/web/src/trpc/routers/user.ts
index f0e3b7afb..d375884ac 100644
--- a/apps/web/src/trpc/routers/user.ts
+++ b/apps/web/src/trpc/routers/user.ts
@@ -91,7 +91,7 @@ export const user = router({
return { success: true };
}),
requestEmailChange: privateProcedure
- .input(z.object({ email: z.string().email() }))
+ .input(z.object({ email: z.email() }))
.use(createRateLimitMiddleware("request_email_change", 5, "1 h"))
.mutation(async ({ input, ctx }) => {
const currentUser = await prisma.user.findUnique({
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 08b6c9b40..745e522e6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -164,8 +164,8 @@ importers:
apps/web:
dependencies:
'@ai-sdk/openai':
- specifier: ^1.2.0
- version: 1.3.20([email protected])
+ specifier: ^2.0.28
+ version: 2.0.28([email protected])
'@auth/prisma-adapter':
specifier: ^2.7.4
@@ -188,11 +188,11 @@ importers:
specifier: ^0.1.4
'@hono/zod-validator':
- specifier: ^0.5.0
+ specifier: ^0.7.2
'@hookform/resolvers':
- specifier: ^3.3.1
+ specifier: ^5.2.1
'@next/env':
specifier: ^15.3.1
version: 15.3.1
@@ -245,8 +245,8 @@ importers:
specifier: ^8.1.0
version: 8.1.0([email protected])
'@t3-oss/env-nextjs':
- specifier: ^0.11.0
+ specifier: ^0.13.8
'@tanstack/react-query':
specifier: ^5.74.11
version: 5.74.11([email protected])
@@ -281,8 +281,8 @@ importers:
specifier: ^3.0.0
version: 3.0.0
ai:
- specifier: ^4.1.50
+ specifier: ^5.0.41
+ version: 5.0.41([email protected])
autoprefixer:
specifier: ^10.4.13
version: 10.4.21([email protected])
@@ -419,8 +419,8 @@ importers:
specifier: ^1.5.1
version: 1.5.2
zod:
- specifier: ^3.25.6
- version: 3.25.20
+ specifier: ^4.1.8
+ version: 4.1.8
devDependencies:
'@babel/core':
specifier: ^7.26.10
@@ -792,37 +792,27 @@ packages:
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-/DflUy7ROG9k6n6YTXMBFPbujBKnbGY58f3CwvicLvDar9nDAloVnUWd3LUoOxpSVnX8vtQ7ngxF52SLWO6RwQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-yQPrMb1v0P8GwmmpcCT2DGPfgJVRkJ9QaRRJGO0+Em+wI+Xv3lvHHIc3ImVR3jjVfJPih/cNWWALUgRERfQaxQ==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.0.0
+ zod: ^3.25.76 || ^4
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-kM0xS3GWg3aMChh9zfeM+80vEZfXzR3JEUBdycZLtbRZ2TRT8xOj3WodGHPb06sUK5yD7pAXC/P7ctsi2fvUGQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Z2mG7PjUKbpT8fMexE6yrorxXVzGHSl3jKF293w2i6s9Dc6X81Gf6Z0OGNnkrftLtW4PXr7RZ/9xoyusBZW4uA==}
engines: {node: '>=18'}
peerDependencies:
- zod: ^3.23.8
+ zod: ^3.25.76 || ^4
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-qZMxYJ0qqX/RfnuIaab+zp8UAeJn/ygXXAffR5I4N0n1IrvA6qBsjc8hXLmBiMV2zoXlifkacF7sEFnYnjBcqg==}
- engines: {node: '>=18'}
-
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-/VYm8xifyngaqFDLXACk/1czDRCefNCdALUyp+kIX6DUIYUWTM93ISoZ+qJ8+3E+FiJAKBQz61o8lIIl+vYtzg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-cDj1iigu7MW2tgAQeBzOiLhjHOUM9vENsgh4oAVitek0d//WdgfPCsKO3euP7m7LyO/j9a1vr/So+BGNdpFXYw==}
engines: {node: '>=18'}
peerDependencies:
- react: ^18 || ^19 || ^19.0.0-rc
- zod: ^3.23.8
- peerDependenciesMeta:
- zod:
- optional: true
+ zod: ^3.25.76 || ^4
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-nls/IJCY+ks3Uj6G/agNhXqQeLVqhNfoJbuNgCny+nX2veY5ADB91EcZUqVeQ/ionul2SeUswPY6Q/DxteY29Q==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-6o7Y2SeO9vFKB8lArHXehNuusnpddKPk7xqL7T2/b+OvXMRIXUO1rR4wcv1hAFUAT9avGZshty3Wlua/XA7TvA==}
engines: {node: '>=18'}
- peerDependencies:
- zod: ^3.23.8
'@alcalzone/[email protected]':
resolution: {integrity: sha512-qI/5TaaaCZE4yeSZ83lu0+xi1r88JSxUjnH4OP/iZF7+KKZ75u3ee5isd0LxX+6N8U0npL61YrpbthILHB6BnA==}
@@ -2257,16 +2247,16 @@ packages:
peerDependencies:
hono-rate-limiter: ^0.2.1
- resolution: {integrity: sha512-ds5bW6DCgAnNHP33E3ieSbaZFd5dkV52ZjyaXtGoR06APFrCtzAsKZxTHwOrJNBdXsi0e5wNwo5L4nVEVnJUdg==}
+ resolution: {integrity: sha512-ub5eL/NeZ4eLZawu78JpW/J+dugDAYhwqUIdp9KYScI6PZECij4Hx4UsrthlEUutqDDhPwRI0MscUfNkvn/mqQ==}
peerDependencies:
hono: '>=3.9.0'
- zod: ^3.19.1
+ zod: ^3.25.0 || ^4.0.0
- '@hookform/[email protected]':
- resolution: {integrity: sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==}
+ '@hookform/[email protected]':
+ resolution: {integrity: sha512-u0+6X58gkjMcxur1wRWokA7XsiiBJ6aK17aPZxhkoYiK5J+HcTx0Vhu9ovXe6H+dVpO6cjrn2FkJTryXEMlryQ==}
peerDependencies:
- react-hook-form: ^7.0.0
+ react-hook-form: ^7.55.0
resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==}
@@ -4314,6 +4304,12 @@ packages:
'@socket.io/[email protected]':
resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==}
+ '@standard-schema/[email protected]':
+ resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==}
+
+ '@standard-schema/[email protected]':
+ resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}
+
'@stoplight/[email protected]':
resolution: {integrity: sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==}
engines: {node: ^12.20 || >= 14.13}
@@ -4471,23 +4467,39 @@ packages:
resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==}
engines: {node: '>=14.16'}
- '@t3-oss/[email protected]':
- resolution: {integrity: sha512-MaxOwEoG1ntCFoKJsS7nqwgcxLW1SJw238AJwfJeaz3P/8GtkxXZsPPolsz1AdYvUTbe3XvqZ/VCdfjt+3zmKw==}
+ '@t3-oss/[email protected]':
+ resolution: {integrity: sha512-L1inmpzLQyYu4+Q1DyrXsGJYCXbtXjC4cICw1uAKv0ppYPQv656lhZPU91Qd1VS6SO/bou1/q5ufVzBGbNsUpw==}
peerDependencies:
+ arktype: ^2.1.0
typescript: '>=5.0.0'
- zod: ^3.0.0
+ valibot: ^1.0.0-beta.7 || ^1.0.0
+ zod: ^3.24.0 || ^4.0.0-beta.0
peerDependenciesMeta:
+ arktype:
+ optional: true
typescript:
optional: true
+ valibot:
+ optional: true
+ zod:
+ optional: true
- '@t3-oss/[email protected]':
- resolution: {integrity: sha512-rx2XL9+v6wtOqLNJbD5eD8OezKlQD1BtC0WvvtHwBgK66jnF5+wGqtgkKK4Ygie1LVmoDClths2T4tdFmRvGrQ==}
+ '@t3-oss/[email protected]':
+ resolution: {integrity: sha512-QmTLnsdQJ8BiQad2W2nvV6oUpH4oMZMqnFEjhVpzU0h3sI9hn8zb8crjWJ1Amq453mGZs6A4v4ihIeBFDOrLeQ==}
peerDependencies:
+ arktype: ^2.1.0
typescript: '>=5.0.0'
- zod: ^3.0.0
+ valibot: ^1.0.0-beta.7 || ^1.0.0
+ zod: ^3.24.0 || ^4.0.0-beta.0
peerDependenciesMeta:
+ arktype:
+ optional: true
typescript:
optional: true
+ valibot:
+ optional: true
+ zod:
+ optional: true
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==}
@@ -4647,9 +4659,6 @@ packages:
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
- '@types/[email protected]':
- resolution: {integrity: sha512-xFdR6tkm0MWvBfO8xXCSsinYxHcqkQUlcHeSpMC2ukzOb6lwQAfDmW+Qt0AvlGd8HpsS28qKsB+oPeJn9I39jg==}
-
resolution: {integrity: sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg==}
@@ -5025,15 +5034,11 @@ packages:
resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-jw+ahNu+T4SHj9gtraIKtYhanJI6gj2IZ5BFcfEHgoyQVMln5a5beGjzl/nQSX6FxyLqJ/UBpClRa279EEKK/Q==}
+ resolution: {integrity: sha512-KQxXaohdTEawUGwBeCTORSNqL8otavTxqIUrOVFq1Fb+cFaTFBtxpdvFlBlsYHUNEHCLKEaBrlZso4ucsNgKuw==}
engines: {node: '>=18'}
peerDependencies:
- react: ^18 || ^19 || ^19.0.0-rc
- zod: ^3.23.8
- peerDependenciesMeta:
- react:
- optional: true
+ zod: ^3.25.76 || ^4
resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
@@ -5839,9 +5844,6 @@ packages:
resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
- resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==}
-
resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
@@ -6117,6 +6119,10 @@ packages:
resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
engines: {node: '>=0.8.x'}
+ resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==}
+ engines: {node: '>=18.0.0'}
+
resolution: {integrity: sha512-/kP8CAwxzLVEeFrMm4kMmy4CCDlpipyA7MYLVrdJIkV0fYF0UaigQHRsxHiuY/GEea+bh4KSv3TIlgr+2UL6bw==}
engines: {node: '>=12.0.0'}
@@ -6993,11 +6999,6 @@ packages:
resolution: {integrity: sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==}
- resolution: {integrity: sha512-3QItJOXp2AP1uv7waBkao5nCvhEv+QmJAd38Ybq7wNI74Q+BBmnLn4EDKz6yI9xGAIQoUF87qHt+kc1IVxB4zQ==}
- engines: {node: ^18.0.0 || >=20.0.0}
- hasBin: true
-
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
@@ -8488,9 +8489,6 @@ packages:
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==}
-
resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
@@ -8837,11 +8835,6 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
- resolution: {integrity: sha512-dshNvs3ExOqtZ6kJBaAsabhPdHyeY4P2cKwRCniDVifBMoG/SVI7tfLWqPXriVspf2Rg4tPzXJTnwaihIeFw2A==}
- peerDependencies:
- react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
@@ -8916,10 +8909,6 @@ packages:
resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-nt6AMGKW1p/70DF/hGBdJB57B8Tspmbp5gfJ8ilhLnt7kkr2ye7hzD6NVG8GGErk2HWF34igrL2CXmNIkzKqKw==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==}
@@ -9577,6 +9566,9 @@ packages:
resolution: {integrity: sha512-z03fqpTMDF1G02VLKUMt6vyACE7rNWkh3gpXVHgPTw28NPtDFRGvcpTtPwn2kMKtQ0idtYJUTxchytmnqYswcw==}
+ resolution: {integrity: sha512-5R1P+WwQqmmMIEACyzSvo4JXHY5WiAFHRMg+zBZKgKS+Q1viRa0C1hmUKtHltoIFKtIdki3pRxkmpP74jnNYHQ==}
+
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
@@ -9584,39 +9576,28 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 1.1.3
- '@ai-sdk/provider-utils': 2.2.7([email protected])
- zod: 3.25.20
+ '@ai-sdk/provider': 2.0.0
+ '@ai-sdk/provider-utils': 3.0.8([email protected])
+ zod: 4.1.8
dependencies:
- '@ai-sdk/provider': 1.1.3
- nanoid: 3.3.11
- secure-json-parse: 2.7.0
- zod: 3.25.20
+ '@ai-sdk/provider': 2.0.0
+ '@ai-sdk/provider-utils': 3.0.8([email protected])
+ zod: 4.1.8
- '@ai-sdk/[email protected]':
dependencies:
- json-schema: 0.4.0
+ '@ai-sdk/provider': 2.0.0
+ '@standard-schema/spec': 1.0.0
+ eventsource-parser: 3.0.6
+ zod: 4.1.8
+ '@ai-sdk/[email protected]':
dependencies:
- '@ai-sdk/provider-utils': 2.2.7([email protected])
- '@ai-sdk/ui-utils': 1.2.8([email protected])
- react: 19.1.0
- swr: 2.3.3([email protected])
- throttleit: 2.1.0
- optionalDependencies:
- zod: 3.25.20
-
- dependencies:
- '@ai-sdk/provider': 1.1.3
- '@ai-sdk/provider-utils': 2.2.7([email protected])
- zod: 3.25.20
- zod-to-json-schema: 3.24.5([email protected])
+ json-schema: 0.4.0
'@alcalzone/[email protected]':
dependencies:
@@ -11412,13 +11393,14 @@ snapshots:
dependencies:
hono-rate-limiter: 0.2.3([email protected])
dependencies:
hono: 4.7.10
- zod: 3.25.20
+ zod: 4.1.8
dependencies:
+ '@standard-schema/utils': 0.3.0
react-hook-form: 7.56.1([email protected])
@@ -13790,6 +13772,10 @@ snapshots:
'@socket.io/[email protected]': {}
+ '@standard-schema/[email protected]': {}
+
+ '@standard-schema/[email protected]': {}
+
dependencies:
ajv: 8.17.1
@@ -14036,18 +14022,19 @@ snapshots:
dependencies:
defer-to-connect: 2.0.1
- dependencies:
- zod: 3.25.20
optionalDependencies:
+ arktype: 2.1.22
typescript: 5.8.3
+ zod: 4.1.8
dependencies:
- '@t3-oss/env-core': 0.11.1([email protected])([email protected])
- zod: 3.25.20
optionalDependencies:
+ arktype: 2.1.22
typescript: 5.8.3
+ zod: 4.1.8
dependencies:
@@ -14211,8 +14198,6 @@ snapshots:
dependencies:
'@types/ms': 2.1.0
- '@types/[email protected]': {}
-
dependencies:
'@types/node': 20.17.50
@@ -14625,17 +14610,13 @@ snapshots:
clean-stack: 4.2.0
indent-string: 5.0.0
dependencies:
- '@ai-sdk/provider': 1.1.3
- '@ai-sdk/provider-utils': 2.2.7([email protected])
- '@ai-sdk/react': 1.2.9([email protected])([email protected])
- '@ai-sdk/ui-utils': 1.2.8([email protected])
+ '@ai-sdk/gateway': 1.0.21([email protected])
+ '@ai-sdk/provider': 2.0.0
+ '@ai-sdk/provider-utils': 3.0.8([email protected])
'@opentelemetry/api': 1.9.0
- jsondiffpatch: 0.6.0
- zod: 3.25.20
- optionalDependencies:
- react: 19.1.0
+ zod: 4.1.8
optionalDependencies:
@@ -15411,8 +15392,6 @@ snapshots:
-
@@ -15808,6 +15787,8 @@ snapshots:
+
@@ -16900,12 +16881,6 @@ snapshots:
- dependencies:
- '@types/diff-match-patch': 1.0.36
- chalk: 5.4.1
- diff-match-patch: 1.0.5
-
dependencies:
universalify: 2.0.1
@@ -18835,8 +18810,6 @@ snapshots:
extend-shallow: 2.0.1
kind-of: 6.0.3
-
dependencies:
parseley: 0.12.1
@@ -19301,12 +19274,6 @@ snapshots:
csso: 5.0.5
picocolors: 1.1.1
- dependencies:
- dequal: 2.0.3
- react: 19.1.0
- use-sync-external-store: 1.5.0([email protected])
-
@@ -19407,8 +19374,6 @@ snapshots:
-
dependencies:
readable-stream: 2.3.8
@@ -20119,4 +20084,6 @@ snapshots:
+