zod 3.26.0-canary.20250619T152955 → 3.26.0-canary.20250702T074442

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.
Files changed (402) hide show
  1. package/README.md +2 -2
  2. package/{dist/cjs/v3/index.js → index.cjs} +2 -2
  3. package/index.d.cts +4 -0
  4. package/index.d.ts +4 -0
  5. package/index.js +4 -0
  6. package/package.json +63 -80
  7. package/{dist/cjs/v3/ZodError.js → v3/ZodError.cjs} +4 -3
  8. package/v3/ZodError.d.cts +164 -0
  9. package/{dist/esm/v3 → v3}/ZodError.js +3 -2
  10. package/{dist/cjs/v3/errors.js → v3/errors.cjs} +1 -1
  11. package/v3/errors.d.cts +5 -0
  12. package/{dist/cjs/v3/external.js → v3/external.cjs} +6 -6
  13. package/v3/external.d.cts +6 -0
  14. package/v3/helpers/enumUtil.d.ts +8 -0
  15. package/v3/helpers/errorUtil.d.ts +9 -0
  16. package/{dist/cjs/v3/helpers/parseUtil.js → v3/helpers/parseUtil.cjs} +2 -2
  17. package/v3/helpers/parseUtil.d.cts +78 -0
  18. package/v3/helpers/partialUtil.d.cts +8 -0
  19. package/v3/helpers/typeAliases.d.ts +2 -0
  20. package/v3/helpers/util.d.ts +85 -0
  21. package/{dist/cjs/v4/classic/index.js → v3/index.cjs} +2 -2
  22. package/v3/index.d.cts +4 -0
  23. package/v3/index.d.ts +3 -2
  24. package/v3/index.js +4 -1
  25. package/{dist/cjs/v3/locales/en.js → v3/locales/en.cjs} +2 -2
  26. package/v3/locales/en.d.cts +3 -0
  27. package/v3/standard-schema.d.ts +102 -0
  28. package/{dist/cjs/v3/types.js → v3/types.cjs} +7 -5
  29. package/v3/types.d.cts +1031 -0
  30. package/{dist/esm/v3 → v3}/types.js +2 -0
  31. package/{dist/cjs/v4/classic/checks.js → v4/classic/checks.cjs} +29 -29
  32. package/v4/classic/checks.d.cts +1 -0
  33. package/{dist/types/v4 → v4}/classic/checks.d.ts +1 -1
  34. package/{dist/esm/v4 → v4}/classic/checks.js +1 -1
  35. package/{dist/cjs/v4/classic/coerce.js → v4/classic/coerce.cjs} +2 -2
  36. package/v4/classic/coerce.d.cts +17 -0
  37. package/{dist/types/v4 → v4}/classic/coerce.d.ts +1 -1
  38. package/{dist/esm/v4 → v4}/classic/coerce.js +1 -1
  39. package/{dist/cjs/v4/classic/compat.js → v4/classic/compat.cjs} +4 -4
  40. package/v4/classic/compat.d.cts +48 -0
  41. package/{dist/types/v4 → v4}/classic/compat.d.ts +3 -3
  42. package/{dist/esm/v4 → v4}/classic/compat.js +2 -2
  43. package/{dist/cjs/v4/classic/errors.js → v4/classic/errors.cjs} +3 -3
  44. package/v4/classic/errors.d.cts +30 -0
  45. package/{dist/types/v4 → v4}/classic/errors.d.ts +3 -3
  46. package/{dist/esm/v4 → v4}/classic/errors.js +2 -2
  47. package/{dist/cjs/v4/classic/external.js → v4/classic/external.cjs} +29 -29
  48. package/v4/classic/external.d.cts +13 -0
  49. package/{dist/types/v4 → v4}/classic/external.d.ts +3 -3
  50. package/{dist/esm/v4 → v4}/classic/external.js +4 -4
  51. package/v4/classic/index.cjs +33 -0
  52. package/v4/classic/index.d.cts +4 -0
  53. package/{dist/cjs/v4/classic/iso.js → v4/classic/iso.cjs} +2 -2
  54. package/v4/classic/iso.d.cts +22 -0
  55. package/{dist/types/v4 → v4}/classic/iso.d.ts +1 -1
  56. package/{dist/esm/v4 → v4}/classic/iso.js +1 -1
  57. package/{dist/cjs/v4/classic/parse.js → v4/classic/parse.cjs} +2 -2
  58. package/v4/classic/parse.d.cts +23 -0
  59. package/{dist/types/v4 → v4}/classic/parse.d.ts +1 -1
  60. package/{dist/esm/v4 → v4}/classic/parse.js +1 -1
  61. package/{dist/cjs/v4/classic/schemas.js → v4/classic/schemas.cjs} +38 -38
  62. package/v4/classic/schemas.d.cts +629 -0
  63. package/{dist/types/v4 → v4}/classic/schemas.d.ts +2 -2
  64. package/{dist/esm/v4 → v4}/classic/schemas.js +2 -2
  65. package/{dist/cjs/v4/core/api.js → v4/core/api.cjs} +3 -3
  66. package/v4/core/api.d.cts +284 -0
  67. package/{dist/cjs/v4/core/checks.js → v4/core/checks.cjs} +3 -3
  68. package/v4/core/checks.d.cts +277 -0
  69. package/v4/core/core.d.cts +47 -0
  70. package/v4/core/doc.d.ts +14 -0
  71. package/{dist/cjs/v4/core/errors.js → v4/core/errors.cjs} +2 -2
  72. package/v4/core/errors.d.cts +204 -0
  73. package/{dist/cjs/v4/core/function.js → v4/core/function.cjs} +4 -4
  74. package/v4/core/function.d.cts +52 -0
  75. package/{dist/cjs/v4/core/index.js → v4/core/index.cjs} +15 -15
  76. package/v4/core/index.d.cts +15 -0
  77. package/v4/core/index.d.ts +15 -1
  78. package/v4/core/index.js +15 -1
  79. package/v4/core/json-schema.d.ts +87 -0
  80. package/{dist/cjs/v4/core/parse.js → v4/core/parse.cjs} +3 -3
  81. package/v4/core/parse.d.cts +25 -0
  82. package/v4/core/regexes.d.ts +62 -0
  83. package/v4/core/registries.d.cts +34 -0
  84. package/{dist/cjs/v4/core/schemas.js → v4/core/schemas.cjs} +10 -10
  85. package/v4/core/schemas.d.cts +1015 -0
  86. package/{dist/esm/v4 → v4}/core/schemas.js +2 -2
  87. package/v4/core/standard-schema.d.ts +55 -0
  88. package/{dist/cjs/v4/core/to-json-schema.js → v4/core/to-json-schema.cjs} +2 -2
  89. package/v4/core/to-json-schema.d.cts +84 -0
  90. package/{dist/cjs/v4/core/util.js → v4/core/util.cjs} +1 -4
  91. package/v4/core/util.d.cts +183 -0
  92. package/{dist/esm/v4 → v4}/core/util.js +1 -4
  93. package/v4/core/versions.d.ts +5 -0
  94. package/{dist/cjs/index.js → v4/index.cjs} +2 -2
  95. package/v4/index.d.cts +3 -0
  96. package/v4/index.d.ts +3 -3
  97. package/v4/index.js +3 -1
  98. package/{dist/cjs/v4/locales/ar.js → v4/locales/ar.cjs} +1 -1
  99. package/v4/locales/ar.d.cts +4 -0
  100. package/{dist/cjs/v4/locales/az.js → v4/locales/az.cjs} +1 -1
  101. package/v4/locales/az.d.cts +4 -0
  102. package/{dist/cjs/v4/locales/be.js → v4/locales/be.cjs} +1 -1
  103. package/v4/locales/be.d.cts +4 -0
  104. package/{dist/cjs/v4/locales/ca.js → v4/locales/ca.cjs} +1 -1
  105. package/v4/locales/ca.d.cts +4 -0
  106. package/{dist/cjs/v4/locales/cs.js → v4/locales/cs.cjs} +1 -1
  107. package/v4/locales/cs.d.cts +4 -0
  108. package/{dist/cjs/v4/locales/de.js → v4/locales/de.cjs} +1 -1
  109. package/v4/locales/de.d.cts +4 -0
  110. package/{dist/cjs/v4/locales/en.js → v4/locales/en.cjs} +1 -1
  111. package/{dist/types/v4/locales/en.d.ts → v4/locales/en.d.cts} +1 -1
  112. package/v4/locales/en.d.ts +5 -2
  113. package/v4/locales/en.js +117 -2
  114. package/{dist/cjs/v4/locales/es.js → v4/locales/es.cjs} +1 -1
  115. package/v4/locales/es.d.cts +4 -0
  116. package/{dist/cjs/v4/locales/fa.js → v4/locales/fa.cjs} +1 -1
  117. package/v4/locales/fa.d.cts +4 -0
  118. package/{dist/cjs/v4/locales/fi.js → v4/locales/fi.cjs} +1 -1
  119. package/v4/locales/fi.d.cts +4 -0
  120. package/{dist/cjs/v4/locales/fr-CA.js → v4/locales/fr-CA.cjs} +1 -1
  121. package/v4/locales/fr-CA.d.cts +4 -0
  122. package/{dist/cjs/v4/locales/fr.js → v4/locales/fr.cjs} +1 -1
  123. package/v4/locales/fr.d.cts +4 -0
  124. package/{dist/cjs/v4/locales/he.js → v4/locales/he.cjs} +1 -1
  125. package/v4/locales/he.d.cts +4 -0
  126. package/{dist/cjs/v4/locales/hu.js → v4/locales/hu.cjs} +1 -1
  127. package/v4/locales/hu.d.cts +4 -0
  128. package/{dist/cjs/v4/locales/id.js → v4/locales/id.cjs} +1 -1
  129. package/v4/locales/id.d.cts +4 -0
  130. package/{dist/cjs/v4/locales/index.js → v4/locales/index.cjs} +38 -38
  131. package/v4/locales/index.d.cts +38 -0
  132. package/v4/locales/index.d.ts +38 -1
  133. package/v4/locales/index.js +38 -1
  134. package/{dist/cjs/v4/locales/it.js → v4/locales/it.cjs} +1 -1
  135. package/v4/locales/it.d.cts +4 -0
  136. package/{dist/cjs/v4/locales/ja.js → v4/locales/ja.cjs} +1 -1
  137. package/v4/locales/ja.d.cts +4 -0
  138. package/{dist/cjs/v4/locales/kh.js → v4/locales/kh.cjs} +1 -1
  139. package/v4/locales/kh.d.cts +4 -0
  140. package/{dist/cjs/v4/locales/ko.js → v4/locales/ko.cjs} +1 -1
  141. package/v4/locales/ko.d.cts +4 -0
  142. package/{dist/cjs/v4/locales/mk.js → v4/locales/mk.cjs} +1 -1
  143. package/v4/locales/mk.d.cts +4 -0
  144. package/{dist/cjs/v4/locales/ms.js → v4/locales/ms.cjs} +1 -1
  145. package/v4/locales/ms.d.cts +4 -0
  146. package/{dist/cjs/v4/locales/nl.js → v4/locales/nl.cjs} +1 -1
  147. package/v4/locales/nl.d.cts +4 -0
  148. package/{dist/cjs/v4/locales/no.js → v4/locales/no.cjs} +1 -1
  149. package/v4/locales/no.d.cts +4 -0
  150. package/{dist/cjs/v4/locales/ota.js → v4/locales/ota.cjs} +1 -1
  151. package/v4/locales/ota.d.cts +4 -0
  152. package/{dist/cjs/v4/locales/pl.js → v4/locales/pl.cjs} +1 -1
  153. package/v4/locales/pl.d.cts +4 -0
  154. package/{dist/cjs/v4/locales/ps.js → v4/locales/ps.cjs} +1 -1
  155. package/v4/locales/ps.d.cts +4 -0
  156. package/{dist/cjs/v4/locales/pt.js → v4/locales/pt.cjs} +1 -1
  157. package/v4/locales/pt.d.cts +4 -0
  158. package/{dist/cjs/v4/locales/ru.js → v4/locales/ru.cjs} +1 -1
  159. package/v4/locales/ru.d.cts +4 -0
  160. package/{dist/cjs/v4/locales/sl.js → v4/locales/sl.cjs} +1 -1
  161. package/v4/locales/sl.d.cts +4 -0
  162. package/{dist/cjs/v4/locales/sv.js → v4/locales/sv.cjs} +1 -1
  163. package/v4/locales/sv.d.cts +4 -0
  164. package/{dist/cjs/v4/locales/ta.js → v4/locales/ta.cjs} +1 -1
  165. package/v4/locales/ta.d.cts +4 -0
  166. package/{dist/cjs/v4/locales/th.js → v4/locales/th.cjs} +1 -1
  167. package/v4/locales/th.d.cts +4 -0
  168. package/{dist/cjs/v4/locales/tr.js → v4/locales/tr.cjs} +1 -1
  169. package/v4/locales/tr.d.cts +5 -0
  170. package/{dist/cjs/v4/locales/ua.js → v4/locales/ua.cjs} +1 -1
  171. package/v4/locales/ua.d.cts +4 -0
  172. package/{dist/cjs/v4/locales/ur.js → v4/locales/ur.cjs} +1 -1
  173. package/v4/locales/ur.d.cts +4 -0
  174. package/{dist/cjs/v4/locales/vi.js → v4/locales/vi.cjs} +1 -1
  175. package/v4/locales/vi.d.cts +4 -0
  176. package/{dist/cjs/v4/locales/zh-CN.js → v4/locales/zh-CN.cjs} +1 -1
  177. package/v4/locales/zh-CN.d.cts +4 -0
  178. package/{dist/cjs/v4/locales/zh-TW.js → v4/locales/zh-TW.cjs} +1 -1
  179. package/v4/locales/zh-TW.d.cts +4 -0
  180. package/{dist/cjs/v4/mini/checks.js → v4/mini/checks.cjs} +31 -31
  181. package/v4/mini/checks.d.cts +1 -0
  182. package/{dist/types/v4 → v4}/mini/checks.d.ts +1 -1
  183. package/{dist/esm/v4 → v4}/mini/checks.js +1 -1
  184. package/{dist/cjs/v4/mini/coerce.js → v4/mini/coerce.cjs} +2 -2
  185. package/v4/mini/coerce.d.cts +7 -0
  186. package/{dist/types/v4 → v4}/mini/coerce.d.ts +1 -1
  187. package/{dist/esm/v4 → v4}/mini/coerce.js +1 -1
  188. package/{dist/cjs/v4/mini/external.js → v4/mini/external.cjs} +24 -24
  189. package/v4/mini/external.d.cts +11 -0
  190. package/{dist/types/v4 → v4}/mini/external.d.ts +3 -3
  191. package/{dist/esm/v4 → v4}/mini/external.js +2 -2
  192. package/{dist/cjs/v4/mini/index.js → v4/mini/index.cjs} +2 -2
  193. package/v4/mini/index.d.cts +3 -0
  194. package/{dist/cjs/v4/mini/iso.js → v4/mini/iso.cjs} +2 -2
  195. package/v4/mini/iso.d.cts +22 -0
  196. package/{dist/types/v4 → v4}/mini/iso.d.ts +1 -1
  197. package/{dist/esm/v4 → v4}/mini/iso.js +1 -1
  198. package/{dist/cjs/v4/mini/parse.js → v4/mini/parse.cjs} +5 -5
  199. package/v4/mini/parse.d.cts +1 -0
  200. package/v4/mini/parse.d.ts +1 -0
  201. package/v4/mini/parse.js +1 -0
  202. package/{dist/cjs/v4/mini/schemas.js → v4/mini/schemas.cjs} +30 -30
  203. package/v4/mini/schemas.d.cts +356 -0
  204. package/{dist/types/v4 → v4}/mini/schemas.d.ts +2 -2
  205. package/{dist/esm/v4 → v4}/mini/schemas.js +2 -2
  206. package/{dist/cjs/v4/index.js → v4-mini/index.cjs} +1 -6
  207. package/v4-mini/index.d.cts +1 -0
  208. package/v4-mini/index.d.ts +1 -1
  209. package/v4-mini/index.js +1 -1
  210. package/dist/cjs/package.json +0 -3
  211. package/dist/cjs/v3/benchmarks/datetime.js +0 -54
  212. package/dist/cjs/v3/benchmarks/discriminatedUnion.js +0 -79
  213. package/dist/cjs/v3/benchmarks/index.js +0 -59
  214. package/dist/cjs/v3/benchmarks/ipv4.js +0 -54
  215. package/dist/cjs/v3/benchmarks/object.js +0 -70
  216. package/dist/cjs/v3/benchmarks/primitives.js +0 -159
  217. package/dist/cjs/v3/benchmarks/realworld.js +0 -56
  218. package/dist/cjs/v3/benchmarks/string.js +0 -55
  219. package/dist/cjs/v3/benchmarks/union.js +0 -79
  220. package/dist/cjs/v3/tests/Mocker.js +0 -57
  221. package/dist/cjs/v4/core/config.js +0 -10
  222. package/dist/cjs/v4/core/zsf.js +0 -172
  223. package/dist/esm/index.js +0 -3
  224. package/dist/esm/package.json +0 -3
  225. package/dist/esm/v3/benchmarks/datetime.js +0 -49
  226. package/dist/esm/v3/benchmarks/discriminatedUnion.js +0 -74
  227. package/dist/esm/v3/benchmarks/index.js +0 -54
  228. package/dist/esm/v3/benchmarks/ipv4.js +0 -49
  229. package/dist/esm/v3/benchmarks/object.js +0 -65
  230. package/dist/esm/v3/benchmarks/primitives.js +0 -154
  231. package/dist/esm/v3/benchmarks/realworld.js +0 -51
  232. package/dist/esm/v3/benchmarks/string.js +0 -50
  233. package/dist/esm/v3/benchmarks/union.js +0 -74
  234. package/dist/esm/v3/index.js +0 -4
  235. package/dist/esm/v3/tests/Mocker.js +0 -53
  236. package/dist/esm/v4/core/config.js +0 -6
  237. package/dist/esm/v4/core/index.js +0 -15
  238. package/dist/esm/v4/core/zsf.js +0 -171
  239. package/dist/esm/v4/index.js +0 -3
  240. package/dist/esm/v4/locales/en.js +0 -117
  241. package/dist/esm/v4/locales/index.js +0 -38
  242. package/dist/esm/v4/mini/parse.js +0 -1
  243. package/dist/types/index.d.ts +0 -3
  244. package/dist/types/package.json +0 -3
  245. package/dist/types/v3/benchmarks/datetime.d.ts +0 -5
  246. package/dist/types/v3/benchmarks/discriminatedUnion.d.ts +0 -5
  247. package/dist/types/v3/benchmarks/index.d.ts +0 -1
  248. package/dist/types/v3/benchmarks/ipv4.d.ts +0 -5
  249. package/dist/types/v3/benchmarks/object.d.ts +0 -5
  250. package/dist/types/v3/benchmarks/primitives.d.ts +0 -5
  251. package/dist/types/v3/benchmarks/realworld.d.ts +0 -5
  252. package/dist/types/v3/benchmarks/string.d.ts +0 -5
  253. package/dist/types/v3/benchmarks/union.d.ts +0 -5
  254. package/dist/types/v3/index.d.ts +0 -4
  255. package/dist/types/v3/tests/Mocker.d.ts +0 -17
  256. package/dist/types/v4/core/config.d.ts +0 -9
  257. package/dist/types/v4/core/index.d.ts +0 -15
  258. package/dist/types/v4/core/zsf.d.ts +0 -91
  259. package/dist/types/v4/index.d.ts +0 -3
  260. package/dist/types/v4/locales/index.d.ts +0 -38
  261. package/dist/types/v4/mini/parse.d.ts +0 -1
  262. /package/{dist/types/v3 → v3}/ZodError.d.ts +0 -0
  263. /package/{dist/types/v3 → v3}/errors.d.ts +0 -0
  264. /package/{dist/esm/v3 → v3}/errors.js +0 -0
  265. /package/{dist/types/v3 → v3}/external.d.ts +0 -0
  266. /package/{dist/esm/v3 → v3}/external.js +0 -0
  267. /package/{dist/cjs/v3/helpers/enumUtil.js → v3/helpers/enumUtil.cjs} +0 -0
  268. /package/{dist/types/v3/helpers/enumUtil.d.ts → v3/helpers/enumUtil.d.cts} +0 -0
  269. /package/{dist/esm/v3 → v3}/helpers/enumUtil.js +0 -0
  270. /package/{dist/cjs/v3/helpers/errorUtil.js → v3/helpers/errorUtil.cjs} +0 -0
  271. /package/{dist/types/v3/helpers/errorUtil.d.ts → v3/helpers/errorUtil.d.cts} +0 -0
  272. /package/{dist/esm/v3 → v3}/helpers/errorUtil.js +0 -0
  273. /package/{dist/types/v3 → v3}/helpers/parseUtil.d.ts +0 -0
  274. /package/{dist/esm/v3 → v3}/helpers/parseUtil.js +0 -0
  275. /package/{dist/cjs/v3/helpers/partialUtil.js → v3/helpers/partialUtil.cjs} +0 -0
  276. /package/{dist/types/v3 → v3}/helpers/partialUtil.d.ts +0 -0
  277. /package/{dist/esm/v3 → v3}/helpers/partialUtil.js +0 -0
  278. /package/{dist/cjs/v3/helpers/typeAliases.js → v3/helpers/typeAliases.cjs} +0 -0
  279. /package/{dist/types/v3/helpers/typeAliases.d.ts → v3/helpers/typeAliases.d.cts} +0 -0
  280. /package/{dist/esm/v3 → v3}/helpers/typeAliases.js +0 -0
  281. /package/{dist/cjs/v3/helpers/util.js → v3/helpers/util.cjs} +0 -0
  282. /package/{dist/types/v3/helpers/util.d.ts → v3/helpers/util.d.cts} +0 -0
  283. /package/{dist/esm/v3 → v3}/helpers/util.js +0 -0
  284. /package/{dist/types/v3 → v3}/locales/en.d.ts +0 -0
  285. /package/{dist/esm/v3 → v3}/locales/en.js +0 -0
  286. /package/{dist/cjs/v3/standard-schema.js → v3/standard-schema.cjs} +0 -0
  287. /package/{dist/types/v3/standard-schema.d.ts → v3/standard-schema.d.cts} +0 -0
  288. /package/{dist/esm/v3 → v3}/standard-schema.js +0 -0
  289. /package/{dist/types/v3 → v3}/types.d.ts +0 -0
  290. /package/{dist/types/v4 → v4}/classic/index.d.ts +0 -0
  291. /package/{dist/esm/v4 → v4}/classic/index.js +0 -0
  292. /package/{dist/types/v4 → v4}/core/api.d.ts +0 -0
  293. /package/{dist/esm/v4 → v4}/core/api.js +0 -0
  294. /package/{dist/types/v4 → v4}/core/checks.d.ts +0 -0
  295. /package/{dist/esm/v4 → v4}/core/checks.js +0 -0
  296. /package/{dist/cjs/v4/core/core.js → v4/core/core.cjs} +0 -0
  297. /package/{dist/types/v4 → v4}/core/core.d.ts +0 -0
  298. /package/{dist/esm/v4 → v4}/core/core.js +0 -0
  299. /package/{dist/cjs/v4/core/doc.js → v4/core/doc.cjs} +0 -0
  300. /package/{dist/types/v4/core/doc.d.ts → v4/core/doc.d.cts} +0 -0
  301. /package/{dist/esm/v4 → v4}/core/doc.js +0 -0
  302. /package/{dist/types/v4 → v4}/core/errors.d.ts +0 -0
  303. /package/{dist/esm/v4 → v4}/core/errors.js +0 -0
  304. /package/{dist/types/v4 → v4}/core/function.d.ts +0 -0
  305. /package/{dist/esm/v4 → v4}/core/function.js +0 -0
  306. /package/{dist/cjs/v4/core/json-schema.js → v4/core/json-schema.cjs} +0 -0
  307. /package/{dist/types/v4/core/json-schema.d.ts → v4/core/json-schema.d.cts} +0 -0
  308. /package/{dist/esm/v4 → v4}/core/json-schema.js +0 -0
  309. /package/{dist/types/v4 → v4}/core/parse.d.ts +0 -0
  310. /package/{dist/esm/v4 → v4}/core/parse.js +0 -0
  311. /package/{dist/cjs/v4/core/regexes.js → v4/core/regexes.cjs} +0 -0
  312. /package/{dist/types/v4/core/regexes.d.ts → v4/core/regexes.d.cts} +0 -0
  313. /package/{dist/esm/v4 → v4}/core/regexes.js +0 -0
  314. /package/{dist/cjs/v4/core/registries.js → v4/core/registries.cjs} +0 -0
  315. /package/{dist/types/v4 → v4}/core/registries.d.ts +0 -0
  316. /package/{dist/esm/v4 → v4}/core/registries.js +0 -0
  317. /package/{dist/types/v4 → v4}/core/schemas.d.ts +0 -0
  318. /package/{dist/cjs/v4/core/standard-schema.js → v4/core/standard-schema.cjs} +0 -0
  319. /package/{dist/types/v4/core/standard-schema.d.ts → v4/core/standard-schema.d.cts} +0 -0
  320. /package/{dist/esm/v4 → v4}/core/standard-schema.js +0 -0
  321. /package/{dist/types/v4 → v4}/core/to-json-schema.d.ts +0 -0
  322. /package/{dist/esm/v4 → v4}/core/to-json-schema.js +0 -0
  323. /package/{dist/types/v4 → v4}/core/util.d.ts +0 -0
  324. /package/{dist/cjs/v4/core/versions.js → v4/core/versions.cjs} +0 -0
  325. /package/{dist/types/v4/core/versions.d.ts → v4/core/versions.d.cts} +0 -0
  326. /package/{dist/esm/v4 → v4}/core/versions.js +0 -0
  327. /package/{dist/types/v4 → v4}/locales/ar.d.ts +0 -0
  328. /package/{dist/esm/v4 → v4}/locales/ar.js +0 -0
  329. /package/{dist/types/v4 → v4}/locales/az.d.ts +0 -0
  330. /package/{dist/esm/v4 → v4}/locales/az.js +0 -0
  331. /package/{dist/types/v4 → v4}/locales/be.d.ts +0 -0
  332. /package/{dist/esm/v4 → v4}/locales/be.js +0 -0
  333. /package/{dist/types/v4 → v4}/locales/ca.d.ts +0 -0
  334. /package/{dist/esm/v4 → v4}/locales/ca.js +0 -0
  335. /package/{dist/types/v4 → v4}/locales/cs.d.ts +0 -0
  336. /package/{dist/esm/v4 → v4}/locales/cs.js +0 -0
  337. /package/{dist/types/v4 → v4}/locales/de.d.ts +0 -0
  338. /package/{dist/esm/v4 → v4}/locales/de.js +0 -0
  339. /package/{dist/types/v4 → v4}/locales/es.d.ts +0 -0
  340. /package/{dist/esm/v4 → v4}/locales/es.js +0 -0
  341. /package/{dist/types/v4 → v4}/locales/fa.d.ts +0 -0
  342. /package/{dist/esm/v4 → v4}/locales/fa.js +0 -0
  343. /package/{dist/types/v4 → v4}/locales/fi.d.ts +0 -0
  344. /package/{dist/esm/v4 → v4}/locales/fi.js +0 -0
  345. /package/{dist/types/v4 → v4}/locales/fr-CA.d.ts +0 -0
  346. /package/{dist/esm/v4 → v4}/locales/fr-CA.js +0 -0
  347. /package/{dist/types/v4 → v4}/locales/fr.d.ts +0 -0
  348. /package/{dist/esm/v4 → v4}/locales/fr.js +0 -0
  349. /package/{dist/types/v4 → v4}/locales/he.d.ts +0 -0
  350. /package/{dist/esm/v4 → v4}/locales/he.js +0 -0
  351. /package/{dist/types/v4 → v4}/locales/hu.d.ts +0 -0
  352. /package/{dist/esm/v4 → v4}/locales/hu.js +0 -0
  353. /package/{dist/types/v4 → v4}/locales/id.d.ts +0 -0
  354. /package/{dist/esm/v4 → v4}/locales/id.js +0 -0
  355. /package/{dist/types/v4 → v4}/locales/it.d.ts +0 -0
  356. /package/{dist/esm/v4 → v4}/locales/it.js +0 -0
  357. /package/{dist/types/v4 → v4}/locales/ja.d.ts +0 -0
  358. /package/{dist/esm/v4 → v4}/locales/ja.js +0 -0
  359. /package/{dist/types/v4 → v4}/locales/kh.d.ts +0 -0
  360. /package/{dist/esm/v4 → v4}/locales/kh.js +0 -0
  361. /package/{dist/types/v4 → v4}/locales/ko.d.ts +0 -0
  362. /package/{dist/esm/v4 → v4}/locales/ko.js +0 -0
  363. /package/{dist/types/v4 → v4}/locales/mk.d.ts +0 -0
  364. /package/{dist/esm/v4 → v4}/locales/mk.js +0 -0
  365. /package/{dist/types/v4 → v4}/locales/ms.d.ts +0 -0
  366. /package/{dist/esm/v4 → v4}/locales/ms.js +0 -0
  367. /package/{dist/types/v4 → v4}/locales/nl.d.ts +0 -0
  368. /package/{dist/esm/v4 → v4}/locales/nl.js +0 -0
  369. /package/{dist/types/v4 → v4}/locales/no.d.ts +0 -0
  370. /package/{dist/esm/v4 → v4}/locales/no.js +0 -0
  371. /package/{dist/types/v4 → v4}/locales/ota.d.ts +0 -0
  372. /package/{dist/esm/v4 → v4}/locales/ota.js +0 -0
  373. /package/{dist/types/v4 → v4}/locales/pl.d.ts +0 -0
  374. /package/{dist/esm/v4 → v4}/locales/pl.js +0 -0
  375. /package/{dist/types/v4 → v4}/locales/ps.d.ts +0 -0
  376. /package/{dist/esm/v4 → v4}/locales/ps.js +0 -0
  377. /package/{dist/types/v4 → v4}/locales/pt.d.ts +0 -0
  378. /package/{dist/esm/v4 → v4}/locales/pt.js +0 -0
  379. /package/{dist/types/v4 → v4}/locales/ru.d.ts +0 -0
  380. /package/{dist/esm/v4 → v4}/locales/ru.js +0 -0
  381. /package/{dist/types/v4 → v4}/locales/sl.d.ts +0 -0
  382. /package/{dist/esm/v4 → v4}/locales/sl.js +0 -0
  383. /package/{dist/types/v4 → v4}/locales/sv.d.ts +0 -0
  384. /package/{dist/esm/v4 → v4}/locales/sv.js +0 -0
  385. /package/{dist/types/v4 → v4}/locales/ta.d.ts +0 -0
  386. /package/{dist/esm/v4 → v4}/locales/ta.js +0 -0
  387. /package/{dist/types/v4 → v4}/locales/th.d.ts +0 -0
  388. /package/{dist/esm/v4 → v4}/locales/th.js +0 -0
  389. /package/{dist/types/v4 → v4}/locales/tr.d.ts +0 -0
  390. /package/{dist/esm/v4 → v4}/locales/tr.js +0 -0
  391. /package/{dist/types/v4 → v4}/locales/ua.d.ts +0 -0
  392. /package/{dist/esm/v4 → v4}/locales/ua.js +0 -0
  393. /package/{dist/types/v4 → v4}/locales/ur.d.ts +0 -0
  394. /package/{dist/esm/v4 → v4}/locales/ur.js +0 -0
  395. /package/{dist/types/v4 → v4}/locales/vi.d.ts +0 -0
  396. /package/{dist/esm/v4 → v4}/locales/vi.js +0 -0
  397. /package/{dist/types/v4 → v4}/locales/zh-CN.d.ts +0 -0
  398. /package/{dist/esm/v4 → v4}/locales/zh-CN.js +0 -0
  399. /package/{dist/types/v4 → v4}/locales/zh-TW.d.ts +0 -0
  400. /package/{dist/esm/v4 → v4}/locales/zh-TW.js +0 -0
  401. /package/{dist/types/v4 → v4}/mini/index.d.ts +0 -0
  402. /package/{dist/esm/v4 → v4}/mini/index.js +0 -0
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "znaków", verb: "mieć" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "توکي", verb: "ولري" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "caracteres", verb: "ter" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  function getRussianPlural(count, one, few, many) {
29
29
  const absCount = Math.abs(count);
30
30
  const lastDigit = absCount % 10;
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "znakov", verb: "imeti" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "tecken", verb: "att ha" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "ตัวอักษร", verb: "ควรมี" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.parsedType = void 0;
27
27
  exports.default = default_1;
28
- const util = __importStar(require("../core/util.js"));
28
+ const util = __importStar(require("../core/util.cjs"));
29
29
  const parsedType = (data) => {
30
30
  const t = typeof data;
31
31
  switch (t) {
@@ -0,0 +1,5 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export declare const parsedType: (data: any) => string;
3
+ export default function (): {
4
+ localeError: errors.$ZodErrorMap;
5
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "символів", verb: "матиме" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "حروف", verb: "ہونا" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "ký tự", verb: "có" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "字符", verb: "包含" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
- const util = __importStar(require("../core/util.js"));
27
+ const util = __importStar(require("../core/util.cjs"));
28
28
  const error = () => {
29
29
  const Sizable = {
30
30
  string: { unit: "字元", verb: "擁有" },
@@ -0,0 +1,4 @@
1
+ import type * as errors from "../core/errors.cjs";
2
+ export default function (): {
3
+ localeError: errors.$ZodErrorMap;
4
+ };
@@ -1,34 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toUpperCase = exports.toLowerCase = exports.trim = exports.normalize = exports.overwrite = exports.mime = exports.property = exports.endsWith = exports.startsWith = exports.includes = exports.uppercase = exports.lowercase = exports.regex = exports.length = exports.minLength = exports.maxLength = exports.size = exports.minSize = exports.maxSize = exports.multipleOf = exports.nonnegative = exports.nonpositive = exports.negative = exports.positive = exports.minimum = exports.gte = exports.gt = exports.maximum = exports.lte = exports.lt = void 0;
4
- var core_1 = require("zod/v4/core");
5
- Object.defineProperty(exports, "lt", { enumerable: true, get: function () { return core_1._lt; } });
6
- Object.defineProperty(exports, "lte", { enumerable: true, get: function () { return core_1._lte; } });
7
- Object.defineProperty(exports, "maximum", { enumerable: true, get: function () { return core_1._lte; } });
8
- Object.defineProperty(exports, "gt", { enumerable: true, get: function () { return core_1._gt; } });
9
- Object.defineProperty(exports, "gte", { enumerable: true, get: function () { return core_1._gte; } });
10
- Object.defineProperty(exports, "minimum", { enumerable: true, get: function () { return core_1._gte; } });
11
- Object.defineProperty(exports, "positive", { enumerable: true, get: function () { return core_1._positive; } });
12
- Object.defineProperty(exports, "negative", { enumerable: true, get: function () { return core_1._negative; } });
13
- Object.defineProperty(exports, "nonpositive", { enumerable: true, get: function () { return core_1._nonpositive; } });
14
- Object.defineProperty(exports, "nonnegative", { enumerable: true, get: function () { return core_1._nonnegative; } });
15
- Object.defineProperty(exports, "multipleOf", { enumerable: true, get: function () { return core_1._multipleOf; } });
16
- Object.defineProperty(exports, "maxSize", { enumerable: true, get: function () { return core_1._maxSize; } });
17
- Object.defineProperty(exports, "minSize", { enumerable: true, get: function () { return core_1._minSize; } });
18
- Object.defineProperty(exports, "size", { enumerable: true, get: function () { return core_1._size; } });
19
- Object.defineProperty(exports, "maxLength", { enumerable: true, get: function () { return core_1._maxLength; } });
20
- Object.defineProperty(exports, "minLength", { enumerable: true, get: function () { return core_1._minLength; } });
21
- Object.defineProperty(exports, "length", { enumerable: true, get: function () { return core_1._length; } });
22
- Object.defineProperty(exports, "regex", { enumerable: true, get: function () { return core_1._regex; } });
23
- Object.defineProperty(exports, "lowercase", { enumerable: true, get: function () { return core_1._lowercase; } });
24
- Object.defineProperty(exports, "uppercase", { enumerable: true, get: function () { return core_1._uppercase; } });
25
- Object.defineProperty(exports, "includes", { enumerable: true, get: function () { return core_1._includes; } });
26
- Object.defineProperty(exports, "startsWith", { enumerable: true, get: function () { return core_1._startsWith; } });
27
- Object.defineProperty(exports, "endsWith", { enumerable: true, get: function () { return core_1._endsWith; } });
28
- Object.defineProperty(exports, "property", { enumerable: true, get: function () { return core_1._property; } });
29
- Object.defineProperty(exports, "mime", { enumerable: true, get: function () { return core_1._mime; } });
30
- Object.defineProperty(exports, "overwrite", { enumerable: true, get: function () { return core_1._overwrite; } });
31
- Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return core_1._normalize; } });
32
- Object.defineProperty(exports, "trim", { enumerable: true, get: function () { return core_1._trim; } });
33
- Object.defineProperty(exports, "toLowerCase", { enumerable: true, get: function () { return core_1._toLowerCase; } });
34
- Object.defineProperty(exports, "toUpperCase", { enumerable: true, get: function () { return core_1._toUpperCase; } });
4
+ var index_js_1 = require("../core/index.cjs");
5
+ Object.defineProperty(exports, "lt", { enumerable: true, get: function () { return index_js_1._lt; } });
6
+ Object.defineProperty(exports, "lte", { enumerable: true, get: function () { return index_js_1._lte; } });
7
+ Object.defineProperty(exports, "maximum", { enumerable: true, get: function () { return index_js_1._lte; } });
8
+ Object.defineProperty(exports, "gt", { enumerable: true, get: function () { return index_js_1._gt; } });
9
+ Object.defineProperty(exports, "gte", { enumerable: true, get: function () { return index_js_1._gte; } });
10
+ Object.defineProperty(exports, "minimum", { enumerable: true, get: function () { return index_js_1._gte; } });
11
+ Object.defineProperty(exports, "positive", { enumerable: true, get: function () { return index_js_1._positive; } });
12
+ Object.defineProperty(exports, "negative", { enumerable: true, get: function () { return index_js_1._negative; } });
13
+ Object.defineProperty(exports, "nonpositive", { enumerable: true, get: function () { return index_js_1._nonpositive; } });
14
+ Object.defineProperty(exports, "nonnegative", { enumerable: true, get: function () { return index_js_1._nonnegative; } });
15
+ Object.defineProperty(exports, "multipleOf", { enumerable: true, get: function () { return index_js_1._multipleOf; } });
16
+ Object.defineProperty(exports, "maxSize", { enumerable: true, get: function () { return index_js_1._maxSize; } });
17
+ Object.defineProperty(exports, "minSize", { enumerable: true, get: function () { return index_js_1._minSize; } });
18
+ Object.defineProperty(exports, "size", { enumerable: true, get: function () { return index_js_1._size; } });
19
+ Object.defineProperty(exports, "maxLength", { enumerable: true, get: function () { return index_js_1._maxLength; } });
20
+ Object.defineProperty(exports, "minLength", { enumerable: true, get: function () { return index_js_1._minLength; } });
21
+ Object.defineProperty(exports, "length", { enumerable: true, get: function () { return index_js_1._length; } });
22
+ Object.defineProperty(exports, "regex", { enumerable: true, get: function () { return index_js_1._regex; } });
23
+ Object.defineProperty(exports, "lowercase", { enumerable: true, get: function () { return index_js_1._lowercase; } });
24
+ Object.defineProperty(exports, "uppercase", { enumerable: true, get: function () { return index_js_1._uppercase; } });
25
+ Object.defineProperty(exports, "includes", { enumerable: true, get: function () { return index_js_1._includes; } });
26
+ Object.defineProperty(exports, "startsWith", { enumerable: true, get: function () { return index_js_1._startsWith; } });
27
+ Object.defineProperty(exports, "endsWith", { enumerable: true, get: function () { return index_js_1._endsWith; } });
28
+ Object.defineProperty(exports, "property", { enumerable: true, get: function () { return index_js_1._property; } });
29
+ Object.defineProperty(exports, "mime", { enumerable: true, get: function () { return index_js_1._mime; } });
30
+ Object.defineProperty(exports, "overwrite", { enumerable: true, get: function () { return index_js_1._overwrite; } });
31
+ Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return index_js_1._normalize; } });
32
+ Object.defineProperty(exports, "trim", { enumerable: true, get: function () { return index_js_1._trim; } });
33
+ Object.defineProperty(exports, "toLowerCase", { enumerable: true, get: function () { return index_js_1._toLowerCase; } });
34
+ Object.defineProperty(exports, "toUpperCase", { enumerable: true, get: function () { return index_js_1._toUpperCase; } });
@@ -0,0 +1 @@
1
+ export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "../core/index.cjs";
@@ -1 +1 @@
1
- export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "zod/v4/core";
1
+ export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "../core/index.js";
@@ -1 +1 @@
1
- export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "zod/v4/core";
1
+ export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "../core/index.js";
@@ -28,8 +28,8 @@ exports.number = number;
28
28
  exports.boolean = boolean;
