You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also add tests for apostrophe for both cases since
the regex is different for the last character.
Not sure if the deno files are supposed to be checked in
or not (since they are generated) but since they are also
include them in this PR.
Copy file name to clipboardExpand all lines: deno/lib/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -518,7 +518,7 @@ There are a growing number of tools that are built atop or support Zod natively!
518
518
-[`tRPC`](https://github.com/trpc/trpc): Build end-to-end typesafe APIs without GraphQL.
519
519
-[`@anatine/zod-nestjs`](https://github.com/anatine/zod-plugins/tree/main/packages/zod-nestjs): Helper methods for using Zod in a NestJS project.
520
520
-[`zod-endpoints`](https://github.com/flock-community/zod-endpoints): Contract-first strictly typed endpoints with Zod. OpenAPI compatible.
521
-
-[`zhttp`](https://github.com/evertdespiegeleer/zhttp): An OpenAPI compatible, strictly typed http library with Zod input and response validation.
521
+
-[`zhttp`](https://github.com/evertdespiegeleer/zhttp): An OpenAPI compatible, strictly typed http library with Zod input and response validation.
522
522
-[`domain-functions`](https://github.com/SeasonedSoftware/domain-functions/): Decouple your business logic from your framework using composable functions. With first-class type inference from end to end powered by Zod schemas.
523
523
-[`@zodios/core`](https://github.com/ecyrbe/zodios): A typescript API client with runtime and compile time validation backed by axios and zod.
524
524
-[`express-zod-api`](https://github.com/RobinTail/express-zod-api): Build Express-based APIs with I/O schema validation and custom middlewares.
@@ -584,8 +584,10 @@ There are a growing number of tools that are built atop or support Zod natively!
-[`slonik`](https://github.com/gajus/slonik/tree/gajus/add-zod-validation-backwards-compatible#runtime-validation-and-static-type-inference): Node.js Postgres client with strong Zod integration.
586
586
-[`soly`](https://github.com/mdbetancourt/soly): Create CLI applications with zod.
587
+
-[`pastel`](https://github.com/vadimdemedes/pastel): Create CLI applications with react, zod, and ink.
587
588
-[`zod-xlsx`](https://github.com/sidwebworks/zod-xlsx): A xlsx based resource validator using Zod schemas.
588
589
-[`znv`](https://github.com/lostfictions/znv): Type-safe environment parsing and validation for Node.js with Zod schemas.
590
+
-[`zod-config`](https://github.com/alexmarqs/zod-config): Load configurations across multiple sources with flexible adapters, ensuring type safety with Zod.
589
591
590
592
#### Utilities for Zod
591
593
@@ -963,7 +965,7 @@ You can customize certain error messages when creating a nan schema.
963
965
```ts
964
966
const isNaN =z.nan({
965
967
required_error: "isNaN is required",
966
-
invalid_type_error: "isNaN must be not a number",
968
+
invalid_type_error: "isNaN must be 'not a number'",
0 commit comments