zod 3.25.41 → 3.25.42-beta.0
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/classic/external.js +1 -1
- package/dist/cjs/v4/core/index.js +1 -2
- package/dist/cjs/v4/mini/external.js +1 -1
- package/dist/esm/v4/classic/external.js +2 -1
- package/dist/esm/v4/core/index.js +0 -1
- package/dist/esm/v4/locales/es.js +1 -1
- package/dist/esm/v4/mini/external.js +2 -1
- package/dist/types/v4/classic/external.d.ts +2 -1
- package/dist/types/v4/core/index.d.ts +0 -1
- package/dist/types/v4/mini/external.d.ts +2 -1
- package/package.json +1 -1
|
@@ -55,7 +55,7 @@ Object.defineProperty(exports, "prettifyError", { enumerable: true, get: functio
|
|
|
55
55
|
Object.defineProperty(exports, "formatError", { enumerable: true, get: function () { return core_2.formatError; } });
|
|
56
56
|
Object.defineProperty(exports, "flattenError", { enumerable: true, get: function () { return core_2.flattenError; } });
|
|
57
57
|
Object.defineProperty(exports, "toJSONSchema", { enumerable: true, get: function () { return core_2.toJSONSchema; } });
|
|
58
|
-
|
|
58
|
+
exports.locales = __importStar(require("../locales/index.js"));
|
|
59
59
|
// iso
|
|
60
60
|
// must be exported from top-level
|
|
61
61
|
// https://github.com/colinhacks/zod/issues/4491
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.JSONSchema = exports.
|
|
29
|
+
exports.JSONSchema = exports.regexes = exports.util = void 0;
|
|
30
30
|
__exportStar(require("./core.js"), exports);
|
|
31
31
|
__exportStar(require("./parse.js"), exports);
|
|
32
32
|
__exportStar(require("./errors.js"), exports);
|
|
@@ -35,7 +35,6 @@ __exportStar(require("./checks.js"), exports);
|
|
|
35
35
|
__exportStar(require("./versions.js"), exports);
|
|
36
36
|
exports.util = __importStar(require("./util.js"));
|
|
37
37
|
exports.regexes = __importStar(require("./regexes.js"));
|
|
38
|
-
exports.locales = __importStar(require("../locales/index.js"));
|
|
39
38
|
__exportStar(require("./registries.js"), exports);
|
|
40
39
|
__exportStar(require("./doc.js"), exports);
|
|
41
40
|
__exportStar(require("./function.js"), exports);
|
|
@@ -46,7 +46,7 @@ Object.defineProperty(exports, "prettifyError", { enumerable: true, get: functio
|
|
|
46
46
|
Object.defineProperty(exports, "formatError", { enumerable: true, get: function () { return core_1.formatError; } });
|
|
47
47
|
Object.defineProperty(exports, "flattenError", { enumerable: true, get: function () { return core_1.flattenError; } });
|
|
48
48
|
Object.defineProperty(exports, "toJSONSchema", { enumerable: true, get: function () { return core_1.toJSONSchema; } });
|
|
49
|
-
|
|
49
|
+
exports.locales = __importStar(require("../locales/index.js"));
|
|
50
50
|
/** A special constant with type `never` */
|
|
51
51
|
// export const NEVER = {} as never;
|
|
52
52
|
// iso
|
|
@@ -8,7 +8,8 @@ export * from "./compat.js";
|
|
|
8
8
|
import { config } from "zod/v4/core";
|
|
9
9
|
import en from "zod/v4/locales/en.js";
|
|
10
10
|
config(en());
|
|
11
|
-
export { globalRegistry, registry, config, function, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema,
|
|
11
|
+
export { globalRegistry, registry, config, function, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, } from "zod/v4/core";
|
|
12
|
+
export * as locales from "../locales/index.js";
|
|
12
13
|
// iso
|
|
13
14
|
// must be exported from top-level
|
|
14
15
|
// https://github.com/colinhacks/zod/issues/4491
|
|
@@ -6,7 +6,6 @@ export * from "./checks.js";
|
|
|
6
6
|
export * from "./versions.js";
|
|
7
7
|
export * as util from "./util.js";
|
|
8
8
|
export * as regexes from "./regexes.js";
|
|
9
|
-
export * as locales from "../locales/index.js";
|
|
10
9
|
export * from "./registries.js";
|
|
11
10
|
export * from "./doc.js";
|
|
12
11
|
export * from "./function.js";
|
|
@@ -2,7 +2,8 @@ export * as core from "zod/v4/core";
|
|
|
2
2
|
export * from "./parse.js";
|
|
3
3
|
export * from "./schemas.js";
|
|
4
4
|
export * from "./checks.js";
|
|
5
|
-
export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema,
|
|
5
|
+
export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, } from "zod/v4/core";
|
|
6
|
+
export * as locales from "../locales/index.js";
|
|
6
7
|
/** A special constant with type `never` */
|
|
7
8
|
// export const NEVER = {} as never;
|
|
8
9
|
// iso
|
|
@@ -5,7 +5,8 @@ export * from "./errors.js";
|
|
|
5
5
|
export * from "./parse.js";
|
|
6
6
|
export * from "./compat.js";
|
|
7
7
|
export type { infer, output, input } from "zod/v4/core";
|
|
8
|
-
export { globalRegistry, type GlobalMeta, registry, config, function, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema,
|
|
8
|
+
export { globalRegistry, type GlobalMeta, registry, config, function, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, } from "zod/v4/core";
|
|
9
|
+
export * as locales from "../locales/index.js";
|
|
9
10
|
export { ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration } from "./iso.js";
|
|
10
11
|
export * as iso from "./iso.js";
|
|
11
12
|
export type { ZodCoercedString, ZodCoercedNumber, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, } from "./coerce.js";
|
|
@@ -6,7 +6,6 @@ export * from "./checks.js";
|
|
|
6
6
|
export * from "./versions.js";
|
|
7
7
|
export * as util from "./util.js";
|
|
8
8
|
export * as regexes from "./regexes.js";
|
|
9
|
-
export * as locales from "../locales/index.js";
|
|
10
9
|
export * from "./registries.js";
|
|
11
10
|
export * from "./doc.js";
|
|
12
11
|
export * from "./function.js";
|
|
@@ -3,7 +3,8 @@ export * from "./parse.js";
|
|
|
3
3
|
export * from "./schemas.js";
|
|
4
4
|
export * from "./checks.js";
|
|
5
5
|
export type { infer, output, input } from "zod/v4/core";
|
|
6
|
-
export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema,
|
|
6
|
+
export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, } from "zod/v4/core";
|
|
7
|
+
export * as locales from "../locales/index.js";
|
|
7
8
|
/** A special constant with type `never` */
|
|
8
9
|
export * as iso from "./iso.js";
|
|
9
10
|
export { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration, } from "./iso.js";
|
package/package.json
CHANGED