zod 3.26.0-canary.20250616T170327 → 3.26.0-canary.20250616T185210
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/dist/cjs/v4/core/api.js
CHANGED
|
@@ -953,7 +953,7 @@ function _custom(Class, fn, _params) {
|
|
|
953
953
|
// ): checks.$ZodCheck<T> {
|
|
954
954
|
// return _custom(Class, fn, _params);
|
|
955
955
|
// }
|
|
956
|
-
// same as _custom but
|
|
956
|
+
// same as _custom but defaults to abort:false
|
|
957
957
|
function _refine(Class, fn, _params) {
|
|
958
958
|
const schema = new Class({
|
|
959
959
|
type: "custom",
|
package/dist/esm/v4/core/api.js
CHANGED
|
@@ -821,7 +821,7 @@ export function _custom(Class, fn, _params) {
|
|
|
821
821
|
// ): checks.$ZodCheck<T> {
|
|
822
822
|
// return _custom(Class, fn, _params);
|
|
823
823
|
// }
|
|
824
|
-
// same as _custom but
|
|
824
|
+
// same as _custom but defaults to abort:false
|
|
825
825
|
export function _refine(Class, fn, _params) {
|
|
826
826
|
const schema = new Class({
|
|
827
827
|
type: "custom",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zod",
|
|
3
|
-
"version": "3.26.0-canary.
|
|
3
|
+
"version": "3.26.0-canary.20250616T185210",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Colin McDonnell <zod@colinhacks.com>",
|
|
6
6
|
"description": "TypeScript-first schema declaration and validation library with static type inference",
|