Skip to content
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"trpcserver11": "npm:@trpc/server@^11.1.1",
"tsx": "4.20.3",
"typescript": "5.8.3",
"valibot": "1.1.0",
"valibot": "1.2.0",
"vitest": "3.2.4",
"zod": "3.25.76",
"zod-to-json-schema": "3.24.6"
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/arktype.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ test('boolean array input', async () => {

await expect(run(router, ['test', 'true', 'bad'])).rejects.toMatchInlineSnapshot(`
CLI exited with code 1
Caused by: CliValidationError: [1] must be boolean (was "bad")
Caused by: CliValidationError: value at [1] must be boolean (was "bad")
`)
})

Expand Down
2 changes: 1 addition & 1 deletion test/trpc-compat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test('trpc v11 shape check', async () => {
expect(router._def.procedures).toHaveProperty('abc.def')
expect(router._def.procedures).not.toHaveProperty('abc')

// @ts-expect-error for some reason trpc11 doesn't expose `.inputs` at the type level
// NO LONGER A `@ts-expect-error`: for some reason trpc11 didn't expose `.inputs` at the type level
expect(router._def.procedures.add._def.inputs).toEqual([expect.any(z.ZodType)])
expect(router._def.procedures.add._def.meta).toEqual({description: 'Add two numbers'})
expect((router._def.procedures.add._def as any).mutation).toBeUndefined()
Expand Down