Skip to content

Commit a78716d

Browse files
authored
Update zshy (#5249)
1 parent a1726d5 commit a78716d

File tree

3 files changed

+37
-22
lines changed

3 files changed

+37
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"vitest": "^2.1.9",
4848
"zod": "workspace:*",
4949
"zod3": "npm:zod@~3.24.0",
50-
"zshy": "^0.3.5"
50+
"zshy": "^0.4.2"
5151
},
5252
"lint-staged": {
5353
"packages/*/src/**/*.ts": [

play.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
import * as z from "zod";
1+
const test = () => 1;
22

3-
z;
3+
test.something = () => 2;
44

5-
z.superRefine((val, ctx) => {
6-
ctx.addIssue({
7-
code: "custom",
8-
message: "Custom message",
9-
});
10-
});
5+
test.something;

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)