Skip to content

Upgrade zod to 3.23.8 #1484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/slow-pans-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@trigger.dev/react-hooks": patch
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/build": patch
"@trigger.dev/core": patch
"@trigger.dev/rsc": patch
---

Upgrade zod to latest (3.23.8)
2 changes: 1 addition & 1 deletion apps/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@aws-sdk/client-sqs": "^3.445.0",
"@trigger.dev/core": "workspace:*",
"ulidx": "^2.2.1",
"zod": "3.22.3",
"zod": "3.23.8",
"zod-error": "1.5.0"
}
}
7 changes: 0 additions & 7 deletions apps/webapp/app/routes/api.v1.store.$key.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { ActionFunctionArgs, LoaderFunctionArgs } from "@remix-run/server-runtime";
import { json } from "@remix-run/server-runtime";
import { assertExhaustive } from "@trigger.dev/core";
import { z } from "zod";
import { authenticateApiRequest } from "~/services/apiAuth.server";
import { logger } from "~/services/logger.server";
Expand Down Expand Up @@ -69,9 +68,6 @@ export async function action({ request, params }: ActionFunctionArgs) {

return json({ action: "SET", key: decodedKey, value: setValue });
}
default: {
assertExhaustive(parsedMethod.data);
}
}
} catch (error) {
if (error instanceof Error) {
Expand Down Expand Up @@ -136,9 +132,6 @@ export async function loader({ request, params }: LoaderFunctionArgs) {

return new Response("Key found", { status: 200 });
}
default: {
assertExhaustive(parsedMethod.data);
}
}
} catch (error) {
if (error instanceof Error) {
Expand Down
6 changes: 3 additions & 3 deletions apps/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@trigger.dev/core": "workspace:*",
"@trigger.dev/database": "workspace:*",
"@trigger.dev/otlp-importer": "workspace:*",
"@trigger.dev/platform": "1.0.13",
"@trigger.dev/platform": "1.0.14",
"@trigger.dev/sdk": "workspace:*",
"@trigger.dev/yalt": "npm:@trigger.dev/yalt",
"@types/pg": "8.6.6",
Expand Down Expand Up @@ -182,7 +182,7 @@
"ulid": "^2.3.0",
"ulidx": "^2.2.1",
"ws": "^8.11.0",
"zod": "3.22.3",
"zod": "3.23.8",
"zod-error": "1.5.0",
"zod-validation-error": "^1.5.0"
},
Expand Down Expand Up @@ -255,4 +255,4 @@
"engines": {
"node": ">=16.0.0"
}
}
}
2 changes: 1 addition & 1 deletion internal-packages/emails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-email": "^2.1.1",
"resend": "^3.2.0",
"tiny-invariant": "^1.2.0",
"zod": "3.22.3"
"zod": "3.23.8"
},
"devDependencies": {
"@types/node": "^18",
Expand Down
4 changes: 2 additions & 2 deletions internal-packages/redis-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lodash.omit": "^4.5.0",
"nanoid": "^5.0.7",
"typescript": "^5.5.4",
"zod": "3.22.3"
"zod": "3.23.8"
},
"devDependencies": {
"@internal/testcontainers": "workspace:*",
Expand All @@ -23,4 +23,4 @@
"typecheck": "tsc --noEmit",
"test": "vitest"
}
}
}
4 changes: 2 additions & 2 deletions internal-packages/zod-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graphile-worker": "0.16.6",
"lodash.omit": "^4.5.0",
"typescript": "^5.5.4",
"zod": "3.22.3"
"zod": "3.23.8"
},
"devDependencies": {
"@types/lodash.omit": "^4.5.7",
Expand All @@ -21,4 +21,4 @@
"scripts": {
"typecheck": "tsc --noEmit"
}
}
}
2 changes: 1 addition & 1 deletion packages/cli-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"tinyexec": "^0.3.1",
"ws": "^8.18.0",
"xdg-app-paths": "^8.3.0",
"zod": "3.22.3",
"zod": "3.23.8",
"zod-validation-error": "^1.5.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
"nanoid": "^3.3.4",
"socket.io-client": "4.7.5",
"superjson": "^2.2.1",
"zod": "3.22.3",
"zod": "3.23.8",
"zod-error": "1.5.0",
"zod-validation-error": "^1.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/trigger-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"tsx": "4.17.0",
"typed-emitter": "^2.1.0",
"typescript": "^5.5.4",
"zod": "3.22.3"
"zod": "3.23.8"
},
"peerDependencies": {
"zod": "^3.0.0"
Expand Down
Loading