Skip to content

Commit 57b8116

Browse files
committed
chore(deps): Upgrade zod
1 parent 985c3b4 commit 57b8116

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"graphql": "^16.13.2",
2424
"linkedom": "^0.18.12",
2525
"picocolors": "^1.1.1",
26-
"zod": "^3.25.75"
26+
"zod": "^4.3.6"
2727
},
2828
"devDependencies": {
2929
"@aklinker1/check": "^2.4.0",

src/routes/grpahql-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createApp } from "@aklinker1/zeta";
22
import PLAYGROUND_HTML_TEMPLATE from "../assets/playground.html.tmpl" with { type: "text" };
33
import { version } from "../../package.json";
44
import { createGraphql } from "../graphql";
5-
import { z } from "zod/v4";
5+
import { z } from "zod";
66
import dedent from "dedent";
77

88
const PLAYGROUND_HTML = PLAYGROUND_HTML_TEMPLATE.replace(

src/routes/rest-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createApp } from "@aklinker1/zeta";
2-
import { z } from "zod/v4";
2+
import { z } from "zod";
33
import { contextPlugin } from "../plugins/context-plugin";
44
import { NotFoundHttpError } from "@aklinker1/zeta";
55
import { HttpStatus } from "@aklinker1/zeta";

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { graphqlRoutes } from "./routes/grpahql-routes";
55
import { restRoutes } from "./routes/rest-routes";
66
import { zodSchemaAdapter } from "@aklinker1/zeta/adapters/zod-schema-adapter";
77
import { version } from "../package.json";
8-
import { z } from "zod/v4";
8+
import { z } from "zod";
99
import API_REFERENCE_DESCRIPTION from "./assets/api-reference-description.md" with { type: "text" };
1010
import GRAPHQL_DESCRIPTION from "./assets/graphql-description.md" with { type: "text" };
1111

0 commit comments

Comments
 (0)