@wopee-io/wopee.wdio 5.2.5 → 6.0.1

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 (858) hide show
  1. package/README.md +14 -0
  2. package/build/domain/model/config.interface.d.ts +15 -60
  3. package/build/domain/model/config.interface.d.ts.map +1 -1
  4. package/build/domain/service/wopeeService.d.ts.map +1 -1
  5. package/build/domain/service/wopeeService.js +2 -0
  6. package/build/domain/service/wopeeService.js.map +1 -1
  7. package/build/utils/versionMetadata.d.ts.map +1 -1
  8. package/build/utils/versionMetadata.js +2 -2
  9. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationScenarioPayload.interface.d.ts +1 -7
  10. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationStepPayload.interface.d.ts +1 -23
  11. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationSuitePayload.interface.d.ts +1 -5
  12. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationScenario.interface.d.ts +1 -7
  13. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.d.ts +3 -11
  14. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.js +1 -1
  15. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationSuite.interface.d.ts +1 -7
  16. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssert.interface.d.ts +3 -11
  17. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssert.interface.js +1 -1
  18. package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/visualAssertPayload.interface.d.ts +1 -9
  19. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.d.ts +9 -2
  20. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.js +30 -3
  21. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/axios-config.d.ts +15 -1
  22. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/axios-config.js +17 -1
  23. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/deadline.d.ts +36 -0
  24. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/deadline.js +63 -0
  25. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/errors.js +10 -0
  26. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/factories.js +1 -0
  27. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/index.d.ts +2 -2
  28. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.d.ts +41 -224
  29. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.js +16 -8
  30. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/retry.d.ts +52 -0
  31. package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/retry.js +122 -0
  32. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloAdapterService.js +3 -7
  33. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloService.interface.d.ts +2 -2
  34. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.d.ts +5 -10
  35. package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.js +2 -1
  36. package/node_modules/@autonomous-testing/sdk/build/shared/metadata/versionMetadata.js +2 -2
  37. package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.d.ts +10 -0
  38. package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.js +8 -0
  39. package/node_modules/@autonomous-testing/sdk/package.json +2 -2
  40. package/node_modules/debug/README.md +1 -1
  41. package/node_modules/debug/package.json +8 -4
  42. package/node_modules/debug/src/browser.js +2 -1
  43. package/node_modules/debug/src/common.js +57 -39
  44. package/node_modules/follow-redirects/README.md +27 -1
  45. package/node_modules/follow-redirects/index.js +11 -6
  46. package/node_modules/follow-redirects/package.json +1 -1
  47. package/node_modules/ms/index.js +1 -1
  48. package/node_modules/ms/license.md +1 -1
  49. package/node_modules/ms/package.json +5 -4
  50. package/node_modules/ms/readme.md +1 -2
  51. package/node_modules/zod/README.md +34 -24
  52. package/node_modules/zod/compile.cjs +96 -0
  53. package/node_modules/zod/compile.d.cts +1 -0
  54. package/node_modules/zod/compile.d.ts +1 -0
  55. package/node_modules/zod/compile.js +52 -0
  56. package/node_modules/zod/index.cjs +22 -3
  57. package/node_modules/zod/index.d.cts +3 -4
  58. package/node_modules/zod/index.d.ts +3 -4
  59. package/node_modules/zod/index.js +7 -4
  60. package/node_modules/zod/locales/index.cjs +36 -0
  61. package/node_modules/zod/locales/index.d.cts +1 -0
  62. package/node_modules/zod/locales/index.d.ts +1 -0
  63. package/node_modules/zod/locales/index.js +1 -0
  64. package/node_modules/zod/locales/package.json +7 -0
  65. package/node_modules/zod/mini/index.cjs +51 -0
  66. package/node_modules/zod/mini/index.d.cts +3 -0
  67. package/node_modules/zod/mini/index.d.ts +3 -0
  68. package/node_modules/zod/mini/index.js +3 -0
  69. package/node_modules/zod/mini/package.json +7 -0
  70. package/node_modules/zod/package.json +44 -15
  71. package/node_modules/zod/src/compile.ts +56 -0
  72. package/node_modules/zod/src/index.ts +7 -4
  73. package/node_modules/zod/src/locales/index.ts +1 -0
  74. package/node_modules/zod/src/mini/index.ts +3 -0
  75. package/node_modules/zod/src/v3/ZodError.ts +23 -13
  76. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  77. package/node_modules/zod/src/v3/tests/all-errors.test.ts +3 -3
  78. package/node_modules/zod/src/v3/tests/complex.test.ts +17 -3
  79. package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
  80. package/node_modules/zod/src/v3/tests/function.test.ts +7 -3
  81. package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
  82. package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
  83. package/node_modules/zod/src/v3/tests/nan.test.ts +5 -2
  84. package/node_modules/zod/src/v3/tests/object.test.ts +10 -13
  85. package/node_modules/zod/src/v3/tests/partials.test.ts +3 -3
  86. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
  87. package/node_modules/zod/src/v3/tests/string.test.ts +8 -2
  88. package/node_modules/zod/src/v3/types.ts +8 -6
  89. package/node_modules/zod/src/v4/classic/checks.ts +3 -0
  90. package/node_modules/zod/src/v4/classic/compat.ts +30 -18
  91. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  92. package/node_modules/zod/src/v4/classic/errors.ts +61 -39
  93. package/node_modules/zod/src/v4/classic/external.ts +18 -11
  94. package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  95. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  96. package/node_modules/zod/src/v4/classic/index.ts +2 -2
  97. package/node_modules/zod/src/v4/classic/iso.ts +2 -72
  98. package/node_modules/zod/src/v4/classic/parse.ts +57 -2
  99. package/node_modules/zod/src/v4/classic/schemas.ts +1258 -375
  100. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  101. package/node_modules/zod/src/v4/classic/tests/array.test.ts +35 -8
  102. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +192 -0
  103. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +36 -1
  104. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +43 -0
  105. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +357 -5
  106. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  107. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  108. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +27 -5
  109. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  110. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  111. package/node_modules/zod/src/v4/classic/tests/date.test.ts +67 -6
  112. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +37 -17
  113. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  114. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  115. package/node_modules/zod/src/v4/classic/tests/default.test.ts +142 -0
  116. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  117. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  118. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +333 -10
  119. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +20 -0
  120. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +394 -4
  121. package/node_modules/zod/src/v4/classic/tests/error.test.ts +403 -6
  122. package/node_modules/zod/src/v4/classic/tests/file.test.ts +9 -4
  123. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +4 -0
  124. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  125. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
  126. package/node_modules/zod/src/v4/classic/tests/function.test.ts +160 -37
  127. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  128. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  129. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  130. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  131. package/node_modules/zod/src/v4/classic/tests/index.test.ts +134 -5
  132. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  133. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +93 -0
  134. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +168 -5
  135. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  136. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  137. package/node_modules/zod/src/v4/classic/tests/json.test.ts +4 -3
  138. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
  139. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +37 -1
  140. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  141. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  142. package/node_modules/zod/src/v4/classic/tests/map.test.ts +153 -0
  143. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +15 -0
  144. package/node_modules/zod/src/v4/classic/tests/number.test.ts +161 -7
  145. package/node_modules/zod/src/v4/classic/tests/object.test.ts +457 -14
  146. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  147. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +255 -12
  148. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +350 -0
  149. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +89 -5
  150. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +25 -5
  151. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +107 -0
  152. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  153. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +74 -21
  154. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +1 -1
  155. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  156. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +1 -69
  157. package/node_modules/zod/src/v4/classic/tests/record.test.ts +553 -10
  158. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +352 -1
  159. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  160. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +229 -68
  161. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +40 -1
  162. package/node_modules/zod/src/v4/classic/tests/set.test.ts +20 -3
  163. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +96 -0
  164. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +16 -0
  165. package/node_modules/zod/src/v4/classic/tests/string.test.ts +568 -9
  166. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +58 -0
  167. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +70 -16
  168. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  169. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3409 -990
  170. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +128 -0
  171. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +353 -5
  172. package/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -3
  173. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  174. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  175. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
  176. package/node_modules/zod/src/v4/core/api.ts +442 -161
  177. package/node_modules/zod/src/v4/core/checks.ts +134 -151
  178. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  179. package/node_modules/zod/src/v4/core/core.ts +146 -50
  180. package/node_modules/zod/src/v4/core/doc.ts +18 -10
  181. package/node_modules/zod/src/v4/core/errors.ts +221 -102
  182. package/node_modules/zod/src/v4/core/index.ts +5 -1
  183. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  184. package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  185. package/node_modules/zod/src/v4/core/json-schema.ts +9 -4
  186. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  187. package/node_modules/zod/src/v4/core/parse.ts +252 -37
  188. package/node_modules/zod/src/v4/core/regexes.ts +112 -30
  189. package/node_modules/zod/src/v4/core/registries.ts +19 -10
  190. package/node_modules/zod/src/v4/core/schemas.ts +1972 -588
  191. package/node_modules/zod/src/v4/core/standard-schema.ts +114 -19
  192. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  193. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  194. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  195. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  196. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  197. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  198. package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  199. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  200. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  201. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  202. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +1 -1
  203. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  204. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  205. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  206. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  207. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  208. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  209. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  210. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  211. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +2 -2
  212. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  213. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  214. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  215. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  216. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  217. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  218. package/node_modules/zod/src/v4/core/to-json-schema.ts +706 -826
  219. package/node_modules/zod/src/v4/core/util.ts +675 -157
  220. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  221. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  222. package/node_modules/zod/src/v4/index.ts +3 -3
  223. package/node_modules/zod/src/v4/locales/ar.ts +22 -27
  224. package/node_modules/zod/src/v4/locales/az.ts +22 -27
  225. package/node_modules/zod/src/v4/locales/be.ts +31 -27
  226. package/node_modules/zod/src/v4/locales/bg.ts +133 -0
  227. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  228. package/node_modules/zod/src/v4/locales/ca.ts +22 -28
  229. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  230. package/node_modules/zod/src/v4/locales/cs.ts +26 -45
  231. package/node_modules/zod/src/v4/locales/da.ts +128 -0
  232. package/node_modules/zod/src/v4/locales/de.ts +24 -27
  233. package/node_modules/zod/src/v4/locales/el.ts +124 -0
  234. package/node_modules/zod/src/v4/locales/en.ts +38 -29
  235. package/node_modules/zod/src/v4/locales/eo.ts +25 -27
  236. package/node_modules/zod/src/v4/locales/es.ts +53 -33
  237. package/node_modules/zod/src/v4/locales/fa.ts +24 -27
  238. package/node_modules/zod/src/v4/locales/fi.ts +22 -27
  239. package/node_modules/zod/src/v4/locales/fr-CA.ts +22 -27
  240. package/node_modules/zod/src/v4/locales/fr.ts +58 -43
  241. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  242. package/node_modules/zod/src/v4/locales/he.ts +208 -80
  243. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  244. package/node_modules/zod/src/v4/locales/hr.ts +135 -0
  245. package/node_modules/zod/src/v4/locales/hu.ts +24 -28
  246. package/node_modules/zod/src/v4/locales/hy.ts +175 -0
  247. package/node_modules/zod/src/v4/locales/id.ts +22 -27
  248. package/node_modules/zod/src/v4/locales/index.ts +24 -0
  249. package/node_modules/zod/src/v4/locales/is.ts +124 -0
  250. package/node_modules/zod/src/v4/locales/it.ts +24 -28
  251. package/node_modules/zod/src/v4/locales/ja.ts +24 -27
  252. package/node_modules/zod/src/v4/locales/ka.ts +128 -0
  253. package/node_modules/zod/src/v4/locales/kh.ts +3 -122
  254. package/node_modules/zod/src/v4/locales/km.ts +124 -0
  255. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  256. package/node_modules/zod/src/v4/locales/ko.ts +22 -27
  257. package/node_modules/zod/src/v4/locales/lt.ts +243 -0
  258. package/node_modules/zod/src/v4/locales/mk.ts +24 -28
  259. package/node_modules/zod/src/v4/locales/ms.ts +23 -27
  260. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  261. package/node_modules/zod/src/v4/locales/nl.ts +37 -37
  262. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  263. package/node_modules/zod/src/v4/locales/no.ts +26 -29
  264. package/node_modules/zod/src/v4/locales/ota.ts +25 -28
  265. package/node_modules/zod/src/v4/locales/pl.ts +24 -27
  266. package/node_modules/zod/src/v4/locales/ps.ts +24 -26
  267. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  268. package/node_modules/zod/src/v4/locales/pt.ts +107 -71
  269. package/node_modules/zod/src/v4/locales/ro.ts +132 -0
  270. package/node_modules/zod/src/v4/locales/ru.ts +31 -27
  271. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  272. package/node_modules/zod/src/v4/locales/sl.ts +24 -27
  273. package/node_modules/zod/src/v4/locales/sv.ts +26 -29
  274. package/node_modules/zod/src/v4/locales/ta.ts +25 -27
  275. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  276. package/node_modules/zod/src/v4/locales/th.ts +25 -27
  277. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  278. package/node_modules/zod/src/v4/locales/tr.ts +22 -27
  279. package/node_modules/zod/src/v4/locales/ua.ts +3 -122
  280. package/node_modules/zod/src/v4/locales/uk.ts +122 -0
  281. package/node_modules/zod/src/v4/locales/ur.ts +25 -27
  282. package/node_modules/zod/src/v4/locales/uz.ts +120 -0
  283. package/node_modules/zod/src/v4/locales/vi.ts +24 -27
  284. package/node_modules/zod/src/v4/locales/yo.ts +129 -0
  285. package/node_modules/zod/src/v4/locales/zh-CN.ts +25 -27
  286. package/node_modules/zod/src/v4/locales/zh-TW.ts +22 -27
  287. package/node_modules/zod/src/v4/mini/checks.ts +1 -0
  288. package/node_modules/zod/src/v4/mini/coerce.ts +5 -0
  289. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  290. package/node_modules/zod/src/v4/mini/external.ts +15 -3
  291. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  292. package/node_modules/zod/src/v4/mini/iso.ts +8 -4
  293. package/node_modules/zod/src/v4/mini/parse.ts +16 -1
  294. package/node_modules/zod/src/v4/mini/schemas.ts +586 -114
  295. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  296. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +63 -2
  297. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +43 -0
  298. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
  299. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  300. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +12 -18
  301. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  302. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  303. package/node_modules/zod/src/v4/mini/tests/error.test.ts +24 -5
  304. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +7 -36
  305. package/node_modules/zod/src/v4/mini/tests/index.test.ts +281 -6
  306. package/node_modules/zod/src/v4/mini/tests/number.test.ts +15 -1
  307. package/node_modules/zod/src/v4/mini/tests/object.test.ts +116 -9
  308. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +1 -1
  309. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +68 -2
  310. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  311. package/node_modules/zod/src/v4/mini/tests/string.test.ts +98 -1
  312. package/node_modules/zod/src/v4-mini/index.ts +3 -1
  313. package/node_modules/zod/v3/ZodError.cjs +42 -13
  314. package/node_modules/zod/v3/ZodError.d.cts +6 -6
  315. package/node_modules/zod/v3/ZodError.d.ts +6 -6
  316. package/node_modules/zod/v3/ZodError.js +23 -13
  317. package/node_modules/zod/v3/errors.cjs +19 -0
  318. package/node_modules/zod/v3/external.cjs +19 -0
  319. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  320. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  321. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  322. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  323. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  324. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  325. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  326. package/node_modules/zod/v3/index.cjs +19 -0
  327. package/node_modules/zod/v3/locales/en.cjs +1 -0
  328. package/node_modules/zod/v3/locales/en.d.cts +1 -1
  329. package/node_modules/zod/v3/package.json +7 -0
  330. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  331. package/node_modules/zod/v3/types.cjs +28 -5
  332. package/node_modules/zod/v3/types.d.cts +4 -1
  333. package/node_modules/zod/v3/types.d.ts +4 -1
  334. package/node_modules/zod/v3/types.js +9 -5
  335. package/node_modules/zod/v4/classic/checks.cjs +22 -1
  336. package/node_modules/zod/v4/classic/checks.d.cts +1 -1
  337. package/node_modules/zod/v4/classic/checks.d.ts +1 -1
  338. package/node_modules/zod/v4/classic/checks.js +1 -1
  339. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  340. package/node_modules/zod/v4/classic/compat.cjs +24 -1
  341. package/node_modules/zod/v4/classic/compat.d.cts +13 -11
  342. package/node_modules/zod/v4/classic/compat.d.ts +13 -11
  343. package/node_modules/zod/v4/classic/compat.js +4 -0
  344. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  345. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  346. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  347. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  348. package/node_modules/zod/v4/classic/errors.cjs +63 -28
  349. package/node_modules/zod/v4/classic/errors.d.cts +3 -4
  350. package/node_modules/zod/v4/classic/errors.d.ts +3 -4
  351. package/node_modules/zod/v4/classic/errors.js +45 -29
  352. package/node_modules/zod/v4/classic/external.cjs +55 -28
  353. package/node_modules/zod/v4/classic/external.d.cts +8 -2
  354. package/node_modules/zod/v4/classic/external.d.ts +8 -2
  355. package/node_modules/zod/v4/classic/external.js +7 -8
  356. package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  357. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  358. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  359. package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  360. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  361. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  362. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  363. package/node_modules/zod/v4/classic/in-out.js +36 -0
  364. package/node_modules/zod/v4/classic/index.cjs +21 -2
  365. package/node_modules/zod/v4/classic/index.d.cts +1 -2
  366. package/node_modules/zod/v4/classic/index.d.ts +1 -2
  367. package/node_modules/zod/v4/classic/index.js +2 -2
  368. package/node_modules/zod/v4/classic/iso.cjs +30 -22
  369. package/node_modules/zod/v4/classic/iso.d.cts +2 -17
  370. package/node_modules/zod/v4/classic/iso.d.ts +2 -17
  371. package/node_modules/zod/v4/classic/iso.js +2 -17
  372. package/node_modules/zod/v4/classic/package.json +7 -0
  373. package/node_modules/zod/v4/classic/parse.cjs +32 -1
  374. package/node_modules/zod/v4/classic/parse.d.cts +21 -0
  375. package/node_modules/zod/v4/classic/parse.d.ts +21 -0
  376. package/node_modules/zod/v4/classic/parse.js +10 -0
  377. package/node_modules/zod/v4/classic/schemas.cjs +805 -238
  378. package/node_modules/zod/v4/classic/schemas.d.cts +241 -55
  379. package/node_modules/zod/v4/classic/schemas.d.ts +241 -55
  380. package/node_modules/zod/v4/classic/schemas.js +766 -237
  381. package/node_modules/zod/v4/core/api.cjs +284 -54
  382. package/node_modules/zod/v4/core/api.d.cts +133 -82
  383. package/node_modules/zod/v4/core/api.d.ts +133 -82
  384. package/node_modules/zod/v4/core/api.js +255 -54
  385. package/node_modules/zod/v4/core/checks.cjs +100 -130
  386. package/node_modules/zod/v4/core/checks.d.cts +32 -16
  387. package/node_modules/zod/v4/core/checks.d.ts +32 -16
  388. package/node_modules/zod/v4/core/checks.js +80 -129
  389. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  390. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  391. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  392. package/node_modules/zod/v4/core/compile.js +1866 -0
  393. package/node_modules/zod/v4/core/core.cjs +120 -20
  394. package/node_modules/zod/v4/core/core.d.cts +40 -7
  395. package/node_modules/zod/v4/core/core.d.ts +40 -7
  396. package/node_modules/zod/v4/core/core.js +101 -21
  397. package/node_modules/zod/v4/core/doc.cjs +31 -9
  398. package/node_modules/zod/v4/core/doc.d.cts +4 -2
  399. package/node_modules/zod/v4/core/doc.d.ts +4 -2
  400. package/node_modules/zod/v4/core/doc.js +12 -9
  401. package/node_modules/zod/v4/core/errors.cjs +151 -60
  402. package/node_modules/zod/v4/core/errors.d.cts +41 -24
  403. package/node_modules/zod/v4/core/errors.d.ts +41 -24
  404. package/node_modules/zod/v4/core/errors.js +132 -60
  405. package/node_modules/zod/v4/core/index.cjs +28 -2
  406. package/node_modules/zod/v4/core/index.d.cts +5 -1
  407. package/node_modules/zod/v4/core/index.d.ts +5 -1
  408. package/node_modules/zod/v4/core/index.js +5 -1
  409. package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  410. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  411. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  412. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  413. package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  414. package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  415. package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  416. package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  417. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  418. package/node_modules/zod/v4/core/json-schema.d.cts +6 -4
  419. package/node_modules/zod/v4/core/json-schema.d.ts +6 -4
  420. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  421. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  422. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  423. package/node_modules/zod/v4/core/memoizer.js +311 -0
  424. package/node_modules/zod/v4/core/package.json +7 -0
  425. package/node_modules/zod/v4/core/parse.cjs +183 -37
  426. package/node_modules/zod/v4/core/parse.d.cts +34 -7
  427. package/node_modules/zod/v4/core/parse.d.ts +34 -7
  428. package/node_modules/zod/v4/core/parse.js +154 -36
  429. package/node_modules/zod/v4/core/regexes.cjs +137 -31
  430. package/node_modules/zod/v4/core/regexes.d.cts +30 -2
  431. package/node_modules/zod/v4/core/regexes.d.ts +30 -2
  432. package/node_modules/zod/v4/core/regexes.js +90 -29
  433. package/node_modules/zod/v4/core/registries.cjs +26 -7
  434. package/node_modules/zod/v4/core/registries.d.cts +2 -2
  435. package/node_modules/zod/v4/core/registries.d.ts +2 -2
  436. package/node_modules/zod/v4/core/registries.js +9 -9
  437. package/node_modules/zod/v4/core/schemas.cjs +1373 -422
  438. package/node_modules/zod/v4/core/schemas.d.cts +276 -42
  439. package/node_modules/zod/v4/core/schemas.d.ts +276 -42
  440. package/node_modules/zod/v4/core/schemas.js +1341 -422
  441. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  442. package/node_modules/zod/v4/core/standard-schema.d.cts +90 -19
  443. package/node_modules/zod/v4/core/standard-schema.d.ts +90 -19
  444. package/node_modules/zod/v4/core/to-json-schema.cjs +628 -801
  445. package/node_modules/zod/v4/core/to-json-schema.d.cts +103 -37
  446. package/node_modules/zod/v4/core/to-json-schema.d.ts +103 -37
  447. package/node_modules/zod/v4/core/to-json-schema.js +602 -800
  448. package/node_modules/zod/v4/core/util.cjs +580 -155
  449. package/node_modules/zod/v4/core/util.d.cts +98 -1
  450. package/node_modules/zod/v4/core/util.d.ts +98 -1
  451. package/node_modules/zod/v4/core/util.js +536 -156
  452. package/node_modules/zod/v4/core/versions.cjs +21 -2
  453. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  454. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  455. package/node_modules/zod/v4/core/versions.js +2 -2
  456. package/node_modules/zod/v4/core/visit.cjs +214 -0
  457. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  458. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  459. package/node_modules/zod/v4/core/visit.js +169 -0
  460. package/node_modules/zod/v4/index.cjs +34 -5
  461. package/node_modules/zod/v4/index.d.cts +2 -2
  462. package/node_modules/zod/v4/index.d.ts +2 -2
  463. package/node_modules/zod/v4/index.js +3 -2
  464. package/node_modules/zod/v4/locales/ar.cjs +20 -24
  465. package/node_modules/zod/v4/locales/ar.d.cts +2 -1
  466. package/node_modules/zod/v4/locales/ar.js +19 -24
  467. package/node_modules/zod/v4/locales/az.cjs +20 -24
  468. package/node_modules/zod/v4/locales/az.d.cts +2 -1
  469. package/node_modules/zod/v4/locales/az.js +19 -24
  470. package/node_modules/zod/v4/locales/be.cjs +29 -24
  471. package/node_modules/zod/v4/locales/be.d.cts +2 -1
  472. package/node_modules/zod/v4/locales/be.js +28 -24
  473. package/node_modules/zod/v4/locales/bg.cjs +152 -0
  474. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  475. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  476. package/node_modules/zod/v4/locales/bg.js +125 -0
  477. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  478. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  479. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  480. package/node_modules/zod/v4/locales/bn.js +113 -0
  481. package/node_modules/zod/v4/locales/ca.cjs +20 -25
  482. package/node_modules/zod/v4/locales/ca.d.cts +2 -1
  483. package/node_modules/zod/v4/locales/ca.js +19 -25
  484. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  485. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  486. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  487. package/node_modules/zod/v4/locales/ckb.js +133 -0
  488. package/node_modules/zod/v4/locales/cs.cjs +24 -42
  489. package/node_modules/zod/v4/locales/cs.d.cts +2 -1
  490. package/node_modules/zod/v4/locales/cs.js +23 -42
  491. package/node_modules/zod/v4/locales/da.cjs +147 -0
  492. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  493. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  494. package/node_modules/zod/v4/locales/da.js +120 -0
  495. package/node_modules/zod/v4/locales/de.cjs +22 -24
  496. package/node_modules/zod/v4/locales/de.d.cts +2 -1
  497. package/node_modules/zod/v4/locales/de.js +21 -24
  498. package/node_modules/zod/v4/locales/el.cjs +139 -0
  499. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  500. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  501. package/node_modules/zod/v4/locales/el.js +112 -0
  502. package/node_modules/zod/v4/locales/en.cjs +35 -28
  503. package/node_modules/zod/v4/locales/en.d.cts +2 -2
  504. package/node_modules/zod/v4/locales/en.d.ts +0 -1
  505. package/node_modules/zod/v4/locales/en.js +34 -26
  506. package/node_modules/zod/v4/locales/eo.cjs +23 -26
  507. package/node_modules/zod/v4/locales/eo.d.cts +2 -2
  508. package/node_modules/zod/v4/locales/eo.d.ts +0 -1
  509. package/node_modules/zod/v4/locales/eo.js +22 -24
  510. package/node_modules/zod/v4/locales/es.cjs +51 -31
  511. package/node_modules/zod/v4/locales/es.d.cts +2 -1
  512. package/node_modules/zod/v4/locales/es.js +50 -31
  513. package/node_modules/zod/v4/locales/fa.cjs +22 -24
  514. package/node_modules/zod/v4/locales/fa.d.cts +2 -1
  515. package/node_modules/zod/v4/locales/fa.js +21 -24
  516. package/node_modules/zod/v4/locales/fi.cjs +20 -24
  517. package/node_modules/zod/v4/locales/fi.d.cts +2 -1
  518. package/node_modules/zod/v4/locales/fi.js +19 -24
  519. package/node_modules/zod/v4/locales/fr-CA.cjs +20 -24
  520. package/node_modules/zod/v4/locales/fr-CA.d.cts +2 -1
  521. package/node_modules/zod/v4/locales/fr-CA.js +19 -24
  522. package/node_modules/zod/v4/locales/fr.cjs +53 -39
  523. package/node_modules/zod/v4/locales/fr.d.cts +2 -1
  524. package/node_modules/zod/v4/locales/fr.js +52 -39
  525. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  526. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  527. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  528. package/node_modules/zod/v4/locales/gu.js +113 -0
  529. package/node_modules/zod/v4/locales/he.cjs +183 -78
  530. package/node_modules/zod/v4/locales/he.d.cts +2 -1
  531. package/node_modules/zod/v4/locales/he.js +182 -78
  532. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  533. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  534. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  535. package/node_modules/zod/v4/locales/hi.js +111 -0
  536. package/node_modules/zod/v4/locales/hr.cjs +153 -0
  537. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  538. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  539. package/node_modules/zod/v4/locales/hr.js +126 -0
  540. package/node_modules/zod/v4/locales/hu.cjs +22 -25
  541. package/node_modules/zod/v4/locales/hu.d.cts +2 -1
  542. package/node_modules/zod/v4/locales/hu.js +21 -25
  543. package/node_modules/zod/v4/locales/hy.cjs +185 -0
  544. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  545. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  546. package/node_modules/zod/v4/locales/hy.js +158 -0
  547. package/node_modules/zod/v4/locales/id.cjs +20 -24
  548. package/node_modules/zod/v4/locales/id.d.cts +2 -1
  549. package/node_modules/zod/v4/locales/id.js +19 -24
  550. package/node_modules/zod/v4/locales/index.cjs +69 -1
  551. package/node_modules/zod/v4/locales/index.d.cts +24 -0
  552. package/node_modules/zod/v4/locales/index.d.ts +24 -0
  553. package/node_modules/zod/v4/locales/index.js +24 -0
  554. package/node_modules/zod/v4/locales/is.cjs +141 -0
  555. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  556. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  557. package/node_modules/zod/v4/locales/is.js +114 -0
  558. package/node_modules/zod/v4/locales/it.cjs +22 -25
  559. package/node_modules/zod/v4/locales/it.d.cts +2 -1
  560. package/node_modules/zod/v4/locales/it.js +21 -25
  561. package/node_modules/zod/v4/locales/ja.cjs +22 -24
  562. package/node_modules/zod/v4/locales/ja.d.cts +2 -1
  563. package/node_modules/zod/v4/locales/ja.js +21 -24
  564. package/node_modules/zod/v4/locales/ka.cjs +144 -0
  565. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  566. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  567. package/node_modules/zod/v4/locales/ka.js +117 -0
  568. package/node_modules/zod/v4/locales/kh.cjs +6 -137
  569. package/node_modules/zod/v4/locales/kh.d.cts +2 -1
  570. package/node_modules/zod/v4/locales/kh.d.ts +1 -0
  571. package/node_modules/zod/v4/locales/kh.js +3 -115
  572. package/node_modules/zod/v4/locales/km.cjs +142 -0
  573. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  574. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  575. package/node_modules/zod/v4/locales/km.js +115 -0
  576. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  577. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  578. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  579. package/node_modules/zod/v4/locales/kn.js +116 -0
  580. package/node_modules/zod/v4/locales/ko.cjs +20 -24
  581. package/node_modules/zod/v4/locales/ko.d.cts +2 -1
  582. package/node_modules/zod/v4/locales/ko.js +19 -24
  583. package/node_modules/zod/v4/locales/lt.cjs +234 -0
  584. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  585. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  586. package/node_modules/zod/v4/locales/lt.js +207 -0
  587. package/node_modules/zod/v4/locales/mk.cjs +22 -25
  588. package/node_modules/zod/v4/locales/mk.d.cts +2 -1
  589. package/node_modules/zod/v4/locales/mk.js +21 -25
  590. package/node_modules/zod/v4/locales/ms.cjs +21 -24
  591. package/node_modules/zod/v4/locales/ms.d.cts +2 -1
  592. package/node_modules/zod/v4/locales/ms.js +20 -24
  593. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  594. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  595. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  596. package/node_modules/zod/v4/locales/ne.js +111 -0
  597. package/node_modules/zod/v4/locales/nl.cjs +31 -32
  598. package/node_modules/zod/v4/locales/nl.d.cts +2 -1
  599. package/node_modules/zod/v4/locales/nl.js +30 -32
  600. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  601. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  602. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  603. package/node_modules/zod/v4/locales/nn.js +113 -0
  604. package/node_modules/zod/v4/locales/no.cjs +24 -26
  605. package/node_modules/zod/v4/locales/no.d.cts +2 -1
  606. package/node_modules/zod/v4/locales/no.js +23 -26
  607. package/node_modules/zod/v4/locales/ota.cjs +23 -25
  608. package/node_modules/zod/v4/locales/ota.d.cts +2 -1
  609. package/node_modules/zod/v4/locales/ota.js +22 -25
  610. package/node_modules/zod/v4/locales/package.json +7 -0
  611. package/node_modules/zod/v4/locales/pl.cjs +22 -24
  612. package/node_modules/zod/v4/locales/pl.d.cts +2 -1
  613. package/node_modules/zod/v4/locales/pl.js +21 -24
  614. package/node_modules/zod/v4/locales/ps.cjs +22 -24
  615. package/node_modules/zod/v4/locales/ps.d.cts +2 -1
  616. package/node_modules/zod/v4/locales/ps.js +21 -24
  617. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  618. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  619. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  620. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  621. package/node_modules/zod/v4/locales/pt.cjs +95 -68
  622. package/node_modules/zod/v4/locales/pt.d.cts +2 -1
  623. package/node_modules/zod/v4/locales/pt.js +94 -68
  624. package/node_modules/zod/v4/locales/ro.cjs +149 -0
  625. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  626. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  627. package/node_modules/zod/v4/locales/ro.js +122 -0
  628. package/node_modules/zod/v4/locales/ru.cjs +29 -24
  629. package/node_modules/zod/v4/locales/ru.d.cts +2 -1
  630. package/node_modules/zod/v4/locales/ru.js +28 -24
  631. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  632. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  633. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  634. package/node_modules/zod/v4/locales/sk.js +116 -0
  635. package/node_modules/zod/v4/locales/sl.cjs +22 -24
  636. package/node_modules/zod/v4/locales/sl.d.cts +2 -1
  637. package/node_modules/zod/v4/locales/sl.js +21 -24
  638. package/node_modules/zod/v4/locales/sv.cjs +24 -26
  639. package/node_modules/zod/v4/locales/sv.d.cts +2 -1
  640. package/node_modules/zod/v4/locales/sv.js +23 -26
  641. package/node_modules/zod/v4/locales/ta.cjs +23 -24
  642. package/node_modules/zod/v4/locales/ta.d.cts +2 -1
  643. package/node_modules/zod/v4/locales/ta.js +22 -24
  644. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  645. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  646. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  647. package/node_modules/zod/v4/locales/tg.js +117 -0
  648. package/node_modules/zod/v4/locales/th.cjs +23 -24
  649. package/node_modules/zod/v4/locales/th.d.cts +2 -1
  650. package/node_modules/zod/v4/locales/th.js +22 -24
  651. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  652. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  653. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  654. package/node_modules/zod/v4/locales/tk.js +107 -0
  655. package/node_modules/zod/v4/locales/tr.cjs +20 -26
  656. package/node_modules/zod/v4/locales/tr.d.cts +2 -2
  657. package/node_modules/zod/v4/locales/tr.d.ts +0 -1
  658. package/node_modules/zod/v4/locales/tr.js +19 -24
  659. package/node_modules/zod/v4/locales/ua.cjs +6 -137
  660. package/node_modules/zod/v4/locales/ua.d.cts +2 -1
  661. package/node_modules/zod/v4/locales/ua.d.ts +1 -0
  662. package/node_modules/zod/v4/locales/ua.js +3 -115
  663. package/node_modules/zod/v4/locales/uk.cjs +140 -0
  664. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  665. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  666. package/node_modules/zod/v4/locales/uk.js +113 -0
  667. package/node_modules/zod/v4/locales/ur.cjs +23 -24
  668. package/node_modules/zod/v4/locales/ur.d.cts +2 -1
  669. package/node_modules/zod/v4/locales/ur.js +22 -24
  670. package/node_modules/zod/v4/locales/uz.cjs +140 -0
  671. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  672. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  673. package/node_modules/zod/v4/locales/uz.js +113 -0
  674. package/node_modules/zod/v4/locales/vi.cjs +22 -24
  675. package/node_modules/zod/v4/locales/vi.d.cts +2 -1
  676. package/node_modules/zod/v4/locales/vi.js +21 -24
  677. package/node_modules/zod/v4/locales/yo.cjs +139 -0
  678. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  679. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  680. package/node_modules/zod/v4/locales/yo.js +112 -0
  681. package/node_modules/zod/v4/locales/zh-CN.cjs +23 -24
  682. package/node_modules/zod/v4/locales/zh-CN.d.cts +2 -1
  683. package/node_modules/zod/v4/locales/zh-CN.js +22 -24
  684. package/node_modules/zod/v4/locales/zh-TW.cjs +20 -24
  685. package/node_modules/zod/v4/locales/zh-TW.d.cts +2 -1
  686. package/node_modules/zod/v4/locales/zh-TW.js +19 -24
  687. package/node_modules/zod/v4/mini/checks.cjs +21 -1
  688. package/node_modules/zod/v4/mini/checks.d.cts +1 -1
  689. package/node_modules/zod/v4/mini/checks.d.ts +1 -1
  690. package/node_modules/zod/v4/mini/checks.js +1 -1
  691. package/node_modules/zod/v4/mini/coerce.cjs +24 -0
  692. package/node_modules/zod/v4/mini/coerce.js +5 -0
  693. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  694. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  695. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  696. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  697. package/node_modules/zod/v4/mini/external.cjs +36 -3
  698. package/node_modules/zod/v4/mini/external.d.cts +7 -2
  699. package/node_modules/zod/v4/mini/external.d.ts +7 -2
  700. package/node_modules/zod/v4/mini/external.js +4 -1
  701. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  702. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  703. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  704. package/node_modules/zod/v4/mini/in-out.js +36 -0
  705. package/node_modules/zod/v4/mini/index.cjs +19 -0
  706. package/node_modules/zod/v4/mini/iso.cjs +27 -4
  707. package/node_modules/zod/v4/mini/iso.js +8 -4
  708. package/node_modules/zod/v4/mini/package.json +7 -0
  709. package/node_modules/zod/v4/mini/parse.cjs +30 -1
  710. package/node_modules/zod/v4/mini/parse.d.cts +1 -1
  711. package/node_modules/zod/v4/mini/parse.d.ts +1 -1
  712. package/node_modules/zod/v4/mini/parse.js +1 -1
  713. package/node_modules/zod/v4/mini/schemas.cjs +390 -82
  714. package/node_modules/zod/v4/mini/schemas.d.cts +156 -32
  715. package/node_modules/zod/v4/mini/schemas.d.ts +156 -32
  716. package/node_modules/zod/v4/mini/schemas.js +329 -59
  717. package/node_modules/zod/v4/package.json +7 -0
  718. package/node_modules/zod/v4-mini/index.cjs +35 -1
  719. package/node_modules/zod/v4-mini/index.d.cts +3 -1
  720. package/node_modules/zod/v4-mini/index.d.ts +3 -1
  721. package/node_modules/zod/v4-mini/index.js +3 -1
  722. package/node_modules/zod/v4-mini/package.json +7 -0
  723. package/package.json +23 -16
  724. package/node_modules/zod/src/v4/core/config.ts +0 -15
  725. package/node_modules/zod/src/v4/core/function.ts +0 -176
  726. package/node_modules/zod/v4/core/function.cjs +0 -102
  727. package/node_modules/zod/v4/core/function.d.cts +0 -52
  728. package/node_modules/zod/v4/core/function.d.ts +0 -52
  729. package/node_modules/zod/v4/core/function.js +0 -75
  730. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/CHANGELOG.md +0 -0
  731. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/LICENSE +0 -0
  732. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/MIGRATION_GUIDE.md +0 -0
  733. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/README.md +0 -0
  734. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/axios.js +0 -0
  735. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/axios.min.js +0 -0
  736. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/axios.min.js.map +0 -0
  737. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/browser/axios.cjs +0 -0
  738. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/esm/axios.js +0 -0
  739. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/esm/axios.min.js +0 -0
  740. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/esm/axios.min.js.map +0 -0
  741. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/dist/node/axios.cjs +0 -0
  742. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/index.d.cts +0 -0
  743. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/index.d.ts +0 -0
  744. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/index.js +0 -0
  745. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/adapters/README.md +0 -0
  746. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/adapters/adapters.js +0 -0
  747. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/adapters/fetch.js +0 -0
  748. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/adapters/http.js +0 -0
  749. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/adapters/xhr.js +0 -0
  750. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/axios.js +0 -0
  751. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/cancel/CancelToken.js +0 -0
  752. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/cancel/CanceledError.js +0 -0
  753. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/cancel/isCancel.js +0 -0
  754. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/Axios.js +0 -0
  755. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/AxiosError.js +0 -0
  756. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/AxiosHeaders.js +0 -0
  757. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/InterceptorManager.js +0 -0
  758. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/README.md +0 -0
  759. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/buildFullPath.js +0 -0
  760. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/dispatchRequest.js +0 -0
  761. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/mergeConfig.js +0 -0
  762. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/methodList.js +0 -0
  763. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/setFormDataHeaders.js +0 -0
  764. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/settle.js +0 -0
  765. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/core/transformData.js +0 -0
  766. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/defaults/index.js +0 -0
  767. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/defaults/transitional.js +0 -0
  768. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/env/README.md +0 -0
  769. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/env/classes/FormData.js +0 -0
  770. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/env/data.js +0 -0
  771. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/AxiosTransformStream.js +0 -0
  772. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/AxiosURLSearchParams.js +0 -0
  773. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/Http2Sessions.js +0 -0
  774. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/HttpStatusCode.js +0 -0
  775. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/README.md +0 -0
  776. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/ZlibHeaderTransformStream.js +0 -0
  777. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/bind.js +0 -0
  778. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/buildURL.js +0 -0
  779. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/callbackify.js +0 -0
  780. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/combineURLs.js +0 -0
  781. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/composeSignals.js +0 -0
  782. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/cookies.js +0 -0
  783. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/deprecatedMethod.js +0 -0
  784. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/estimateDataURLDecodedBytes.js +0 -0
  785. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/formDataToJSON.js +0 -0
  786. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/formDataToStream.js +0 -0
  787. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/fromDataURI.js +0 -0
  788. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/isAbsoluteURL.js +0 -0
  789. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/isAxiosError.js +0 -0
  790. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/isURLSameOrigin.js +0 -0
  791. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/normalizeURLForProtocolCheck.js +0 -0
  792. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/null.js +0 -0
  793. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/parseHeaders.js +0 -0
  794. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/parseProtocol.js +0 -0
  795. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/progressEventReducer.js +0 -0
  796. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/readBlob.js +0 -0
  797. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/resolveConfig.js +0 -0
  798. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/sanitizeHeaderValue.js +0 -0
  799. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/shouldBypassProxy.js +0 -0
  800. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/speedometer.js +0 -0
  801. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/spread.js +0 -0
  802. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/throttle.js +0 -0
  803. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/toFormData.js +0 -0
  804. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/toURLEncodedForm.js +0 -0
  805. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/trackStream.js +0 -0
  806. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/helpers/validator.js +0 -0
  807. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/browser/classes/Blob.js +0 -0
  808. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/browser/classes/FormData.js +0 -0
  809. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/browser/classes/URLSearchParams.js +0 -0
  810. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/browser/index.js +0 -0
  811. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/common/utils.js +0 -0
  812. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/index.js +0 -0
  813. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/node/classes/Buffer.js +0 -0
  814. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/node/classes/FormData.js +0 -0
  815. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/node/classes/URLSearchParams.js +0 -0
  816. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/platform/node/index.js +0 -0
  817. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/lib/utils.js +0 -0
  818. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/README.md +0 -0
  819. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/index.d.ts +0 -0
  820. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/index.js +0 -0
  821. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/index.js.map +0 -0
  822. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/promisify.d.ts +0 -0
  823. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/promisify.js +0 -0
  824. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/dist/src/promisify.js.map +0 -0
  825. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/package.json +0 -0
  826. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/src/index.ts +0 -0
  827. /package/node_modules/{@autonomous-testing/sdk → axios}/node_modules/agent-base/src/promisify.ts +0 -0
  828. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/README.md +0 -0
  829. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/agent.d.ts +0 -0
  830. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/agent.js +0 -0
  831. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/agent.js.map +0 -0
  832. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/index.d.ts +0 -0
  833. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/index.js +0 -0
  834. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/index.js.map +0 -0
  835. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -0
  836. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -0
  837. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -0
  838. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/node_modules/https-proxy-agent/package.json +0 -0
  839. /package/node_modules/{@autonomous-testing/sdk/node_modules/axios → axios}/package.json +0 -0
  840. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/CHANGELOG.md +0 -0
  841. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/License +0 -0
  842. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/README.md +0 -0
  843. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/index.d.ts +0 -0
  844. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/lib/browser.js +0 -0
  845. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/lib/form_data.js +0 -0
  846. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/lib/populate.js +0 -0
  847. /package/node_modules/{@autonomous-testing/sdk/node_modules/form-data → form-data}/package.json +0 -0
  848. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
  849. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/LICENSE +0 -0
  850. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/README.md +0 -0
  851. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/db.json +0 -0
  852. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/index.js +0 -0
  853. /package/node_modules/{mime-types/node_modules/mime-db → mime-db}/package.json +0 -0
  854. /package/node_modules/{@autonomous-testing/sdk/node_modules/proxy-from-env → proxy-from-env}/LICENSE +0 -0
  855. /package/node_modules/{@autonomous-testing/sdk/node_modules/proxy-from-env → proxy-from-env}/README.md +0 -0
  856. /package/node_modules/{@autonomous-testing/sdk/node_modules/proxy-from-env → proxy-from-env}/index.cjs +0 -0
  857. /package/node_modules/{@autonomous-testing/sdk/node_modules/proxy-from-env → proxy-from-env}/index.js +0 -0
  858. /package/node_modules/{@autonomous-testing/sdk/node_modules/proxy-from-env → proxy-from-env}/package.json +0 -0
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ZodMiniOptional = exports.ZodMiniTransform = exports.ZodMiniFile = exports.ZodMiniLiteral = exports.ZodMiniEnum = exports.ZodMiniSet = exports.ZodMiniMap = exports.ZodMiniRecord = exports.ZodMiniTuple = exports.ZodMiniIntersection = exports.ZodMiniDiscriminatedUnion = exports.ZodMiniUnion = exports.ZodMiniObject = exports.ZodMiniArray = exports.ZodMiniDate = exports.ZodMiniVoid = exports.ZodMiniNever = exports.ZodMiniUnknown = exports.ZodMiniAny = exports.ZodMiniNull = exports.ZodMiniUndefined = exports.ZodMiniSymbol = exports.ZodMiniBigIntFormat = exports.ZodMiniBigInt = exports.ZodMiniBoolean = exports.ZodMiniNumberFormat = exports.ZodMiniNumber = exports.ZodMiniCustomStringFormat = exports.ZodMiniJWT = exports.ZodMiniE164 = exports.ZodMiniBase64URL = exports.ZodMiniBase64 = exports.ZodMiniCIDRv6 = exports.ZodMiniCIDRv4 = exports.ZodMiniIPv6 = exports.ZodMiniIPv4 = exports.ZodMiniKSUID = exports.ZodMiniXID = exports.ZodMiniULID = exports.ZodMiniCUID2 = exports.ZodMiniCUID = exports.ZodMiniNanoID = exports.ZodMiniEmoji = exports.ZodMiniURL = exports.ZodMiniUUID = exports.ZodMiniGUID = exports.ZodMiniEmail = exports.ZodMiniStringFormat = exports.ZodMiniString = exports.ZodMiniType = void 0;
27
- exports.stringbool = exports.ZodMiniCustom = exports.ZodMiniPromise = exports.ZodMiniLazy = exports.ZodMiniTemplateLiteral = exports.ZodMiniReadonly = exports.ZodMiniPipe = exports.ZodMiniNaN = exports.ZodMiniCatch = exports.ZodMiniSuccess = exports.ZodMiniNonOptional = exports.ZodMiniPrefault = exports.ZodMiniDefault = exports.ZodMiniNullable = void 0;
26
+ exports.ZodMiniEnum = exports.ZodMiniSet = exports.ZodMiniMap = exports.ZodMiniRecord = exports.ZodMiniTuple = exports.ZodMiniIntersection = exports.ZodMiniDiscriminatedUnion = exports.ZodMiniXor = exports.ZodMiniUnion = exports.ZodMiniObject = exports.ZodMiniArray = exports.ZodMiniDate = exports.ZodMiniVoid = exports.ZodMiniNever = exports.ZodMiniUnknown = exports.ZodMiniAny = exports.ZodMiniNull = exports.ZodMiniUndefined = exports.ZodMiniSymbol = exports.ZodMiniBigIntFormat = exports.ZodMiniBigInt = exports.ZodMiniBoolean = exports.ZodMiniNumberFormat = exports.ZodMiniNumber = exports.ZodMiniCustomStringFormat = exports.ZodMiniJWT = exports.ZodMiniIBAN = exports.ZodMiniCreditCard = exports.ZodMiniE164 = exports.ZodMiniBase64URL = exports.ZodMiniBase64 = exports.ZodMiniMAC = exports.ZodMiniCIDRv6 = exports.ZodMiniCIDRv4 = exports.ZodMiniIPv6 = exports.ZodMiniIPv4 = exports.ZodMiniKSUID = exports.ZodMiniXID = exports.ZodMiniULID = exports.ZodMiniCUID2 = exports.ZodMiniCUID = exports.ZodMiniNanoID = exports.ZodMiniEmoji = exports.ZodMiniURL = exports.ZodMiniUUID = exports.ZodMiniGUID = exports.ZodMiniEmail = exports.ZodMiniStringFormat = exports.ZodMiniString = exports.ZodMiniType = void 0;
27
+ exports.ZodMiniFunction = exports.stringbool = exports.meta = exports.describe = exports.ZodMiniCustom = exports.ZodMiniPromise = exports.ZodMiniLazy = exports.ZodMiniTemplateLiteral = exports.ZodMiniReadonly = exports.ZodMiniCodec = exports.ZodMiniPipe = exports.ZodMiniNaN = exports.ZodMiniCatch = exports.ZodMiniSuccess = exports.ZodMiniNonOptional = exports.ZodMiniPrefault = exports.ZodMiniDefault = exports.ZodMiniNullable = exports.ZodMiniExactOptional = exports.ZodMiniOptional = exports.ZodMiniTransform = exports.ZodMiniFile = exports.ZodMiniLiteral = void 0;
28
28
  exports.string = string;
