zod 3.23.7 → 3.23.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -12
- package/lib/types.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -185,9 +185,9 @@ Some other great aspects:
|
|
|
185
185
|
|
|
186
186
|
Sponsorship at any level is appreciated and encouraged. For individual developers, consider the [Cup of Coffee tier](https://github.com/sponsors/colinhacks). If you built a paid product using Zod, consider one of the [podium tiers](https://github.com/sponsors/colinhacks).
|
|
187
187
|
|
|
188
|
-
####
|
|
188
|
+
#### Platinum
|
|
189
189
|
|
|
190
|
-
>
|
|
190
|
+
> [Email me](mailto:colin@colinhacks.com) to discuss sponsoring Zod at this level.
|
|
191
191
|
|
|
192
192
|
<!-- <table>
|
|
193
193
|
<tr>
|
|
@@ -203,7 +203,7 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
|
|
|
203
203
|
</tr>
|
|
204
204
|
</table> -->
|
|
205
205
|
|
|
206
|
-
####
|
|
206
|
+
#### Gold
|
|
207
207
|
|
|
208
208
|
<table>
|
|
209
209
|
<tr>
|
|
@@ -283,21 +283,39 @@ Sponsorship at any level is appreciated and encouraged. For individual developer
|
|
|
283
283
|
</tr>
|
|
284
284
|
</table>
|
|
285
285
|
|
|
286
|
-
####
|
|
286
|
+
#### Silver
|
|
287
287
|
|
|
288
288
|
<table>
|
|
289
289
|
<tr>
|
|
290
|
-
<td
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
290
|
+
<td align="center">
|
|
291
|
+
<a href="https://www.numeric.io">
|
|
292
|
+
<img src="https://i.imgur.com/kTiLtZt.png" height="40px;" alt="Numeric logo" />
|
|
293
|
+
</a>
|
|
294
|
+
</td>
|
|
295
|
+
<td>
|
|
296
|
+
<a href="https://marcatopartners.com">
|
|
297
|
+
<img src="https://avatars.githubusercontent.com/u/84106192?s=200&v=4" height="40px;" alt="Marcato Partners" />
|
|
298
|
+
</a>
|
|
299
|
+
</td>
|
|
300
|
+
<td>
|
|
301
|
+
<a href="https://interval.com">
|
|
302
|
+
<img src="https://avatars.githubusercontent.com/u/67802063?s=200&v=4" height="40px;" alt="" />
|
|
303
|
+
</a>
|
|
304
|
+
</td>
|
|
305
|
+
<td>
|
|
306
|
+
<a href="https://seasoned.cc">
|
|
307
|
+
<img src="https://avatars.githubusercontent.com/u/33913103?s=200&v=4" height="40px;" alt="" />
|
|
308
|
+
</a>
|
|
309
|
+
</td>
|
|
310
|
+
<td>
|
|
311
|
+
<a href="https://www.bamboocreative.nz/">
|
|
312
|
+
<img src="https://avatars.githubusercontent.com/u/41406870?v=4" height="40px;" alt="Bamboo Creative logo" />
|
|
313
|
+
</a>
|
|
314
|
+
</td>
|
|
297
315
|
</tr>
|
|
298
316
|
</table>
|
|
299
317
|
|
|
300
|
-
####
|
|
318
|
+
#### Bronze
|
|
301
319
|
|
|
302
320
|
<table>
|
|
303
321
|
<tr>
|
package/lib/types.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { partialUtil } from "./helpers/partialUtil";
|
|
|
5
5
|
import { Primitive } from "./helpers/typeAliases";
|
|
6
6
|
import { objectUtil, util } from "./helpers/util";
|
|
7
7
|
import { IssueData, StringValidation, ZodCustomIssue, ZodError, ZodErrorMap } from "./ZodError";
|
|
8
|
-
export
|
|
8
|
+
export interface RefinementCtx {
|
|
9
9
|
addIssue: (arg: IssueData) => void;
|
|
10
10
|
path: (string | number)[];
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
export declare type ZodRawShape = {
|
|
13
13
|
[k: string]: ZodTypeAny;
|
|
14
14
|
};
|