29
29
  exports.bigint = bigint;
30
30
  exports.date = date;
31
- const core = __importStar(require("zod/v4/core"));
32
- const schemas = __importStar(require("./schemas.js"));
31
+ const core = __importStar(require("../core/index.cjs"));
32
+ const schemas = __importStar(require("./schemas.cjs"));
33
33
  function string(params) {
34
34
  return core._coercedString(schemas.ZodMiniString, params);
35
35
  }
@@ -0,0 +1,7 @@
1
+ import * as core from "../core/index.cjs";
2
+ import * as schemas from "./schemas.cjs";
3
+ export declare function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T>;
4
+ export declare function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T>;
5
+ export declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean<T>;
6
+ export declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt<T>;
7
+ export declare function date<T = unknown>(params?: string | core.$ZodDateParams): schemas.ZodMiniDate<T>;
@@ -1,4 +1,4 @@
1
- import * as core from "zod/v4/core";
1
+ import * as core from "../core/index.js";
2
2
  import * as schemas from "./schemas.js";
3
3
  export declare function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T>;
4
4
  export declare function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T>;
@@ -1,4 +1,4 @@
1
- import * as core from "zod/v4/core";
1
+ import * as core from "../core/index.js";
2
2
  import * as schemas from "./schemas.js";