29
29
  exports.email = email;
30
30
  exports.guid = guid;
@@ -33,6 +33,7 @@ exports.uuidv4 = uuidv4;
33
33
  exports.uuidv6 = uuidv6;
34
34
  exports.uuidv7 = uuidv7;
35
35
  exports.url = url;
36
+ exports.httpUrl = httpUrl;
36
37
  exports.emoji = emoji;
37
38
  exports.nanoid = nanoid;
38
39
  exports.cuid = cuid;
@@ -44,11 +45,18 @@ exports.ipv4 = ipv4;
44
45
  exports.ipv6 = ipv6;
45
46
  exports.cidrv4 = cidrv4;
46
47
  exports.cidrv6 = cidrv6;
48
+ exports.mac = mac;
47
49
  exports.base64 = base64;
48
50
  exports.base64url = base64url;
49
51
  exports.e164 = e164;
52
+ exports.creditCard = creditCard;
53
+ exports.iban = iban;
50
54
  exports.jwt = jwt;
51
55
  exports.stringFormat = stringFormat;
56
+ exports.hostname = hostname;
57
+ exports.hex = hex;
58
+ exports.currencyCode = currencyCode;
59
+ exports.hash = hash;
52
60
  exports.number = number;
53
61
  exports.int = int;
54
62
  exports.float32 = float32;
