makecoder 1.0.25

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 (656) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +281 -0
  3. package/claude/commands/dev/ultra-think.md +153 -0
  4. package/claude/commands/docs/generate-api-documentation.md +80 -0
  5. package/claude/commands/git/commit.md +63 -0
  6. package/claude/commands/git/status.md +39 -0
  7. package/claude/commands/setup/migrate-to-typescript.md +76 -0
  8. package/claude/commands/test/generate-test-cases.md +76 -0
  9. package/dist/cc.mjs +4654 -0
  10. package/dist/coder.js +201 -0
  11. package/dist/codex +0 -0
  12. package/dist/codex.exe +0 -0
  13. package/dist/codex.mjs +162 -0
  14. package/dist/gcli.mjs +3162 -0
  15. package/dist/vendor/claude-code-jetbrains-plugin/lib/annotations-23.0.0.jar +0 -0
  16. package/dist/vendor/claude-code-jetbrains-plugin/lib/claude-code-jetbrains-plugin-0.1.12-beta-searchableOptions.jar +0 -0
  17. package/dist/vendor/claude-code-jetbrains-plugin/lib/claude-code-jetbrains-plugin-0.1.12-beta.jar +0 -0
  18. package/dist/vendor/claude-code-jetbrains-plugin/lib/config-1.4.3.jar +0 -0
  19. package/dist/vendor/claude-code-jetbrains-plugin/lib/jansi-2.4.1.jar +0 -0
  20. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlin-logging-jvm-7.0.0.jar +0 -0
  21. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlin-reflect-2.0.21.jar +0 -0
  22. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlin-sdk-jvm-0.4.0.jar +0 -0
  23. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlin-stdlib-2.1.20.jar +0 -0
  24. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-coroutines-core-jvm-1.9.0.jar +0 -0
  25. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-coroutines-slf4j-1.9.0.jar +0 -0
  26. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-io-bytestring-jvm-0.5.4.jar +0 -0
  27. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-io-core-jvm-0.5.4.jar +0 -0
  28. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-serialization-core-jvm-1.8.1.jar +0 -0
  29. package/dist/vendor/claude-code-jetbrains-plugin/lib/kotlinx-serialization-json-jvm-1.8.1.jar +0 -0
  30. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-client-cio-jvm-3.0.2.jar +0 -0
  31. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-client-core-jvm-3.0.2.jar +0 -0
  32. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-events-jvm-3.0.2.jar +0 -0
  33. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-http-cio-jvm-3.0.2.jar +0 -0
  34. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-http-jvm-3.0.2.jar +0 -0
  35. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-io-jvm-3.0.2.jar +0 -0
  36. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-network-jvm-3.0.2.jar +0 -0
  37. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-network-tls-jvm-3.0.2.jar +0 -0
  38. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-serialization-jvm-3.0.2.jar +0 -0
  39. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-server-cio-jvm-3.0.2.jar +0 -0
  40. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-server-core-jvm-3.0.2.jar +0 -0
  41. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-server-sse-jvm-3.0.2.jar +0 -0
  42. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-server-websockets-jvm-3.0.2.jar +0 -0
  43. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-sse-jvm-3.0.2.jar +0 -0
  44. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-utils-jvm-3.0.2.jar +0 -0
  45. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-websocket-serialization-jvm-3.0.2.jar +0 -0
  46. package/dist/vendor/claude-code-jetbrains-plugin/lib/ktor-websockets-jvm-3.0.2.jar +0 -0
  47. package/dist/vendor/claude-code-jetbrains-plugin/lib/slf4j-api-2.0.16.jar +0 -0
  48. package/dist/vendor/ripgrep/COPYING +3 -0
  49. package/dist/vendor/ripgrep/arm64-darwin/rg +0 -0
  50. package/dist/vendor/ripgrep/arm64-darwin/ripgrep.node +0 -0
  51. package/dist/vendor/ripgrep/arm64-linux/rg +0 -0
  52. package/dist/vendor/ripgrep/arm64-linux/ripgrep.node +0 -0
  53. package/dist/vendor/ripgrep/x64-darwin/rg +0 -0
  54. package/dist/vendor/ripgrep/x64-darwin/ripgrep.node +0 -0
  55. package/dist/vendor/ripgrep/x64-linux/rg +0 -0
  56. package/dist/vendor/ripgrep/x64-linux/ripgrep.node +0 -0
  57. package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
  58. package/dist/vendor/ripgrep/x64-win32/ripgrep.node +0 -0
  59. package/dist/zod/LICENSE +21 -0
  60. package/dist/zod/README.md +208 -0
  61. package/dist/zod/index.cjs +33 -0
  62. package/dist/zod/index.d.cts +4 -0
  63. package/dist/zod/index.d.ts +4 -0
  64. package/dist/zod/index.js +4 -0
  65. package/dist/zod/package.json +118 -0
  66. package/dist/zod/src/index.ts +4 -0
  67. package/dist/zod/src/v3/ZodError.ts +330 -0
  68. package/dist/zod/src/v3/benchmarks/datetime.ts +58 -0
  69. package/dist/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  70. package/dist/zod/src/v3/benchmarks/index.ts +59 -0
  71. package/dist/zod/src/v3/benchmarks/ipv4.ts +57 -0
  72. package/dist/zod/src/v3/benchmarks/object.ts +69 -0
  73. package/dist/zod/src/v3/benchmarks/primitives.ts +162 -0
  74. package/dist/zod/src/v3/benchmarks/realworld.ts +63 -0
  75. package/dist/zod/src/v3/benchmarks/string.ts +55 -0
  76. package/dist/zod/src/v3/benchmarks/union.ts +80 -0
  77. package/dist/zod/src/v3/errors.ts +13 -0
  78. package/dist/zod/src/v3/external.ts +6 -0
  79. package/dist/zod/src/v3/helpers/enumUtil.ts +17 -0
  80. package/dist/zod/src/v3/helpers/errorUtil.ts +8 -0
  81. package/dist/zod/src/v3/helpers/parseUtil.ts +176 -0
  82. package/dist/zod/src/v3/helpers/partialUtil.ts +34 -0
  83. package/dist/zod/src/v3/helpers/typeAliases.ts +2 -0
  84. package/dist/zod/src/v3/helpers/util.ts +224 -0
  85. package/dist/zod/src/v3/index.ts +4 -0
  86. package/dist/zod/src/v3/locales/en.ts +124 -0
  87. package/dist/zod/src/v3/standard-schema.ts +113 -0
  88. package/dist/zod/src/v3/tests/Mocker.ts +54 -0
  89. package/dist/zod/src/v3/tests/all-errors.test.ts +157 -0
  90. package/dist/zod/src/v3/tests/anyunknown.test.ts +28 -0
  91. package/dist/zod/src/v3/tests/array.test.ts +71 -0
  92. package/dist/zod/src/v3/tests/async-parsing.test.ts +388 -0
  93. package/dist/zod/src/v3/tests/async-refinements.test.ts +46 -0
  94. package/dist/zod/src/v3/tests/base.test.ts +29 -0
  95. package/dist/zod/src/v3/tests/bigint.test.ts +55 -0
  96. package/dist/zod/src/v3/tests/branded.test.ts +53 -0
  97. package/dist/zod/src/v3/tests/catch.test.ts +220 -0
  98. package/dist/zod/src/v3/tests/coerce.test.ts +133 -0
  99. package/dist/zod/src/v3/tests/complex.test.ts +56 -0
  100. package/dist/zod/src/v3/tests/custom.test.ts +31 -0
  101. package/dist/zod/src/v3/tests/date.test.ts +32 -0
  102. package/dist/zod/src/v3/tests/deepmasking.test.ts +186 -0
  103. package/dist/zod/src/v3/tests/default.test.ts +112 -0
  104. package/dist/zod/src/v3/tests/description.test.ts +33 -0
  105. package/dist/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  106. package/dist/zod/src/v3/tests/enum.test.ts +80 -0
  107. package/dist/zod/src/v3/tests/error.test.ts +551 -0
  108. package/dist/zod/src/v3/tests/firstparty.test.ts +87 -0
  109. package/dist/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  110. package/dist/zod/src/v3/tests/function.test.ts +257 -0
  111. package/dist/zod/src/v3/tests/generics.test.ts +48 -0
  112. package/dist/zod/src/v3/tests/instanceof.test.ts +37 -0
  113. package/dist/zod/src/v3/tests/intersection.test.ts +110 -0
  114. package/dist/zod/src/v3/tests/language-server.source.ts +76 -0
  115. package/dist/zod/src/v3/tests/language-server.test.ts +207 -0
  116. package/dist/zod/src/v3/tests/literal.test.ts +36 -0
  117. package/dist/zod/src/v3/tests/map.test.ts +110 -0
  118. package/dist/zod/src/v3/tests/masking.test.ts +4 -0
  119. package/dist/zod/src/v3/tests/mocker.test.ts +19 -0
  120. package/dist/zod/src/v3/tests/nan.test.ts +21 -0
  121. package/dist/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  122. package/dist/zod/src/v3/tests/nullable.test.ts +42 -0
  123. package/dist/zod/src/v3/tests/number.test.ts +176 -0
  124. package/dist/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  125. package/dist/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  126. package/dist/zod/src/v3/tests/object.test.ts +434 -0
  127. package/dist/zod/src/v3/tests/optional.test.ts +42 -0
  128. package/dist/zod/src/v3/tests/parseUtil.test.ts +23 -0
  129. package/dist/zod/src/v3/tests/parser.test.ts +41 -0
  130. package/dist/zod/src/v3/tests/partials.test.ts +243 -0
  131. package/dist/zod/src/v3/tests/pickomit.test.ts +111 -0
  132. package/dist/zod/src/v3/tests/pipeline.test.ts +29 -0
  133. package/dist/zod/src/v3/tests/preprocess.test.ts +186 -0
  134. package/dist/zod/src/v3/tests/primitive.test.ts +440 -0
  135. package/dist/zod/src/v3/tests/promise.test.ts +90 -0
  136. package/dist/zod/src/v3/tests/readonly.test.ts +194 -0
  137. package/dist/zod/src/v3/tests/record.test.ts +171 -0
  138. package/dist/zod/src/v3/tests/recursive.test.ts +197 -0
  139. package/dist/zod/src/v3/tests/refine.test.ts +313 -0
  140. package/dist/zod/src/v3/tests/safeparse.test.ts +27 -0
  141. package/dist/zod/src/v3/tests/set.test.ts +142 -0
  142. package/dist/zod/src/v3/tests/standard-schema.test.ts +83 -0
  143. package/dist/zod/src/v3/tests/string.test.ts +916 -0
  144. package/dist/zod/src/v3/tests/transformer.test.ts +233 -0
  145. package/dist/zod/src/v3/tests/tuple.test.ts +90 -0
  146. package/dist/zod/src/v3/tests/unions.test.ts +57 -0
  147. package/dist/zod/src/v3/tests/validations.test.ts +133 -0
  148. package/dist/zod/src/v3/tests/void.test.ts +15 -0
  149. package/dist/zod/src/v3/types.ts +5136 -0
  150. package/dist/zod/src/v4/classic/checks.ts +30 -0
  151. package/dist/zod/src/v4/classic/coerce.ts +27 -0
  152. package/dist/zod/src/v4/classic/compat.ts +66 -0
  153. package/dist/zod/src/v4/classic/errors.ts +75 -0
  154. package/dist/zod/src/v4/classic/external.ts +50 -0
  155. package/dist/zod/src/v4/classic/index.ts +5 -0
  156. package/dist/zod/src/v4/classic/iso.ts +90 -0
  157. package/dist/zod/src/v4/classic/parse.ts +33 -0
  158. package/dist/zod/src/v4/classic/schemas.ts +2054 -0
  159. package/dist/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  160. package/dist/zod/src/v4/classic/tests/array.test.ts +264 -0
  161. package/dist/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  162. package/dist/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  163. package/dist/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  164. package/dist/zod/src/v4/classic/tests/base.test.ts +7 -0
  165. package/dist/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  166. package/dist/zod/src/v4/classic/tests/brand.test.ts +63 -0
  167. package/dist/zod/src/v4/classic/tests/catch.test.ts +252 -0
  168. package/dist/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  169. package/dist/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  170. package/dist/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  171. package/dist/zod/src/v4/classic/tests/custom.test.ts +40 -0
  172. package/dist/zod/src/v4/classic/tests/date.test.ts +31 -0
  173. package/dist/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  174. package/dist/zod/src/v4/classic/tests/default.test.ts +313 -0
  175. package/dist/zod/src/v4/classic/tests/description.test.ts +32 -0
  176. package/dist/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  177. package/dist/zod/src/v4/classic/tests/enum.test.ts +285 -0
  178. package/dist/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  179. package/dist/zod/src/v4/classic/tests/error.test.ts +711 -0
  180. package/dist/zod/src/v4/classic/tests/file.test.ts +91 -0
  181. package/dist/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  182. package/dist/zod/src/v4/classic/tests/function.test.ts +268 -0
  183. package/dist/zod/src/v4/classic/tests/generics.test.ts +72 -0
  184. package/dist/zod/src/v4/classic/tests/index.test.ts +829 -0
  185. package/dist/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  186. package/dist/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  187. package/dist/zod/src/v4/classic/tests/json.test.ts +108 -0
  188. package/dist/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  189. package/dist/zod/src/v4/classic/tests/literal.test.ts +92 -0
  190. package/dist/zod/src/v4/classic/tests/map.test.ts +196 -0
  191. package/dist/zod/src/v4/classic/tests/nan.test.ts +21 -0
  192. package/dist/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  193. package/dist/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  194. package/dist/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  195. package/dist/zod/src/v4/classic/tests/number.test.ts +247 -0
  196. package/dist/zod/src/v4/classic/tests/object.test.ts +563 -0
  197. package/dist/zod/src/v4/classic/tests/optional.test.ts +123 -0
  198. package/dist/zod/src/v4/classic/tests/partial.test.ts +147 -0
  199. package/dist/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  200. package/dist/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  201. package/dist/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  202. package/dist/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  203. package/dist/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  204. package/dist/zod/src/v4/classic/tests/promise.test.ts +81 -0
  205. package/dist/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  206. package/dist/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  207. package/dist/zod/src/v4/classic/tests/record.test.ts +342 -0
  208. package/dist/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  209. package/dist/zod/src/v4/classic/tests/refine.test.ts +532 -0
  210. package/dist/zod/src/v4/classic/tests/registries.test.ts +204 -0
  211. package/dist/zod/src/v4/classic/tests/set.test.ts +179 -0
  212. package/dist/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  213. package/dist/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  214. package/dist/zod/src/v4/classic/tests/string.test.ts +881 -0
  215. package/dist/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  216. package/dist/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  217. package/dist/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  218. package/dist/zod/src/v4/classic/tests/transform.test.ts +250 -0
  219. package/dist/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  220. package/dist/zod/src/v4/classic/tests/union.test.ts +94 -0
  221. package/dist/zod/src/v4/classic/tests/validations.test.ts +283 -0
  222. package/dist/zod/src/v4/classic/tests/void.test.ts +12 -0
  223. package/dist/zod/src/v4/core/api.ts +1594 -0
  224. package/dist/zod/src/v4/core/checks.ts +1283 -0
  225. package/dist/zod/src/v4/core/config.ts +15 -0
  226. package/dist/zod/src/v4/core/core.ts +134 -0
  227. package/dist/zod/src/v4/core/doc.ts +44 -0
  228. package/dist/zod/src/v4/core/errors.ts +424 -0
  229. package/dist/zod/src/v4/core/function.ts +176 -0
  230. package/dist/zod/src/v4/core/index.ts +15 -0
  231. package/dist/zod/src/v4/core/json-schema.ts +143 -0
  232. package/dist/zod/src/v4/core/parse.ts +94 -0
  233. package/dist/zod/src/v4/core/regexes.ts +135 -0
  234. package/dist/zod/src/v4/core/registries.ts +96 -0
  235. package/dist/zod/src/v4/core/schemas.ts +3842 -0
  236. package/dist/zod/src/v4/core/standard-schema.ts +64 -0
  237. package/dist/zod/src/v4/core/tests/index.test.ts +46 -0
  238. package/dist/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  239. package/dist/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  240. package/dist/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  241. package/dist/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  242. package/dist/zod/src/v4/core/to-json-schema.ts +977 -0
  243. package/dist/zod/src/v4/core/util.ts +775 -0
  244. package/dist/zod/src/v4/core/versions.ts +5 -0
  245. package/dist/zod/src/v4/core/zsf.ts +323 -0
  246. package/dist/zod/src/v4/index.ts +4 -0
  247. package/dist/zod/src/v4/locales/ar.ts +125 -0
  248. package/dist/zod/src/v4/locales/az.ts +121 -0
  249. package/dist/zod/src/v4/locales/be.ts +184 -0
  250. package/dist/zod/src/v4/locales/ca.ts +127 -0
  251. package/dist/zod/src/v4/locales/cs.ts +142 -0
  252. package/dist/zod/src/v4/locales/de.ts +124 -0
  253. package/dist/zod/src/v4/locales/en.ts +127 -0
  254. package/dist/zod/src/v4/locales/eo.ts +125 -0
  255. package/dist/zod/src/v4/locales/es.ts +125 -0
  256. package/dist/zod/src/v4/locales/fa.ts +134 -0
  257. package/dist/zod/src/v4/locales/fi.ts +131 -0
  258. package/dist/zod/src/v4/locales/fr-CA.ts +126 -0
  259. package/dist/zod/src/v4/locales/fr.ts +124 -0
  260. package/dist/zod/src/v4/locales/he.ts +125 -0
  261. package/dist/zod/src/v4/locales/hu.ts +126 -0
  262. package/dist/zod/src/v4/locales/id.ts +125 -0
  263. package/dist/zod/src/v4/locales/index.ts +39 -0
  264. package/dist/zod/src/v4/locales/it.ts +125 -0
  265. package/dist/zod/src/v4/locales/ja.ts +122 -0
  266. package/dist/zod/src/v4/locales/kh.ts +126 -0
  267. package/dist/zod/src/v4/locales/ko.ts +131 -0
  268. package/dist/zod/src/v4/locales/mk.ts +127 -0
  269. package/dist/zod/src/v4/locales/ms.ts +124 -0
  270. package/dist/zod/src/v4/locales/nl.ts +126 -0
  271. package/dist/zod/src/v4/locales/no.ts +124 -0
  272. package/dist/zod/src/v4/locales/ota.ts +125 -0
  273. package/dist/zod/src/v4/locales/pl.ts +126 -0
  274. package/dist/zod/src/v4/locales/ps.ts +133 -0
  275. package/dist/zod/src/v4/locales/pt.ts +123 -0
  276. package/dist/zod/src/v4/locales/ru.ts +184 -0
  277. package/dist/zod/src/v4/locales/sl.ts +126 -0
  278. package/dist/zod/src/v4/locales/sv.ts +127 -0
  279. package/dist/zod/src/v4/locales/ta.ts +125 -0
  280. package/dist/zod/src/v4/locales/th.ts +126 -0
  281. package/dist/zod/src/v4/locales/tr.ts +121 -0
  282. package/dist/zod/src/v4/locales/ua.ts +126 -0
  283. package/dist/zod/src/v4/locales/ur.ts +126 -0
  284. package/dist/zod/src/v4/locales/vi.ts +125 -0
  285. package/dist/zod/src/v4/locales/zh-CN.ts +123 -0
  286. package/dist/zod/src/v4/locales/zh-TW.ts +125 -0
  287. package/dist/zod/src/v4/mini/checks.ts +32 -0
  288. package/dist/zod/src/v4/mini/coerce.ts +22 -0
  289. package/dist/zod/src/v4/mini/external.ts +40 -0
  290. package/dist/zod/src/v4/mini/index.ts +3 -0
  291. package/dist/zod/src/v4/mini/iso.ts +62 -0
  292. package/dist/zod/src/v4/mini/parse.ts +1 -0
  293. package/dist/zod/src/v4/mini/schemas.ts +1579 -0
  294. package/dist/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  295. package/dist/zod/src/v4/mini/tests/brand.test.ts +51 -0
  296. package/dist/zod/src/v4/mini/tests/checks.test.ts +144 -0
  297. package/dist/zod/src/v4/mini/tests/computed.test.ts +36 -0
  298. package/dist/zod/src/v4/mini/tests/error.test.ts +22 -0
  299. package/dist/zod/src/v4/mini/tests/functions.test.ts +43 -0
  300. package/dist/zod/src/v4/mini/tests/index.test.ts +871 -0
  301. package/dist/zod/src/v4/mini/tests/number.test.ts +95 -0
  302. package/dist/zod/src/v4/mini/tests/object.test.ts +185 -0
  303. package/dist/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  304. package/dist/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  305. package/dist/zod/src/v4/mini/tests/string.test.ts +299 -0
  306. package/dist/zod/src/v4-mini/index.ts +1 -0
  307. package/dist/zod/v3/ZodError.cjs +138 -0
  308. package/dist/zod/v3/ZodError.d.cts +164 -0
  309. package/dist/zod/v3/ZodError.d.ts +164 -0
  310. package/dist/zod/v3/ZodError.js +133 -0
  311. package/dist/zod/v3/errors.cjs +17 -0
  312. package/dist/zod/v3/errors.d.cts +5 -0
  313. package/dist/zod/v3/errors.d.ts +5 -0
  314. package/dist/zod/v3/errors.js +9 -0
  315. package/dist/zod/v3/external.cjs +22 -0
  316. package/dist/zod/v3/external.d.cts +6 -0
  317. package/dist/zod/v3/external.d.ts +6 -0
  318. package/dist/zod/v3/external.js +6 -0
  319. package/dist/zod/v3/helpers/enumUtil.cjs +2 -0
  320. package/dist/zod/v3/helpers/enumUtil.d.cts +8 -0
  321. package/dist/zod/v3/helpers/enumUtil.d.ts +8 -0
  322. package/dist/zod/v3/helpers/enumUtil.js +1 -0
  323. package/dist/zod/v3/helpers/errorUtil.cjs +9 -0
  324. package/dist/zod/v3/helpers/errorUtil.d.cts +9 -0
  325. package/dist/zod/v3/helpers/errorUtil.d.ts +9 -0
  326. package/dist/zod/v3/helpers/errorUtil.js +6 -0
  327. package/dist/zod/v3/helpers/parseUtil.cjs +124 -0
  328. package/dist/zod/v3/helpers/parseUtil.d.cts +78 -0
  329. package/dist/zod/v3/helpers/parseUtil.d.ts +78 -0
  330. package/dist/zod/v3/helpers/parseUtil.js +109 -0
  331. package/dist/zod/v3/helpers/partialUtil.cjs +2 -0
  332. package/dist/zod/v3/helpers/partialUtil.d.cts +8 -0
  333. package/dist/zod/v3/helpers/partialUtil.d.ts +8 -0
  334. package/dist/zod/v3/helpers/partialUtil.js +1 -0
  335. package/dist/zod/v3/helpers/typeAliases.cjs +2 -0
  336. package/dist/zod/v3/helpers/typeAliases.d.cts +2 -0
  337. package/dist/zod/v3/helpers/typeAliases.d.ts +2 -0
  338. package/dist/zod/v3/helpers/typeAliases.js +1 -0
  339. package/dist/zod/v3/helpers/util.cjs +137 -0
  340. package/dist/zod/v3/helpers/util.d.cts +85 -0
  341. package/dist/zod/v3/helpers/util.d.ts +85 -0
  342. package/dist/zod/v3/helpers/util.js +133 -0
  343. package/dist/zod/v3/index.cjs +33 -0
  344. package/dist/zod/v3/index.d.cts +4 -0
  345. package/dist/zod/v3/index.d.ts +4 -0
  346. package/dist/zod/v3/index.js +4 -0
  347. package/dist/zod/v3/locales/en.cjs +111 -0
  348. package/dist/zod/v3/locales/en.d.cts +3 -0
  349. package/dist/zod/v3/locales/en.d.ts +3 -0
  350. package/dist/zod/v3/locales/en.js +109 -0
  351. package/dist/zod/v3/standard-schema.cjs +2 -0
  352. package/dist/zod/v3/standard-schema.d.cts +102 -0
  353. package/dist/zod/v3/standard-schema.d.ts +102 -0
  354. package/dist/zod/v3/standard-schema.js +1 -0
  355. package/dist/zod/v3/types.cjs +3775 -0
  356. package/dist/zod/v3/types.d.cts +1031 -0
  357. package/dist/zod/v3/types.d.ts +1031 -0
  358. package/dist/zod/v3/types.js +3693 -0
  359. package/dist/zod/v4/classic/checks.cjs +32 -0
  360. package/dist/zod/v4/classic/checks.d.cts +1 -0
  361. package/dist/zod/v4/classic/checks.d.ts +1 -0
  362. package/dist/zod/v4/classic/checks.js +1 -0
  363. package/dist/zod/v4/classic/coerce.cjs +47 -0
  364. package/dist/zod/v4/classic/coerce.d.cts +17 -0
  365. package/dist/zod/v4/classic/coerce.d.ts +17 -0
  366. package/dist/zod/v4/classic/coerce.js +17 -0
  367. package/dist/zod/v4/classic/compat.cjs +57 -0
  368. package/dist/zod/v4/classic/compat.d.cts +46 -0
  369. package/dist/zod/v4/classic/compat.d.ts +46 -0
  370. package/dist/zod/v4/classic/compat.js +27 -0
  371. package/dist/zod/v4/classic/errors.cjs +67 -0
  372. package/dist/zod/v4/classic/errors.d.cts +30 -0
  373. package/dist/zod/v4/classic/errors.d.ts +30 -0
  374. package/dist/zod/v4/classic/errors.js +41 -0
  375. package/dist/zod/v4/classic/external.cjs +70 -0
  376. package/dist/zod/v4/classic/external.d.cts +13 -0
  377. package/dist/zod/v4/classic/external.d.ts +13 -0
  378. package/dist/zod/v4/classic/external.js +18 -0
  379. package/dist/zod/v4/classic/index.cjs +33 -0
  380. package/dist/zod/v4/classic/index.d.cts +4 -0
  381. package/dist/zod/v4/classic/index.d.ts +4 -0
  382. package/dist/zod/v4/classic/index.js +4 -0
  383. package/dist/zod/v4/classic/iso.cjs +60 -0
  384. package/dist/zod/v4/classic/iso.d.cts +22 -0
  385. package/dist/zod/v4/classic/iso.d.ts +22 -0
  386. package/dist/zod/v4/classic/iso.js +30 -0
  387. package/dist/zod/v4/classic/parse.cjs +32 -0
  388. package/dist/zod/v4/classic/parse.d.cts +23 -0
  389. package/dist/zod/v4/classic/parse.d.ts +23 -0
  390. package/dist/zod/v4/classic/parse.js +6 -0
  391. package/dist/zod/v4/classic/schemas.cjs +1109 -0
  392. package/dist/zod/v4/classic/schemas.d.cts +630 -0
  393. package/dist/zod/v4/classic/schemas.d.ts +630 -0
  394. package/dist/zod/v4/classic/schemas.js +1006 -0
  395. package/dist/zod/v4/core/api.cjs +1039 -0
  396. package/dist/zod/v4/core/api.d.cts +284 -0
  397. package/dist/zod/v4/core/api.d.ts +284 -0
  398. package/dist/zod/v4/core/api.js +906 -0
  399. package/dist/zod/v4/core/checks.cjs +591 -0
  400. package/dist/zod/v4/core/checks.d.cts +278 -0
  401. package/dist/zod/v4/core/checks.d.ts +278 -0
  402. package/dist/zod/v4/core/checks.js +565 -0
  403. package/dist/zod/v4/core/core.cjs +67 -0
  404. package/dist/zod/v4/core/core.d.cts +49 -0
  405. package/dist/zod/v4/core/core.d.ts +49 -0
  406. package/dist/zod/v4/core/core.js +61 -0
  407. package/dist/zod/v4/core/doc.cjs +39 -0
  408. package/dist/zod/v4/core/doc.d.cts +14 -0
  409. package/dist/zod/v4/core/doc.d.ts +14 -0
  410. package/dist/zod/v4/core/doc.js +35 -0
  411. package/dist/zod/v4/core/errors.cjs +226 -0
  412. package/dist/zod/v4/core/errors.d.cts +208 -0
  413. package/dist/zod/v4/core/errors.d.ts +208 -0
  414. package/dist/zod/v4/core/errors.js +195 -0
  415. package/dist/zod/v4/core/function.cjs +102 -0
  416. package/dist/zod/v4/core/function.d.cts +52 -0
  417. package/dist/zod/v4/core/function.d.ts +52 -0
  418. package/dist/zod/v4/core/function.js +75 -0
  419. package/dist/zod/v4/core/index.cjs +44 -0
  420. package/dist/zod/v4/core/index.d.cts +15 -0
  421. package/dist/zod/v4/core/index.d.ts +15 -0
  422. package/dist/zod/v4/core/index.js +15 -0
  423. package/dist/zod/v4/core/json-schema.cjs +2 -0
  424. package/dist/zod/v4/core/json-schema.d.cts +87 -0
  425. package/dist/zod/v4/core/json-schema.d.ts +87 -0
  426. package/dist/zod/v4/core/json-schema.js +1 -0
  427. package/dist/zod/v4/core/parse.cjs +87 -0
  428. package/dist/zod/v4/core/parse.d.cts +25 -0
  429. package/dist/zod/v4/core/parse.d.ts +25 -0
  430. package/dist/zod/v4/core/parse.js +57 -0
  431. package/dist/zod/v4/core/regexes.cjs +103 -0
  432. package/dist/zod/v4/core/regexes.d.cts +62 -0
  433. package/dist/zod/v4/core/regexes.d.ts +62 -0
  434. package/dist/zod/v4/core/regexes.js +95 -0
  435. package/dist/zod/v4/core/registries.cjs +56 -0
  436. package/dist/zod/v4/core/registries.d.cts +35 -0
  437. package/dist/zod/v4/core/registries.d.ts +35 -0
  438. package/dist/zod/v4/core/registries.js +51 -0
  439. package/dist/zod/v4/core/schemas.cjs +1748 -0
  440. package/dist/zod/v4/core/schemas.d.cts +1041 -0
  441. package/dist/zod/v4/core/schemas.d.ts +1041 -0
  442. package/dist/zod/v4/core/schemas.js +1717 -0
  443. package/dist/zod/v4/core/standard-schema.cjs +2 -0
  444. package/dist/zod/v4/core/standard-schema.d.cts +55 -0
  445. package/dist/zod/v4/core/standard-schema.d.ts +55 -0
  446. package/dist/zod/v4/core/standard-schema.js +1 -0
  447. package/dist/zod/v4/core/to-json-schema.cjs +854 -0
  448. package/dist/zod/v4/core/to-json-schema.d.cts +88 -0
  449. package/dist/zod/v4/core/to-json-schema.d.ts +88 -0
  450. package/dist/zod/v4/core/to-json-schema.js +849 -0
  451. package/dist/zod/v4/core/util.cjs +539 -0
  452. package/dist/zod/v4/core/util.d.cts +183 -0
  453. package/dist/zod/v4/core/util.d.ts +183 -0
  454. package/dist/zod/v4/core/util.js +493 -0
  455. package/dist/zod/v4/core/versions.cjs +8 -0
  456. package/dist/zod/v4/core/versions.d.cts +5 -0
  457. package/dist/zod/v4/core/versions.d.ts +5 -0
  458. package/dist/zod/v4/core/versions.js +5 -0
  459. package/dist/zod/v4/index.cjs +22 -0
  460. package/dist/zod/v4/index.d.cts +3 -0
  461. package/dist/zod/v4/index.d.ts +3 -0
  462. package/dist/zod/v4/index.js +3 -0
  463. package/dist/zod/v4/locales/ar.cjs +142 -0
  464. package/dist/zod/v4/locales/ar.d.cts +4 -0
  465. package/dist/zod/v4/locales/ar.d.ts +4 -0
  466. package/dist/zod/v4/locales/ar.js +116 -0
  467. package/dist/zod/v4/locales/az.cjs +141 -0
  468. package/dist/zod/v4/locales/az.d.cts +4 -0
  469. package/dist/zod/v4/locales/az.d.ts +4 -0
  470. package/dist/zod/v4/locales/az.js +115 -0
  471. package/dist/zod/v4/locales/be.cjs +190 -0
  472. package/dist/zod/v4/locales/be.d.cts +4 -0
  473. package/dist/zod/v4/locales/be.d.ts +4 -0
  474. package/dist/zod/v4/locales/be.js +164 -0
  475. package/dist/zod/v4/locales/ca.cjs +144 -0
  476. package/dist/zod/v4/locales/ca.d.cts +4 -0
  477. package/dist/zod/v4/locales/ca.d.ts +4 -0
  478. package/dist/zod/v4/locales/ca.js +118 -0
  479. package/dist/zod/v4/locales/cs.cjs +161 -0
  480. package/dist/zod/v4/locales/cs.d.cts +4 -0
  481. package/dist/zod/v4/locales/cs.d.ts +4 -0
  482. package/dist/zod/v4/locales/cs.js +135 -0
  483. package/dist/zod/v4/locales/de.cjs +142 -0
  484. package/dist/zod/v4/locales/de.d.cts +4 -0
  485. package/dist/zod/v4/locales/de.d.ts +4 -0
  486. package/dist/zod/v4/locales/de.js +116 -0
  487. package/dist/zod/v4/locales/en.cjs +145 -0
  488. package/dist/zod/v4/locales/en.d.cts +5 -0
  489. package/dist/zod/v4/locales/en.d.ts +5 -0
  490. package/dist/zod/v4/locales/en.js +117 -0
  491. package/dist/zod/v4/locales/eo.cjs +144 -0
  492. package/dist/zod/v4/locales/eo.d.cts +5 -0
  493. package/dist/zod/v4/locales/eo.d.ts +5 -0
  494. package/dist/zod/v4/locales/eo.js +116 -0
  495. package/dist/zod/v4/locales/es.cjs +143 -0
  496. package/dist/zod/v4/locales/es.d.cts +4 -0
  497. package/dist/zod/v4/locales/es.d.ts +4 -0
  498. package/dist/zod/v4/locales/es.js +117 -0
  499. package/dist/zod/v4/locales/fa.cjs +148 -0
  500. package/dist/zod/v4/locales/fa.d.cts +4 -0
  501. package/dist/zod/v4/locales/fa.d.ts +4 -0
  502. package/dist/zod/v4/locales/fa.js +122 -0
  503. package/dist/zod/v4/locales/fi.cjs +148 -0
  504. package/dist/zod/v4/locales/fi.d.cts +4 -0
  505. package/dist/zod/v4/locales/fi.d.ts +4 -0
  506. package/dist/zod/v4/locales/fi.js +122 -0
  507. package/dist/zod/v4/locales/fr-CA.cjs +143 -0
  508. package/dist/zod/v4/locales/fr-CA.d.cts +4 -0
  509. package/dist/zod/v4/locales/fr-CA.d.ts +4 -0
  510. package/dist/zod/v4/locales/fr-CA.js +117 -0
  511. package/dist/zod/v4/locales/fr.cjs +142 -0
  512. package/dist/zod/v4/locales/fr.d.cts +4 -0
  513. package/dist/zod/v4/locales/fr.d.ts +4 -0
  514. package/dist/zod/v4/locales/fr.js +116 -0
  515. package/dist/zod/v4/locales/he.cjs +143 -0
  516. package/dist/zod/v4/locales/he.d.cts +4 -0
  517. package/dist/zod/v4/locales/he.d.ts +4 -0
  518. package/dist/zod/v4/locales/he.js +117 -0
  519. package/dist/zod/v4/locales/hu.cjs +143 -0
  520. package/dist/zod/v4/locales/hu.d.cts +4 -0
  521. package/dist/zod/v4/locales/hu.d.ts +4 -0
  522. package/dist/zod/v4/locales/hu.js +117 -0
  523. package/dist/zod/v4/locales/id.cjs +142 -0
  524. package/dist/zod/v4/locales/id.d.cts +4 -0
  525. package/dist/zod/v4/locales/id.d.ts +4 -0
  526. package/dist/zod/v4/locales/id.js +116 -0
  527. package/dist/zod/v4/locales/index.cjs +84 -0
  528. package/dist/zod/v4/locales/index.d.cts +39 -0
  529. package/dist/zod/v4/locales/index.d.ts +39 -0
  530. package/dist/zod/v4/locales/index.js +39 -0
  531. package/dist/zod/v4/locales/it.cjs +143 -0
  532. package/dist/zod/v4/locales/it.d.cts +4 -0
  533. package/dist/zod/v4/locales/it.d.ts +4 -0
  534. package/dist/zod/v4/locales/it.js +117 -0
  535. package/dist/zod/v4/locales/ja.cjs +141 -0
  536. package/dist/zod/v4/locales/ja.d.cts +4 -0
  537. package/dist/zod/v4/locales/ja.d.ts +4 -0
  538. package/dist/zod/v4/locales/ja.js +115 -0
  539. package/dist/zod/v4/locales/kh.cjs +143 -0
  540. package/dist/zod/v4/locales/kh.d.cts +4 -0
  541. package/dist/zod/v4/locales/kh.d.ts +4 -0
  542. package/dist/zod/v4/locales/kh.js +117 -0
  543. package/dist/zod/v4/locales/ko.cjs +147 -0
  544. package/dist/zod/v4/locales/ko.d.cts +4 -0
  545. package/dist/zod/v4/locales/ko.d.ts +4 -0
  546. package/dist/zod/v4/locales/ko.js +121 -0
  547. package/dist/zod/v4/locales/mk.cjs +144 -0
  548. package/dist/zod/v4/locales/mk.d.cts +4 -0
  549. package/dist/zod/v4/locales/mk.d.ts +4 -0
  550. package/dist/zod/v4/locales/mk.js +118 -0
  551. package/dist/zod/v4/locales/ms.cjs +142 -0
  552. package/dist/zod/v4/locales/ms.d.cts +4 -0
  553. package/dist/zod/v4/locales/ms.d.ts +4 -0
  554. package/dist/zod/v4/locales/ms.js +116 -0
  555. package/dist/zod/v4/locales/nl.cjs +143 -0
  556. package/dist/zod/v4/locales/nl.d.cts +4 -0
  557. package/dist/zod/v4/locales/nl.d.ts +4 -0
  558. package/dist/zod/v4/locales/nl.js +117 -0
  559. package/dist/zod/v4/locales/no.cjs +142 -0
  560. package/dist/zod/v4/locales/no.d.cts +4 -0
  561. package/dist/zod/v4/locales/no.d.ts +4 -0
  562. package/dist/zod/v4/locales/no.js +116 -0
  563. package/dist/zod/v4/locales/ota.cjs +143 -0
  564. package/dist/zod/v4/locales/ota.d.cts +4 -0
  565. package/dist/zod/v4/locales/ota.d.ts +4 -0
  566. package/dist/zod/v4/locales/ota.js +117 -0
  567. package/dist/zod/v4/locales/pl.cjs +143 -0
  568. package/dist/zod/v4/locales/pl.d.cts +4 -0
  569. package/dist/zod/v4/locales/pl.d.ts +4 -0
  570. package/dist/zod/v4/locales/pl.js +117 -0
  571. package/dist/zod/v4/locales/ps.cjs +148 -0
  572. package/dist/zod/v4/locales/ps.d.cts +4 -0
  573. package/dist/zod/v4/locales/ps.d.ts +4 -0
  574. package/dist/zod/v4/locales/ps.js +122 -0
  575. package/dist/zod/v4/locales/pt.cjs +142 -0
  576. package/dist/zod/v4/locales/pt.d.cts +4 -0
  577. package/dist/zod/v4/locales/pt.d.ts +4 -0
  578. package/dist/zod/v4/locales/pt.js +116 -0
  579. package/dist/zod/v4/locales/ru.cjs +190 -0
  580. package/dist/zod/v4/locales/ru.d.cts +4 -0
  581. package/dist/zod/v4/locales/ru.d.ts +4 -0
  582. package/dist/zod/v4/locales/ru.js +164 -0
  583. package/dist/zod/v4/locales/sl.cjs +143 -0
  584. package/dist/zod/v4/locales/sl.d.cts +4 -0
  585. package/dist/zod/v4/locales/sl.d.ts +4 -0
  586. package/dist/zod/v4/locales/sl.js +117 -0
  587. package/dist/zod/v4/locales/sv.cjs +144 -0
  588. package/dist/zod/v4/locales/sv.d.cts +4 -0
  589. package/dist/zod/v4/locales/sv.d.ts +4 -0
  590. package/dist/zod/v4/locales/sv.js +118 -0
  591. package/dist/zod/v4/locales/ta.cjs +143 -0
  592. package/dist/zod/v4/locales/ta.d.cts +4 -0
  593. package/dist/zod/v4/locales/ta.d.ts +4 -0
  594. package/dist/zod/v4/locales/ta.js +117 -0
  595. package/dist/zod/v4/locales/th.cjs +143 -0
  596. package/dist/zod/v4/locales/th.d.cts +4 -0
  597. package/dist/zod/v4/locales/th.d.ts +4 -0
  598. package/dist/zod/v4/locales/th.js +117 -0
  599. package/dist/zod/v4/locales/tr.cjs +143 -0
  600. package/dist/zod/v4/locales/tr.d.cts +5 -0
  601. package/dist/zod/v4/locales/tr.d.ts +5 -0
  602. package/dist/zod/v4/locales/tr.js +115 -0
  603. package/dist/zod/v4/locales/ua.cjs +143 -0
  604. package/dist/zod/v4/locales/ua.d.cts +4 -0
  605. package/dist/zod/v4/locales/ua.d.ts +4 -0
  606. package/dist/zod/v4/locales/ua.js +117 -0
  607. package/dist/zod/v4/locales/ur.cjs +143 -0
  608. package/dist/zod/v4/locales/ur.d.cts +4 -0
  609. package/dist/zod/v4/locales/ur.d.ts +4 -0
  610. package/dist/zod/v4/locales/ur.js +117 -0
  611. package/dist/zod/v4/locales/vi.cjs +142 -0
  612. package/dist/zod/v4/locales/vi.d.cts +4 -0
  613. package/dist/zod/v4/locales/vi.d.ts +4 -0
  614. package/dist/zod/v4/locales/vi.js +116 -0
  615. package/dist/zod/v4/locales/zh-CN.cjs +142 -0
  616. package/dist/zod/v4/locales/zh-CN.d.cts +4 -0
  617. package/dist/zod/v4/locales/zh-CN.d.ts +4 -0
  618. package/dist/zod/v4/locales/zh-CN.js +116 -0
  619. package/dist/zod/v4/locales/zh-TW.cjs +143 -0
  620. package/dist/zod/v4/locales/zh-TW.d.cts +4 -0
  621. package/dist/zod/v4/locales/zh-TW.d.ts +4 -0
  622. package/dist/zod/v4/locales/zh-TW.js +117 -0
  623. package/dist/zod/v4/mini/checks.cjs +34 -0
  624. package/dist/zod/v4/mini/checks.d.cts +1 -0
  625. package/dist/zod/v4/mini/checks.d.ts +1 -0
  626. package/dist/zod/v4/mini/checks.js +1 -0
  627. package/dist/zod/v4/mini/coerce.cjs +47 -0
  628. package/dist/zod/v4/mini/coerce.d.cts +7 -0
  629. package/dist/zod/v4/mini/coerce.d.ts +7 -0
  630. package/dist/zod/v4/mini/coerce.js +17 -0
  631. package/dist/zod/v4/mini/external.cjs +62 -0
  632. package/dist/zod/v4/mini/external.d.cts +11 -0
  633. package/dist/zod/v4/mini/external.d.ts +11 -0
  634. package/dist/zod/v4/mini/external.js +13 -0
  635. package/dist/zod/v4/mini/index.cjs +32 -0
  636. package/dist/zod/v4/mini/index.d.cts +3 -0
  637. package/dist/zod/v4/mini/index.d.ts +3 -0
  638. package/dist/zod/v4/mini/index.js +3 -0
  639. package/dist/zod/v4/mini/iso.cjs +60 -0
  640. package/dist/zod/v4/mini/iso.d.cts +22 -0
  641. package/dist/zod/v4/mini/iso.d.ts +22 -0
  642. package/dist/zod/v4/mini/iso.js +30 -0
  643. package/dist/zod/v4/mini/parse.cjs +8 -0
  644. package/dist/zod/v4/mini/parse.d.cts +1 -0
  645. package/dist/zod/v4/mini/parse.d.ts +1 -0
  646. package/dist/zod/v4/mini/parse.js +1 -0
  647. package/dist/zod/v4/mini/schemas.cjs +839 -0
  648. package/dist/zod/v4/mini/schemas.d.cts +356 -0
  649. package/dist/zod/v4/mini/schemas.d.ts +356 -0
  650. package/dist/zod/v4/mini/schemas.js +732 -0
  651. package/dist/zod/v4-mini/index.cjs +17 -0
  652. package/dist/zod/v4-mini/index.d.cts +1 -0
  653. package/dist/zod/v4-mini/index.d.ts +1 -0
  654. package/dist/zod/v4-mini/index.js +1 -0
  655. package/package.json +42 -0
  656. package/scripts/postinstall.js +75 -0