3
3
  export function string(params) {
4
4
  return core._coercedString(schemas.ZodMiniString, params);
@@ -27,35 +27,35 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.coerce = exports.ZodMiniISODuration = exports.ZodMiniISOTime = exports.ZodMiniISODate = exports.ZodMiniISODateTime = exports.iso = exports.locales = exports.TimePrecision = exports.toJSONSchema = exports.flattenError = exports.formatError = exports.prettifyError = exports.treeifyError = exports.regexes = exports.clone = exports.function = exports.$brand = exports.$input = exports.$output = exports.config = exports.registry = exports.globalRegistry = exports.core = void 0;
30
- exports.core = __importStar(require("zod/v4/core"));
31
- __exportStar(require("./parse.js"), exports);
32
- __exportStar(require("./schemas.js"), exports);
33
- __exportStar(require("./checks.js"), exports);
34
- var core_1 = require("zod/v4/core");
35
- Object.defineProperty(exports, "globalRegistry", { enumerable: true, get: function () { return core_1.globalRegistry; } });
36
- Object.defineProperty(exports, "registry", { enumerable: true, get: function () { return core_1.registry; } });
37
- Object.defineProperty(exports, "config", { enumerable: true, get: function () { return core_1.config; } });
38
- Object.defineProperty(exports, "$output", { enumerable: true, get: function () { return core_1.$output; } });
39
- Object.defineProperty(exports, "$input", { enumerable: true, get: function () { return core_1.$input; } });
40
- Object.defineProperty(exports, "$brand", { enumerable: true, get: function () { return core_1.$brand; } });
41
- Object.defineProperty(exports, "function", { enumerable: true, get: function () { return core_1.function; } });
42
- Object.defineProperty(exports, "clone", { enumerable: true, get: function () { return core_1.clone; } });
43
- Object.defineProperty(exports, "regexes", { enumerable: true, get: function () { return core_1.regexes; } });
44
- Object.defineProperty(exports, "treeifyError", { enumerable: true, get: function () { return core_1.treeifyError; } });
45
- Object.defineProperty(exports, "prettifyError", { enumerable: true, get: function () { return core_1.prettifyError; } });
46
- Object.defineProperty(exports, "formatError", { enumerable: true, get: function () { return core_1.formatError; } });
47
- Object.defineProperty(exports, "flattenError", { enumerable: true, get: function () { return core_1.flattenError; } });
48
- Object.defineProperty(exports, "toJSONSchema", { enumerable: true, get: function () { return core_1.toJSONSchema; } });
49
- Object.defineProperty(exports, "TimePrecision", { enumerable: true, get: function () { return core_1.TimePrecision; } });
50
- exports.locales = __importStar(require("../locales/index.js"));
30
+ exports.core = __importStar(require("../core/index.cjs"));
31
+ __exportStar(require("./parse.cjs"), exports);
32
+ __exportStar(require("./schemas.cjs"), exports);
33
+ __exportStar(require("./checks.cjs"), exports);
34
+ var index_js_1 = require("../core/index.cjs");
35
+ Object.defineProperty(exports, "globalRegistry", { enumerable: true, get: function () { return index_js_1.globalRegistry; } });
36
+ Object.defineProperty(exports, "registry", { enumerable: true, get: function () { return index_js_1.registry; } });
37
+ Object.defineProperty(exports, "config", { enumerable: true, get: function () { return index_js_1.config; } });
38
+ Object.defineProperty(exports, "$output", { enumerable: true, get: function () { return index_js_1.$output; } });
39
+ Object.defineProperty(exports, "$input", { enumerable: true, get: function () { return index_js_1.$input; } });
40
+ Object.defineProperty(exports, "$brand", { enumerable: true, get: function () { return index_js_1.$brand; } });
41
+ Object.defineProperty(exports, "function", { enumerable: true, get: function () { return index_js_1.function; } });
42
+ Object.defineProperty(exports, "clone", { enumerable: true, get: function () { return index_js_1.clone; } });
43
+ Object.defineProperty(exports, "regexes", { enumerable: true, get: function () { return index_js_1.regexes; } });
44
+ Object.defineProperty(exports, "treeifyError", { enumerable: true, get: function () { return index_js_1.treeifyError; } });
45
+ Object.defineProperty(exports, "prettifyError", { enumerable: true, get: function () { return index_js_1.prettifyError; } });
46
+ Object.defineProperty(exports, "formatError", { enumerable: true, get: function () { return index_js_1.formatError; } });
47
+ Object.defineProperty(exports, "flattenError", { enumerable: true, get: function () { return index_js_1.flattenError; } });
48
+ Object.defineProperty(exports, "toJSONSchema", { enumerable: true, get: function () { return index_js_1.toJSONSchema; } });
49
+ Object.defineProperty(exports, "TimePrecision", { enumerable: true, get: function () { return index_js_1.TimePrecision; } });
50
+ exports.locales = __importStar(require("../locales/index.cjs"));
51
51
  /** A special constant with type `never` */
52
52
  // export const NEVER = {} as never;
53
53
  // iso
54
- exports.iso = __importStar(require("./iso.js"));
55
- var iso_js_1 = require("./iso.js");
54
+ exports.iso = __importStar(require("./iso.cjs"));
55
+ var iso_js_1 = require("./iso.cjs");
56
56
  Object.defineProperty(exports, "ZodMiniISODateTime", { enumerable: true, get: function () { return iso_js_1.ZodMiniISODateTime; } });
57
57
  Object.defineProperty(exports, "ZodMiniISODate", { enumerable: true, get: function () { return iso_js_1.ZodMiniISODate; } });
58
58
  Object.defineProperty(exports, "ZodMiniISOTime", { enumerable: true, get: function () { return iso_js_1.ZodMiniISOTime; } });
59
59
  Object.defineProperty(exports, "ZodMiniISODuration", { enumerable: true, get: function () { return iso_js_1.ZodMiniISODuration; } });
60
60
  // coerce
61
- exports.coerce = __importStar(require("./coerce.js"));
61
+ exports.coerce = __importStar(require("./coerce.cjs"));
@@ -0,0 +1,11 @@
1
+ export * as core from "../core/index.cjs";
2
+ export * from "./parse.cjs";
3
+ export * from "./schemas.cjs";
4
+ export * from "./checks.cjs";
5
+ export type { infer, output, input } from "../core/index.cjs";
6
+ export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, TimePrecision, } from "../core/index.cjs";
7
+ export * as locales from "../locales/index.cjs";
8
+ /** A special constant with type `never` */
9
+ export * as iso from "./iso.cjs";
10
+ export { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration, } from "./iso.cjs";
11
+ export * as coerce from "./coerce.cjs";
@@ -1,9 +1,9 @@
1
- export * as core from "zod/v4/core";
1
+ export * as core from "../core/index.js";
2
2
  export * from "./parse.js";