@@ -73,18 +81,22 @@ exports.object = object;
73
81
  exports.strictObject = strictObject;
74
82
  exports.looseObject = looseObject;
75
83
  exports.extend = extend;
84
+ exports.safeExtend = safeExtend;
76
85
  exports.merge = merge;
77
86
  exports.pick = pick;
78
87
  exports.omit = omit;
79
88
  exports.partial = partial;
89
+ exports.exactPartial = exactPartial;
80
90
  exports.required = required;
81
91
  exports.catchall = catchall;
82
92
  exports.union = union;
93
+ exports.xor = xor;
83
94
  exports.discriminatedUnion = discriminatedUnion;
84
95
  exports.intersection = intersection;
85
96
  exports.tuple = tuple;
86
97
  exports.record = record;
87
98
  exports.partialRecord = partialRecord;
99
+ exports.looseRecord = looseRecord;
88
100
  exports.map = map;
89
101
  exports.set = set;
90
102
  exports.enum = _enum;
@@ -93,6 +105,7 @@ exports.literal = literal;
93
105
  exports.file = file;
94
106
  exports.transform = transform;
95
107
  exports.optional = optional;
108
+ exports.exactOptional = exactOptional;
96
109
  exports.nullable = nullable;
97
110
  exports.nullish = nullish;
