Skip to content

Commit

Permalink
Update zod package to version 3.23.8 and add date type support in Str…
Browse files Browse the repository at this point in the history
…ingTransformer
  • Loading branch information
yotamishak committed Oct 24, 2024
1 parent 81f003d commit 7e16e81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

1 change: 1 addition & 0 deletions src/transformers/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class StringTransformer {
if (zodString.isULID) return 'ulid';
if (zodString.isIP) return 'ip';
if (zodString.isEmoji) return 'emoji';
if (zodString.isDate) return 'date';

return undefined;
}
Expand Down

0 comments on commit 7e16e81

Please sign in to comment.