Skip to content

Commit 18115a8

Browse files
committedSep 12, 2023
Formatting
1 parent 64dcc8e commit 18115a8

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed
 

‎README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
193193
<br />
194194
<a href="https://speakeasyapi.dev/">speakeasyapi.dev</a>
195195
<br />
196-
<p width="200px">SDKs, Terraform, Docs. Your API made enterprise-ready.</p>
196+
<p width="200px">SDKs, Terraform, Docs.<br/>Your API made enterprise-ready.</p>
197197
</td>
198198
<td align="center">
199199
<a href="https://glow.app/">
@@ -311,8 +311,6 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
311311
<br />
312312
<a href="https://seasoned.cc">seasoned.cc</a>
313313
</td>
314-
</tr>
315-
<tr>
316314
<td align="center">
317315
<a href="https://www.bamboocreative.nz/">
318316
<img src="https://avatars.githubusercontent.com/u/41406870?v=4" width="150px;" alt="Bamboo Creative logo" />

‎deno/lib/README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
193193
<br />
194194
<a href="https://speakeasyapi.dev/">speakeasyapi.dev</a>
195195
<br />
196-
<p width="200px">SDKs, Terraform, Docs. Your API made enterprise-ready.</p>
196+
<p width="200px">SDKs, Terraform, Docs.<br/>Your API made enterprise-ready.</p>
197197
</td>
198198
<td align="center">
199199
<a href="https://glow.app/">
@@ -311,8 +311,6 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
311311
<br />
312312
<a href="https://seasoned.cc">seasoned.cc</a>
313313
</td>
314-
</tr>
315-
<tr>
316314
<td align="center">
317315
<a href="https://www.bamboocreative.nz/">
318316
<img src="https://avatars.githubusercontent.com/u/41406870?v=4" width="150px;" alt="Bamboo Creative logo" />
@@ -709,7 +707,7 @@ z.string().regex(regex);
709707
z.string().includes(string);
710708
z.string().startsWith(string);
711709
z.string().endsWith(string);
712-
z.string().datetime(); // defaults to UTC, see below for options
710+
z.string().datetime(); // ISO 8601; default is without UTC offset, see below for options
713711
z.string().ip(); // defaults to IPv4 and IPv6, see below for options
714712

715713
// transformations
@@ -748,7 +746,7 @@ z.string().ip({ message: "Invalid IP address" });
748746

749747
### ISO datetimes
750748

751-
The `z.string().datetime()` method defaults to UTC validation: no timezone offsets with arbitrary sub-second decimal precision.
749+
The `z.string().datetime()` method enforces ISO 8601; default is no timezone offsets and arbitrary sub-second decimal precision.
752750

753751
```ts
754752
const datetime = z.string().datetime();
@@ -2813,10 +2811,9 @@ This more declarative API makes schema definitions vastly more concise.
28132811

28142812
[https://github.com/pelotom/runtypes](https://github.com/pelotom/runtypes)
28152813

2816-
Good type inference support. They DO support readonly types, which Zod does not.
2814+
Good type inference support.
28172815

28182816
- Supports "pattern matching": computed properties that distribute over unions
2819-
- Supports readonly types
28202817
- Missing object methods: (deepPartial, merge)
28212818
- Missing nonempty arrays with proper typing (`[T, ...T[]]`)
28222819
- Missing promise schemas

0 commit comments

Comments
 (0)
Please sign in to comment.