98
111
  exports._default = _default;
@@ -102,6 +115,8 @@ exports.success = success;
102
115
  exports.catch = _catch;
103
116
  exports.nan = nan;
104
117
  exports.pipe = pipe;
118
+ exports.codec = codec;
119
+ exports.invertCodec = invertCodec;
105
120
  exports.readonly = readonly;
106
121
  exports.templateLiteral = templateLiteral;
107
122
  exports.lazy = _lazy;
@@ -109,42 +124,72 @@ exports.promise = promise;
109
124
  exports.check = check;
110
125
  exports.custom = custom;
111
126
  exports.refine = refine;
127
+ exports.superRefine = superRefine;
112
128
  exports.instanceof = _instanceof;
113
129
  exports.json = json;
130
+ exports._function = _function;
131
+ exports.function = _function;
132
+ exports._function = _function;
133
+ exports.function = _function;
114
134
  const core = __importStar(require("../core/index.cjs"));
115
- const index_js_1 = require("../core/index.cjs");
135
+ const regexes = __importStar(require("../core/regexes.cjs"));
136
+ const util = __importStar(require("../core/util.cjs"));
116
137
  const parse = __importStar(require("./parse.cjs"));
117
138
  exports.ZodMiniType = core.$constructor("ZodMiniType", (inst, def) => {
118
139
  if (!inst._zod)
119
140
  throw new Error("Uninitialized schema in ZodMiniType.");
120
141
  core.$ZodType.init(inst, def);
121
142
  inst.def = def;
122
- inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
123
- inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
124
- inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
125
- inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
126
- inst.check = (...checks) => {
127
- return inst.clone({
143
+ inst.type = def.type;
144
+ }, {
145
+ // `with` is an alias for `check`: the same function object, not a wrapper.
146
+ get with() {
147
+ return this.check;
148
+ },
149
+ set with(value) {
150
+ util.own(this, "with", value);
151
+ },
152
+ parse(data, params) {
153
+ return parse.parse(this, data, params, { callee: this.parse });
154
+ },
155
+ parseAsync(data, params) {
156
+ return parse.parseAsync(this, data, params, { callee: this.parseAsync });
157
+ },
158
+ safeParse(data, params) {
159
+ return parse.safeParse(this, data, params);
160
+ },
161
+ safeParseAsync(data, params) {
162
+ return parse.safeParseAsync(this, data, params);
163
+ },
164
+ check(...checks) {
165
+ const def = this.def;
166
+ return this.clone({
128
167
  ...def,
129
168
  checks: [
130
169
  ...(def.checks ?? []),
131
170
  ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
132
171
  ],
133
- }
134
- // { parent: true }
135
- );
136
- };
137
- inst.clone = (_def, params) => core.clone(inst, _def, params);
138
- inst.brand = () => inst;
139
- inst.register = ((reg, meta) => {
140
- reg.add(inst, meta);
141
- return inst;
142
- });
172
+ }, { parent: true });
173
+ },
174
+ clone(_def, params) {
175
+ return core.clone(this, _def, params);
176
+ },
177
+ brand() {
178
+ return this;
179
+ },
180
+ register(reg, meta) {
181
+ reg.add(this, meta);
182
+ return this;
183
+ },
184
+ apply(fn, ...args) {
185
+ return args.length === 0 ? fn(this) : fn(this, ...args);
186
+ },
143
187
  });