3
3
  export * from "./schemas.js";
4
4
  export * from "./checks.js";
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, TimePrecision, } from "zod/v4/core";
5
+ export type { infer, output, input } from "../core/index.js";
6
+ export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, TimePrecision, } from "../core/index.js";
7
7
  export * as locales from "../locales/index.js";
8
8
  /** A special constant with type `never` */
9
9
  export * as iso from "./iso.js";
@@ -1,8 +1,8 @@
1
- export * as core from "zod/v4/core";
1
+ export * as core from "../core/index.js";
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, TimePrecision, } from "zod/v4/core";
5
+ export { globalRegistry, registry, config, $output, $input, $brand, function, clone, regexes, treeifyError, prettifyError, formatError, flattenError, toJSONSchema, TimePrecision, } from "../core/index.js";
6
6
  export * as locales from "../locales/index.js";
7
7
  /** A special constant with type `never` */
8
8
  // export const NEVER = {} as never;
@@ -27,6 +27,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.z = void 0;
30
- const z = __importStar(require("./external.js"));
30
+ const z = __importStar(require("./external.cjs"));
31
31
  exports.z = z;
32
- __exportStar(require("./external.js"), exports);
32
+ __exportStar(require("./external.cjs"), exports);
@@ -0,0 +1,3 @@
1
+ import * as z from "./external.cjs";
2
+ export * from "./external.cjs";
3
+ export { z };
@@ -28,8 +28,8 @@ exports.datetime = datetime;
28
28
  exports.date = date;