@@ -0,0 +1,881 @@
1
+ import { randomBytes } from "node:crypto";
2
+ import { expect, test } from "vitest";
3
+
4
+ import * as z from "zod/v4";
5
+
6
+ const minFive = z.string().min(5, "min5");
7
+ const maxFive = z.string().max(5, "max5");
8
+ const justFive = z.string().length(5);
9
+ const nonempty = z.string().min(1, "nonempty");
10
+ const includes = z.string().includes("includes");
11
+ const includesFromIndex2 = z.string().includes("includes", { position: 2 });
12
+ const startsWith = z.string().startsWith("startsWith");
13
+ const endsWith = z.string().endsWith("endsWith");
14
+
15
+ test("length checks", () => {
16
+ minFive.parse("12345");
17
+ minFive.parse("123456");
18
+ maxFive.parse("12345");
19
+ maxFive.parse("1234");
20
+ nonempty.parse("1");
21
+ justFive.parse("12345");
22
+
23
+ expect(() => minFive.parse("1234")).toThrow();
24
+ expect(() => maxFive.parse("123456")).toThrow();
25
+ expect(() => nonempty.parse("")).toThrow();
26
+ expect(() => justFive.parse("1234")).toThrow();
27
+ expect(() => justFive.parse("123456")).toThrow();
28
+ });
29
+
30
+ test("includes", () => {
31
+ includes.parse("XincludesXX");
32
+ includesFromIndex2.parse("XXXincludesXX");
33
+
34
+ expect(() => includes.parse("XincludeXX")).toThrow();
35
+ expect(() => includesFromIndex2.parse("XincludesXX")).toThrow();
36
+ });
37
+
38
+ test("startswith/endswith", () => {
39
+ startsWith.parse("startsWithX");
40
+ endsWith.parse("XendsWith");
41
+
42
+ expect(() => startsWith.parse("x")).toThrow();
43
+ expect(() => endsWith.parse("x")).toThrow();
44
+ });
45
+
46
+ test("email validations", () => {
47
+ const validEmails = [
48
+ `email@domain.com`,
49
+ `firstname.lastname@domain.com`,
50
+ `email@subdomain.domain.com`,
51
+ `firstname+lastname@domain.com`,
52
+ `1234567890@domain.com`,
53
+ `email@domain-one.com`,
54
+ `_______@domain.com`,
55
+ `email@domain.name`,
56
+ `email@domain.co.jp`,
57
+ `firstname-lastname@domain.com`,
58
+ `very.common@example.com`,
59
+ `disposable.style.email.with+symbol@example.com`,
60
+ `other.email-with-hyphen@example.com`,
61
+ `fully-qualified-domain@example.com`,
62
+ `user.name+tag+sorting@example.com`,
63
+ `x@example.com`,
64
+ `mojojojo@asdf.example.com`,
65
+ `example-indeed@strange-example.com`,
66
+ `example@s.example`,
67
+ `user-@example.org`,
68
+ `user@my-example.com`,
69
+ `a@b.cd`,
70
+ `work+user@mail.com`,
71
+ `tom@test.te-st.com`,
72
+ `something@subdomain.domain-with-hyphens.tld`,
73
+ `common'name@domain.com`,
74
+ `francois@etu.inp-n7.fr`,
75
+ ];
76
+ const invalidEmails = [
77
+ // no "printable characters"
78
+ // `user%example.com@example.org`,
79
+ // `mailhost!username@example.org`,
80
+ // `test/test@test.com`,
81
+
82
+ // double @
83
+ `francois@@etu.inp-n7.fr`,
84
+ // do not support quotes
85
+ `"email"@domain.com`,
86
+ `"e asdf sadf ?<>ail"@domain.com`,
87
+ `" "@example.org`,
88
+ `"john..doe"@example.org`,
89
+ `"very.(),:;<>[]\".VERY.\"very@\\ \"very\".unusual"@strange.example.com`,
90
+ // do not support comma
91
+ `a,b@domain.com`,
92
+
93
+ // do not support IPv4
94
+ `email@123.123.123.123`,
95
+ `email@[123.123.123.123]`,
96
+ `postmaster@123.123.123.123`,
97
+ `user@[68.185.127.196]`,
98
+ `ipv4@[85.129.96.247]`,
99
+ `valid@[79.208.229.53]`,
100
+ `valid@[255.255.255.255]`,
101
+ `valid@[255.0.55.2]`,
102
+ `valid@[255.0.55.2]`,
103
+
104
+ // do not support ipv6
105
+ `hgrebert0@[IPv6:4dc8:ac7:ce79:8878:1290:6098:5c50:1f25]`,
106
+ `bshapiro4@[IPv6:3669:c709:e981:4884:59a3:75d1:166b:9ae]`,
107
+ `jsmith@[IPv6:2001:db8::1]`,
108
+ `postmaster@[IPv6:2001:0db8:85a3:0000:0000:8a2e:0370:7334]`,
109
+ `postmaster@[IPv6:2001:0db8:85a3:0000:0000:8a2e:0370:192.168.1.1]`,
110
+
111
+ // microsoft test cases
112
+ `plainaddress`,
113
+ `#@%^%#$@#$@#.com`,
114
+ `@domain.com`,
115
+ `Joe Smith &lt;email@domain.com&gt;`,
116
+ `email.domain.com`,
117
+ `email@domain@domain.com`,
118
+ `.email@domain.com`,
119
+ `email.@domain.com`,
120
+ `email..email@domain.com`,
121
+ `あいうえお@domain.com`,
122
+ `email@domain.com (Joe Smith)`,
123
+ `email@domain`,
124
+ `email@-domain.com`,
125
+ `email@111.222.333.44444`,
126
+ `email@domain..com`,
127
+ `Abc.example.com`,
128
+ `A@b@c@example.com`,
129
+ `colin..hacks@domain.com`,
130
+ `a"b(c)d,e:f;g<h>i[j\k]l@example.com`,
131
+ `just"not"right@example.com`,
132
+ `this is"not\allowed@example.com`,
133
+ `this\ still\"not\\allowed@example.com`,
134
+
135
+ // random
136
+ `i_like_underscore@but_its_not_allowed_in_this_part.example.com`,
137
+ `QA[icon]CHOCOLATE[icon]@test.com`,
138
+ `invalid@-start.com`,
139
+ `invalid@end.com-`,
140
+ `a.b@c.d`,
141
+ `invalid@[1.1.1.-1]`,
142
+ `invalid@[68.185.127.196.55]`,
143
+ `temp@[192.168.1]`,
144
+ `temp@[9.18.122.]`,
145
+ `double..point@test.com`,
146
+ `asdad@test..com`,
147
+ `asdad@hghg...sd...au`,
148
+ `asdad@hghg........au`,
149
+ `invalid@[256.2.2.48]`,
150
+ `invalid@[256.2.2.48]`,
151
+ `invalid@[999.465.265.1]`,
152
+ `jkibbey4@[IPv6:82c4:19a8::70a9:2aac:557::ea69:d985:28d]`,
153
+ `mlivesay3@[9952:143f:b4df:2179:49a1:5e82:b92e:6b6]`,
154
+ `gbacher0@[IPv6:bc37:4d3f:5048:2e26:37cc:248e:df8e:2f7f:af]`,
155
+ `invalid@[IPv6:5348:4ed3:5d38:67fb:e9b:acd2:c13:192.168.256.1]`,
156
+ `test@.com`,
157
+ `aaaaaaaaaaaaaaalongemailthatcausesregexDoSvulnerability@test.c`,
158
+ ];
159
+ const emailSchema = z.string().email();
160
+
161
+ expect(
162
+ validEmails.every((email) => {
163
+ return emailSchema.safeParse(email).success;
164
+ })
165
+ ).toBe(true);
166
+ expect(
167
+ invalidEmails.every((email) => {
168
+ return emailSchema.safeParse(email).success === false;
169
+ })
170
+ ).toBe(true);
171
+ });
172
+
173
+ test("base64 validations", () => {
174
+ const validBase64Strings = [
175
+ "SGVsbG8gV29ybGQ=", // "Hello World"
176
+ "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==", // "This is an encoded string"
177
+ "TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcms=", // "Many hands make light work"
178
+ "UGF0aWVuY2UgaXMgdGhlIGtleSB0byBzdWNjZXNz", // "Patience is the key to success"
179
+ "QmFzZTY0IGVuY29kaW5nIGlzIGZ1bg==", // "Base64 encoding is fun"
180
+ "MTIzNDU2Nzg5MA==", // "1234567890"
181
+ "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo=", // "abcdefghijklmnopqrstuvwxyz"
182
+ "QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo=", // "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
183
+ "ISIkJSMmJyonKCk=", // "!\"#$%&'()*"
184
+ "", // Empty string is technically a valid base64
185
+ ];
186
+
187
+ for (const str of validBase64Strings) {
188
+ expect(str + z.string().base64().safeParse(str).success).toBe(`${str}true`);
189
+ }
190
+
191
+ const invalidBase64Strings = [
192
+ "12345", // Not padded correctly, not a multiple of 4 characters
193
+ "SGVsbG8gV29ybGQ", // Missing padding
194
+ "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw", // Missing padding
195
+ "!UGF0aWVuY2UgaXMgdGhlIGtleSB0byBzdWNjZXNz", // Invalid character '!'
196
+ "?QmFzZTY0IGVuY29kaW5nIGlzIGZ1bg==", // Invalid character '?'
197
+ ".MTIzND2Nzg5MC4=", // Invalid character '.'
198
+ "QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo", // Missing padding
199
+ ];
200
+
201
+ for (const str of invalidBase64Strings) {
202
+ expect(str + z.string().base64().safeParse(str).success).toBe(`${str}false`);
203
+ }
204
+ });
205
+
206
+ test("base64url validations", () => {
207
+ const base64url = z.string().base64url();
208
+
209
+ const validBase64URLStrings = [
210
+ "SGVsbG8gV29ybGQ", // "Hello World"
211
+
212
+ "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw", // "This is an encoded string"
213
+
214
+ "TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcms", // "Many hands make light work"
215
+
216
+ "UGF0aWVuY2UgaXMgdGhlIGtleSB0byBzdWNjZXNz", // "Patience is the key to success"
217
+ "QmFzZTY0IGVuY29kaW5nIGlzIGZ1bg", // "Base64 encoding is fun"
218
+
219
+ "MTIzNDU2Nzg5MA", // "1234567890"
220
+
221
+ "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo", // "abcdefghijklmnopqrstuvwxyz"
222
+
223
+ "QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo", // "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
224
+
225
+ "ISIkJSMmJyonKCk", // "!\"#$%&'()*"
226
+
227
+ "", // Empty string is technically valid base64url
228
+ "w7_Dv8O-w74K", // ÿÿþþ
229
+ "123456",
230
+ ];
231
+
232
+ for (const str of validBase64URLStrings) {
233
+ expect(str + base64url.safeParse(str).success).toBe(`${str}true`);
234
+ }
235
+
236
+ const invalidBase64URLStrings = [
237
+ "w7/Dv8O+w74K", // Has + and / characters (is base64)
238
+ "12345", // Invalid length (not a multiple of 4 characters when adding allowed number of padding characters)
239
+ "12345===", // Not padded correctly
240
+ "!UGF0aWVuY2UgaXMgdGhlIGtleSB0byBzdWNjZXNz", // Invalid character '!'
241
+ "?QmFzZTY0IGVuY29kaW5nIGlzIGZ1bg==", // Invalid character '?'
242
+ ".MTIzND2Nzg5MC4=", // Invalid character '.'
243
+
244
+ // disallow valid padding
245
+ "SGVsbG8gV29ybGQ=", // "Hello World" with padding
246
+ "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==", // "This is an encoded string" with padding
247
+ "TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcms=", // "Many hands make light work" with padding
248
+ "QmFzZTY0IGVuY29kaW5nIGlzIGZ1bg==", // "Base64 encoding is fun" with padding
249
+ "MTIzNDU2Nzg5MA==", // "1234567890" with padding
250
+ "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo=", // "abcdefghijklmnopqrstuvwxyz with padding"
251
+ "QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo=", // "ABCDEFGHIJKLMNOPQRSTUVWXYZ" with padding
252
+ "ISIkJSMmJyonKCk=", // "!\"#$%&'()*" with padding
253
+ ];
254
+
255
+ for (const str of invalidBase64URLStrings) {
256
+ expect(str + base64url.safeParse(str).success).toBe(`${str}false`);
257
+ }
258
+ });
259
+
260
+ test("big base64 and base64url", () => {
261
+ const bigbase64 = randomBytes(1024 * 1024 * 10).toString("base64");
262
+ z.base64().parse(bigbase64);
263
+ const bigbase64url = randomBytes(1024 * 1024 * 10).toString("base64url");
264
+ z.base64url().parse(bigbase64url);
265
+ });
266
+
267
+ function makeJwt(header: object, payload: object) {
268
+ const headerBase64 = Buffer.from(JSON.stringify(header)).toString("base64url");
269
+ const payloadBase64 = Buffer.from(JSON.stringify(payload)).toString("base64url");
270
+ const signature = "signature"; // Placeholder for the signature
271
+ return `${headerBase64}.${payloadBase64}.${signature}`;
272
+ }
273
+
274
+ test("jwt token", () => {
275
+ const jwt = z.string().jwt();
276
+ expect(() => jwt.parse("invalid")).toThrow();
277
+ expect(() => jwt.parse("invalid.invalid")).toThrow();
278
+ expect(() => jwt.parse("invalid.invalid.invalid")).toThrow();
279
+
280
+ // Valid JWTs
281
+ const es256jwt = z.string().jwt({ alg: "ES256" });
282
+ const d1 = makeJwt({ typ: "JWT", alg: "ES256" }, {});
283
+ jwt.parse(d1);
284
+ es256jwt.parse(d1);
285
+
286
+ // Invalid header
287
+ const d2 = makeJwt({}, {});
288
+ expect(() => jwt.parse(d2)).toThrow();
289
+
290
+ // Wrong algorithm
291
+ const d3 = makeJwt({ typ: "JWT", alg: "RS256" }, {});
292
+ expect(() => es256jwt.parse(d3)).toThrow();
293
+
294
+ // missing typ is fine
295
+ const d4 = makeJwt({ alg: "HS256" }, {});
296
+ jwt.parse(d4);
297
+
298
+ // type isn't JWT
299
+ const d5 = makeJwt({ typ: "SUP", alg: "HS256" }, { foo: "bar" });
300
+ expect(() => jwt.parse(d5)).toThrow();
301
+ });
302
+
303
+ test("url validations", () => {
304
+ const url = z.string().url();
305
+ url.parse("http://google.com");
306
+ url.parse("https://google.com/asdf?asdf=ljk3lk4&asdf=234#asdf");
307
+ url.parse("https://anonymous:flabada@developer.mozilla.org/en-US/docs/Web/API/URL/password");
308
+ url.parse("https://localhost");
309
+ url.parse("https://my.local");
310
+ url.parse("http://aslkfjdalsdfkjaf");
311
+ url.parse("http://localhost");
312
+
313
+ url.parse("c:");
314
+
315
+ expect(() => url.parse("asdf")).toThrow();
316
+ expect(() => url.parse("https:/")).toThrow();
317
+ expect(() => url.parse("asdfj@lkjsdf.com")).toThrow();
318
+ expect(() => url.parse("https://")).toThrow();
319
+ });
320
+
321
+ test("httpurl", () => {
322
+ const httpUrl = z.url({
323
+ protocol: /^https?$/,
324
+ hostname: z.regexes.domain,
325
+ // /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/
326
+ });
327
+
328
+ httpUrl.parse("https://example.com");
329
+ httpUrl.parse("http://example.com");
330
+ // ports
331
+ httpUrl.parse("https://example.com:8080");
332
+ httpUrl.parse("http://example.com:8080");
333
+ // subdomains
334
+ httpUrl.parse("https://sub.example.com");
335
+ httpUrl.parse("http://sub.example.com");
336
+ // paths
337
+ httpUrl.parse("https://example.com/path/to/resource");
338
+ httpUrl.parse("http://example.com/path/to/resource");
339
+ // query parameters
340
+ httpUrl.parse("https://example.com/path?query=param");
341
+ httpUrl.parse("http://example.com/path?query=param");
342
+ // fragment identifiers
343
+ httpUrl.parse("https://example.com/path#fragment");
344
+ httpUrl.parse("http://example.com/path#fragment");
345
+ // fails
346
+ expect(() => httpUrl.parse("ftp://example.com")).toThrow();
347
+ expect(() => httpUrl.parse("shttp://example.com")).toThrow();
348
+ expect(() => httpUrl.parse("httpz://example.com")).toThrow();
349
+ expect(() => httpUrl.parse("http://")).toThrow();
350
+ expect(() => httpUrl.parse("http://localhost")).toThrow();
351
+ expect(() => httpUrl.parse("http://-asdf.com")).toThrow();
352
+ expect(() =>
353
+ httpUrl.parse(
354
+ "http://asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf.com"
355
+ )
356
+ ).toThrow();
357
+ expect(() => httpUrl.parse("http://asdf.c")).toThrow();
358
+ expect(() => httpUrl.parse("mailto:asdf@lckj.com")).toThrow();
359
+ });
360
+
361
+ test("url error overrides", () => {
362
+ try {
363
+ z.string().url().parse("https");
364
+ } catch (err) {
365
+ expect((err as z.ZodError).issues[0].message).toEqual("Invalid URL");
366
+ }
367
+ try {
368
+ z.string().url("badurl").parse("https");
369
+ } catch (err) {
370
+ expect((err as z.ZodError).issues[0].message).toEqual("badurl");
371
+ }
372
+ try {
373
+ z.string().url({ message: "badurl" }).parse("https");
374
+ } catch (err) {
375
+ expect((err as z.ZodError).issues[0].message).toEqual("badurl");
376
+ }
377
+ });
378
+
379
+ test("emoji validations", () => {
380
+ const emoji = z.string().emoji();
381
+
382
+ emoji.parse("👋👋👋👋");
383
+ emoji.parse("🍺👩‍🚀🫡");
384
+ emoji.parse("💚💙💜💛❤️");
385
+ emoji.parse("🐛🗝🐏🍡🎦🚢🏨💫🎌☘🗡😹🔒🎬➡️🍹🗂🚨⚜🕑〽️🚦🌊🍴💍🍌💰😳🌺🍃");
386
+ emoji.parse("🇹🇷🤽🏿‍♂️");
387
+ emoji.parse(
388
+ "😀😁😂🤣😃😄😅😆😉😊😋😎😍😘🥰😗😙😚☺️☺🙂🤗🤩🤔🤨😐😑😶🙄😏😣😥😮🤐😯😪😫😴😌😛😜😝🤤😒😓😔😕🙃🤑😲☹️☹🙁😖😞😟😤😢😭😦😧😨😩🤯😬😰😱🥵🥶😳🤪😵😡😠🤬😷🤒🤕🤢🤮🤧😇🤠🥳🥴🥺🤥🤫🤭🧐🤓😈👿🤡👹👺💀☠️☠👻👽👾🤖💩😺😸😹😻😼😽🙀😿😾🙈🙉🙊🏻🏼🏽🏾🏿👶👶🏻👶🏼👶🏽👶🏾👶🏿🧒🧒🏻🧒🏼🧒🏽🧒🏾🧒🏿👦👦🏻👦🏼👦🏽👦🏾👦🏿👧👧🏻👧🏼👧🏽👧🏾👧🏿🧑🧑🏻🧑🏼🧑🏽🧑🏾🧑🏿👨👨🏻👨🏼👨🏽👨🏾👨🏿👩👩🏻👩🏼👩🏽👩🏾👩🏿🧓🧓🏻🧓🏼🧓🏽🧓🏾🧓🏿👴👴🏻👴🏼👴🏽👴🏾👴🏿👵👵🏻👵🏼👵🏽👵🏾👵🏿👨‍⚕️👨‍⚕👨🏻‍⚕️👨🏻‍⚕👨🏼‍⚕️👨🏼‍⚕👨🏽‍⚕️👨🏽‍⚕👨🏾‍⚕️👨🏾‍⚕👨🏿‍⚕️👨🏿‍⚕👩‍⚕️👩‍⚕👩🏻‍⚕️👩🏻‍⚕👩🏼‍⚕️👩🏼‍⚕👩🏽‍⚕️👩🏽‍⚕👩🏾‍⚕️👩🏾‍⚕👩🏿‍⚕️👩🏿‍⚕👨‍🎓👨🏻‍🎓👨🏼‍🎓👨🏽‍🎓👨🏾‍🎓👨🏿‍🎓👩‍🎓👩🏻‍🎓👩🏼‍🎓👩🏽‍🎓👩🏾‍🎓👩🏿‍🎓👨‍🏫👨🏻‍🏫👨🏼‍🏫👨🏽‍🏫👨🏾‍🏫👨🏿‍🏫👩‍🏫👩🏻‍🏫👩🏼‍🏫👩🏽‍🏫👩🏾‍🏫👩🏿‍🏫👨‍⚖️👨‍⚖👨🏻‍⚖️👨🏻‍⚖👨🏼‍⚖️👨🏼‍⚖👨🏽‍⚖️👨🏽‍⚖👨🏾‍⚖️👨🏾‍⚖👨🏿‍⚖️👨🏿‍⚖👩‍⚖️👩‍⚖👩🏻‍⚖️👩🏻‍⚖👩🏼‍⚖️👩🏼‍⚖👩🏽‍⚖️👩🏽‍⚖👩🏾‍⚖️👩🏾‍⚖👩🏿‍⚖️👩🏿‍⚖👨‍🌾👨🏻‍🌾👨🏼‍🌾👨🏽‍🌾👨🏾‍🌾👨🏿‍🌾👩‍🌾👩🏻‍🌾👩🏼‍🌾👩🏽‍🌾👩🏾‍🌾👩🏿‍🌾👨‍🍳👨🏻‍🍳👨🏼‍🍳👨🏽‍🍳👨🏾‍🍳👨🏿‍🍳👩‍🍳👩🏻‍🍳👩🏼‍🍳👩🏽‍🍳👩🏾‍🍳👩🏿‍🍳👨‍🔧👨🏻‍🔧👨🏼‍🔧👨🏽‍🔧👨🏾‍🔧👨🏿‍🔧👩‍🔧👩🏻‍🔧👩🏼‍🔧👩🏽‍🔧👩🏾‍🔧👩🏿‍🔧👨‍🏭👨🏻‍🏭👨🏼‍🏭👨🏽‍🏭👨🏾‍🏭👨🏿‍🏭👩‍🏭👩🏻‍🏭👩🏼‍🏭👩🏽‍🏭👩🏾‍🏭👩🏿‍🏭👨‍💼👨🏻‍💼👨🏼‍💼👨🏽‍💼👨🏾‍💼👨🏿‍💼👩‍💼👩🏻‍💼👩🏼‍💼👩🏽‍💼👩🏾‍💼👩🏿‍💼👨‍🔬👨🏻‍🔬👨🏼‍🔬👨🏽‍🔬👨🏾‍🔬👨🏿‍🔬👩‍🔬👩🏻‍🔬👩🏼‍🔬👩🏽‍🔬👩🏾‍🔬👩🏿‍🔬👨‍💻👨🏻‍💻👨🏼‍💻👨🏽‍💻👨🏾‍💻👨🏿‍💻👩‍💻👩🏻‍💻👩🏼‍💻👩🏽‍💻👩🏾‍💻👩🏿‍💻👨‍🎤👨🏻‍🎤👨🏼‍🎤👨🏽‍🎤👨🏾‍🎤👨🏿‍🎤👩‍🎤👩🏻‍🎤👩🏼‍🎤👩🏽‍🎤👩🏾‍🎤👩🏿‍🎤👨‍🎨👨🏻‍🎨👨🏼‍🎨👨🏽‍🎨👨🏾‍🎨👨🏿‍🎨👩‍🎨👩🏻‍🎨👩🏼‍🎨👩🏽‍🎨👩🏾‍🎨👩🏿‍🎨👨‍✈️👨‍✈👨🏻‍✈️👨🏻‍✈👨🏼‍✈️👨🏼‍✈👨🏽‍✈️👨🏽‍✈👨🏾‍✈️👨🏾‍✈👨🏿‍✈️👨🏿‍✈👩‍✈️👩‍✈👩🏻‍✈️👩🏻‍✈👩🏼‍✈️👩🏼‍✈👩🏽‍✈️👩🏽‍✈👩🏾‍✈️👩🏾‍✈👩🏿‍✈️👩🏿‍✈👨‍🚀👨🏻‍🚀👨🏼‍🚀👨🏽‍🚀👨🏾‍🚀👨🏿‍🚀👩‍🚀👩🏻‍🚀👩🏼‍🚀👩🏽‍🚀👩🏾‍🚀👩🏿‍🚀👨‍🚒👨🏻‍🚒👨🏼‍🚒👨🏽‍🚒👨🏾‍🚒👨🏿‍🚒👩‍🚒👩🏻‍🚒👩🏼‍🚒👩🏽‍🚒👩🏾‍🚒👩🏿‍🚒👮👮🏻👮🏼👮🏽👮🏾👮🏿👮‍♂️👮‍♂👮🏻‍♂️👮🏻‍♂👮🏼‍♂️👮🏼‍♂👮🏽‍♂️👮🏽‍♂👮🏾‍♂️👮🏾‍♂👮🏿‍♂️👮🏿‍♂👮‍♀️👮‍♀👮🏻‍♀️👮🏻‍♀👮🏼‍♀️👮🏼‍♀👮🏽‍♀️👮🏽‍♀👮🏾‍♀️👮🏾‍♀👮🏿‍♀️👮🏿‍♀🕵️🕵🕵🏻🕵🏼🕵🏽🕵🏾🕵🏿🕵️‍♂️🕵‍♂️🕵️‍♂🕵‍♂🕵🏻‍♂️🕵🏻‍♂🕵🏼‍♂️🕵🏼‍♂🕵🏽‍♂️🕵🏽‍♂🕵🏾‍♂️🕵🏾‍♂🕵🏿‍♂️🕵🏿‍♂🕵️‍♀️🕵‍♀️🕵️‍♀🕵‍♀🕵🏻‍♀️🕵🏻‍♀🕵🏼‍♀️🕵🏼‍♀🕵🏽‍♀️🕵🏽‍♀🕵🏾‍♀️🕵🏾‍♀🕵🏿‍♀️🕵🏿‍♀💂💂🏻💂🏼💂🏽💂🏾💂🏿💂‍♂️💂‍♂💂🏻‍♂️💂🏻‍♂💂🏼‍♂️💂🏼‍♂💂🏽‍♂️💂🏽‍♂💂🏾‍♂️💂🏾‍♂💂🏿‍♂️💂🏿‍♂💂‍♀️💂‍♀💂🏻‍♀️💂🏻‍♀💂🏼‍♀️💂🏼‍♀💂🏽‍♀️💂🏽‍♀💂🏾‍♀️💂🏾‍♀💂🏿‍♀️💂🏿‍♀👷👷🏻👷🏼👷🏽👷🏾👷🏿👷‍♂️👷‍♂👷🏻‍♂️👷🏻‍♂👷🏼‍♂️👷🏼‍♂👷🏽‍♂️👷🏽‍♂👷🏾‍♂️👷🏾‍♂👷🏿‍♂️👷🏿‍♂👷‍♀️👷‍♀👷🏻‍♀️👷🏻‍♀👷🏼‍♀️👷🏼‍♀👷🏽‍♀️👷🏽‍♀👷🏾‍♀️👷🏾‍♀👷🏿‍♀️👷🏿‍♀🤴🤴🏻🤴🏼🤴🏽🤴🏾🤴🏿👸👸🏻👸🏼👸🏽👸🏾👸🏿👳👳🏻👳🏼👳🏽👳🏾👳🏿👳‍♂️👳‍♂👳🏻‍♂️👳🏻‍♂👳🏼‍♂️👳🏼‍♂👳🏽‍♂️👳🏽‍♂👳🏾‍♂️👳🏾‍♂👳🏿‍♂️👳🏿‍♂👳‍♀️👳‍♀👳🏻‍♀️👳🏻‍♀👳🏼‍♀️👳🏼‍♀👳🏽‍♀️👳🏽‍♀👳🏾‍♀️👳🏾‍♀👳🏿‍♀️👳🏿‍♀👲👲🏻👲🏼👲🏽👲🏾👲🏿🧕🧕🏻🧕🏼🧕🏽🧕🏾🧕🏿🧔🧔🏻🧔🏼🧔🏽🧔🏾🧔🏿👱👱🏻👱🏼👱🏽👱🏾👱🏿👱‍♂️👱‍♂👱🏻‍♂️👱🏻‍♂👱🏼‍♂️👱🏼‍♂👱🏽‍♂️👱🏽‍♂👱🏾‍♂️👱🏾‍♂👱🏿‍♂️👱🏿‍♂👱‍♀️👱‍♀👱🏻‍♀️👱🏻‍♀👱🏼‍♀️👱🏼‍♀👱🏽‍♀️👱🏽‍♀👱🏾‍♀️👱🏾‍♀👱🏿‍♀️👱🏿‍♀👨‍🦰👨🏻‍🦰👨🏼‍🦰👨🏽‍🦰👨🏾‍🦰👨🏿‍🦰👩‍🦰👩🏻‍🦰👩🏼‍🦰👩🏽‍🦰👩🏾‍🦰👩🏿‍🦰👨‍🦱👨🏻‍🦱👨🏼‍🦱👨🏽‍🦱👨🏾‍🦱👨🏿‍🦱👩‍🦱👩🏻‍🦱👩🏼‍🦱👩🏽‍🦱👩🏾‍🦱👩🏿‍🦱👨‍🦲👨🏻‍🦲👨🏼‍🦲👨🏽‍🦲👨🏾‍🦲👨🏿‍🦲👩‍🦲👩🏻‍🦲👩🏼‍🦲👩🏽‍🦲👩🏾‍🦲👩🏿‍🦲👨‍🦳👨🏻‍🦳👨🏼‍🦳👨🏽‍🦳👨🏾‍🦳👨🏿‍🦳👩‍🦳👩🏻‍🦳👩🏼‍🦳👩🏽‍🦳👩🏾‍🦳👩🏿‍🦳🤵🤵🏻🤵🏼🤵🏽🤵🏾🤵🏿👰👰🏻👰🏼👰🏽👰🏾👰🏿🤰🤰🏻🤰🏼🤰🏽🤰🏾🤰🏿🤱🤱🏻🤱🏼🤱🏽🤱🏾🤱🏿👼👼🏻👼🏼👼🏽👼🏾👼🏿🎅🎅🏻🎅🏼🎅🏽🎅🏾🎅🏿🤶🤶🏻🤶🏼🤶🏽🤶🏾🤶🏿🦸🦸🏻🦸🏼🦸🏽🦸🏾🦸🏿🦸‍♀️🦸‍♀🦸🏻‍♀️🦸🏻‍♀🦸🏼‍♀️🦸🏼‍♀🦸🏽‍♀️🦸🏽‍♀🦸🏾‍♀️🦸🏾‍♀🦸🏿‍♀️🦸🏿‍♀🦸‍♂️🦸‍♂🦸🏻‍♂️🦸🏻‍♂🦸🏼‍♂️🦸🏼‍♂🦸🏽‍♂️🦸🏽‍♂🦸🏾‍♂️🦸🏾‍♂🦸🏿‍♂️🦸🏿‍♂🦹🦹🏻🦹🏼🦹🏽🦹🏾🦹🏿🦹‍♀️🦹‍♀🦹🏻‍♀️🦹🏻‍♀🦹🏼‍♀️🦹🏼‍♀🦹🏽‍♀️🦹🏽‍♀🦹🏾‍♀️🦹🏾‍♀🦹🏿‍♀️🦹🏿‍♀🦹‍♂️🦹‍♂🦹🏻‍♂️🦹🏻‍♂🦹🏼‍♂️🦹🏼‍♂🦹🏽‍♂️🦹🏽‍♂🦹🏾‍♂️🦹🏾‍♂🦹🏿‍♂️🦹🏿‍♂🧙🧙🏻🧙🏼🧙🏽🧙🏾🧙🏿🧙‍♀️🧙‍♀🧙🏻‍♀️🧙🏻‍♀🧙🏼‍♀️🧙🏼‍♀🧙🏽‍♀️🧙🏽‍♀🧙🏾‍♀️🧙🏾‍♀🧙🏿‍♀️🧙🏿‍♀🧙‍♂️🧙‍♂🧙🏻‍♂️🧙🏻‍♂🧙🏼‍♂️🧙🏼‍♂🧙🏽‍♂️🧙🏽‍♂🧙🏾‍♂️🧙🏾‍♂🧙🏿‍♂️🧙🏿‍♂🧚🧚🏻🧚🏼🧚🏽🧚🏾🧚🏿🧚‍♀️🧚‍♀🧚🏻‍♀️🧚🏻‍♀🧚🏼‍♀️🧚🏼‍♀🧚🏽‍♀️🧚🏽‍♀🧚🏾‍♀️🧚🏾‍♀🧚🏿‍♀️🧚🏿‍♀🧚‍♂️🧚‍♂🧚🏻‍♂️🧚🏻‍♂🧚🏼‍♂️🧚🏼‍♂🧚🏽‍♂️🧚🏽‍♂🧚🏾‍♂️🧚🏾‍♂🧚🏿‍♂️🧚🏿‍♂🧛🧛🏻🧛🏼🧛🏽🧛🏾🧛🏿🧛‍♀️🧛‍♀🧛🏻‍♀️🧛🏻‍♀🧛🏼‍♀️🧛🏼‍♀🧛🏽‍♀️🧛🏽‍♀🧛🏾‍♀️🧛🏾‍♀🧛🏿‍♀️🧛🏿‍♀🧛‍♂️🧛‍♂🧛🏻‍♂️🧛🏻‍♂🧛🏼‍♂️🧛🏼‍♂🧛🏽‍♂️🧛🏽‍♂🧛🏾‍♂️🧛🏾‍♂🧛🏿‍♂️🧛🏿‍♂🧜🧜🏻🧜🏼🧜🏽🧜🏾🧜🏿🧜‍♀️🧜‍♀🧜🏻‍♀️🧜🏻‍♀🧜🏼‍♀️🧜🏼‍♀🧜🏽‍♀️🧜🏽‍♀🧜🏾‍♀️🧜🏾‍♀🧜🏿‍♀️🧜🏿‍♀🧜‍♂️🧜‍♂🧜🏻‍♂️🧜🏻‍♂🧜🏼‍♂️🧜🏼‍♂🧜🏽‍♂️🧜🏽‍♂🧜🏾‍♂️🧜🏾‍♂🧜🏿‍♂️🧜🏿‍♂🧝🧝🏻🧝🏼🧝🏽🧝🏾🧝🏿🧝‍♀️🧝‍♀🧝🏻‍♀️🧝🏻‍♀🧝🏼‍♀️🧝🏼‍♀🧝🏽‍♀️🧝🏽‍♀🧝🏾‍♀️🧝🏾‍♀🧝🏿‍♀️🧝🏿‍♀🧝‍♂️🧝‍♂🧝🏻‍♂️🧝🏻‍♂🧝🏼‍♂️🧝🏼‍♂🧝🏽‍♂️🧝🏽‍♂🧝🏾‍♂️🧝🏾‍♂🧝🏿‍♂️🧝🏿‍♂🧞🧞‍♀️🧞‍♀🧞‍♂️🧞‍♂🧟🧟‍♀️🧟‍♀🧟‍♂️🧟‍♂🙍🙍🏻🙍🏼🙍🏽🙍🏾🙍🏿🙍‍♂️🙍‍♂🙍🏻‍♂️🙍🏻‍♂🙍🏼‍♂️🙍🏼‍♂🙍🏽‍♂️🙍🏽‍♂🙍🏾‍♂️🙍🏾‍♂🙍🏿‍♂️🙍🏿‍♂🙍‍♀️🙍‍♀🙍🏻‍♀️🙍🏻‍♀🙍🏼‍♀️🙍🏼‍♀🙍🏽‍♀️🙍🏽‍♀🙍🏾‍♀️🙍🏾‍♀🙍🏿‍♀️🙍🏿‍♀🙎🙎🏻🙎🏼🙎🏽🙎🏾🙎🏿🙎‍♂️🙎‍♂🙎🏻‍♂️🙎🏻‍♂🙎🏼‍♂️🙎🏼‍♂🙎🏽‍♂️🙎🏽‍♂🙎🏾‍♂️🙎🏾‍♂🙎🏿‍♂️🙎🏿‍♂🙎‍♀️🙎‍♀🙎🏻‍♀️🙎🏻‍♀🙎🏼‍♀️🙎🏼‍♀🙎🏽‍♀️🙎🏽‍♀🙎🏾‍♀️🙎🏾‍♀🙎🏿‍♀️🙎🏿‍♀🙅🙅🏻🙅🏼🙅🏽🙅🏾🙅🏿🙅‍♂️🙅‍♂🙅🏻‍♂️🙅🏻‍♂🙅🏼‍♂️🙅🏼‍♂🙅🏽‍♂️🙅🏽‍♂🙅🏾‍♂️🙅🏾‍♂🙅🏿‍♂️🙅🏿‍♂🙅‍♀️🙅‍♀🙅🏻‍♀️🙅🏻‍♀🙅🏼‍♀️🙅🏼‍♀🙅🏽‍♀️🙅🏽‍♀🙅🏾‍♀️🙅🏾‍♀🙅🏿‍♀️🙅🏿‍♀🙆🙆🏻🙆🏼🙆🏽🙆🏾🙆🏿🙆‍♂️🙆‍♂🙆🏻‍♂️🙆🏻‍♂🙆🏼‍♂️🙆🏼‍♂🙆🏽‍♂️🙆🏽‍♂🙆🏾‍♂️🙆🏾‍♂🙆🏿‍♂️🙆🏿‍♂🙆‍♀️🙆‍♀🙆🏻‍♀️🙆🏻‍♀🙆🏼‍♀️🙆🏼‍♀🙆🏽‍♀️🙆🏽‍♀🙆🏾‍♀️🙆🏾‍♀🙆🏿‍♀️🙆🏿‍♀💁💁🏻💁🏼💁🏽💁🏾💁🏿💁‍♂️💁‍♂💁🏻‍♂️💁🏻‍♂💁🏼‍♂️💁🏼‍♂💁🏽‍♂️💁🏽‍♂💁🏾‍♂️💁🏾‍♂💁🏿‍♂️💁🏿‍♂💁‍♀️💁‍♀💁🏻‍♀️💁🏻‍♀💁🏼‍♀️💁🏼‍♀💁🏽‍♀️💁🏽‍♀💁🏾‍♀️💁🏾‍♀💁🏿‍♀️💁🏿‍♀🙋🙋🏻🙋🏼🙋🏽🙋🏾🙋🏿🙋‍♂️🙋‍♂🙋🏻‍♂️🙋🏻‍♂🙋🏼‍♂️🙋🏼‍♂🙋🏽‍♂️🙋🏽‍♂🙋🏾‍♂️🙋🏾‍♂🙋🏿‍♂️🙋🏿‍♂🙋‍♀️🙋‍♀🙋🏻‍♀️🙋🏻‍♀🙋🏼‍♀️🙋🏼‍♀🙋🏽‍♀️🙋🏽‍♀🙋🏾‍♀️🙋🏾‍♀🙋🏿‍♀️🙋🏿‍♀🙇🙇🏻🙇🏼🙇🏽🙇🏾🙇🏿🙇‍♂️🙇‍♂🙇🏻‍♂️🙇🏻‍♂🙇🏼‍♂️🙇🏼‍♂🙇🏽‍♂️🙇🏽‍♂🙇🏾‍♂️🙇🏾‍♂🙇🏿‍♂️🙇🏿‍♂🙇‍♀️🙇‍♀🙇🏻‍♀️🙇🏻‍♀🙇🏼‍♀️🙇🏼‍♀🙇🏽‍♀️🙇🏽‍♀🙇🏾‍♀️🙇🏾‍♀🙇🏿‍♀️🙇🏿‍♀🤦🤦🏻🤦🏼🤦🏽🤦🏾🤦🏿🤦‍♂️🤦‍♂🤦🏻‍♂️🤦🏻‍♂🤦🏼‍♂️🤦🏼‍♂🤦🏽‍♂️🤦🏽‍♂🤦🏾‍♂️🤦🏾‍♂🤦🏿‍♂️🤦🏿‍♂🤦‍♀️🤦‍♀🤦🏻‍♀️🤦🏻‍♀🤦🏼‍♀️🤦🏼‍♀🤦🏽‍♀️🤦🏽‍♀🤦🏾‍♀️🤦🏾‍♀🤦🏿‍♀️🤦🏿‍♀🤷🤷🏻🤷🏼🤷🏽🤷🏾🤷🏿🤷‍♂️🤷‍♂🤷🏻‍♂️🤷🏻‍♂🤷🏼‍♂️🤷🏼‍♂🤷🏽‍♂️🤷🏽‍♂🤷🏾‍♂️🤷🏾‍♂🤷🏿‍♂️🤷🏿‍♂🤷‍♀️🤷‍♀🤷🏻‍♀️🤷🏻‍♀🤷🏼‍♀️🤷🏼‍♀🤷🏽‍♀️🤷🏽‍♀🤷🏾‍♀️🤷🏾‍♀🤷🏿‍♀️🤷🏿‍♀💆💆🏻💆🏼💆🏽💆🏾💆🏿💆‍♂️💆‍♂💆🏻‍♂️💆🏻‍♂💆🏼‍♂️💆🏼‍♂💆🏽‍♂️💆🏽‍♂💆🏾‍♂️💆🏾‍♂💆🏿‍♂️💆🏿‍♂💆‍♀️💆‍♀💆🏻‍♀️💆🏻‍♀💆🏼‍♀️💆🏼‍♀💆🏽‍♀️💆🏽‍♀💆🏾‍♀️💆🏾‍♀💆🏿‍♀️💆🏿‍♀💇💇🏻💇🏼💇🏽💇🏾💇🏿💇‍♂️💇‍♂💇🏻‍♂️💇🏻‍♂💇🏼‍♂️💇🏼‍♂💇🏽‍♂️💇🏽‍♂💇🏾‍♂️💇🏾‍♂💇🏿‍♂️💇🏿‍♂💇‍♀️💇‍♀💇🏻‍♀️💇🏻‍♀💇🏼‍♀️💇🏼‍♀💇🏽‍♀️💇🏽‍♀💇🏾‍♀️💇🏾‍♀💇🏿‍♀️💇🏿‍♀🚶🚶🏻🚶🏼🚶🏽🚶🏾🚶🏿🚶‍♂️🚶‍♂🚶🏻‍♂️🚶🏻‍♂🚶🏼‍♂️🚶🏼‍♂🚶🏽‍♂️🚶🏽‍♂🚶🏾‍♂️🚶🏾‍♂🚶🏿‍♂️🚶🏿‍♂🚶‍♀️🚶‍♀🚶🏻‍♀️🚶🏻‍♀🚶🏼‍♀️🚶🏼‍♀🚶🏽‍♀️🚶🏽‍♀🚶🏾‍♀️🚶🏾‍♀🚶🏿‍♀️🚶🏿‍♀🏃🏃🏻🏃🏼🏃🏽🏃🏾🏃🏿🏃‍♂️🏃‍♂🏃🏻‍♂️🏃🏻‍♂🏃🏼‍♂️🏃🏼‍♂🏃🏽‍♂️🏃🏽‍♂🏃🏾‍♂️🏃🏾‍♂🏃🏿‍♂️🏃🏿‍♂🏃‍♀️🏃‍♀🏃🏻‍♀️🏃🏻‍♀🏃🏼‍♀️🏃🏼‍♀🏃🏽‍♀️🏃🏽‍♀🏃🏾‍♀️🏃🏾‍♀🏃🏿‍♀️🏃🏿‍♀💃💃🏻💃🏼💃🏽💃🏾💃🏿🕺🕺🏻🕺🏼🕺🏽🕺🏾🕺🏿👯👯‍♂️👯‍♂👯‍♀️👯‍♀🧖🧖🏻🧖🏼🧖🏽🧖🏾🧖🏿🧖‍♀️🧖‍♀🧖🏻‍♀️🧖🏻‍♀🧖🏼‍♀️🧖🏼‍♀🧖🏽‍♀️🧖🏽‍♀🧖🏾‍♀️🧖🏾‍♀🧖🏿‍♀️🧖🏿‍♀🧖‍♂️🧖‍♂🧖🏻‍♂️🧖🏻‍♂🧖🏼‍♂️🧖🏼‍♂🧖🏽‍♂️🧖🏽‍♂🧖🏾‍♂️🧖🏾‍♂🧖🏿‍♂️🧖🏿‍♂🧗🧗🏻🧗🏼🧗🏽🧗🏾🧗🏿🧗‍♀️🧗‍♀🧗🏻‍♀️🧗🏻‍♀🧗🏼‍♀️🧗🏼‍♀🧗🏽‍♀️🧗🏽‍♀🧗🏾‍♀️🧗🏾‍♀🧗🏿‍♀️🧗🏿‍♀🧗‍♂️🧗‍♂🧗🏻‍♂️🧗🏻‍♂🧗🏼‍♂️🧗🏼‍♂🧗🏽‍♂️🧗🏽‍♂🧗🏾‍♂️🧗🏾‍♂🧗🏿‍♂️🧗🏿‍♂🧘🧘🏻🧘🏼🧘🏽🧘🏾🧘🏿🧘‍♀️🧘‍♀🧘🏻‍♀️🧘🏻‍♀🧘🏼‍♀️🧘🏼‍♀🧘🏽‍♀️🧘🏽‍♀🧘🏾‍♀️🧘🏾‍♀🧘🏿‍♀️🧘🏿‍♀🧘‍♂️🧘‍♂🧘🏻‍♂️🧘🏻‍♂🧘🏼‍♂️🧘🏼‍♂🧘🏽‍♂️🧘🏽‍♂🧘🏾‍♂️🧘🏾‍♂🧘🏿‍♂️🧘🏿‍♂🛀🛀🏻🛀🏼🛀🏽🛀🏾🛀🏿🛌🛌🏻🛌🏼🛌🏽🛌🏾🛌🏿🕴️🕴🕴🏻🕴🏼🕴🏽🕴🏾🕴🏿🗣️🗣👤👥🤺🏇🏇🏻🏇🏼🏇🏽🏇🏾🏇🏿⛷️⛷🏂🏂🏻🏂🏼🏂🏽🏂🏾🏂🏿🏌️🏌🏌🏻🏌🏼🏌🏽🏌🏾🏌🏿🏌️‍♂️🏌‍♂️🏌️‍♂🏌‍♂🏌🏻‍♂️🏌🏻‍♂🏌🏼‍♂️🏌🏼‍♂🏌🏽‍♂️🏌🏽‍♂🏌🏾‍♂️🏌🏾‍♂🏌🏿‍♂️🏌🏿‍♂🏌️‍♀️🏌‍♀️🏌️‍♀🏌‍♀🏌🏻‍♀️🏌🏻‍♀🏌🏼‍♀️🏌🏼‍♀🏌🏽‍♀️🏌🏽‍♀🏌🏾‍♀️🏌🏾‍♀🏌🏿‍♀️🏌🏿‍♀🏄🏄🏻🏄🏼🏄🏽🏄🏾🏄🏿🏄‍♂️🏄‍♂🏄🏻‍♂️🏄🏻‍♂🏄🏼‍♂️🏄🏼‍♂🏄🏽‍♂️🏄🏽‍♂🏄🏾‍♂️🏄🏾‍♂🏄🏿‍♂️🏄🏿‍♂🏄‍♀️🏄‍♀🏄🏻‍♀️🏄🏻‍♀🏄🏼‍♀️🏄🏼‍♀🏄🏽‍♀️🏄🏽‍♀🏄🏾‍♀️🏄🏾‍♀🏄🏿‍♀️🏄🏿‍♀🚣🚣🏻🚣🏼🚣🏽🚣🏾🚣🏿🚣‍♂️🚣‍♂🚣🏻‍♂️🚣🏻‍♂🚣🏼‍♂️🚣🏼‍♂🚣🏽‍♂️🚣🏽‍♂🚣🏾‍♂️🚣🏾‍♂🚣🏿‍♂️🚣🏿‍♂🚣‍♀️🚣‍♀🚣🏻‍♀️🚣🏻‍♀🚣🏼‍♀️🚣🏼‍♀🚣🏽‍♀️🚣🏽‍♀🚣🏾‍♀️🚣🏾‍♀🚣🏿‍♀️🚣🏿‍♀🏊🏊🏻🏊🏼🏊🏽🏊🏾🏊🏿🏊‍♂️🏊‍♂🏊🏻‍♂️🏊🏻‍♂🏊🏼‍♂️🏊🏼‍♂🏊🏽‍♂️🏊🏽‍♂🏊🏾‍♂️🏊🏾‍♂🏊🏿‍♂️🏊🏿‍♂🏊‍♀️🏊‍♀🏊🏻‍♀️🏊🏻‍♀🏊🏼‍♀️🏊🏼‍♀🏊🏽‍♀️🏊🏽‍♀🏊🏾‍♀️🏊🏾‍♀🏊🏿‍♀️🏊🏿‍♀⛹️⛹⛹🏻⛹🏼⛹🏽⛹🏾⛹🏿⛹️‍♂️⛹‍♂️⛹️‍♂⛹‍♂⛹🏻‍♂️⛹🏻‍♂⛹🏼‍♂️⛹🏼‍♂⛹🏽‍♂️⛹🏽‍♂⛹🏾‍♂️⛹🏾‍♂⛹🏿‍♂️⛹🏿‍♂⛹️‍♀️⛹‍♀️⛹️‍♀⛹‍♀⛹🏻‍♀️⛹🏻‍♀⛹🏼‍♀️⛹🏼‍♀⛹🏽‍♀️⛹🏽‍♀⛹🏾‍♀️⛹🏾‍♀⛹🏿‍♀️⛹🏿‍♀🏋️🏋🏋🏻🏋🏼🏋🏽🏋🏾🏋🏿🏋️‍♂️🏋‍♂️🏋️‍♂🏋‍♂🏋🏻‍♂️🏋🏻‍♂🏋🏼‍♂️🏋🏼‍♂🏋🏽‍♂️🏋🏽‍♂🏋🏾‍♂️🏋🏾‍♂🏋🏿‍♂️🏋🏿‍♂🏋️‍♀️🏋‍♀️🏋️‍♀🏋‍♀🏋🏻‍♀️🏋🏻‍♀🏋🏼‍♀️🏋🏼‍♀🏋🏽‍♀️🏋🏽‍♀🏋🏾‍♀️🏋🏾‍♀🏋🏿‍♀️🏋🏿‍♀🚴🚴🏻🚴🏼🚴🏽🚴🏾🚴🏿🚴‍♂️🚴‍♂🚴🏻‍♂️🚴🏻‍♂🚴🏼‍♂️🚴🏼‍♂🚴🏽‍♂️🚴🏽‍♂🚴🏾‍♂️🚴🏾‍♂🚴🏿‍♂️🚴🏿‍♂🚴‍♀️🚴‍♀🚴🏻‍♀️🚴🏻‍♀🚴🏼‍♀️🚴🏼‍♀🚴🏽‍♀️🚴🏽‍♀🚴🏾‍♀️🚴🏾‍♀🚴🏿‍♀️🚴🏿‍♀🚵🚵🏻🚵🏼🚵🏽🚵🏾🚵🏿🚵‍♂️🚵‍♂🚵🏻‍♂️🚵🏻‍♂🚵🏼‍♂️🚵🏼‍♂🚵🏽‍♂️🚵🏽‍♂🚵🏾‍♂️🚵🏾‍♂🚵🏿‍♂️🚵🏿‍♂🚵‍♀️🚵‍♀🚵🏻‍♀️🚵🏻‍♀🚵🏼‍♀️🚵🏼‍♀🚵🏽‍♀️🚵🏽‍♀🚵🏾‍♀️🚵🏾‍♀🚵🏿‍♀️🚵🏿‍♀🏎️🏎🏍️🏍🤸🤸🏻🤸🏼🤸🏽🤸🏾🤸🏿🤸‍♂️🤸‍♂🤸🏻‍♂️🤸🏻‍♂🤸🏼‍♂️🤸🏼‍♂🤸🏽‍♂️🤸🏽‍♂🤸🏾‍♂️🤸🏾‍♂🤸🏿‍♂️🤸🏿‍♂🤸‍♀️🤸‍♀🤸🏻‍♀️🤸🏻‍♀🤸🏼‍♀️🤸🏼‍♀🤸🏽‍♀️🤸🏽‍♀🤸🏾‍♀️🤸🏾‍♀🤸🏿‍♀️🤸🏿‍♀🤼🤼‍♂️🤼‍♂🤼‍♀️🤼‍♀🤽🤽🏻🤽🏼🤽🏽🤽🏾🤽🏿🤽‍♂️🤽‍♂🤽🏻‍♂️🤽🏻‍♂🤽🏼‍♂️🤽🏼‍♂🤽🏽‍♂️🤽🏽‍♂🤽🏾‍♂️🤽🏾‍♂🤽🏿‍♂️🤽🏿‍♂🤽‍♀️🤽‍♀🤽🏻‍♀️🤽🏻‍♀🤽🏼‍♀️🤽🏼‍♀🤽🏽‍♀️🤽🏽‍♀🤽🏾‍♀️🤽🏾‍♀🤽🏿‍♀️🤽🏿‍♀🤾🤾🏻🤾🏼🤾🏽🤾🏾🤾🏿🤾‍♂️🤾‍♂🤾🏻‍♂️🤾🏻‍♂🤾🏼‍♂️🤾🏼‍♂🤾🏽‍♂️🤾🏽‍♂🤾🏾‍♂️🤾🏾‍♂🤾🏿‍♂️🤾🏿‍♂🤾‍♀️🤾‍♀🤾🏻‍♀️🤾🏻‍♀🤾🏼‍♀️🤾🏼‍♀🤾🏽‍♀️🤾🏽‍♀🤾🏾‍♀️🤾🏾‍♀🤾🏿‍♀️🤾🏿‍♀🤹🤹🏻🤹🏼🤹🏽🤹🏾🤹🏿🤹‍♂️🤹‍♂🤹🏻‍♂️🤹🏻‍♂🤹🏼‍♂️🤹🏼‍♂🤹🏽‍♂️🤹🏽‍♂🤹🏾‍♂️🤹🏾‍♂🤹🏿‍♂️🤹🏿‍♂🤹‍♀️🤹‍♀🤹🏻‍♀️🤹🏻‍♀🤹🏼‍♀️🤹🏼‍♀🤹🏽‍♀️🤹🏽‍♀🤹🏾‍♀️🤹🏾‍♀🤹🏿‍♀️🤹🏿‍♀👫👬👭💏👩‍❤️‍💋‍👨👩‍❤‍💋‍👨👨‍❤️‍💋‍👨👨‍❤‍💋‍👨👩‍❤️‍💋‍👩👩‍❤‍💋‍👩💑👩‍❤️‍👨👩‍❤‍👨👨‍❤️‍👨👨‍❤‍👨👩‍❤️‍👩👩‍❤‍👩👪👨‍👩‍👦👨‍👩‍👧👨‍👩‍👧‍👦👨‍👩‍👦‍👦👨‍👩‍👧‍👧👨‍👨‍👦👨‍👨‍👧👨‍👨‍👧‍👦👨‍👨‍👦‍👦👨‍👨‍👧‍👧👩‍👩‍👦👩‍👩‍👧👩‍👩‍👧‍👦👩‍👩‍👦‍👦👩‍👩‍👧‍👧👨‍👦👨‍👦‍👦👨‍👧👨‍👧‍👦👨‍👧‍👧👩‍👦👩‍👦‍👦👩‍👧👩‍👧‍👦👩‍👧‍👧🤳🤳🏻🤳🏼🤳🏽🤳🏾🤳🏿💪💪🏻💪🏼💪🏽💪🏾💪🏿🦵🦵🏻🦵🏼🦵🏽🦵🏾🦵🏿🦶🦶🏻🦶🏼🦶🏽🦶🏾🦶🏿👈👈🏻👈🏼👈🏽👈🏾👈🏿👉👉🏻👉🏼👉🏽👉🏾👉🏿☝️☝☝🏻☝🏼☝🏽☝🏾☝🏿👆👆🏻👆🏼👆🏽👆🏾👆🏿🖕🖕🏻🖕🏼🖕🏽🖕🏾🖕🏿👇👇🏻👇🏼👇🏽👇🏾👇🏿✌️✌✌🏻✌🏼✌🏽✌🏾✌🏿🤞🤞🏻🤞🏼🤞🏽🤞🏾🤞🏿🖖🖖🏻🖖🏼🖖🏽🖖🏾🖖🏿🤘🤘🏻🤘🏼🤘🏽🤘🏾🤘🏿🤙🤙🏻🤙🏼🤙🏽🤙🏾🤙🏿🖐️🖐🖐🏻🖐🏼🖐🏽🖐🏾🖐🏿✋✋🏻✋🏼✋🏽✋🏾✋🏿👌👌🏻👌🏼👌🏽👌🏾👌🏿👍👍🏻👍🏼👍🏽👍🏾👍🏿👎👎🏻👎🏼👎🏽👎🏾👎🏿✊✊🏻✊🏼✊🏽✊🏾✊🏿👊👊🏻👊🏼👊🏽👊🏾👊🏿🤛🤛🏻🤛🏼🤛🏽🤛🏾🤛🏿🤜🤜🏻🤜🏼🤜🏽🤜🏾🤜🏿🤚🤚🏻🤚🏼🤚🏽🤚🏾🤚🏿👋👋🏻👋🏼👋🏽👋🏾👋🏿🤟🤟🏻🤟🏼🤟🏽🤟🏾🤟🏿✍️✍✍🏻✍🏼✍🏽✍🏾✍🏿👏👏🏻👏🏼👏🏽👏🏾👏🏿👐👐🏻👐🏼👐🏽👐🏾👐🏿🙌🙌🏻🙌🏼🙌🏽🙌🏾🙌🏿🤲🤲🏻🤲🏼🤲🏽🤲🏾🤲🏿🙏🙏🏻🙏🏼🙏🏽🙏🏾🙏🏿🤝💅💅🏻💅🏼💅🏽💅🏾💅🏿👂👂🏻👂🏼👂🏽👂🏾👂🏿👃👃🏻👃🏼👃🏽👃🏾👃🏿🦰🦱🦲🦳👣👀👁️👁👁️‍🗨️👁‍🗨️👁️‍🗨👁‍🗨🧠🦴🦷👅👄💋💘❤️❤💓💔💕💖💗💙💚💛🧡💜🖤💝💞💟❣️❣💌💤💢💣💥💦💨💫💬🗨️🗨🗯️🗯💭🕳️🕳👓🕶️🕶🥽🥼👔👕👖🧣🧤🧥🧦👗👘👙👚👛👜👝🛍️🛍🎒👞👟🥾🥿👠👡👢👑👒🎩🎓🧢⛑️⛑📿💄💍💎🐵🐒🦍🐶🐕🐩🐺🦊🦝🐱🐈🦁🐯🐅🐆🐴🐎🦄🦓🦌🐮🐂🐃🐄🐷🐖🐗🐽🐏🐑🐐🐪🐫🦙🦒🐘🦏🦛🐭🐁🐀🐹🐰🐇🐿️🐿🦔🦇🐻🐨🐼🦘🦡🐾🦃🐔🐓🐣🐤🐥🐦🐧🕊️🕊🦅🦆🦢🦉🦚🦜🐸🐊🐢🦎🐍🐲🐉🦕🦖🐳🐋🐬🐟🐠🐡🦈🐙🐚🦀🦞🦐🦑🐌🦋🐛🐜🐝🐞🦗🕷️🕷🕸️🕸🦂🦟🦠💐🌸💮🏵️🏵🌹🥀🌺🌻🌼🌷🌱🌲🌳🌴🌵🌾🌿☘️☘🍀🍁🍂🍃🍇🍈🍉🍊🍋🍌🍍🥭🍎🍏🍐🍑🍒🍓🥝🍅🥥🥑🍆🥔🥕🌽🌶️🌶🥒🥬🥦🍄🥜🌰🍞🥐🥖🥨🥯🥞🧀🍖🍗🥩🥓🍔🍟🍕🌭🥪🌮🌯🥙🥚🍳🥘🍲🥣🥗🍿🧂🥫🍱🍘🍙🍚🍛🍜🍝🍠🍢🍣🍤🍥🥮🍡🥟🥠🥡🍦🍧🍨🍩🍪🎂🍰🧁🥧🍫🍬🍭🍮🍯🍼🥛☕🍵🍶🍾🍷🍸🍹🍺🍻🥂🥃🥤🥢🍽️🍽🍴🥄🔪🏺🌍🌎🌏🌐🗺️🗺🗾🧭🏔️🏔⛰️⛰🌋🗻🏕️🏕🏖️🏖🏜️🏜🏝️🏝🏞️🏞🏟️🏟🏛️🏛🏗️🏗🧱🏘️🏘🏚️🏚🏠🏡🏢🏣🏤🏥🏦🏨🏩🏪🏫🏬🏭🏯🏰💒🗼🗽⛪🕌🕍⛩️⛩🕋⛲⛺🌁🌃🏙️🏙🌄🌅🌆🌇🌉♨️♨🌌🎠🎡🎢💈🎪🚂🚃🚄🚅🚆🚇🚈🚉🚊🚝🚞🚋🚌🚍🚎🚐🚑🚒🚓🚔🚕🚖🚗🚘🚙🚚🚛🚜🚲🛴🛹🛵🚏🛣️🛣🛤️🛤🛢️🛢⛽🚨🚥🚦🛑🚧⚓⛵🛶🚤🛳️🛳⛴️⛴🛥️🛥🚢✈️✈🛩️🛩🛫🛬💺🚁🚟🚠🚡🛰️🛰🚀🛸🛎️🛎🧳⌛⏳⌚⏰⏱️⏱⏲️⏲🕰️🕰🕛🕧🕐🕜🕑🕝🕒🕞🕓🕟🕔🕠🕕🕡🕖🕢🕗🕣🕘🕤🕙🕥🕚🕦🌑🌒🌓🌔🌕🌖🌗🌘🌙🌚🌛🌜🌡️🌡☀️☀🌝🌞⭐🌟🌠☁️☁⛅⛈️⛈🌤️🌤🌥️🌥🌦️🌦🌧️🌧🌨️🌨🌩️🌩🌪️🌪🌫️🌫🌬️🌬🌀🌈🌂☂️☂☔⛱️⛱⚡❄️❄☃️☃⛄☄️☄🔥💧🌊🎃🎄🎆🎇🧨✨🎈🎉🎊🎋🎍🎎🎏🎐🎑🧧🎀🎁🎗️🎗🎟️🎟🎫🎖️🎖🏆🏅🥇🥈🥉⚽⚾🥎🏀🏐🏈🏉🎾🥏🎳🏏🏑🏒🥍🏓🏸🥊🥋🥅⛳⛸️⛸🎣🎽🎿🛷🥌🎯🎱🔮🧿🎮🕹️🕹🎰🎲🧩🧸♠️♠♥️♥♦️♦♣️♣♟️♟🃏🀄🎴🎭🖼️🖼🎨🧵🧶🔇🔈🔉🔊📢📣📯🔔🔕🎼🎵🎶🎙️🎙🎚️🎚🎛️🎛🎤🎧📻🎷🎸🎹🎺🎻🥁📱📲☎️☎📞📟📠🔋🔌💻🖥️🖥🖨️🖨⌨️⌨🖱️🖱🖲️🖲💽💾💿📀🧮🎥🎞️🎞📽️📽🎬📺📷📸📹📼🔍🔎🕯️🕯💡🔦🏮📔📕📖📗📘📙📚📓📒📃📜📄📰🗞️🗞📑🔖🏷️🏷💰💴💵💶💷💸💳🧾💹💱💲✉️✉📧📨📩📤📥📦📫📪📬📭📮🗳️🗳✏️✏✒️✒🖋️🖋🖊️🖊🖌️🖌🖍️🖍📝💼📁📂🗂️🗂📅📆🗒️🗒🗓️🗓📇📈📉📊📋📌📍📎🖇️🖇📏📐✂️✂🗃️🗃🗄️🗄🗑️🗑🔒🔓🔏🔐🔑🗝️🗝🔨⛏️⛏⚒️⚒🛠️🛠🗡️🗡⚔️⚔🔫🏹🛡️🛡🔧🔩⚙️⚙🗜️🗜⚖️⚖🔗⛓️⛓🧰🧲⚗️⚗🧪🧫🧬🔬🔭📡💉💊🚪🛏️🛏🛋️🛋🚽🚿🛁🧴🧷🧹🧺🧻🧼🧽🧯🛒🚬⚰️⚰⚱️⚱🗿🏧🚮🚰♿🚹🚺🚻🚼🚾🛂🛃🛄🛅⚠️⚠🚸⛔🚫🚳🚭🚯🚱🚷📵🔞☢️☢☣️☣⬆️⬆↗️↗➡️➡↘️↘⬇️⬇↙️↙⬅️⬅↖️↖↕️↕↔️↔↩️↩↪️↪⤴️⤴⤵️⤵🔃🔄🔙🔚🔛🔜🔝🛐⚛️⚛🕉️🕉✡️✡☸️☸☯️☯✝️✝☦️☦☪️☪☮️☮🕎🔯♈♉♊♋♌♍♎♏♐♑♒♓⛎🔀🔁🔂▶️▶⏩⏭️⏭⏯️⏯◀️◀⏪⏮️⏮🔼⏫🔽⏬⏸️⏸⏹️⏹⏺️⏺⏏️⏏🎦🔅🔆📶📳📴♀️♀♂️♂⚕️⚕♾️♾♻️♻⚜️⚜🔱📛🔰⭕✅☑️☑✔️✔✖️✖❌❎➕➖➗➰➿〽️〽✳️✳✴️✴❇️❇‼️‼⁉️⁉❓❔❕❗〰️〰©️©®️®™️™#️⃣#⃣*️⃣*⃣0️⃣0⃣1️⃣1⃣2️⃣2⃣3️⃣3⃣4️⃣4⃣5️⃣5⃣6️⃣6⃣7️⃣7⃣8️⃣8⃣9️⃣9⃣🔟💯🔠🔡🔢🔣🔤🅰️🅰🆎🅱️🅱🆑🆒🆓ℹ️ℹ🆔Ⓜ️Ⓜ🆕🆖🅾️🅾🆗🅿️🅿🆘🆙🆚🈁🈂️🈂🈷️🈷🈶🈯🉐🈹🈚🈲🉑🈸🈴🈳㊗️㊗㊙️㊙🈺🈵▪️▪▫️▫◻️◻◼️◼◽◾⬛⬜🔶🔷🔸🔹🔺🔻💠🔘🔲🔳⚪⚫🔴🔵🏁🚩🎌🏴🏳️🏳🏳️‍🌈🏳‍🌈🏴‍☠️🏴‍☠🇦🇨🇦🇩🇦🇪🇦🇫🇦🇬🇦🇮🇦🇱🇦🇲🇦🇴🇦🇶🇦🇷🇦🇸🇦🇹🇦🇺🇦🇼🇦🇽🇦🇿🇧🇦🇧🇧🇧🇩🇧🇪🇧🇫🇧🇬🇧🇭🇧🇮🇧🇯🇧🇱🇧🇲🇧🇳🇧🇴🇧🇶🇧🇷🇧🇸🇧🇹🇧🇻🇧🇼🇧🇾🇧🇿🇨🇦🇨🇨🇨🇩🇨🇫🇨🇬🇨🇭🇨🇮🇨🇰🇨🇱🇨🇲🇨🇳🇨🇴🇨🇵🇨🇷🇨🇺🇨🇻🇨🇼🇨🇽🇨🇾🇨🇿🇩🇪🇩🇬🇩🇯🇩🇰🇩🇲🇩🇴🇩🇿🇪🇦🇪🇨🇪🇪🇪🇬🇪🇭🇪🇷🇪🇸🇪🇹🇪🇺🇫🇮🇫🇯🇫🇰🇫🇲🇫🇴🇫🇷🇬🇦🇬🇧🇬🇩🇬🇪🇬🇫🇬🇬🇬🇭🇬🇮🇬🇱🇬🇲🇬🇳🇬🇵🇬🇶🇬🇷🇬🇸🇬🇹🇬🇺🇬🇼🇬🇾🇭🇰🇭🇲🇭🇳🇭🇷🇭🇹🇭🇺🇮🇨🇮🇩🇮🇪🇮🇱🇮🇲🇮🇳🇮🇴🇮🇶🇮🇷🇮🇸🇮🇹🇯🇪🇯🇲🇯🇴🇯🇵🇰🇪🇰🇬🇰🇭🇰🇮🇰🇲🇰🇳🇰🇵🇰🇷🇰🇼🇰🇾🇰🇿🇱🇦🇱🇧🇱🇨🇱🇮🇱🇰🇱🇷🇱🇸🇱🇹🇱🇺🇱🇻🇱🇾🇲🇦🇲🇨🇲🇩🇲🇪🇲🇫🇲🇬🇲🇭🇲🇰🇲🇱🇲🇲🇲🇳🇲🇴🇲🇵🇲🇶🇲🇷🇲🇸🇲🇹🇲🇺🇲🇻🇲🇼🇲🇽🇲🇾🇲🇿🇳🇦🇳🇨🇳🇪🇳🇫🇳🇬🇳🇮🇳🇱🇳🇴🇳🇵🇳🇷🇳🇺🇳🇿🇴🇲🇵🇦🇵🇪🇵🇫🇵🇬🇵🇭🇵🇰🇵🇱🇵🇲🇵🇳🇵🇷🇵🇸🇵🇹🇵🇼🇵🇾🇶🇦🇷🇪🇷🇴🇷🇸🇷🇺🇷🇼🇸🇦🇸🇧🇸🇨🇸🇩🇸🇪🇸🇬🇸🇭🇸🇮🇸🇯🇸🇰🇸🇱🇸🇲🇸🇳🇸🇴🇸🇷🇸🇸🇸🇹🇸🇻🇸🇽🇸🇾🇸🇿🇹🇦🇹🇨🇹🇩🇹🇫🇹🇬🇹🇭🇹🇯🇹🇰🇹🇱🇹🇲🇹🇳🇹🇴🇹🇷🇹🇹🇹🇻🇹🇼🇹🇿🇺🇦🇺🇬🇺🇲🇺🇳🇺🇸🇺🇾🇺🇿🇻🇦🇻🇨🇻🇪🇻🇬🇻🇮🇻🇳🇻🇺🇼🇫🇼🇸🇽🇰🇾🇪🇾🇹🇿🇦🇿🇲🇿🇼🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿🏴󠁧󠁢󠁷󠁬󠁳󠁿"
389
+ );
390
+ expect(() => emoji.parse(":-)")).toThrow();
391
+ expect(() => emoji.parse("😀 is an emoji")).toThrow();
392
+ expect(() => emoji.parse("😀stuff")).toThrow();
393
+ expect(() => emoji.parse("stuff😀")).toThrow();
394
+ });
395
+
396
+ test("nanoid", () => {
397
+ const nanoid = z.string().nanoid("custom error");
398
+ nanoid.parse("lfNZluvAxMkf7Q8C5H-QS");
399
+ nanoid.parse("mIU_4PJWikaU8fMbmkouz");
400
+ nanoid.parse("Hb9ZUtUa2JDm_dD-47EGv");
401
+ nanoid.parse("5Noocgv_8vQ9oPijj4ioQ");
402
+ const result = nanoid.safeParse("Xq90uDyhddC53KsoASYJGX");
403
+ expect(result).toMatchObject({ success: false });
404
+
405
+ expect(result.error!.issues[0].message).toEqual("custom error");
406
+ expect(result.error).toMatchInlineSnapshot(`
407
+ [ZodError: [
408
+ {
409
+ "origin": "string",
410
+ "code": "invalid_format",
411
+ "format": "nanoid",
412
+ "pattern": "/^[a-zA-Z0-9_-]{21}$/",
413
+ "path": [],
414
+ "message": "custom error"
415
+ }
416
+ ]]
417
+ `);
418
+ });
419
+
420
+ test("bad nanoid", () => {
421
+ const nanoid = z.string().nanoid("custom error");
422
+ nanoid.parse("ySh_984wpDUu7IQRrLXAp");
423
+ const result = nanoid.safeParse("invalid nanoid");
424
+ expect(result).toMatchObject({ success: false });
425
+
426
+ expect(result.error!.issues[0].message).toEqual("custom error");
427
+ expect(result.error).toMatchInlineSnapshot(`
428
+ [ZodError: [
429
+ {
430
+ "origin": "string",
431
+ "code": "invalid_format",
432
+ "format": "nanoid",
433
+ "pattern": "/^[a-zA-Z0-9_-]{21}$/",
434
+ "path": [],
435
+ "message": "custom error"
436
+ }
437
+ ]]
438
+ `);
439
+ });
440
+
441
+ test("good uuid", () => {
442
+ const uuid = z.string().uuid("custom error");
443
+ const goodUuids = [
444
+ "9491d710-3185-1e06-bea0-6a2f275345e0",
445
+ "9491d710-3185-2e06-bea0-6a2f275345e0",
446
+ "9491d710-3185-3e06-bea0-6a2f275345e0",
447
+ "9491d710-3185-4e06-bea0-6a2f275345e0",
448
+ "9491d710-3185-5e06-bea0-6a2f275345e0",
449
+ "9491d710-3185-5e06-aea0-6a2f275345e0",
450
+ "9491d710-3185-5e06-8ea0-6a2f275345e0",
451
+ "9491d710-3185-5e06-9ea0-6a2f275345e0",
452
+ "00000000-0000-0000-0000-000000000000",
453
+ ];
454
+
455
+ for (const goodUuid of goodUuids) {
456
+ const result = uuid.safeParse(goodUuid);
457
+ expect(result.success).toEqual(true);
458
+ }
459
+ });
460
+
461
+ test(`bad uuid`, () => {
462
+ const uuid = z.string().uuid("custom error");
463
+ for (const badUuid of [
464
+ "9491d710-3185-0e06-bea0-6a2f275345e0",
465
+ "9491d710-3185-5e06-0ea0-6a2f275345e0",
466
+ "d89e7b01-7598-ed11-9d7a-0022489382fd", // new sequential id
467
+ "b3ce60f8-e8b9-40f5-1150-172ede56ff74", // Variant 0 - RFC 4122: Reserved, NCS backward compatibility
468
+ "92e76bf9-28b3-4730-cd7f-cb6bc51f8c09", // Variant 2 - RFC 4122: Reserved, Microsoft Corporation backward compatibility
469
+ "invalid uuid",
470
+ "9491d710-3185-4e06-bea0-6a2f275345e0X",
471
+ "ffffffff-ffff-ffff-ffff-ffffffffffff",
472
+ ]) {
473
+ const result = uuid.safeParse(badUuid);
474
+ expect(result).toMatchObject({ success: false });
475
+ expect(result.error?.issues[0].message).toEqual("custom error");
476
+ }
477
+ });
478
+
479
+ test("good guid", () => {
480
+ const guid = z.string().guid("custom error");
481
+ for (const goodGuid of [
482
+ "9491d710-3185-4e06-bea0-6a2f275345e0",
483
+ "d89e7b01-7598-ed11-9d7a-0022489382fd", // new sequential id
484
+ "b3ce60f8-e8b9-40f5-1150-172ede56ff74", // Variant 0 - RFC 4122: Reserved, NCS backward compatibility
485
+ "92e76bf9-28b3-4730-cd7f-cb6bc51f8c09", // Variant 2 - RFC 4122: Reserved, Microsoft Corporation backward compatibility
486
+ "00000000-0000-0000-0000-000000000000",
487
+ "ffffffff-ffff-ffff-ffff-ffffffffffff",
488
+ ]) {
489
+ const result = guid.safeParse(goodGuid);
490
+ expect(result.success).toEqual(true);
491
+ }
492
+ });
493
+
494
+ test("bad guid", () => {
495
+ const guid = z.string().guid("custom error");
496
+ for (const badGuid of ["9491d710-3185-4e06-bea0-6a2f275345e0X"]) {
497
+ const result = guid.safeParse(badGuid);
498
+ expect(result).toMatchObject({ success: false });
499
+ expect(result.error?.issues[0].message).toEqual("custom error");
500
+ }
501
+ });
502
+
503
+ test("cuid", () => {
504
+ const cuid = z.string().cuid();
505
+ cuid.parse("ckopqwooh000001la8mbi2im9");
506
+ const result = cuid.safeParse("cifjhdsfhsd-invalid-cuid");
507
+ expect(result).toMatchObject({ success: false });
508
+
509
+ expect(result.error!.issues[0].message).toEqual("Invalid cuid");
510
+ expect(result.error).toMatchInlineSnapshot(`
511
+ [ZodError: [
512
+ {
513
+ "origin": "string",
514
+ "code": "invalid_format",
515
+ "format": "cuid",
516
+ "pattern": "/^[cC][^\\\\s-]{8,}$/",
517
+ "path": [],
518
+ "message": "Invalid cuid"
519
+ }
520
+ ]]
521
+ `);
522
+ });
523
+
524
+ test("cuid2", () => {
525
+ const cuid2 = z.string().cuid2();
526
+ const validStrings = [
527
+ "a", // short string
528
+ "tz4a98xxat96iws9zmbrgj3a", // normal string
529
+ "kf5vz6ssxe4zjcb409rjgo747tc5qjazgptvotk6", // longer than require("@paralleldrive/cuid2").bigLength
530
+ ];
531
+ for (const s of validStrings) {
532
+ cuid2.parse(s);
533
+ }
534
+
535
+ const invalidStrings = [
536
+ "", // empty string
537
+ "tz4a98xxat96iws9zMbrgj3a", // include uppercase
538
+ "tz4a98xxat96iws-zmbrgj3a", // involve symbols
539
+ ];
540
+ const results = invalidStrings.map((s) => cuid2.safeParse(s));
541
+ expect(results.every((r) => !r.success)).toEqual(true);
542
+ if (!results[0].success) {
543
+ expect(results[0].error.issues[0].message).toEqual("Invalid cuid2");
544
+ }
545
+ });
546
+
547
+ test("ulid", () => {
548
+ const ulid = z.string().ulid();
549
+ ulid.parse("01ARZ3NDEKTSV4RRFFQ69G5FAV");
550
+ const result = ulid.safeParse("invalidulid");
551
+ expect(result).toMatchObject({ success: false });
552
+ const tooLong = "01ARZ3NDEKTSV4RRFFQ69G5FAVA";
553
+ expect(ulid.safeParse(tooLong)).toMatchObject({ success: false });
554
+
555
+ const caseInsensitive = ulid.safeParse("01arZ3nDeKTsV4RRffQ69G5FAV");
556
+ expect(caseInsensitive.success).toEqual(true);
557
+
558
+ expect(result.error!.issues[0].message).toEqual("Invalid ULID");
559
+ expect(result.error).toMatchInlineSnapshot(`
560
+ [ZodError: [
561
+ {
562
+ "origin": "string",
563
+ "code": "invalid_format",
564
+ "format": "ulid",
565
+ "pattern": "/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/",
566
+ "path": [],
567
+ "message": "Invalid ULID"
568
+ }
569
+ ]]
570
+ `);
571
+ });
572
+
573
+ test("xid", () => {
574
+ const xid = z.string().xid();
575
+ xid.parse("9m4e2mr0ui3e8a215n4g");
576
+ const result = xid.safeParse("invalidxid");
577
+ expect(result).toMatchObject({ success: false });
578
+
579
+ expect(result.error!.issues[0].message).toEqual("Invalid XID");
580
+ expect(result.error).toMatchInlineSnapshot(`
581
+ [ZodError: [
582
+ {
583
+ "origin": "string",
584
+ "code": "invalid_format",
585
+ "format": "xid",
586
+ "pattern": "/^[0-9a-vA-V]{20}$/",
587
+ "path": [],
588
+ "message": "Invalid XID"
589
+ }
590
+ ]]
591
+ `);
592
+ });
593
+
594
+ test("ksuid", () => {
595
+ const ksuid = z.string().ksuid();
596
+ ksuid.parse("0o0t9hkGxgFLtd3lmJ4TSTeY0Vb");
597
+ const result = ksuid.safeParse("invalidksuid");
598
+ expect(result).toMatchObject({ success: false });
599
+ const tooLong = "0o0t9hkGxgFLtd3lmJ4TSTeY0VbA";
600
+ expect(ksuid.safeParse(tooLong)).toMatchObject({ success: false });
601
+ expect(result.error!.issues).toMatchInlineSnapshot(`
602
+ [
603
+ {
604
+ "code": "invalid_format",
605
+ "format": "ksuid",
606
+ "message": "Invalid KSUID",
607
+ "origin": "string",
608
+ "path": [],
609
+ "pattern": "/^[A-Za-z0-9]{27}$/",
610
+ },
611
+ ]
612
+ `);
613
+ });
614
+
615
+ test("regex", () => {
616
+ z.string()
617
+ .regex(/^moo+$/)
618
+ .parse("mooooo");
619
+ expect(() => z.string().uuid().parse("purr")).toThrow();
620
+ });
621
+
622
+ test("regexp error message", () => {
623
+ const result = z
624
+ .string()
625
+ .regex(/^moo+$/)
626
+ .safeParse("boooo");
627
+ expect(result.error!.issues).toMatchInlineSnapshot(`
628
+ [
629
+ {
630
+ "code": "invalid_format",
631
+ "format": "regex",
632
+ "message": "Invalid string: must match pattern /^moo+$/",
633
+ "origin": "string",
634
+ "path": [],
635
+ "pattern": "/^moo+$/",
636
+ },
637
+ ]
638
+ `);
639
+
640
+ expect(() => z.string().uuid().parse("purr")).toThrow();
641
+ });
642
+
643
+ test("regexp error custom message", () => {
644
+ const result = z
645
+ .string()
646
+ .regex(/^moo+$/, { message: "Custom error message" })
647
+ .safeParse("boooo");
648
+ expect(result.error!.issues).toMatchInlineSnapshot(`
649
+ [
650
+ {
651
+ "code": "invalid_format",
652
+ "format": "regex",
653
+ "message": "Custom error message",
654
+ "origin": "string",
655
+ "path": [],
656
+ "pattern": "/^moo+$/",
657
+ },
658
+ ]
659
+ `);
660
+
661
+ expect(() => z.string().uuid().parse("purr")).toThrow();
662
+ });
663
+
664
+ test("regex lastIndex reset", () => {
665
+ const schema = z.string().regex(/^\d+$/g);
666
+ expect(schema.safeParse("123").success).toEqual(true);
667
+ expect(schema.safeParse("123").success).toEqual(true);
668
+ expect(schema.safeParse("123").success).toEqual(true);
669
+ expect(schema.safeParse("123").success).toEqual(true);
670
+ expect(schema.safeParse("123").success).toEqual(true);
671
+ });
672
+
673
+ test("format", () => {
674
+ expect(z.string().email().format).toEqual("email");
675
+ expect(z.string().url().format).toEqual("url");
676
+ expect(z.string().jwt().format).toEqual("jwt");
677
+ expect(z.string().emoji().format).toEqual("emoji");
678
+ expect(z.string().guid().format).toEqual("guid");
679
+ expect(z.string().uuid().format).toEqual("uuid");
680
+ expect(z.string().uuidv4().format).toEqual("uuid");
681
+ expect(z.string().uuidv6().format).toEqual("uuid");
682
+ expect(z.string().uuidv7().format).toEqual("uuid");
683
+ expect(z.string().nanoid().format).toEqual("nanoid");
684
+ expect(z.string().guid().format).toEqual("guid");
685
+ expect(z.string().cuid().format).toEqual("cuid");
686
+ expect(z.string().cuid2().format).toEqual("cuid2");
687
+ expect(z.string().ulid().format).toEqual("ulid");
688
+ expect(z.string().base64().format).toEqual("base64");
689
+ // expect(z.string().jsonString().format).toEqual("json_string");
690
+ // expect(z.string().json().format).toEqual("json_string");
691
+ expect(z.string().xid().format).toEqual("xid");
692
+ expect(z.string().ksuid().format).toEqual("ksuid");
693
+ // expect(z.string().ip().format).toEqual("ip");
694
+ expect(z.string().ipv4().format).toEqual("ipv4");
695
+ expect(z.string().ipv6().format).toEqual("ipv6");
696
+ expect(z.string().e164().format).toEqual("e164");
697
+ expect(z.string().datetime().format).toEqual("datetime");
698
+ expect(z.string().date().format).toEqual("date");
699
+ expect(z.string().time().format).toEqual("time");
700
+ expect(z.string().duration().format).toEqual("duration");
701
+ });
702
+
703
+ test("min max getters", () => {
704
+ expect(z.string().min(5).minLength).toEqual(5);
705
+ expect(z.string().min(5).min(10).minLength).toEqual(10);
706
+ expect(z.string().minLength).toEqual(null);
707
+
708
+ expect(z.string().max(5).maxLength).toEqual(5);
709
+ expect(z.string().max(5).max(1).maxLength).toEqual(1);
710
+ expect(z.string().max(5).max(10).maxLength).toEqual(5);
711
+ expect(z.string().maxLength).toEqual(null);
712
+ });
713
+
714
+ test("trim", () => {
715
+ expect(z.string().trim().min(2).parse(" 12 ")).toEqual("12");
716
+
717
+ // ordering of methods is respected
718
+ expect(z.string().min(2).trim().parse(" 1 ")).toEqual("1");
719
+ expect(() => z.string().trim().min(2).parse(" 1 ")).toThrow();
720
+ });
721
+
722
+ test("lowerCase", () => {
723
+ expect(z.string().toLowerCase().parse("ASDF")).toEqual("asdf");
724
+ expect(z.string().toUpperCase().parse("asdf")).toEqual("ASDF");
725
+ });
726
+
727
+ // test("IP validation", () => {
728
+ // const ipSchema = z.string().ip();
729
+
730
+ // // General IP validation (accepts both v4 and v6)
731
+ // expect(ipSchema.safeParse("114.71.82.94").success).toBe(true);
732
+ // expect(ipSchema.safeParse("0.0.0.0").success).toBe(true);
733
+ // expect(ipSchema.safeParse("37.85.236.115").success).toBe(true);
734
+ // expect(ipSchema.safeParse("1e5e:e6c8:daac:514b:114b:e360:d8c0:682c").success).toBe(true);
735
+ // expect(ipSchema.safeParse("9d4:c956:420f:5788:4339:9b3b:2418:75c3").success).toBe(true);
736
+ // expect(ipSchema.safeParse("a6ea::2454:a5ce:94.105.123.75").success).toBe(true);
737
+ // expect(ipSchema.safeParse("474f:4c83::4e40:a47:ff95:0cda").success).toBe(true);
738
+ // expect(ipSchema.safeParse("d329:0:25b4:db47:a9d1:0:4926:0000").success).toBe(true);
739
+ // expect(ipSchema.safeParse("e48:10fb:1499:3e28:e4b6:dea5:4692:912c").success).toBe(true);
740
+
741
+ // expect(ipSchema.safeParse("d329:1be4:25b4:db47:a9d1:dc71:4926:992c:14af").success).toBe(false);
742
+ // expect(ipSchema.safeParse("d5e7:7214:2b78::3906:85e6:53cc:709:32ba").success).toBe(false);
743
+ // expect(ipSchema.safeParse("8f69::c757:395e:976e::3441").success).toBe(false);
744
+ // expect(ipSchema.safeParse("54cb::473f:d516:0.255.256.22").success).toBe(false);
745
+ // expect(ipSchema.safeParse("54cb::473f:d516:192.168.1").success).toBe(false);
746
+ // expect(ipSchema.safeParse("256.0.4.4").success).toBe(false);
747
+ // expect(ipSchema.safeParse("-1.0.555.4").success).toBe(false);
748
+ // expect(ipSchema.safeParse("0.0.0.0.0").success).toBe(false);
749
+ // expect(ipSchema.safeParse("1.1.1").success).toBe(false);
750
+ // });
751
+
752
+ test("IPv4 validation", () => {
753
+ const ipv4 = z.string().ipv4();
754
+
755
+ // Valid IPv4 addresses
756
+ expect(ipv4.safeParse("114.71.82.94").success).toBe(true);
757
+ expect(ipv4.safeParse("0.0.0.0").success).toBe(true);
758
+ expect(ipv4.safeParse("37.85.236.115").success).toBe(true);
759
+ expect(ipv4.safeParse("192.168.0.1").success).toBe(true);
760
+ expect(ipv4.safeParse("255.255.255.255").success).toBe(true);
761
+ expect(ipv4.safeParse("1.2.3.4").success).toBe(true);
762
+
763
+ // Invalid IPv4 addresses
764
+ expect(ipv4.safeParse("256.0.4.4").success).toBe(false);
765
+ expect(ipv4.safeParse("-1.0.555.4").success).toBe(false);
766
+ expect(ipv4.safeParse("0.0.0.0.0").success).toBe(false);
767
+ expect(ipv4.safeParse("1.1.1").success).toBe(false);
768
+ expect(ipv4.safeParse("1e5e:e6c8:daac:514b:114b:e360:d8c0:682c").success).toBe(false);
769
+ expect(ipv4.safeParse("a6ea::2454:a5ce:94.105.123.75").success).toBe(false);
770
+ expect(ipv4.safeParse("not an ip").success).toBe(false);
771
+ expect(ipv4.safeParse("1.2.3").success).toBe(false);
772
+ expect(ipv4.safeParse("1.2.3.4.5").success).toBe(false);
773
+ expect(ipv4.safeParse("1.2.3.256").success).toBe(false);
774
+
775
+ // Test specific error
776
+ expect(() => ipv4.parse("6097:adfa:6f0b:220d:db08:5021:6191:7990")).toThrow();
777
+ });
778
+
779
+ test("IPv6 validation", () => {
780
+ const ipv6 = z.string().ipv6();
781
+
782
+ // Valid IPv6 addresses
783
+ expect(ipv6.safeParse("1e5e:e6c8:daac:514b:114b:e360:d8c0:682c").success).toBe(true);
784
+ expect(ipv6.safeParse("9d4:c956:420f:5788:4339:9b3b:2418:75c3").success).toBe(true);
785
+ expect(ipv6.safeParse("a6ea::2454:a5ce:94.105.123.75").success).toBe(true);
786
+ expect(ipv6.safeParse("474f:4c83::4e40:a47:ff95:0cda").success).toBe(true);
787
+ expect(ipv6.safeParse("d329:0:25b4:db47:a9d1:0:4926:0000").success).toBe(true);
788
+ expect(ipv6.safeParse("e48:10fb:1499:3e28:e4b6:dea5:4692:912c").success).toBe(true);
789
+ expect(ipv6.safeParse("::1").success).toBe(true);
790
+ expect(ipv6.safeParse("2001:db8::").success).toBe(true);
791
+ expect(ipv6.safeParse("2001:0db8:85a3:0000:0000:8a2e:0370:7334").success).toBe(true);
792
+ expect(ipv6.safeParse("2001:db8::192.168.0.1").success).toBe(true);
793
+ expect(ipv6.safeParse("::ffff:192.168.0.1").success).toBe(true);
794
+ expect(ipv6.safeParse("::ffff:c000:0280").success).toBe(true); // IPv4-mapped IPv6 address
795
+ expect(ipv6.safeParse("64:ff9b::192.168.0.1").success).toBe(true); // IPv4/IPv6 translation
796
+
797
+ // Invalid IPv6 addresses
798
+ expect(ipv6.safeParse("d329:1be4:25b4:db47:a9d1:dc71:4926:992c:14af").success).toBe(false);
799
+ expect(ipv6.safeParse("d5e7:7214:2b78::3906:85e6:53cc:709:32ba").success).toBe(false);
800
+ expect(ipv6.safeParse("8f69::c757:395e:976e::3441").success).toBe(false);
801
+ expect(ipv6.safeParse("54cb::473f:d516:0.255.256.22").success).toBe(false);
802
+ expect(ipv6.safeParse("54cb::473f:d516:192.168.1").success).toBe(false);
803
+ expect(ipv6.safeParse("114.71.82.94").success).toBe(false);
804
+ expect(ipv6.safeParse("not an ip").success).toBe(false);
805
+ expect(ipv6.safeParse("g123::1234:5678").success).toBe(false);
806
+
807
+ // Test specific error
808
+ expect(() => ipv6.parse("254.164.77.1")).toThrow();
809
+ });
810
+
811
+ test("CIDR v4 validation", () => {
812
+ const cidrV4 = z.string().cidrv4();
813
+
814
+ // Valid CIDR v4 addresses
815
+ expect(cidrV4.safeParse("192.168.0.0/24").success).toBe(true);
816
+ expect(cidrV4.safeParse("10.0.0.0/8").success).toBe(true);
817
+ expect(cidrV4.safeParse("172.16.0.0/12").success).toBe(true);
818
+ expect(cidrV4.safeParse("0.0.0.0/0").success).toBe(true);
819
+ expect(cidrV4.safeParse("255.255.255.255/32").success).toBe(true);
820
+
821
+ // Invalid CIDR v4 addresses
822
+ expect(cidrV4.safeParse("192.168.0.0").success).toBe(false); // Missing prefix
823
+ expect(cidrV4.safeParse("192.168.0.0/33").success).toBe(false); // Invalid prefix length
824
+ expect(cidrV4.safeParse("256.0.0.0/24").success).toBe(false); // Invalid IP
825
+ expect(cidrV4.safeParse("192.168.0.0/-1").success).toBe(false); // Negative prefix length
826
+ expect(cidrV4.safeParse("not a cidr").success).toBe(false); // Invalid format
827
+ });
828
+
829
+ test("CIDR v6 validation", () => {
830
+ const cidrV6 = z.string().cidrv6();
831
+
832
+ // Valid CIDR v6 addresses
833
+ expect(cidrV6.safeParse("2001:db8::/32").success).toBe(true);
834
+ expect(cidrV6.safeParse("::/0").success).toBe(true);
835
+ expect(cidrV6.safeParse("fe80::/10").success).toBe(true);
836
+ expect(cidrV6.safeParse("::1/128").success).toBe(true);
837
+ expect(cidrV6.safeParse("2001:0db8:85a3::/64").success).toBe(true);
838
+
839
+ // Invalid CIDR v6 addresses
840
+ expect(cidrV6.safeParse("2001:db8::").success).toBe(false); // Missing prefix
841
+ expect(cidrV6.safeParse("2001:db8::/129").success).toBe(false); // Invalid prefix length
842
+ expect(cidrV6.safeParse("2001:db8::/abc").success).toBe(false); // Invalid prefix format
843
+ expect(cidrV6.safeParse("not a cidr").success).toBe(false); // Invalid format
844
+ expect(cidrV6.safeParse("192.168.0.0/24").success).toBe(false); // IPv4 CIDR in v6 validation
845
+ });
846
+
847
+ test("E.164 validation", () => {
848
+ const e164Number = z.string().e164();
849
+ expect(e164Number.safeParse("+1555555").success).toBe(true);
850
+
851
+ const validE164Numbers = [
852
+ "+1555555", // min-length (7 digits + '+')
853
+ "+15555555",
854
+ "+155555555",
855
+ "+1555555555",
856
+ "+15555555555",
857
+ "+155555555555",
858
+ "+1555555555555",
859
+ "+15555555555555",
860
+ "+155555555555555",
861
+ "+105555555555555",
862
+ "+100555555555555", // max-length (15 digits + '+')
863
+ ];
864
+
865
+ const invalidE164Numbers = [
866
+ "", // empty
867
+ "+", // only plus sign
868
+ "-", // wrong sign
869
+ " 555555555", // starts with space
870
+ "555555555", // missing plus sign
871
+ "+1 555 555 555", // space after plus sign
872
+ "+1555 555 555", // space between numbers
873
+ "+1555+555", // multiple plus signs
874
+ "+1555555555555555", // too long
875
+ "+115abc55", // non numeric characters in number part
876
+ "+1555555 ", // space after number
877
+ ];
878
+
879
+ expect(validE164Numbers.every((number) => e164Number.safeParse(number).success)).toBe(true);
880
+ expect(invalidE164Numbers.every((number) => e164Number.safeParse(number).success === false)).toBe(true);
881
+ });