144
188
  exports.ZodMiniString = core.$constructor("ZodMiniString", (inst, def) => {
145
189
  core.$ZodString.init(inst, def);
146
190
  exports.ZodMiniType.init(inst, def);
147
191
  });
192
+ // @__NO_SIDE_EFFECTS__
148
193
  function string(params) {
149
194
  return core._string(exports.ZodMiniString, params);
150
195
  }
@@ -156,6 +201,7 @@ exports.ZodMiniEmail = core.$constructor("ZodMiniEmail", (inst, def) => {
156
201
  core.$ZodEmail.init(inst, def);
157
202
  exports.ZodMiniStringFormat.init(inst, def);
158
203
  });
204
+ // @__NO_SIDE_EFFECTS__
159
205
  function email(params) {
160
206
  return core._email(exports.ZodMiniEmail, params);
161
207
  }
@@ -163,6 +209,7 @@ exports.ZodMiniGUID = core.$constructor("ZodMiniGUID", (inst, def) => {
163
209
  core.$ZodGUID.init(inst, def);
164
210
  exports.ZodMiniStringFormat.init(inst, def);
165
211
  });
212
+ // @__NO_SIDE_EFFECTS__
166
213
  function guid(params) {
167
214
  return core._guid(exports.ZodMiniGUID, params);
168
215
  }
@@ -170,17 +217,21 @@ exports.ZodMiniUUID = core.$constructor("ZodMiniUUID", (inst, def) => {
170
217
  core.$ZodUUID.init(inst, def);
171
218
  exports.ZodMiniStringFormat.init(inst, def);
172
219
  });
220
+ // @__NO_SIDE_EFFECTS__
173
221
  function uuid(params) {
174
222
  return core._uuid(exports.ZodMiniUUID, params);
175
223
  }
224
+ // @__NO_SIDE_EFFECTS__
176
225
  function uuidv4(params) {
177
226
  return core._uuidv4(exports.ZodMiniUUID, params);
178
227
  }
179
228
  // ZodMiniUUIDv6
229
+ // @__NO_SIDE_EFFECTS__
180
230
  function uuidv6(params) {
181
231
  return core._uuidv6(exports.ZodMiniUUID, params);
182
232
  }
183
233
  // ZodMiniUUIDv7
234
+ // @__NO_SIDE_EFFECTS__
184
235
  function uuidv7(params) {
185
236
  return core._uuidv7(exports.ZodMiniUUID, params);
186
237
  }
@@ -188,13 +239,23 @@ exports.ZodMiniURL = core.$constructor("ZodMiniURL", (inst, def) => {
188
239
  core.$ZodURL.init(inst, def);
189
240
  exports.ZodMiniStringFormat.init(inst, def);
190
241
  });
242
+ // @__NO_SIDE_EFFECTS__
191
243
  function url(params) {
192
244
  return core._url(exports.ZodMiniURL, params);
193
245
  }
246
+ // @__NO_SIDE_EFFECTS__
247
+ function httpUrl(params) {
248
+ return core._url(exports.ZodMiniURL, {
249
+ protocol: regexes.httpProtocol,
250
+ hostname: regexes.domain,
251
+ ...util.normalizeParams(params),
252
+ });
253
+ }
194
254
  exports.ZodMiniEmoji = core.$constructor("ZodMiniEmoji", (inst, def) => {
195
255
  core.$ZodEmoji.init(inst, def);
196
256
  exports.ZodMiniStringFormat.init(inst, def);
197
257
  });
258
+ // @__NO_SIDE_EFFECTS__
198
259
  function emoji(params) {
199
260
  return core._emoji(exports.ZodMiniEmoji, params);
200
261
  }
@@ -202,13 +263,27 @@ exports.ZodMiniNanoID = core.$constructor("ZodMiniNanoID", (inst, def) => {
202
263
  core.$ZodNanoID.init(inst, def);
203
264
  exports.ZodMiniStringFormat.init(inst, def);
204
265
  });
266
+ // @__NO_SIDE_EFFECTS__
205
267
  function nanoid(params) {
206
268
  return core._nanoid(exports.ZodMiniNanoID, params);
207
269
  }
270
+ /**
271
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
272
+ * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.
273
+ * See https://github.com/paralleldrive/cuid.
274
+ */
208
275
  exports.ZodMiniCUID = core.$constructor("ZodMiniCUID", (inst, def) => {
209
276
  core.$ZodCUID.init(inst, def);
210
277
  exports.ZodMiniStringFormat.init(inst, def);
211
278
  });
279
+ /**
280
+ * Validates a CUID v1 string.
281
+ *
282
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
283
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
284
+ * See https://github.com/paralleldrive/cuid.
285
+ */
286
+ // @__NO_SIDE_EFFECTS__
212
287
  function cuid(params) {
213
288
  return core._cuid(exports.ZodMiniCUID, params);
214
289
  }
@@ -216,6 +291,7 @@ exports.ZodMiniCUID2 = core.$constructor("ZodMiniCUID2", (inst, def) => {
216
291
  core.$ZodCUID2.init(inst, def);
217
292
  exports.ZodMiniStringFormat.init(inst, def);
218
293
  });
294
+ // @__NO_SIDE_EFFECTS__
219
295
  function cuid2(params) {
220
296
  return core._cuid2(exports.ZodMiniCUID2, params);
221
297
  }
@@ -223,6 +299,7 @@ exports.ZodMiniULID = core.$constructor("ZodMiniULID", (inst, def) => {
223
299
  core.$ZodULID.init(inst, def);
224
300
  exports.ZodMiniStringFormat.init(inst, def);
225
301
  });
302
+ // @__NO_SIDE_EFFECTS__
226
303
  function ulid(params) {
227
304
  return core._ulid(exports.ZodMiniULID, params);
228
305
  }
@@ -230,6 +307,7 @@ exports.ZodMiniXID = core.$constructor("ZodMiniXID", (inst, def) => {
230
307
  core.$ZodXID.init(inst, def);
231
308
  exports.ZodMiniStringFormat.init(inst, def);
232
309
  });
310
+ // @__NO_SIDE_EFFECTS__
233
311
  function xid(params) {
234
312
  return core._xid(exports.ZodMiniXID, params);
235
313
  }
@@ -237,6 +315,7 @@ exports.ZodMiniKSUID = core.$constructor("ZodMiniKSUID", (inst, def) => {
237
315
  core.$ZodKSUID.init(inst, def);
238
316
  exports.ZodMiniStringFormat.init(inst, def);
239
317
  });
318
+ // @__NO_SIDE_EFFECTS__
240
319
  function ksuid(params) {
241
320
  return core._ksuid(exports.ZodMiniKSUID, params);
242
321
  }
@@ -244,6 +323,7 @@ exports.ZodMiniIPv4 = core.$constructor("ZodMiniIPv4", (inst, def) => {
244
323
  core.$ZodIPv4.init(inst, def);
245
324
  exports.ZodMiniStringFormat.init(inst, def);
246
325
  });
326
+ // @__NO_SIDE_EFFECTS__
247
327
  function ipv4(params) {
248
328
  return core._ipv4(exports.ZodMiniIPv4, params);
249
329
  }
@@ -251,6 +331,7 @@ exports.ZodMiniIPv6 = core.$constructor("ZodMiniIPv6", (inst, def) => {
251
331
  core.$ZodIPv6.init(inst, def);
252
332
  exports.ZodMiniStringFormat.init(inst, def);
253
333
  });
334
+ // @__NO_SIDE_EFFECTS__
254
335
  function ipv6(params) {
255
336
  return core._ipv6(exports.ZodMiniIPv6, params);
256
337
  }
@@ -258,6 +339,7 @@ exports.ZodMiniCIDRv4 = core.$constructor("ZodMiniCIDRv4", (inst, def) => {
258
339
  core.$ZodCIDRv4.init(inst, def);
259
340
  exports.ZodMiniStringFormat.init(inst, def);
260
341
  });
342
+ // @__NO_SIDE_EFFECTS__
261
343
  function cidrv4(params) {
262
344
  return core._cidrv4(exports.ZodMiniCIDRv4, params);
263
345
  }
@@ -265,13 +347,23 @@ exports.ZodMiniCIDRv6 = core.$constructor("ZodMiniCIDRv6", (inst, def) => {
265
347
  core.$ZodCIDRv6.init(inst, def);
266
348
  exports.ZodMiniStringFormat.init(inst, def);
267
349
  });
350
+ // @__NO_SIDE_EFFECTS__
268
351
  function cidrv6(params) {
269
352
  return core._cidrv6(exports.ZodMiniCIDRv6, params);
270
353
  }