29
29
  exports.time = time;
30
30
  exports.duration = duration;
31
- const core = __importStar(require("zod/v4/core"));
32
- const schemas = __importStar(require("./schemas.js"));
31
+ const core = __importStar(require("../core/index.cjs"));
32
+ const schemas = __importStar(require("./schemas.cjs"));
33
33
  exports.ZodMiniISODateTime = core.$constructor("$ZodISODateTime", (inst, def) => {
34
34
  core.$ZodISODateTime.init(inst, def);
35
35
  schemas.ZodMiniStringFormat.init(inst, def);
@@ -0,0 +1,22 @@
1
+ import * as core from "../core/index.cjs";
2
+ import * as schemas from "./schemas.cjs";
3
+ export interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<"datetime"> {
4
+ _zod: core.$ZodISODateTimeInternals;
5
+ }
6
+ export declare const ZodMiniISODateTime: core.$constructor<ZodMiniISODateTime>;
7
+ export declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodMiniISODateTime;
8
+ export interface ZodMiniISODate extends schemas.ZodMiniStringFormat<"date"> {
9
+ _zod: core.$ZodISODateInternals;
10
+ }
11
+ export declare const ZodMiniISODate: core.$constructor<ZodMiniISODate>;
12
+ export declare function date(params?: string | core.$ZodISODateParams): ZodMiniISODate;
13
+ export interface ZodMiniISOTime extends schemas.ZodMiniStringFormat<"time"> {
14
+ _zod: core.$ZodISOTimeInternals;
15
+ }
16
+ export declare const ZodMiniISOTime: core.$constructor<ZodMiniISOTime>;
17
+ export declare function time(params?: string | core.$ZodISOTimeParams): ZodMiniISOTime;
18
+ export interface ZodMiniISODuration extends schemas.ZodMiniStringFormat<"duration"> {
19
+ _zod: core.$ZodISODurationInternals;
20
+ }
21
+ export declare const ZodMiniISODuration: core.$constructor<ZodMiniISODuration>;
22
+ export declare function duration(params?: string | core.$ZodISODurationParams): ZodMiniISODuration;
@@ -1,4 +1,4 @@
1
- import * as core from "zod/v4/core";
1
+ import * as core from "../core/index.js";
2
2
  import * as schemas from "./schemas.js";
3
3
  export interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<"datetime"> {
4
4
  _zod: core.$ZodISODateTimeInternals;
@@ -1,4 +1,4 @@
1
- import * as core from "zod/v4/core";
1
+ import * as core from "../core/index.js";
2
2
  import * as schemas from "./schemas.js";
3
3
  export const ZodMiniISODateTime = /*@__PURE__*/ core.$constructor("$ZodISODateTime", (inst, def) => {
4
4
  core.$ZodISODateTime.init(inst, def);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.safeParseAsync = exports.parseAsync = exports.safeParse = exports.parse = void 0;
4
- var core_1 = require("zod/v4/core");
5
- Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return core_1.parse; } });
6
- Object.defineProperty(exports, "safeParse", { enumerable: true, get: function () { return core_1.safeParse; } });
7
- Object.defineProperty(exports, "parseAsync", { enumerable: true, get: function () { return core_1.parseAsync; } });
8
- Object.defineProperty(exports, "safeParseAsync", { enumerable: true, get: function () { return core_1.safeParseAsync; } });
4
+ var index_js_1 = require("../core/index.cjs");
5
+ Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return index_js_1.parse; } });
6
+ Object.defineProperty(exports, "safeParse", { enumerable: true, get: function () { return index_js_1.safeParse; } });
7
+ Object.defineProperty(exports, "parseAsync", { enumerable: true, get: function () { return index_js_1.parseAsync; } });
8
+ Object.defineProperty(exports, "safeParseAsync", { enumerable: true, get: function () { return index_js_1.safeParseAsync; } });
@@ -0,0 +1 @@
1
+ export { parse, safeParse, parseAsync, safeParseAsync } from "../core/index.cjs";
@@ -0,0 +1 @@
1
+ export { parse, safeParse, parseAsync, safeParseAsync } from "../core/index.js";
@@ -0,0 +1 @@
1
+ export { parse, safeParse, parseAsync, safeParseAsync } from "../core/index.js";