354
+ exports.ZodMiniMAC = core.$constructor("ZodMiniMAC", (inst, def) => {
355
+ core.$ZodMAC.init(inst, def);
356
+ exports.ZodMiniStringFormat.init(inst, def);
357
+ });
358
+ // @__NO_SIDE_EFFECTS__
359
+ function mac(params) {
360
+ return core._mac(exports.ZodMiniMAC, params);
361
+ }
271
362
  exports.ZodMiniBase64 = core.$constructor("ZodMiniBase64", (inst, def) => {
272
363
  core.$ZodBase64.init(inst, def);
273
364
  exports.ZodMiniStringFormat.init(inst, def);
274
365
  });
366
+ // @__NO_SIDE_EFFECTS__
275
367
  function base64(params) {
276
368
  return core._base64(exports.ZodMiniBase64, params);
277
369
  }
@@ -279,6 +371,7 @@ exports.ZodMiniBase64URL = core.$constructor("ZodMiniBase64URL", (inst, def) =>
279
371
  core.$ZodBase64URL.init(inst, def);
280
372
  exports.ZodMiniStringFormat.init(inst, def);
281
373
  });
374
+ // @__NO_SIDE_EFFECTS__
282
375
  function base64url(params) {
283
376
  return core._base64url(exports.ZodMiniBase64URL, params);
284
377
  }
@@ -286,13 +379,31 @@ exports.ZodMiniE164 = core.$constructor("ZodMiniE164", (inst, def) => {
286
379
  core.$ZodE164.init(inst, def);
287
380
  exports.ZodMiniStringFormat.init(inst, def);
288
381
  });
382
+ // @__NO_SIDE_EFFECTS__
289
383
  function e164(params) {
290
384
  return core._e164(exports.ZodMiniE164, params);
291
385
  }
386
+ exports.ZodMiniCreditCard = core.$constructor("ZodMiniCreditCard", (inst, def) => {
387
+ core.$ZodCreditCard.init(inst, def);
388
+ exports.ZodMiniStringFormat.init(inst, def);
389
+ });
390
+ // @__NO_SIDE_EFFECTS__
391
+ function creditCard(params) {
392
+ return core._creditCard(exports.ZodMiniCreditCard, params);
393
+ }
394
+ exports.ZodMiniIBAN = core.$constructor("ZodMiniIBAN", (inst, def) => {
395
+ core.$ZodIBAN.init(inst, def);
396
+ exports.ZodMiniStringFormat.init(inst, def);
397
+ });
398
+ // @__NO_SIDE_EFFECTS__
399
+ function iban(params) {
400
+ return core._iban(exports.ZodMiniIBAN, params);
401
+ }
292
402
  exports.ZodMiniJWT = core.$constructor("ZodMiniJWT", (inst, def) => {
293
403
  core.$ZodJWT.init(inst, def);
294
404
  exports.ZodMiniStringFormat.init(inst, def);
295
405
  });
406
+ // @__NO_SIDE_EFFECTS__
296
407
  function jwt(params) {
297
408
  return core._jwt(exports.ZodMiniJWT, params);
298
409
  }
@@ -300,13 +411,37 @@ exports.ZodMiniCustomStringFormat = core.$constructor("ZodMiniCustomStringFormat
300
411
  core.$ZodCustomStringFormat.init(inst, def);
301
412
  exports.ZodMiniStringFormat.init(inst, def);
302
413
  });
414
+ // @__NO_SIDE_EFFECTS__
303
415
  function stringFormat(format, fnOrRegex, _params = {}) {
304
416
  return core._stringFormat(exports.ZodMiniCustomStringFormat, format, fnOrRegex, _params);
305
417
  }
418
+ // @__NO_SIDE_EFFECTS__
419
+ function hostname(_params) {
420
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "hostname", regexes.hostname, _params);
421
+ }
422
+ // @__NO_SIDE_EFFECTS__
423
+ function hex(_params) {
424
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "hex", regexes.hex, _params);
425
+ }
426
+ // @__NO_SIDE_EFFECTS__
427
+ function currencyCode(_params) {
428
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "currency_code", regexes.currencyCode, _params);
429
+ }
430
+ // @__NO_SIDE_EFFECTS__
431
+ function hash(alg, params) {
432
+ const enc = params?.enc ?? "hex";
433
+ const format = `${alg}_${enc}`;
434
+ const regex = core.regexes[format];
435
+ // check for unrecognized format
436
+ if (!regex)
437
+ throw new Error(`Unrecognized hash format: ${format}`);
438
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, format, regex, params);
439
+ }
306
440
  exports.ZodMiniNumber = core.$constructor("ZodMiniNumber", (inst, def) => {
307
441
  core.$ZodNumber.init(inst, def);
308
442
  exports.ZodMiniType.init(inst, def);
309
443
  });
444
+ // @__NO_SIDE_EFFECTS__
310
445
  function number(params) {
311
446
  return core._number(exports.ZodMiniNumber, params);
312
447
  }
@@ -314,23 +449,18 @@ exports.ZodMiniNumberFormat = core.$constructor("ZodMiniNumberFormat", (inst, de
314
449
  core.$ZodNumberFormat.init(inst, def);
315
450
  exports.ZodMiniNumber.init(inst, def);
316
451
  });
317
- // int
318
452
  function int(params) {
319
453
  return core._int(exports.ZodMiniNumberFormat, params);
320
454
  }
321
- // float32
322
455
  function float32(params) {
323
456
  return core._float32(exports.ZodMiniNumberFormat, params);
324
457
  }
325
- // float64
326
458
  function float64(params) {
327
459
  return core._float64(exports.ZodMiniNumberFormat, params);
328
460
  }
329
- // int32
330
461
  function int32(params) {
331
462
  return core._int32(exports.ZodMiniNumberFormat, params);
332
463
  }
333
- // uint32
334
464
  function uint32(params) {
335
465
  return core._uint32(exports.ZodMiniNumberFormat, params);
336
466
  }
@@ -338,6 +468,7 @@ exports.ZodMiniBoolean = core.$constructor("ZodMiniBoolean", (inst, def) => {
338
468
  core.$ZodBoolean.init(inst, def);
339
469
  exports.ZodMiniType.init(inst, def);
340
470
  });
471
+ // @__NO_SIDE_EFFECTS__
341
472
  function boolean(params) {
342
473
  return core._boolean(exports.ZodMiniBoolean, params);
343
474
  }
@@ -345,6 +476,7 @@ exports.ZodMiniBigInt = core.$constructor("ZodMiniBigInt", (inst, def) => {
345
476
  core.$ZodBigInt.init(inst, def);
346
477
  exports.ZodMiniType.init(inst, def);
347
478
  });
479
+ // @__NO_SIDE_EFFECTS__
348
480
  function bigint(params) {
349
481
  return core._bigint(exports.ZodMiniBigInt, params);
350
482
  }
@@ -352,11 +484,9 @@ exports.ZodMiniBigIntFormat = core.$constructor("ZodMiniBigIntFormat", (inst, de
352
484
  core.$ZodBigIntFormat.init(inst, def);
353
485
  exports.ZodMiniBigInt.init(inst, def);
354
486
  });
355
- // int64
356
487
  function int64(params) {
357
488
  return core._int64(exports.ZodMiniBigIntFormat, params);
358
489
  }
359
- // uint64
360
490
  function uint64(params) {
361
491
  return core._uint64(exports.ZodMiniBigIntFormat, params);
362
492
  }
@@ -364,6 +494,7 @@ exports.ZodMiniSymbol = core.$constructor("ZodMiniSymbol", (inst, def) => {
364
494
  core.$ZodSymbol.init(inst, def);
365
495
  exports.ZodMiniType.init(inst, def);
366
496
  });
497
+ // @__NO_SIDE_EFFECTS__
367
498
  function symbol(params) {
368
499
  return core._symbol(exports.ZodMiniSymbol, params);
369
500
  }
@@ -371,6 +502,7 @@ exports.ZodMiniUndefined = core.$constructor("ZodMiniUndefined", (inst, def) =>
371
502
  core.$ZodUndefined.init(inst, def);
372
503
  exports.ZodMiniType.init(inst, def);
373
504
  });
505
+ // @__NO_SIDE_EFFECTS__
374
506
  function _undefined(params) {
375
507
  return core._undefined(exports.ZodMiniUndefined, params);
376
508
  }
@@ -378,6 +510,7 @@ exports.ZodMiniNull = core.$constructor("ZodMiniNull", (inst, def) => {
378
510
  core.$ZodNull.init(inst, def);
379
511
  exports.ZodMiniType.init(inst, def);
380
512
  });
513
+ // @__NO_SIDE_EFFECTS__
381
514
  function _null(params) {
382
515
  return core._null(exports.ZodMiniNull, params);
383
516
  }
@@ -385,6 +518,7 @@ exports.ZodMiniAny = core.$constructor("ZodMiniAny", (inst, def) => {
385
518
  core.$ZodAny.init(inst, def);
386
519
  exports.ZodMiniType.init(inst, def);
387
520
  });
521
+ // @__NO_SIDE_EFFECTS__
388
522
  function any() {
389
523
  return core._any(exports.ZodMiniAny);
390
524
  }
@@ -392,6 +526,7 @@ exports.ZodMiniUnknown = core.$constructor("ZodMiniUnknown", (inst, def) => {
392
526
  core.$ZodUnknown.init(inst, def);
393
527
  exports.ZodMiniType.init(inst, def);
394
528
  });
529
+ // @__NO_SIDE_EFFECTS__
395
530
  function unknown() {
396
531
  return core._unknown(exports.ZodMiniUnknown);
397
532
  }
@@ -399,6 +534,7 @@ exports.ZodMiniNever = core.$constructor("ZodMiniNever", (inst, def) => {
399
534
  core.$ZodNever.init(inst, def);
400
535
  exports.ZodMiniType.init(inst, def);
401
536
  });
537
+ // @__NO_SIDE_EFFECTS__
402
538
  function never(params) {
403
539
  return core._never(exports.ZodMiniNever, params);
404
540
  }
@@ -406,6 +542,7 @@ exports.ZodMiniVoid = core.$constructor("ZodMiniVoid", (inst, def) => {
406
542
  core.$ZodVoid.init(inst, def);
407
543
  exports.ZodMiniType.init(inst, def);
408
544
  });
545
+ // @__NO_SIDE_EFFECTS__
409
546
  function _void(params) {
410
547
  return core._void(exports.ZodMiniVoid, params);
411
548
  }
@@ -413,6 +550,7 @@ exports.ZodMiniDate = core.$constructor("ZodMiniDate", (inst, def) => {
413
550
  core.$ZodDate.init(inst, def);
414
551
  exports.ZodMiniType.init(inst, def);
415
552
  });
553
+ // @__NO_SIDE_EFFECTS__
416
554
  function date(params) {
417
555
  return core._date(exports.ZodMiniDate, params);
418
556
  }
@@ -420,113 +558,150 @@ exports.ZodMiniArray = core.$constructor("ZodMiniArray", (inst, def) => {
420
558
  core.$ZodArray.init(inst, def);
421
559
  exports.ZodMiniType.init(inst, def);
422
560
  });
561
+ // @__NO_SIDE_EFFECTS__
423
562
  function array(element, params) {
424
563
  return new exports.ZodMiniArray({
425
564
  type: "array",
426
565
  element: element,
427
- ...index_js_1.util.normalizeParams(params),
566
+ ...util.normalizeParams(params),
428
567
  });
429
568
  }
430
569
  // .keyof
570
+ // @__NO_SIDE_EFFECTS__
431
571
  function keyof(schema) {
432
572
  const shape = schema._zod.def.shape;
433
- return literal(Object.keys(shape));
573
+ return _enum(Object.keys(shape));
434
574
  }
435
575
  exports.ZodMiniObject = core.$constructor("ZodMiniObject", (inst, def) => {
436
576
  core.$ZodObject.init(inst, def);
437
577
  exports.ZodMiniType.init(inst, def);
438
- index_js_1.util.defineLazy(inst, "shape", () => def.shape);
578
+ util.installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
439
579
  });
580
+ // @__NO_SIDE_EFFECTS__
440
581
  function object(shape, params) {
441
582
  const def = {
442
583
  type: "object",
443
- get shape() {
444
- index_js_1.util.assignProp(this, "shape", { ...shape });
445
- return this.shape;
446
- },
447
- ...index_js_1.util.normalizeParams(params),
584
+ shape: shape ?? {},
585
+ ...util.normalizeParams(params),
448
586
  };
449
587
  return new exports.ZodMiniObject(def);
450
588
  }
451
589
  // strictObject
590
+ // @__NO_SIDE_EFFECTS__
452
591
  function strictObject(shape, params) {
453
592
  return new exports.ZodMiniObject({
454
593
  type: "object",
455
- // shape: shape as core.$ZodLooseShape,
456
- get shape() {
457
- index_js_1.util.assignProp(this, "shape", { ...shape });
458
- return this.shape;
459
- },
594
+ shape,
460
595
  catchall: never(),
461
- ...index_js_1.util.normalizeParams(params),
596
+ ...util.normalizeParams(params),
462
597
  });
463
598
  }
464
599
  // looseObject
600
+ // @__NO_SIDE_EFFECTS__
465
601
  function looseObject(shape, params) {
466
602
  return new exports.ZodMiniObject({
467
603
  type: "object",
468
- // shape: shape as core.$ZodLooseShape,
469
- get shape() {
470
- index_js_1.util.assignProp(this, "shape", { ...shape });
471
- return this.shape;
472
- },
473
- // get optional() {
474
- // return util.optionalKeys(shape);
475
- // },
604
+ shape,
476
605
  catchall: unknown(),
477
- ...index_js_1.util.normalizeParams(params),
606
+ ...util.normalizeParams(params),
478
607
  });
479
608
  }
480
609
  // object methods
610
+ // @__NO_SIDE_EFFECTS__
481
611
  function extend(schema, shape) {
482
- return index_js_1.util.extend(schema, shape);
612
+ return util.extend(schema, shape);
613
+ }
614
+ // @__NO_SIDE_EFFECTS__
615
+ function safeExtend(schema, shape) {
616
+ return util.safeExtend(schema, shape);
483
617
  }
484
- function merge(schema, shape) {
485
- return index_js_1.util.extend(schema, shape);
618
+ /**
619
+ * @deprecated Use [`z.extend(A, B.shape)`](https://zod.dev/api?id=extend) instead.
620
+ */
621
+ // @__NO_SIDE_EFFECTS__
622
+ function merge(a, b) {
623
+ return util.merge(a, b);
486
624
  }
625
+ // @__NO_SIDE_EFFECTS__
487
626
  function pick(schema, mask) {
488
- return index_js_1.util.pick(schema, mask);
627
+ return util.pick(schema, mask);
489
628
  }
490
629
  // .omit
630
+ // @__NO_SIDE_EFFECTS__
491
631
  function omit(schema, mask) {
492
- return index_js_1.util.omit(schema, mask);
632
+ return util.omit(schema, mask);
493
633
  }
634
+ // @__NO_SIDE_EFFECTS__
494
635
  function partial(schema, mask) {
495
- return index_js_1.util.partial(exports.ZodMiniOptional, schema, mask);
636
+ const def = schema._zod.def;
637
+ if (def.type !== "tuple")
638
+ return util.partial(exports.ZodMiniOptional, schema, mask);
639
+ // a refinement was authored against the full arity; partialing would run it on a shorter array
640
+ if (def.checks?.length)
641
+ throw new Error(".partial() cannot be used on tuple schemas containing refinements");
642
+ return util.clone(schema, {
643
+ ...def,
644
+ items: def.items.map((item) => new exports.ZodMiniOptional({ type: "optional", innerType: item })),
645
+ });
496
646
  }
647
+ // @__NO_SIDE_EFFECTS__
648
+ function exactPartial(schema, mask) {
649
+ return util.partial(exports.ZodMiniExactOptional, schema, mask, "exactPartial");
650
+ }
651
+ // @__NO_SIDE_EFFECTS__
497
652
  function required(schema, mask) {
498
- return index_js_1.util.required(exports.ZodMiniNonOptional, schema, mask);
653
+ return util.required(exports.ZodMiniNonOptional, schema, mask);
499
654
  }
655
+ // @__NO_SIDE_EFFECTS__
500
656
  function catchall(inst, catchall) {
501
- return inst.clone({ ...inst._zod.def, catchall: catchall });
657
+ // `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
658
+ return inst.clone(util.mergeDefs(inst._zod.def, { catchall: catchall }));
502
659
  }
503
660
  exports.ZodMiniUnion = core.$constructor("ZodMiniUnion", (inst, def) => {
504
661
  core.$ZodUnion.init(inst, def);
505
662
  exports.ZodMiniType.init(inst, def);
506
663
  });
664
+ // @__NO_SIDE_EFFECTS__
507
665
  function union(options, params) {
508
666
  return new exports.ZodMiniUnion({
509
667
  type: "union",
510
668
  options: options,
511
- ...index_js_1.util.normalizeParams(params),
669
+ ...util.normalizeParams(params),
670
+ });
671
+ }
672
+ exports.ZodMiniXor = core.$constructor("ZodMiniXor", (inst, def) => {
673
+ exports.ZodMiniUnion.init(inst, def);
674
+ core.$ZodXor.init(inst, def);
675
+ });
676
+ /** Creates an exclusive union (XOR) where exactly one option must match.
677
+ * Unlike regular unions that succeed when any option matches, xor fails if
678
+ * zero or more than one option matches the input. */
679
+ function xor(options, params) {
680
+ return new exports.ZodMiniXor({
681
+ type: "union",
682
+ options: options,
683
+ inclusive: false,
684
+ ...util.normalizeParams(params),
512
685
  });
513
686
  }
514
687
  exports.ZodMiniDiscriminatedUnion = core.$constructor("ZodMiniDiscriminatedUnion", (inst, def) => {
515
688
  core.$ZodDiscriminatedUnion.init(inst, def);
516
689
  exports.ZodMiniType.init(inst, def);
517
690
  });
691
+ // @__NO_SIDE_EFFECTS__
518
692
  function discriminatedUnion(discriminator, options, params) {
519
693
  return new exports.ZodMiniDiscriminatedUnion({
520
694
  type: "union",
521
- options,
695
+ options: options,
522
696
  discriminator,
523
- ...index_js_1.util.normalizeParams(params),
697
+ ...util.normalizeParams(params),
524
698
  });
525
699
  }
526
700
  exports.ZodMiniIntersection = core.$constructor("ZodMiniIntersection", (inst, def) => {
527
701
  core.$ZodIntersection.init(inst, def);
528
702
  exports.ZodMiniType.init(inst, def);
529
703
  });
704
+ // @__NO_SIDE_EFFECTS__
530
705
  function intersection(left, right) {
531
706
  return new exports.ZodMiniIntersection({
532
707
  type: "intersection",
@@ -538,6 +713,7 @@ exports.ZodMiniTuple = core.$constructor("ZodMiniTuple", (inst, def) => {
538
713
  core.$ZodTuple.init(inst, def);
539
714
  exports.ZodMiniType.init(inst, def);
540
715
  });
716
+ // @__NO_SIDE_EFFECTS__
541
717
  function tuple(items, _paramsOrRest, _params) {
542
718
  const hasRest = _paramsOrRest instanceof core.$ZodType;
543
719
  const params = hasRest ? _params : _paramsOrRest;
@@ -546,64 +722,91 @@ function tuple(items, _paramsOrRest, _params) {
546
722
  type: "tuple",
547
723
  items: items,
548
724
  rest,
549
- ...index_js_1.util.normalizeParams(params),
725
+ ...util.normalizeParams(params),
550
726
  });
551
727
  }
552
728
  exports.ZodMiniRecord = core.$constructor("ZodMiniRecord", (inst, def) => {
553
729
  core.$ZodRecord.init(inst, def);
554
730
  exports.ZodMiniType.init(inst, def);
555
731
  });
732
+ // @__NO_SIDE_EFFECTS__
556
733
  function record(keyType, valueType, params) {
734
+ // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
735
+ if (!valueType || !valueType._zod) {
736
+ return new exports.ZodMiniRecord({
737
+ type: "record",
738
+ keyType: string(),
739
+ valueType: keyType,
740
+ ...util.normalizeParams(valueType),
741
+ });
742
+ }
557
743
  return new exports.ZodMiniRecord({
558
744
  type: "record",
559
745
  keyType,
560
746
  valueType: valueType,
561
- ...index_js_1.util.normalizeParams(params),
747
+ ...util.normalizeParams(params),
562
748
  });
563
749
  }
750
+ // @__NO_SIDE_EFFECTS__
564
751
  function partialRecord(keyType, valueType, params) {
565
752
  return new exports.ZodMiniRecord({
566
753
  type: "record",
567
- keyType: union([keyType, never()]),
754
+ keyType,
755
+ valueType: valueType,
756
+ ...util.normalizeParams(params),
757
+ partial: true,
758
+ });
759
+ }
760
+ function looseRecord(keyType, valueType, params) {
761
+ return new exports.ZodMiniRecord({
762
+ type: "record",
763
+ keyType,
568
764
  valueType: valueType,
569
- ...index_js_1.util.normalizeParams(params),
765
+ mode: "loose",
766
+ ...util.normalizeParams(params),
570
767
  });
571
768
  }
572
769
  exports.ZodMiniMap = core.$constructor("ZodMiniMap", (inst, def) => {
573
770
  core.$ZodMap.init(inst, def);
574
771
  exports.ZodMiniType.init(inst, def);
575
772
  });
773
+ // @__NO_SIDE_EFFECTS__
576
774
  function map(keyType, valueType, params) {
577
775
  return new exports.ZodMiniMap({
578
776
  type: "map",
579
777
  keyType: keyType,
580
778
  valueType: valueType,
581
- ...index_js_1.util.normalizeParams(params),
779
+ ...util.normalizeParams(params),
582
780
  });
583
781
  }
584
782
  exports.ZodMiniSet = core.$constructor("ZodMiniSet", (inst, def) => {
585
783
  core.$ZodSet.init(inst, def);
586
784
  exports.ZodMiniType.init(inst, def);
587
785
  });
786
+ // @__NO_SIDE_EFFECTS__
588
787
  function set(valueType, params) {
589
788
  return new exports.ZodMiniSet({
590
789
  type: "set",
591
790
  valueType: valueType,
592
- ...index_js_1.util.normalizeParams(params),
791
+ ...util.normalizeParams(params),
593
792
  });
594
793
  }
595
794
  exports.ZodMiniEnum = core.$constructor("ZodMiniEnum", (inst, def) => {
596
795
  core.$ZodEnum.init(inst, def);
597
796
  exports.ZodMiniType.init(inst, def);
797
+ // reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
798
+ inst.options = [...inst._zod.values];
598
799
  });
800
+ // @__NO_SIDE_EFFECTS__
599
801
  function _enum(values, params) {
600
802
  const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
601
803
  return new exports.ZodMiniEnum({
602
804
  type: "enum",
603
805
  entries,
604
- ...index_js_1.util.normalizeParams(params),
806
+ ...util.normalizeParams(params),
605
807
  });
606
808
  }
809
+ // @__NO_SIDE_EFFECTS__
607
810
  /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
608
811
  *
609
812
  * ```ts
@@ -615,24 +818,26 @@ function nativeEnum(entries, params) {
615
818
  return new exports.ZodMiniEnum({
616
819
  type: "enum",
617
820
  entries,
618
- ...index_js_1.util.normalizeParams(params),
821
+ ...util.normalizeParams(params),
619
822
  });
620
823
  }
621
824
  exports.ZodMiniLiteral = core.$constructor("ZodMiniLiteral", (inst, def) => {
622
825
  core.$ZodLiteral.init(inst, def);
623
826
  exports.ZodMiniType.init(inst, def);
624
827
  });
828
+ // @__NO_SIDE_EFFECTS__
625
829
  function literal(value, params) {
626
830
  return new exports.ZodMiniLiteral({
627
831
  type: "literal",
628
832
  values: Array.isArray(value) ? value : [value],
629
- ...index_js_1.util.normalizeParams(params),
833
+ ...util.normalizeParams(params),
630
834
  });
631
835
  }
632
836
  exports.ZodMiniFile = core.$constructor("ZodMiniFile", (inst, def) => {
633
837
  core.$ZodFile.init(inst, def);
634
838
  exports.ZodMiniType.init(inst, def);
635
839
  });
840
+ // @__NO_SIDE_EFFECTS__
636
841
  function file(params) {
637
842
  return core._file(exports.ZodMiniFile, params);
638
843
  }
@@ -640,6 +845,7 @@ exports.ZodMiniTransform = core.$constructor("ZodMiniTransform", (inst, def) =>
640
845
  core.$ZodTransform.init(inst, def);
641
846
  exports.ZodMiniType.init(inst, def);
642
847
  });
848
+ // @__NO_SIDE_EFFECTS__
643
849
  function transform(fn) {
644
850
  return new exports.ZodMiniTransform({
645
851
  type: "transform",
@@ -650,16 +856,29 @@ exports.ZodMiniOptional = core.$constructor("ZodMiniOptional", (inst, def) => {
650
856
  core.$ZodOptional.init(inst, def);
651
857
  exports.ZodMiniType.init(inst, def);
652
858
  });
859
+ // @__NO_SIDE_EFFECTS__
653
860
  function optional(innerType) {
654
861
  return new exports.ZodMiniOptional({
655
862
  type: "optional",
656
863
  innerType: innerType,
657
864
  });
658
865
  }
866
+ exports.ZodMiniExactOptional = core.$constructor("ZodMiniExactOptional", (inst, def) => {
867
+ core.$ZodExactOptional.init(inst, def);
868
+ exports.ZodMiniType.init(inst, def);
869
+ });
870
+ // @__NO_SIDE_EFFECTS__
871
+ function exactOptional(innerType) {
872
+ return new exports.ZodMiniExactOptional({
873
+ type: "optional",
874
+ innerType: innerType,
875
+ });
876
+ }
659
877
  exports.ZodMiniNullable = core.$constructor("ZodMiniNullable", (inst, def) => {
660
878
  core.$ZodNullable.init(inst, def);
661
879
  exports.ZodMiniType.init(inst, def);
662
880
  });
881
+ // @__NO_SIDE_EFFECTS__
663
882
  function nullable(innerType) {
664
883
  return new exports.ZodMiniNullable({
665
884
  type: "nullable",
@@ -667,6 +886,7 @@ function nullable(innerType) {
667
886
  });
668
887
  }
669
888
  // nullish
889
+ // @__NO_SIDE_EFFECTS__
670
890
  function nullish(innerType) {
671
891
  return optional(nullable(innerType));
672
892
  }
@@ -674,12 +894,13 @@ exports.ZodMiniDefault = core.$constructor("ZodMiniDefault", (inst, def) => {
674
894
  core.$ZodDefault.init(inst, def);
675
895
  exports.ZodMiniType.init(inst, def);
676
896
  });
897
+ // @__NO_SIDE_EFFECTS__
677
898
  function _default(innerType, defaultValue) {
678
899
  return new exports.ZodMiniDefault({
679
900
  type: "default",
680
901
  innerType: innerType,
681
902
  get defaultValue() {
682
- return typeof defaultValue === "function" ? defaultValue() : defaultValue;
903
+ return typeof defaultValue === "function" ? defaultValue() : util.shallowClone(defaultValue);
683
904
  },
684
905
  });
685
906
  }
@@ -687,12 +908,13 @@ exports.ZodMiniPrefault = core.$constructor("ZodMiniPrefault", (inst, def) => {
687
908
  core.$ZodPrefault.init(inst, def);
688
909
  exports.ZodMiniType.init(inst, def);
689
910
  });
911
+ // @__NO_SIDE_EFFECTS__
690
912
  function prefault(innerType, defaultValue) {
691
913
  return new exports.ZodMiniPrefault({
692
914
  type: "prefault",
693
915
  innerType: innerType,
694
916
  get defaultValue() {
695
- return typeof defaultValue === "function" ? defaultValue() : defaultValue;
917
+ return typeof defaultValue === "function" ? defaultValue() : util.shallowClone(defaultValue);
696
918
  },
697
919
  });
698
920
  }
@@ -700,17 +922,19 @@ exports.ZodMiniNonOptional = core.$constructor("ZodMiniNonOptional", (inst, def)
700
922
  core.$ZodNonOptional.init(inst, def);
701
923
  exports.ZodMiniType.init(inst, def);
702
924
  });
925
+ // @__NO_SIDE_EFFECTS__
703
926
  function nonoptional(innerType, params) {
704
927
  return new exports.ZodMiniNonOptional({
705
928
  type: "nonoptional",
706
929
  innerType: innerType,
707
- ...index_js_1.util.normalizeParams(params),
930
+ ...util.normalizeParams(params),
708
931
  });
709
932
  }
710
933
  exports.ZodMiniSuccess = core.$constructor("ZodMiniSuccess", (inst, def) => {
711
934
  core.$ZodSuccess.init(inst, def);
712
935
  exports.ZodMiniType.init(inst, def);
713
936
  });
937
+ // @__NO_SIDE_EFFECTS__
714
938
  function success(innerType) {
715
939
  return new exports.ZodMiniSuccess({
716
940
  type: "success",
@@ -721,17 +945,19 @@ exports.ZodMiniCatch = core.$constructor("ZodMiniCatch", (inst, def) => {
721
945
  core.$ZodCatch.init(inst, def);
722
946
  exports.ZodMiniType.init(inst, def);
723
947
  });
948
+ // @__NO_SIDE_EFFECTS__
724
949
  function _catch(innerType, catchValue) {
725
950
  return new exports.ZodMiniCatch({
726
951
  type: "catch",
727
952
  innerType: innerType,
728
- catchValue: (typeof catchValue === "function" ? catchValue : () => catchValue),
953
+ catchValue: (typeof catchValue === "function" ? catchValue : core.util.constantCatch(catchValue)),
729
954
  });
730
955
  }
731
956
  exports.ZodMiniNaN = core.$constructor("ZodMiniNaN", (inst, def) => {
732
957
  core.$ZodNaN.init(inst, def);
733
958
  exports.ZodMiniType.init(inst, def);
734
959
  });
960
+ // @__NO_SIDE_EFFECTS__
735
961
  function nan(params) {
736
962
  return core._nan(exports.ZodMiniNaN, params);
737
963
  }
@@ -739,6 +965,7 @@ exports.ZodMiniPipe = core.$constructor("ZodMiniPipe", (inst, def) => {
739
965
  core.$ZodPipe.init(inst, def);
740
966
  exports.ZodMiniType.init(inst, def);
741
967
  });
968
+ // @__NO_SIDE_EFFECTS__
742
969
  function pipe(in_, out) {
743
970
  return new exports.ZodMiniPipe({
744
971
  type: "pipe",
@@ -746,10 +973,36 @@ function pipe(in_, out) {
746
973
  out: out,
747
974
  });
748
975
  }
976
+ exports.ZodMiniCodec = core.$constructor("ZodMiniCodec", (inst, def) => {
977
+ exports.ZodMiniPipe.init(inst, def);
978
+ core.$ZodCodec.init(inst, def);
979
+ });
980
+ // @__NO_SIDE_EFFECTS__
981
+ function codec(in_, out, params) {
982
+ return new exports.ZodMiniCodec({
983
+ type: "pipe",
984
+ in: in_,
985
+ out: out,
986
+ transform: params.decode,
987
+ reverseTransform: params.encode,
988
+ });
989
+ }
990
+ // @__NO_SIDE_EFFECTS__
991
+ function invertCodec(codec) {
992
+ const def = codec._zod.def;
993
+ return new exports.ZodMiniCodec({
994
+ type: "pipe",
995
+ in: def.out,
996
+ out: def.in,
997
+ transform: def.reverseTransform,
998
+ reverseTransform: def.transform,
999
+ });
1000
+ }
749
1001
  exports.ZodMiniReadonly = core.$constructor("ZodMiniReadonly", (inst, def) => {
750
1002
  core.$ZodReadonly.init(inst, def);
751
1003
  exports.ZodMiniType.init(inst, def);
752
1004
  });
1005
+ // @__NO_SIDE_EFFECTS__
753
1006
  function readonly(innerType) {
754
1007
  return new exports.ZodMiniReadonly({
755
1008
  type: "readonly",
@@ -760,11 +1013,12 @@ exports.ZodMiniTemplateLiteral = core.$constructor("ZodMiniTemplateLiteral", (in
760
1013
  core.$ZodTemplateLiteral.init(inst, def);
761
1014
  exports.ZodMiniType.init(inst, def);
762
1015
  });
1016
+ // @__NO_SIDE_EFFECTS__
763
1017
  function templateLiteral(parts, params) {
764
1018
  return new exports.ZodMiniTemplateLiteral({
765
1019
  type: "template_literal",
766
1020
  parts,
767
- ...index_js_1.util.normalizeParams(params),
1021
+ ...util.normalizeParams(params),
768
1022
  });
769
1023
  }
770
1024
  exports.ZodMiniLazy = core.$constructor("ZodMiniLazy", (inst, def) => {
@@ -774,6 +1028,7 @@ exports.ZodMiniLazy = core.$constructor("ZodMiniLazy", (inst, def) => {
774
1028
  // export function lazy<T extends object>(getter: () => T): T {
775
1029
  // return util.createTransparentProxy<T>(getter);
776
1030
  // }
1031
+ // @__NO_SIDE_EFFECTS__
777
1032
  function _lazy(getter) {
778
1033
  return new exports.ZodMiniLazy({
779
1034
  type: "lazy",
@@ -784,6 +1039,7 @@ exports.ZodMiniPromise = core.$constructor("ZodMiniPromise", (inst, def) => {
784
1039
  core.$ZodPromise.init(inst, def);
785
1040
  exports.ZodMiniType.init(inst, def);
786
1041
  });
1042
+ // @__NO_SIDE_EFFECTS__
787
1043
  function promise(innerType) {
788
1044
  return new exports.ZodMiniPromise({
789
1045
  type: "promise",
@@ -795,45 +1051,97 @@ exports.ZodMiniCustom = core.$constructor("ZodMiniCustom", (inst, def) => {
795
1051
  exports.ZodMiniType.init(inst, def);
796
1052
  });
797
1053
  // custom checks
1054
+ // @__NO_SIDE_EFFECTS__
798
1055
  function check(fn, params) {
799
1056
  const ch = new core.$ZodCheck({
800
1057
  check: "custom",
801
- ...index_js_1.util.normalizeParams(params),
1058
+ ...util.normalizeParams(params),
802
1059
  });
803
1060
  ch._zod.check = fn;
804
1061
  return ch;
805
1062
  }
806
- // ZodCustom
807
- // custom schema
1063
+ // ZodCustom custom schema
1064
+ // @__NO_SIDE_EFFECTS__
808
1065
  function custom(fn, _params) {
809
1066
  return core._custom(exports.ZodMiniCustom, fn ?? (() => true), _params);
810
1067
  }
811
1068
  // refine
1069
+ // @__NO_SIDE_EFFECTS__
812
1070
  function refine(fn, _params = {}) {
813
1071
  return core._refine(exports.ZodMiniCustom, fn, _params);
814
1072
  }
1073
+ // superRefine
1074
+ // @__NO_SIDE_EFFECTS__
1075
+ function superRefine(fn, params) {
1076
+ return core._superRefine(fn, params);
1077
+ }
1078
+ // Re-export describe and meta from core
1079
+ exports.describe = core.describe;
1080
+ exports.meta = core.meta;
815
1081
  // instanceof
816
1082
  class Class {
817
1083
  constructor(..._args) { }
818
1084
  }
819
- function _instanceof(cls, params = {
820
- error: `Input not instance of ${cls.name}`,
821
- }) {
1085
+ // @__NO_SIDE_EFFECTS__
1086
+ function _instanceof(cls, params = {}) {
822
1087
  const inst = custom((data) => data instanceof cls, params);
823
1088
  inst._zod.bag.Class = cls;
1089
+ // Override check to emit invalid_type instead of custom
1090
+ inst._zod.check = (payload) => {
1091
+ if (!(payload.value instanceof cls)) {
1092
+ payload.issues.push({
1093
+ code: "invalid_type",
1094
+ expected: cls.name,
1095
+ input: payload.value,
1096
+ inst,
1097
+ path: [...(inst._zod.def.path ?? [])],
1098
+ });
1099
+ }
1100
+ };
824
1101
  return inst;
825
1102
  }
826
1103
  // stringbool
827
1104
  const stringbool = (...args) => core._stringbool({
828
- Pipe: exports.ZodMiniPipe,
1105
+ Codec: exports.ZodMiniCodec,
829
1106
  Boolean: exports.ZodMiniBoolean,
830
1107
  String: exports.ZodMiniString,
831
- Transform: exports.ZodMiniTransform,
832
1108
  }, ...args);
833
1109
  exports.stringbool = stringbool;
1110
+ // @__NO_SIDE_EFFECTS__
834
1111
  function json() {
835
1112
  const jsonSchema = _lazy(() => {
836
1113
  return union([string(), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
837
1114
  });
838
1115
  return jsonSchema;
839
1116
  }
1117
+ exports.ZodMiniFunction = core.$constructor("ZodMiniFunction", (inst, def) => {
1118
+ core.$ZodFunction.init(inst, def);
1119
+ exports.ZodMiniType.init(inst, def);
1120
+ });
1121
+ // @__NO_SIDE_EFFECTS__
1122
+ function _function(params) {
1123
+ return new exports.ZodMiniFunction({
1124
+ type: "function",
1125
+ input: Array.isArray(params?.input) ? tuple(params?.input) : (params?.input ?? array(unknown())),
1126
+ output: params?.output ?? unknown(),
1127
+ });
1128
+ }
1129
+
1130
+ // seal-cjs-exports
1131
+ (function () {
1132
+ var keys = Object.getOwnPropertyNames(exports);
1133
+ for (var i = 0; i < keys.length; i++) {
1134
+ var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
1135
+ if (!desc || !desc.get || !desc.configurable) continue;
1136
+ var value;
1137
+ try {
1138
+ value = desc.get();
1139
+ } catch (e) {
1140
+ continue;
1141
+ }
1142
+ // a circular require may not have settled this one yet, so leave it live
1143
+ if (value === undefined) continue;
1144
+ Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
1145
+ }
1146
+ Object.freeze(exports);
1147
+ })();