@ykdz/template 0.0.35 → 0.0.37

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 (720) hide show
  1. package/dist/application.d.ts +131 -14
  2. package/dist/application.js +307 -206
  3. package/dist/command-result.d.ts +9 -0
  4. package/dist/command-result.js +231 -0
  5. package/dist/main.d.ts +4 -1
  6. package/dist/main.js +321 -49
  7. package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.d.ts +159 -45
  8. package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.js +2816 -535
  9. package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.d.ts +39 -0
  10. package/node_modules/@ykdz/template-builtin-presets/dist/src/generation-record.js +178 -0
  11. package/node_modules/@ykdz/template-builtin-presets/dist/src/index.d.ts +2 -2
  12. package/node_modules/@ykdz/template-builtin-presets/dist/src/index.js +1 -1
  13. package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.d.ts +31 -2
  14. package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.js +44 -47
  15. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.d.ts +1 -1
  16. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.js +1 -1
  17. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.d.ts +10 -7
  18. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.js +11 -7
  19. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.d.ts +6 -4
  20. package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.js +8 -7
  21. package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.d.ts +1 -1
  22. package/node_modules/@ykdz/template-builtin-presets/dist/src/template-sources.js +1 -1
  23. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.d.ts +31 -2
  24. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.js +111 -64
  25. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.d.ts +31 -2
  26. package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.js +37 -29
  27. package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.d.ts +48 -2
  28. package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.js +203 -155
  29. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.d.ts +26 -2
  30. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.js +21 -9
  31. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.d.ts +22 -2
  32. package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.js +48 -38
  33. package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/bin/semver.js +0 -0
  34. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/README.md +1 -1
  35. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.cjs +427 -504
  36. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.d.cts +427 -32
  37. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.d.mts +427 -32
  38. package/node_modules/@ykdz/template-builtin-presets/node_modules/valibot/dist/index.min.cjs +2 -0
  39. package/node_modules/@ykdz/template-builtin-presets/node_modules/valibot/dist/index.min.mjs +2 -0
  40. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/dist/index.mjs +418 -504
  41. package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/package.json +7 -2
  42. package/node_modules/@ykdz/template-builtin-presets/package.json +30 -16
  43. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment-diagnostics.yml +5 -5
  44. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment.yml +4 -4
  45. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-diagnostics.yml +4 -4
  46. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.yml +3 -3
  47. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.pnpmfile.mjs +19 -0
  48. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/AGENTS.md.template +11 -0
  49. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/devcontainer.json +1 -2
  50. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.dynamic.txt +1 -0
  51. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/pnpm-workspace.yaml +5 -5
  52. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/check-toolchain-versions.ts +556 -0
  53. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/tsconfig.json +4 -6
  54. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/tsconfig.packing-hook.json +7 -0
  55. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo.json +1 -1
  56. package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/turbo.json +19 -1
  57. package/node_modules/@ykdz/template-builtin-presets/templates/shared/devcontainer/node-pnpm.Dockerfile +4 -6
  58. package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/tsconfig.config.json +2 -1
  59. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.app.json +1 -1
  60. package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.node.json +2 -2
  61. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/CHANGELOG.md.template +17 -0
  62. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/RELEASING.md +17 -0
  63. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/artifact.ts +1271 -0
  64. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/changelog.ts +283 -0
  65. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-artifact.ts +99 -0
  66. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/check-readiness.ts +66 -0
  67. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/cli-command-identity.ts +4 -0
  68. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/handoff.ts +450 -0
  69. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/publish.ts +483 -0
  70. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/readiness.ts +1146 -0
  71. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.ts +819 -0
  72. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/release.yml +119 -0
  73. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/root-tsconfig.json +8 -0
  74. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/tsconfig.json +4 -0
  75. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication/turbo.json +6 -0
  76. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/README.md +48 -0
  77. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/CHANGELOG.md.template +17 -0
  78. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-APACHE-2.0.txt +202 -0
  79. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/LICENSE-MIT.txt +21 -0
  80. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/assets/README.md.template +5 -0
  81. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/bridge.ts +3336 -0
  82. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/publication-setup/setup.sh +221 -0
  83. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/cli-command-identity.ts +133 -0
  84. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/cli.ts +4 -3
  85. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/src/main.ts +5 -4
  86. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/integration/command.test.ts +14 -13
  87. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/test/unit/cli-command-identity.test.ts +76 -0
  88. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.build.json +2 -0
  89. package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.json +2 -2
  90. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.build.json +2 -1
  91. package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.json +2 -2
  92. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/scripts/reset.ts +3 -0
  93. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/db.ts +3 -4
  94. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/readiness.ts +6 -5
  95. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/storage.ts +93 -0
  96. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.build.json +8 -2
  97. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.json +3 -7
  98. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/turbo.json +1 -1
  99. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/drizzle.config.ts +5 -5
  100. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.build.json +2 -1
  101. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.json +2 -2
  102. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/.env.example +2 -1
  103. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile +25 -17
  104. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/Dockerfile.dockerignore +4 -4
  105. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/playwright.config.ts +5 -25
  106. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/scripts/check-standalone-deployment.ts +17 -15
  107. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/test/playwright-teardown.ts +6 -7
  108. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.app.json +1 -2
  109. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.json +0 -1
  110. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.node.json +2 -3
  111. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.test.json +0 -1
  112. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/turbo.json +0 -8
  113. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/vite.config.ts +3 -39
  114. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.json +7 -2
  115. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/playwright.config.ts +34 -0
  116. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/{web → root}/test/e2e/app.spec.ts +3 -3
  117. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/test/e2e/fixtures.ts +15 -0
  118. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/root/tsconfig.json +3 -0
  119. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/src/api.ts +1 -3
  120. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/turbo.json +0 -4
  121. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/vite.config.ts +2 -0
  122. package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.d.ts +2 -2
  123. package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.js +10 -5
  124. package/node_modules/@ykdz/template-core/dist/module-graph.d.ts +16 -54
  125. package/node_modules/@ykdz/template-core/dist/module-graph.js +140 -105
  126. package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +47 -11
  127. package/node_modules/@ykdz/template-core/dist/package-contribution.js +92 -0
  128. package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +21 -16
  129. package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +82 -13
  130. package/node_modules/@ykdz/template-core/dist/preset-definition.js +16 -1
  131. package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +56 -0
  132. package/node_modules/@ykdz/template-core/dist/project-blueprint.js +271 -0
  133. package/node_modules/@ykdz/template-core/dist/project-github.d.ts +6 -4
  134. package/node_modules/@ykdz/template-core/dist/project-github.js +4 -4
  135. package/node_modules/@ykdz/template-core/dist/project-linking-v2.d.ts +4 -4
  136. package/node_modules/@ykdz/template-core/dist/project-linking-v2.js +14 -8
  137. package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +29 -1
  138. package/node_modules/@ykdz/template-core/dist/project-projection.js +501 -29
  139. package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.d.ts +10 -0
  140. package/node_modules/@ykdz/template-core/dist/release-toolchain-snapshot.js +9 -0
  141. package/node_modules/@ykdz/template-core/dist/renderer.d.ts +0 -2
  142. package/node_modules/@ykdz/template-core/dist/renderer.js +17 -38
  143. package/node_modules/@ykdz/template-core/dist/template-boundary-check.d.ts +2 -2
  144. package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +21 -9
  145. package/node_modules/@ykdz/template-core/node_modules/valibot/LICENSE.md +9 -0
  146. package/node_modules/@ykdz/template-core/node_modules/valibot/README.md +94 -0
  147. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.cjs +7897 -0
  148. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.cts +16579 -0
  149. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.d.mts +16579 -0
  150. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.cjs +2 -0
  151. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.min.mjs +2 -0
  152. package/node_modules/@ykdz/template-core/node_modules/valibot/dist/index.mjs +7577 -0
  153. package/node_modules/@ykdz/template-core/node_modules/valibot/package.json +84 -0
  154. package/node_modules/@ykdz/template-core/package.json +0 -2
  155. package/node_modules/hosted-git-info/LICENSE +13 -0
  156. package/node_modules/hosted-git-info/README.md +138 -0
  157. package/node_modules/hosted-git-info/lib/from-url.js +122 -0
  158. package/node_modules/hosted-git-info/lib/hosts.js +229 -0
  159. package/node_modules/hosted-git-info/lib/index.js +227 -0
  160. package/node_modules/hosted-git-info/lib/parse-url.js +79 -0
  161. package/node_modules/hosted-git-info/package.json +57 -0
  162. package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  163. package/node_modules/jsonc-parser/LICENSE.md +21 -0
  164. package/node_modules/jsonc-parser/README.md +364 -0
  165. package/node_modules/jsonc-parser/SECURITY.md +41 -0
  166. package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
  167. package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
  168. package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
  169. package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
  170. package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
  171. package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
  172. package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
  173. package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
  174. package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
  175. package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
  176. package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
  177. package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
  178. package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
  179. package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
  180. package/node_modules/jsonc-parser/package.json +37 -0
  181. package/node_modules/lru-cache/LICENSE.md +55 -0
  182. package/node_modules/lru-cache/README.md +469 -0
  183. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
  184. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
  185. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
  186. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  187. package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +1400 -0
  188. package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
  189. package/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
  190. package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
  191. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  192. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
  193. package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
  194. package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
  195. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  196. package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
  197. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
  198. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
  199. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
  200. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  201. package/node_modules/lru-cache/dist/commonjs/index.d.ts +1400 -0
  202. package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  203. package/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
  204. package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  205. package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  206. package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  207. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
  208. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
  209. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
  210. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  211. package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
  212. package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
  213. package/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
  214. package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
  215. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  216. package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
  217. package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
  218. package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
  219. package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  220. package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
  221. package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  222. package/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
  223. package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
  224. package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  225. package/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
  226. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
  227. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
  228. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
  229. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
  230. package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
  231. package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
  232. package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
  233. package/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
  234. package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
  235. package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
  236. package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
  237. package/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
  238. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +1 -0
  239. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
  240. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
  241. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  242. package/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
  243. package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
  244. package/node_modules/lru-cache/dist/esm/browser/index.js +1729 -0
  245. package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
  246. package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  247. package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
  248. package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
  249. package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
  250. package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  251. package/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
  252. package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
  253. package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
  254. package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
  255. package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  256. package/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
  257. package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  258. package/node_modules/lru-cache/dist/esm/index.js +1729 -0
  259. package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  260. package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  261. package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  262. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
  263. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
  264. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
  265. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  266. package/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
  267. package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
  268. package/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
  269. package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
  270. package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  271. package/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
  272. package/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
  273. package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
  274. package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  275. package/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
  276. package/node_modules/lru-cache/dist/esm/package.json +3 -0
  277. package/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
  278. package/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
  279. package/node_modules/lru-cache/dist/esm/perf.js +7 -0
  280. package/node_modules/lru-cache/dist/esm/perf.js.map +1 -0
  281. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
  282. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
  283. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
  284. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
  285. package/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
  286. package/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
  287. package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
  288. package/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
  289. package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
  290. package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
  291. package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
  292. package/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
  293. package/node_modules/lru-cache/package.json +180 -0
  294. package/node_modules/npm-package-arg/LICENSE +15 -0
  295. package/node_modules/npm-package-arg/README.md +104 -0
  296. package/node_modules/npm-package-arg/lib/npa.js +479 -0
  297. package/node_modules/npm-package-arg/node_modules/semver/LICENSE +15 -0
  298. package/node_modules/npm-package-arg/node_modules/semver/README.md +680 -0
  299. package/node_modules/npm-package-arg/node_modules/semver/bin/semver.js +195 -0
  300. package/node_modules/npm-package-arg/node_modules/semver/classes/comparator.js +143 -0
  301. package/node_modules/npm-package-arg/node_modules/semver/classes/index.js +7 -0
  302. package/node_modules/npm-package-arg/node_modules/semver/classes/range.js +577 -0
  303. package/node_modules/npm-package-arg/node_modules/semver/classes/semver.js +350 -0
  304. package/node_modules/npm-package-arg/node_modules/semver/functions/clean.js +8 -0
  305. package/node_modules/npm-package-arg/node_modules/semver/functions/cmp.js +54 -0
  306. package/node_modules/npm-package-arg/node_modules/semver/functions/coerce.js +62 -0
  307. package/node_modules/npm-package-arg/node_modules/semver/functions/compare-build.js +9 -0
  308. package/node_modules/npm-package-arg/node_modules/semver/functions/compare-loose.js +5 -0
  309. package/node_modules/npm-package-arg/node_modules/semver/functions/compare.js +7 -0
  310. package/node_modules/npm-package-arg/node_modules/semver/functions/diff.js +60 -0
  311. package/node_modules/npm-package-arg/node_modules/semver/functions/eq.js +5 -0
  312. package/node_modules/npm-package-arg/node_modules/semver/functions/gt.js +5 -0
  313. package/node_modules/npm-package-arg/node_modules/semver/functions/gte.js +5 -0
  314. package/node_modules/npm-package-arg/node_modules/semver/functions/inc.js +21 -0
  315. package/node_modules/npm-package-arg/node_modules/semver/functions/lt.js +5 -0
  316. package/node_modules/npm-package-arg/node_modules/semver/functions/lte.js +5 -0
  317. package/node_modules/npm-package-arg/node_modules/semver/functions/major.js +5 -0
  318. package/node_modules/npm-package-arg/node_modules/semver/functions/minor.js +5 -0
  319. package/node_modules/npm-package-arg/node_modules/semver/functions/neq.js +5 -0
  320. package/node_modules/npm-package-arg/node_modules/semver/functions/parse.js +18 -0
  321. package/node_modules/npm-package-arg/node_modules/semver/functions/patch.js +5 -0
  322. package/node_modules/npm-package-arg/node_modules/semver/functions/prerelease.js +8 -0
  323. package/node_modules/npm-package-arg/node_modules/semver/functions/rcompare.js +5 -0
  324. package/node_modules/npm-package-arg/node_modules/semver/functions/rsort.js +5 -0
  325. package/node_modules/npm-package-arg/node_modules/semver/functions/satisfies.js +12 -0
  326. package/node_modules/npm-package-arg/node_modules/semver/functions/sort.js +5 -0
  327. package/node_modules/npm-package-arg/node_modules/semver/functions/truncate.js +48 -0
  328. package/node_modules/npm-package-arg/node_modules/semver/functions/valid.js +8 -0
  329. package/node_modules/npm-package-arg/node_modules/semver/index.js +93 -0
  330. package/node_modules/npm-package-arg/node_modules/semver/internal/constants.js +37 -0
  331. package/node_modules/npm-package-arg/node_modules/semver/internal/debug.js +11 -0
  332. package/node_modules/npm-package-arg/node_modules/semver/internal/identifiers.js +29 -0
  333. package/node_modules/npm-package-arg/node_modules/semver/internal/lrucache.js +42 -0
  334. package/node_modules/npm-package-arg/node_modules/semver/internal/parse-options.js +17 -0
  335. package/node_modules/npm-package-arg/node_modules/semver/internal/re.js +223 -0
  336. package/node_modules/npm-package-arg/node_modules/semver/package.json +78 -0
  337. package/node_modules/npm-package-arg/node_modules/semver/preload.js +4 -0
  338. package/node_modules/npm-package-arg/node_modules/semver/range.bnf +17 -0
  339. package/node_modules/npm-package-arg/node_modules/semver/ranges/gtr.js +6 -0
  340. package/node_modules/npm-package-arg/node_modules/semver/ranges/intersects.js +9 -0
  341. package/node_modules/npm-package-arg/node_modules/semver/ranges/ltr.js +6 -0
  342. package/node_modules/npm-package-arg/node_modules/semver/ranges/max-satisfying.js +27 -0
  343. package/node_modules/npm-package-arg/node_modules/semver/ranges/min-satisfying.js +26 -0
  344. package/node_modules/npm-package-arg/node_modules/semver/ranges/min-version.js +63 -0
  345. package/node_modules/npm-package-arg/node_modules/semver/ranges/outside.js +82 -0
  346. package/node_modules/npm-package-arg/node_modules/semver/ranges/simplify.js +49 -0
  347. package/node_modules/npm-package-arg/node_modules/semver/ranges/subset.js +249 -0
  348. package/node_modules/npm-package-arg/node_modules/semver/ranges/to-comparators.js +10 -0
  349. package/node_modules/npm-package-arg/node_modules/semver/ranges/valid.js +13 -0
  350. package/node_modules/npm-package-arg/package.json +60 -0
  351. package/node_modules/picomatch/LICENSE +21 -0
  352. package/node_modules/picomatch/README.md +743 -0
  353. package/node_modules/picomatch/index.js +17 -0
  354. package/node_modules/picomatch/lib/constants.js +184 -0
  355. package/node_modules/picomatch/lib/parse.js +1425 -0
  356. package/node_modules/picomatch/lib/picomatch.js +361 -0
  357. package/node_modules/picomatch/lib/scan.js +403 -0
  358. package/node_modules/picomatch/lib/utils.js +72 -0
  359. package/node_modules/picomatch/package.json +83 -0
  360. package/node_modules/picomatch/posix.js +3 -0
  361. package/node_modules/proc-log/LICENSE +15 -0
  362. package/node_modules/proc-log/README.md +226 -0
  363. package/node_modules/proc-log/lib/index.js +158 -0
  364. package/node_modules/proc-log/package.json +46 -0
  365. package/node_modules/smol-toml/LICENSE +24 -0
  366. package/node_modules/smol-toml/README.md +605 -0
  367. package/node_modules/smol-toml/dist/date.d.ts +41 -0
  368. package/node_modules/smol-toml/dist/date.js +156 -0
  369. package/node_modules/smol-toml/dist/error.d.ts +37 -0
  370. package/node_modules/smol-toml/dist/error.js +67 -0
  371. package/node_modules/smol-toml/dist/extract.js +289 -0
  372. package/node_modules/smol-toml/dist/index.cjs +770 -0
  373. package/node_modules/smol-toml/dist/index.d.ts +44 -0
  374. package/node_modules/smol-toml/dist/index.js +34 -0
  375. package/node_modules/smol-toml/dist/parse.d.ts +73 -0
  376. package/node_modules/smol-toml/dist/parse.js +164 -0
  377. package/node_modules/smol-toml/dist/primitive.js +151 -0
  378. package/node_modules/smol-toml/dist/stringify.d.ts +32 -0
  379. package/node_modules/smol-toml/dist/stringify.js +219 -0
  380. package/node_modules/smol-toml/dist/struct.js +156 -0
  381. package/node_modules/smol-toml/dist/util.d.ts +43 -0
  382. package/node_modules/smol-toml/dist/util.js +57 -0
  383. package/node_modules/smol-toml/package.json +68 -0
  384. package/node_modules/typescript/bin/tsc +0 -0
  385. package/node_modules/typescript/bin/tsserver +0 -0
  386. package/node_modules/unbash/LICENSE +15 -0
  387. package/node_modules/unbash/README.md +289 -0
  388. package/node_modules/unbash/dist/ansi-c.d.ts +5 -0
  389. package/node_modules/unbash/dist/ansi-c.js +130 -0
  390. package/node_modules/unbash/dist/arithmetic.d.ts +11 -0
  391. package/node_modules/unbash/dist/arithmetic.js +530 -0
  392. package/node_modules/unbash/dist/assignment.d.ts +15 -0
  393. package/node_modules/unbash/dist/assignment.js +118 -0
  394. package/node_modules/unbash/dist/chars.d.ts +41 -0
  395. package/node_modules/unbash/dist/chars.js +41 -0
  396. package/node_modules/unbash/dist/command.d.ts +14 -0
  397. package/node_modules/unbash/dist/command.js +41 -0
  398. package/node_modules/unbash/dist/heredoc.d.ts +18 -0
  399. package/node_modules/unbash/dist/heredoc.js +25 -0
  400. package/node_modules/unbash/dist/internal-types.d.ts +87 -0
  401. package/node_modules/unbash/dist/internal-types.js +1 -0
  402. package/node_modules/unbash/dist/lexer.d.ts +202 -0
  403. package/node_modules/unbash/dist/lexer.js +3930 -0
  404. package/node_modules/unbash/dist/parser.d.ts +4 -0
  405. package/node_modules/unbash/dist/parser.js +1295 -0
  406. package/node_modules/unbash/dist/parts.d.ts +17 -0
  407. package/node_modules/unbash/dist/parts.js +82 -0
  408. package/node_modules/unbash/dist/printer.d.ts +2 -0
  409. package/node_modules/unbash/dist/printer.js +536 -0
  410. package/node_modules/unbash/dist/types.d.ts +494 -0
  411. package/node_modules/unbash/dist/types.js +1 -0
  412. package/node_modules/unbash/dist/word.d.ts +22 -0
  413. package/node_modules/unbash/dist/word.js +102 -0
  414. package/node_modules/unbash/package.json +80 -0
  415. package/node_modules/validate-npm-package-name/LICENSE +6 -0
  416. package/node_modules/validate-npm-package-name/README.md +120 -0
  417. package/node_modules/validate-npm-package-name/lib/builtin-modules.json +1 -0
  418. package/node_modules/validate-npm-package-name/lib/index.js +114 -0
  419. package/node_modules/validate-npm-package-name/package.json +59 -0
  420. package/node_modules/yaml/LICENSE +13 -0
  421. package/node_modules/yaml/README.md +172 -0
  422. package/node_modules/yaml/bin.mjs +11 -0
  423. package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  424. package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  425. package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
  426. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  427. package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
  428. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  429. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  430. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  431. package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  432. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  433. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
  434. package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  435. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  436. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  437. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  438. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  439. package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  440. package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  441. package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  442. package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  443. package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  444. package/node_modules/yaml/browser/dist/errors.js +57 -0
  445. package/node_modules/yaml/browser/dist/index.js +17 -0
  446. package/node_modules/yaml/browser/dist/log.js +11 -0
  447. package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
  448. package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  449. package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  450. package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  451. package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  452. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  453. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  454. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  455. package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  456. package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  457. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  458. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  459. package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  460. package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  461. package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
  462. package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  463. package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
  464. package/node_modules/yaml/browser/dist/public-api.js +102 -0
  465. package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  466. package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  467. package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  468. package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  469. package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  470. package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  471. package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  472. package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  473. package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  474. package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  475. package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  476. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  477. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  478. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  479. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  480. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
  481. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  482. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  483. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  484. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  485. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  486. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  487. package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
  488. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
  489. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  490. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  491. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
  492. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  493. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  494. package/node_modules/yaml/browser/dist/util.js +11 -0
  495. package/node_modules/yaml/browser/dist/visit.js +233 -0
  496. package/node_modules/yaml/browser/index.js +5 -0
  497. package/node_modules/yaml/browser/package.json +3 -0
  498. package/node_modules/yaml/dist/cli.d.ts +8 -0
  499. package/node_modules/yaml/dist/cli.mjs +201 -0
  500. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  501. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  502. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  503. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  504. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  505. package/node_modules/yaml/dist/compose/compose-node.js +112 -0
  506. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  507. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  508. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  509. package/node_modules/yaml/dist/compose/composer.js +224 -0
  510. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  511. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  512. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  513. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  514. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  515. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  516. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  517. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  518. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  519. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  520. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  521. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
  522. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  523. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  524. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  525. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  526. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  527. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  528. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  529. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  530. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  531. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  532. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  533. package/node_modules/yaml/dist/doc/Document.js +337 -0
  534. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  535. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  536. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  537. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  538. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  539. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  540. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  541. package/node_modules/yaml/dist/doc/directives.js +178 -0
  542. package/node_modules/yaml/dist/errors.d.ts +21 -0
  543. package/node_modules/yaml/dist/errors.js +62 -0
  544. package/node_modules/yaml/dist/index.d.ts +25 -0
  545. package/node_modules/yaml/dist/index.js +50 -0
  546. package/node_modules/yaml/dist/log.d.ts +3 -0
  547. package/node_modules/yaml/dist/log.js +19 -0
  548. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  549. package/node_modules/yaml/dist/nodes/Alias.js +120 -0
  550. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  551. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  552. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  553. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  554. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  555. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  556. package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
  557. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  558. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  559. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  560. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  561. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  562. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  563. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  564. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  565. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  566. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  567. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  568. package/node_modules/yaml/dist/options.d.ts +350 -0
  569. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  570. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  571. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  572. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  573. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  574. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  575. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  576. package/node_modules/yaml/dist/parse/cst.js +112 -0
  577. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  578. package/node_modules/yaml/dist/parse/lexer.js +723 -0
  579. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  580. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  581. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  582. package/node_modules/yaml/dist/parse/parser.js +980 -0
  583. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  584. package/node_modules/yaml/dist/public-api.js +107 -0
  585. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  586. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  587. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  588. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  589. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  590. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  591. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  592. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  593. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  594. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  595. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  596. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  597. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  598. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  599. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  600. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  601. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  602. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  603. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  604. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  605. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  606. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  607. package/node_modules/yaml/dist/schema/tags.js +99 -0
  608. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  609. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  610. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  611. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  612. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  613. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  614. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  615. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  616. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  617. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  618. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
  619. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  620. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  621. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  622. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  623. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  624. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  625. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  626. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  627. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  628. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  629. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  630. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  631. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  632. package/node_modules/yaml/dist/stringify/stringify.js +132 -0
  633. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  634. package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  635. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  636. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  637. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  638. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  639. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  640. package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
  641. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  642. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  643. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  644. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  645. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  646. package/node_modules/yaml/dist/test-events.js +134 -0
  647. package/node_modules/yaml/dist/util.d.ts +16 -0
  648. package/node_modules/yaml/dist/util.js +28 -0
  649. package/node_modules/yaml/dist/visit.d.ts +102 -0
  650. package/node_modules/yaml/dist/visit.js +236 -0
  651. package/node_modules/yaml/package.json +97 -0
  652. package/node_modules/yaml/util.js +2 -0
  653. package/package.json +23 -21
  654. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/check-boundaries.ts +0 -12
  655. package/node_modules/@ykdz/template-builtin-presets/templates/foundation/scripts/run-root-owned-task.ts +0 -69
  656. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/test/global-setup.ts +0 -21
  657. package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/vitest.config.ts +0 -7
  658. package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/playwright.config.ts +0 -90
  659. package/node_modules/@ykdz/template-core/dist/project-blueprint-v2.d.ts +0 -33
  660. package/node_modules/@ykdz/template-core/dist/project-blueprint-v2.js +0 -182
  661. package/node_modules/@ykdz/template-core/dist/toolchain-baseline-update.d.ts +0 -45
  662. package/node_modules/@ykdz/template-core/dist/toolchain-baseline-update.js +0 -27
  663. package/node_modules/@ykdz/template-core/dist/toolchain-resolution.d.ts +0 -35
  664. package/node_modules/@ykdz/template-core/dist/toolchain-resolution.js +0 -189
  665. package/node_modules/valibot/dist/index.min.cjs +0 -2
  666. package/node_modules/valibot/dist/index.min.mjs +0 -2
  667. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/LICENSE +0 -0
  668. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/README.md +0 -0
  669. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/comparator.js +0 -0
  670. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/index.js +0 -0
  671. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/range.js +0 -0
  672. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/classes/semver.js +0 -0
  673. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/clean.js +0 -0
  674. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/cmp.js +0 -0
  675. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/coerce.js +0 -0
  676. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare-build.js +0 -0
  677. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare-loose.js +0 -0
  678. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/compare.js +0 -0
  679. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/diff.js +0 -0
  680. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/eq.js +0 -0
  681. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/gt.js +0 -0
  682. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/gte.js +0 -0
  683. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/inc.js +0 -0
  684. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/lt.js +0 -0
  685. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/lte.js +0 -0
  686. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/major.js +0 -0
  687. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/minor.js +0 -0
  688. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/neq.js +0 -0
  689. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/parse.js +0 -0
  690. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/patch.js +0 -0
  691. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/prerelease.js +0 -0
  692. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/rcompare.js +0 -0
  693. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/rsort.js +0 -0
  694. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/satisfies.js +0 -0
  695. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/sort.js +0 -0
  696. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/truncate.js +0 -0
  697. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/functions/valid.js +0 -0
  698. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/index.js +0 -0
  699. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/constants.js +0 -0
  700. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/debug.js +0 -0
  701. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/identifiers.js +0 -0
  702. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/lrucache.js +0 -0
  703. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/parse-options.js +0 -0
  704. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/internal/re.js +0 -0
  705. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/package.json +0 -0
  706. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/preload.js +0 -0
  707. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/range.bnf +0 -0
  708. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/gtr.js +0 -0
  709. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/intersects.js +0 -0
  710. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/ltr.js +0 -0
  711. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/max-satisfying.js +0 -0
  712. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/min-satisfying.js +0 -0
  713. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/min-version.js +0 -0
  714. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/outside.js +0 -0
  715. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/simplify.js +0 -0
  716. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/subset.js +0 -0
  717. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/to-comparators.js +0 -0
  718. /package/node_modules/{semver → @ykdz/template-builtin-presets/node_modules/semver}/ranges/valid.js +0 -0
  719. /package/node_modules/{valibot → @ykdz/template-builtin-presets/node_modules/valibot}/LICENSE.md +0 -0
  720. /package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/src/{types.d.ts → types.ts} +0 -0
@@ -208,10 +208,10 @@ function _addIssue(context, label, dataset, config$1, other) {
208
208
  /**
209
209
  * Creates a shallow copy of a dataset.
210
210
  *
211
- * Hint: The `value` is copied by reference, but the `issues` array is cloned
212
- * to avoid reusing mutable dataset state across multiple runs. Mutating a
213
- * returned object or array value can therefore affect later cache hits that
214
- * reuse the same cached output.
211
+ * Hint: The `value` is copied by reference, but the `issues` array, its issues
212
+ * and their `path` arrays are cloned to avoid reusing mutable dataset state
213
+ * across multiple runs. Mutating a returned object or array value can
214
+ * therefore affect later cache hits that reuse the same cached output.
215
215
  *
216
216
  * @param dataset The output dataset.
217
217
  *
@@ -222,7 +222,10 @@ function _cloneDataset(dataset) {
222
222
  return {
223
223
  typed: dataset.typed,
224
224
  value: dataset.value,
225
- issues: dataset.issues && [...dataset.issues]
225
+ issues: dataset.issues?.map((issue) => ({
226
+ ...issue,
227
+ path: issue.path && [...issue.path]
228
+ }))
226
229
  };
227
230
  }
228
231
 
@@ -320,6 +323,29 @@ function _getByteCount(input) {
320
323
  return textEncoder.encode(input).length;
321
324
  }
322
325
 
326
+ //#endregion
327
+ //#region src/utils/_getCodePointCount/_getCodePointCount.ts
328
+ /**
329
+ * Returns the code point count of the input.
330
+ *
331
+ * @param input The input to be measured.
332
+ *
333
+ * @returns The code point count.
334
+ *
335
+ * @internal
336
+ */
337
+ /* @__NO_SIDE_EFFECTS__ */
338
+ function _getCodePointCount(input) {
339
+ let count = input.length;
340
+ const lengthMinus1 = input.length - 1;
341
+ for (let i = 0; i < lengthMinus1;) if (input.codePointAt(i) <= 65535) i++;
342
+ else {
343
+ i += 2;
344
+ count--;
345
+ }
346
+ return count;
347
+ }
348
+
323
349
  //#endregion
324
350
  //#region src/utils/_getGraphemeCount/_getGraphemeCount.ts
325
351
  let segmenter;
@@ -370,32 +396,6 @@ function _getLastMetadata(schema, type) {
370
396
  }
371
397
  }
372
398
 
373
- //#endregion
374
- //#region src/utils/_getStandardProps/_getStandardProps.ts
375
- const _standardCache = /* @__PURE__ */ new WeakMap();
376
- /**
377
- * Returns the Standard Schema properties.
378
- *
379
- * @param context The schema context.
380
- *
381
- * @returns The Standard Schema properties.
382
- */
383
- /* @__NO_SIDE_EFFECTS__ */
384
- function _getStandardProps(context) {
385
- let cached = _standardCache.get(context);
386
- if (!cached) {
387
- cached = {
388
- version: 1,
389
- vendor: "valibot",
390
- validate(value$1) {
391
- return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
392
- }
393
- };
394
- _standardCache.set(context, cached);
395
- }
396
- return cached;
397
- }
398
-
399
399
  //#endregion
400
400
  //#region src/utils/_getWordCount/_getWordCount.ts
401
401
  let store;
@@ -464,6 +464,24 @@ function _isLuhnAlgo(input) {
464
464
  return sum % 10 === 0;
465
465
  }
466
466
 
467
+ //#endregion
468
+ //#region src/utils/_isSameValueZero/_isSameValueZero.ts
469
+ /**
470
+ * Compares two values using the SameValueZero algorithm, which treats `NaN`
471
+ * as equal to itself unlike `===`.
472
+ *
473
+ * @param value1 The first value.
474
+ * @param value2 The second value.
475
+ *
476
+ * @returns Whether the values are equal.
477
+ *
478
+ * @internal
479
+ */
480
+ /* @__NO_SIDE_EFFECTS__ */
481
+ function _isSameValueZero(value1, value2) {
482
+ return value1 === value2 || Number.isNaN(value1) && Number.isNaN(value2);
483
+ }
484
+
467
485
  //#endregion
468
486
  //#region src/utils/_isValidObjectKey/_isValidObjectKey.ts
469
487
  /**
@@ -482,6 +500,23 @@ function _isValidObjectKey(object$1, key) {
482
500
  return Object.prototype.hasOwnProperty.call(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
483
501
  }
484
502
 
503
+ //#endregion
504
+ //#region src/utils/_isValueMatch/_isValueMatch.ts
505
+ /**
506
+ * Checks whether a value matches a value action requirement.
507
+ *
508
+ * @param requirement The value action requirement.
509
+ * @param value The value to check.
510
+ *
511
+ * @returns Whether the value matches the requirement.
512
+ *
513
+ * @internal
514
+ */
515
+ /* @__NO_SIDE_EFFECTS__ */
516
+ function _isValueMatch(requirement, value$1) {
517
+ return Number.isNaN(requirement) && Number.isNaN(value$1) || requirement <= value$1 && requirement >= value$1;
518
+ }
519
+
485
520
  //#endregion
486
521
  //#region src/utils/_joinExpects/_joinExpects.ts
487
522
  /**
@@ -501,6 +536,29 @@ function _joinExpects(values$1, separator) {
501
536
  return list[0] ?? "never";
502
537
  }
503
538
 
539
+ //#endregion
540
+ //#region src/utils/_standardSchema/_standardSchema.ts
541
+ /**
542
+ * Eagerly creates and attaches the Standard Schema properties of a schema.
543
+ *
544
+ * Hint: The contextual `this` type includes the standard properties that are
545
+ * attached before the schema is returned.
546
+ *
547
+ * @param schema The schema to attach standard properties to.
548
+ *
549
+ * @returns The schema with standard properties attached.
550
+ *
551
+ * @internal
552
+ */
553
+ function _standardSchema(schema) {
554
+ schema["~standard"] = {
555
+ version: 1,
556
+ vendor: "valibot",
557
+ validate: (value$1) => schema["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig())
558
+ };
559
+ return schema;
560
+ }
561
+
504
562
  //#endregion
505
563
  //#region src/utils/entriesFromList/entriesFromList.ts
506
564
  /**
@@ -571,20 +629,6 @@ function isOfType(type, object$1) {
571
629
  return object$1.type === type;
572
630
  }
573
631
 
574
- //#endregion
575
- //#region src/utils/isValiError/isValiError.ts
576
- /**
577
- * A type guard to check if an error is a ValiError.
578
- *
579
- * @param error The error to check.
580
- *
581
- * @returns Whether its a ValiError.
582
- */
583
- /* @__NO_SIDE_EFFECTS__ */
584
- function isValiError(error) {
585
- return error instanceof ValiError;
586
- }
587
-
588
632
  //#endregion
589
633
  //#region src/utils/ValiError/ValiError.ts
590
634
  /**
@@ -603,6 +647,20 @@ var ValiError = class extends Error {
603
647
  }
604
648
  };
605
649
 
650
+ //#endregion
651
+ //#region src/utils/isValiError/isValiError.ts
652
+ /**
653
+ * A type guard to check if an error is a ValiError.
654
+ *
655
+ * @param error The error to check.
656
+ *
657
+ * @returns Whether its a ValiError.
658
+ */
659
+ /* @__NO_SIDE_EFFECTS__ */
660
+ function isValiError(error) {
661
+ return error instanceof ValiError;
662
+ }
663
+
606
664
  //#endregion
607
665
  //#region src/actions/args/args.ts
608
666
  /* @__NO_SIDE_EFFECTS__ */
@@ -700,8 +758,10 @@ const DIGITS_REGEX = /^\d+$/u;
700
758
  const DOMAIN_REGEX = /^(?=.{1,253}$)(?:(?![Xx][Nn]--)[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\.)+[A-Za-z]{2,63}$/u;
701
759
  /**
702
760
  * [Email address](https://en.wikipedia.org/wiki/Email_address) regex.
761
+ *
762
+ * Hint: We decided against the `i` flag to avoid matching non-ASCII characters.
703
763
  */
704
- const EMAIL_REGEX = /^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;
764
+ const EMAIL_REGEX = /^[\w+-]+(?:\.[\w+-]+)*@[\da-zA-Z]+(?:[.-][\da-zA-Z]+)*\.[a-zA-Z]{2,}$/u;
705
765
  /**
706
766
  * Emoji regex from [emoji-regex-xs](https://github.com/slevithan/emoji-regex-xs) v1.0.0 (MIT license).
707
767
  *
@@ -780,6 +840,10 @@ const JWS_COMPACT_REGEX = /^(?:[\w-]{2,3}|(?:[\w-]{4})+(?:[\w-]{2,3})?)\.(?:[\w-
780
840
  */
781
841
  const ISRC_REGEX = /^(?:[A-Z]{2}[A-Z\d]{3}\d{7}|[A-Z]{2}-[A-Z\d]{3}-\d{2}-\d{5})$/u;
782
842
  /**
843
+ * [KSUID](https://github.com/segmentio/ksuid) regex.
844
+ */
845
+ const KSUID_REGEX = /^[a-zA-Z0-9]{27}$/u;
846
+ /**
783
847
  * [MAC](https://en.wikipedia.org/wiki/MAC_address) 48 bit regex.
784
848
  *
785
849
  * Hint: We decided against the `i` flag for better JSON Schema compatibility.
@@ -819,8 +883,11 @@ const SLUG_REGEX = /^[\da-z]+(?:[-_][\da-z]+)*$/u;
819
883
  * [ULID](https://github.com/ulid/spec) regex.
820
884
  *
821
885
  * Hint: We decided against the `i` flag for better JSON Schema compatibility.
886
+ * Hint: The first character is restricted to `[0-7]` because the 48-bit
887
+ * timestamp cannot exceed 2^48-1, making the maximum valid ULID
888
+ * `7ZZZZZZZZZZZZZZZZZZZZZZZZZ` in Crockford's Base32 encoding.
822
889
  */
823
- const ULID_REGEX = /^[\da-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$/u;
890
+ const ULID_REGEX = /^[0-7][\da-hjkmnp-tv-zA-HJKMNP-TV-Z]{25}$/u;
824
891
  /**
825
892
  * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) regex.
826
893
  */
@@ -1012,6 +1079,28 @@ function checkItemsAsync(requirement, message$1) {
1012
1079
  };
1013
1080
  }
1014
1081
 
1082
+ //#endregion
1083
+ //#region src/actions/codePoints/codePoints.ts
1084
+ /* @__NO_SIDE_EFFECTS__ */
1085
+ function codePoints(requirement, message$1) {
1086
+ return {
1087
+ kind: "validation",
1088
+ type: "code_points",
1089
+ reference: codePoints,
1090
+ async: false,
1091
+ expects: `${requirement}`,
1092
+ requirement,
1093
+ message: message$1,
1094
+ "~run"(dataset, config$1) {
1095
+ if (dataset.typed) {
1096
+ const count = /* @__PURE__ */ _getCodePointCount(dataset.value);
1097
+ if (count !== this.requirement) _addIssue(this, "code points", dataset, config$1, { received: `${count}` });
1098
+ }
1099
+ return dataset;
1100
+ }
1101
+ };
1102
+ }
1103
+
1015
1104
  //#endregion
1016
1105
  //#region src/actions/creditCard/creditCard.ts
1017
1106
  /**
@@ -1881,6 +1970,25 @@ function jwsCompact(message$1) {
1881
1970
  };
1882
1971
  }
1883
1972
 
1973
+ //#endregion
1974
+ //#region src/actions/ksuid/ksuid.ts
1975
+ /* @__NO_SIDE_EFFECTS__ */
1976
+ function ksuid(message$1) {
1977
+ return {
1978
+ kind: "validation",
1979
+ type: "ksuid",
1980
+ reference: ksuid,
1981
+ async: false,
1982
+ expects: null,
1983
+ requirement: KSUID_REGEX,
1984
+ message: message$1,
1985
+ "~run"(dataset, config$1) {
1986
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue(this, "KSUID", dataset, config$1);
1987
+ return dataset;
1988
+ }
1989
+ };
1990
+ }
1991
+
1884
1992
  //#endregion
1885
1993
  //#region src/actions/length/length.ts
1886
1994
  /* @__NO_SIDE_EFFECTS__ */
@@ -2015,6 +2123,28 @@ function maxBytes(requirement, message$1) {
2015
2123
  };
2016
2124
  }
2017
2125
 
2126
+ //#endregion
2127
+ //#region src/actions/maxCodePoints/maxCodePoints.ts
2128
+ /* @__NO_SIDE_EFFECTS__ */
2129
+ function maxCodePoints(requirement, message$1) {
2130
+ return {
2131
+ kind: "validation",
2132
+ type: "max_code_points",
2133
+ reference: maxCodePoints,
2134
+ async: false,
2135
+ expects: `<=${requirement}`,
2136
+ requirement,
2137
+ message: message$1,
2138
+ "~run"(dataset, config$1) {
2139
+ if (dataset.typed) {
2140
+ const count = /* @__PURE__ */ _getCodePointCount(dataset.value);
2141
+ if (count > this.requirement) _addIssue(this, "code points", dataset, config$1, { received: `${count}` });
2142
+ }
2143
+ return dataset;
2144
+ }
2145
+ };
2146
+ }
2147
+
2018
2148
  //#endregion
2019
2149
  //#region src/actions/maxEntries/maxEntries.ts
2020
2150
  /* @__NO_SIDE_EFFECTS__ */
@@ -2198,6 +2328,28 @@ function minBytes(requirement, message$1) {
2198
2328
  };
2199
2329
  }
2200
2330
 
2331
+ //#endregion
2332
+ //#region src/actions/minCodePoints/minCodePoints.ts
2333
+ /* @__NO_SIDE_EFFECTS__ */
2334
+ function minCodePoints(requirement, message$1) {
2335
+ return {
2336
+ kind: "validation",
2337
+ type: "min_code_points",
2338
+ reference: minCodePoints,
2339
+ async: false,
2340
+ expects: `>=${requirement}`,
2341
+ requirement,
2342
+ message: message$1,
2343
+ "~run"(dataset, config$1) {
2344
+ if (dataset.typed) {
2345
+ const count = /* @__PURE__ */ _getCodePointCount(dataset.value);
2346
+ if (count < this.requirement) _addIssue(this, "code points", dataset, config$1, { received: `${count}` });
2347
+ }
2348
+ return dataset;
2349
+ }
2350
+ };
2351
+ }
2352
+
2201
2353
  //#endregion
2202
2354
  //#region src/actions/minEntries/minEntries.ts
2203
2355
  /* @__NO_SIDE_EFFECTS__ */
@@ -2416,6 +2568,28 @@ function notBytes(requirement, message$1) {
2416
2568
  };
2417
2569
  }
2418
2570
 
2571
+ //#endregion
2572
+ //#region src/actions/notCodePoints/notCodePoints.ts
2573
+ /* @__NO_SIDE_EFFECTS__ */
2574
+ function notCodePoints(requirement, message$1) {
2575
+ return {
2576
+ kind: "validation",
2577
+ type: "not_code_points",
2578
+ reference: notCodePoints,
2579
+ async: false,
2580
+ expects: `!${requirement}`,
2581
+ requirement,
2582
+ message: message$1,
2583
+ "~run"(dataset, config$1) {
2584
+ if (dataset.typed) {
2585
+ const count = /* @__PURE__ */ _getCodePointCount(dataset.value);
2586
+ if (count === this.requirement) _addIssue(this, "code points", dataset, config$1, { received: `${count}` });
2587
+ }
2588
+ return dataset;
2589
+ }
2590
+ };
2591
+ }
2592
+
2419
2593
  //#endregion
2420
2594
  //#region src/actions/notEntries/notEntries.ts
2421
2595
  /* @__NO_SIDE_EFFECTS__ */
@@ -2510,7 +2684,7 @@ function notValue(requirement, message$1) {
2510
2684
  requirement,
2511
2685
  message: message$1,
2512
2686
  "~run"(dataset, config$1) {
2513
- if (dataset.typed && this.requirement <= dataset.value && this.requirement >= dataset.value) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
2687
+ if (dataset.typed && /* @__PURE__ */ _isValueMatch(this.requirement, dataset.value)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
2514
2688
  return dataset;
2515
2689
  }
2516
2690
  };
@@ -2529,7 +2703,7 @@ function notValues(requirement, message$1) {
2529
2703
  requirement,
2530
2704
  message: message$1,
2531
2705
  "~run"(dataset, config$1) {
2532
- if (dataset.typed && this.requirement.some((value$1) => value$1 <= dataset.value && value$1 >= dataset.value)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
2706
+ if (dataset.typed && this.requirement.some((requirement$1) => /* @__PURE__ */ _isValueMatch(requirement$1, dataset.value))) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
2533
2707
  return dataset;
2534
2708
  }
2535
2709
  };
@@ -3078,8 +3252,7 @@ function stringifyJson(config$1, message$1) {
3078
3252
  if (output === void 0) {
3079
3253
  _addIssue(this, "JSON", dataset, config$2);
3080
3254
  dataset.typed = false;
3081
- }
3082
- dataset.value = output;
3255
+ } else dataset.value = output;
3083
3256
  } catch (error) {
3084
3257
  if (error instanceof Error) {
3085
3258
  _addIssue(this, "JSON", dataset, config$2, { received: `"${error.message}"` });
@@ -3581,6 +3754,7 @@ function url(message$1) {
3581
3754
  expects: null,
3582
3755
  requirement(input) {
3583
3756
  try {
3757
+ if (URL.canParse) return URL.canParse(input);
3584
3758
  new URL(input);
3585
3759
  return true;
3586
3760
  } catch {
@@ -3627,7 +3801,7 @@ function value(requirement, message$1) {
3627
3801
  requirement,
3628
3802
  message: message$1,
3629
3803
  "~run"(dataset, config$1) {
3630
- if (dataset.typed && !(this.requirement <= dataset.value && this.requirement >= dataset.value)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
3804
+ if (dataset.typed && !/* @__PURE__ */ _isValueMatch(this.requirement, dataset.value)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
3631
3805
  return dataset;
3632
3806
  }
3633
3807
  };
@@ -3646,7 +3820,7 @@ function values(requirement, message$1) {
3646
3820
  requirement,
3647
3821
  message: message$1,
3648
3822
  "~run"(dataset, config$1) {
3649
- if (dataset.typed && !this.requirement.some((value$1) => value$1 <= dataset.value && value$1 >= dataset.value)) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
3823
+ if (dataset.typed && !this.requirement.some((requirement$1) => /* @__PURE__ */ _isValueMatch(requirement$1, dataset.value))) _addIssue(this, "value", dataset, config$1, { received: dataset.value instanceof Date ? dataset.value.toJSON() : /* @__PURE__ */ _stringify(dataset.value) });
3650
3824
  return dataset;
3651
3825
  }
3652
3826
  };
@@ -3786,20 +3960,17 @@ var _LruCache = class {
3786
3960
  //#region src/methods/cache/cache.ts
3787
3961
  /* @__NO_SIDE_EFFECTS__ */
3788
3962
  function cache(schema, config$1) {
3789
- return {
3963
+ return _standardSchema({
3790
3964
  ...schema,
3791
3965
  cacheConfig: config$1,
3792
3966
  cache: new _LruCache(config$1),
3793
- get "~standard"() {
3794
- return /* @__PURE__ */ _getStandardProps(this);
3795
- },
3796
3967
  "~run"(dataset, runConfig) {
3797
3968
  const key = this.cache.key(dataset.value, runConfig);
3798
3969
  let outputDataset = this.cache.get(key);
3799
3970
  if (!outputDataset) this.cache.set(key, outputDataset = schema["~run"](dataset, runConfig));
3800
3971
  return /* @__PURE__ */ _cloneDataset(outputDataset);
3801
3972
  }
3802
- };
3973
+ });
3803
3974
  }
3804
3975
 
3805
3976
  //#endregion
@@ -3807,14 +3978,11 @@ function cache(schema, config$1) {
3807
3978
  /* @__NO_SIDE_EFFECTS__ */
3808
3979
  function cacheAsync(schema, config$1) {
3809
3980
  let activeRuns;
3810
- return {
3981
+ return _standardSchema({
3811
3982
  ...schema,
3812
3983
  async: true,
3813
3984
  cacheConfig: config$1,
3814
3985
  cache: new _LruCache(config$1),
3815
- get "~standard"() {
3816
- return /* @__PURE__ */ _getStandardProps(this);
3817
- },
3818
3986
  async "~run"(dataset, runConfig) {
3819
3987
  const key = this.cache.key(dataset.value, runConfig);
3820
3988
  const cached = this.cache.get(key);
@@ -3833,7 +4001,7 @@ function cacheAsync(schema, config$1) {
3833
4001
  activeRuns?.delete(key);
3834
4002
  }
3835
4003
  }
3836
- };
4004
+ });
3837
4005
  }
3838
4006
 
3839
4007
  //#endregion
@@ -3848,18 +4016,15 @@ function cacheAsync(schema, config$1) {
3848
4016
  */
3849
4017
  /* @__NO_SIDE_EFFECTS__ */
3850
4018
  function config(schema, config$1) {
3851
- return {
4019
+ return _standardSchema({
3852
4020
  ...schema,
3853
- get "~standard"() {
3854
- return /* @__PURE__ */ _getStandardProps(this);
3855
- },
3856
4021
  "~run"(dataset, config_) {
3857
4022
  return schema["~run"](dataset, {
3858
4023
  ...config_,
3859
4024
  ...config$1
3860
4025
  });
3861
4026
  }
3862
- };
4027
+ });
3863
4028
  }
3864
4029
 
3865
4030
  //#endregion
@@ -3890,12 +4055,9 @@ function getFallback(schema, dataset, config$1) {
3890
4055
  */
3891
4056
  /* @__NO_SIDE_EFFECTS__ */
3892
4057
  function fallback(schema, fallback$1) {
3893
- return {
4058
+ return _standardSchema({
3894
4059
  ...schema,
3895
4060
  fallback: fallback$1,
3896
- get "~standard"() {
3897
- return /* @__PURE__ */ _getStandardProps(this);
3898
- },
3899
4061
  "~run"(dataset, config$1) {
3900
4062
  const outputDataset = schema["~run"](dataset, config$1);
3901
4063
  return outputDataset.issues ? {
@@ -3903,28 +4065,17 @@ function fallback(schema, fallback$1) {
3903
4065
  value: /* @__PURE__ */ getFallback(this, outputDataset, config$1)
3904
4066
  } : outputDataset;
3905
4067
  }
3906
- };
4068
+ });
3907
4069
  }
3908
4070
 
3909
4071
  //#endregion
3910
4072
  //#region src/methods/fallback/fallbackAsync.ts
3911
- /**
3912
- * Returns a fallback value as output if the input does not match the schema.
3913
- *
3914
- * @param schema The schema to catch.
3915
- * @param fallback The fallback value.
3916
- *
3917
- * @returns The passed schema.
3918
- */
3919
4073
  /* @__NO_SIDE_EFFECTS__ */
3920
4074
  function fallbackAsync(schema, fallback$1) {
3921
- return {
4075
+ return _standardSchema({
3922
4076
  ...schema,
3923
4077
  fallback: fallback$1,
3924
4078
  async: true,
3925
- get "~standard"() {
3926
- return /* @__PURE__ */ _getStandardProps(this);
3927
- },
3928
4079
  async "~run"(dataset, config$1) {
3929
4080
  const outputDataset = await schema["~run"](dataset, config$1);
3930
4081
  return outputDataset.issues ? {
@@ -3932,7 +4083,7 @@ function fallbackAsync(schema, fallback$1) {
3932
4083
  value: await /* @__PURE__ */ getFallback(this, outputDataset, config$1)
3933
4084
  } : outputDataset;
3934
4085
  }
3935
- };
4086
+ });
3936
4087
  }
3937
4088
 
3938
4089
  //#endregion
@@ -4261,27 +4412,24 @@ function is(schema, input) {
4261
4412
  */
4262
4413
  /* @__NO_SIDE_EFFECTS__ */
4263
4414
  function any() {
4264
- return {
4415
+ return _standardSchema({
4265
4416
  kind: "schema",
4266
4417
  type: "any",
4267
4418
  reference: any,
4268
4419
  expects: "any",
4269
4420
  async: false,
4270
- get "~standard"() {
4271
- return /* @__PURE__ */ _getStandardProps(this);
4272
- },
4273
4421
  "~run"(dataset) {
4274
4422
  dataset.typed = true;
4275
4423
  return dataset;
4276
4424
  }
4277
- };
4425
+ });
4278
4426
  }
4279
4427
 
4280
4428
  //#endregion
4281
4429
  //#region src/schemas/array/array.ts
4282
4430
  /* @__NO_SIDE_EFFECTS__ */
4283
4431
  function array(item, message$1) {
4284
- return {
4432
+ return _standardSchema({
4285
4433
  kind: "schema",
4286
4434
  type: "array",
4287
4435
  reference: array,
@@ -4289,9 +4437,6 @@ function array(item, message$1) {
4289
4437
  async: false,
4290
4438
  item,
4291
4439
  message: message$1,
4292
- get "~standard"() {
4293
- return /* @__PURE__ */ _getStandardProps(this);
4294
- },
4295
4440
  "~run"(dataset, config$1) {
4296
4441
  const input = dataset.value;
4297
4442
  if (Array.isArray(input)) {
@@ -4325,14 +4470,14 @@ function array(item, message$1) {
4325
4470
  } else _addIssue(this, "type", dataset, config$1);
4326
4471
  return dataset;
4327
4472
  }
4328
- };
4473
+ });
4329
4474
  }
4330
4475
 
4331
4476
  //#endregion
4332
4477
  //#region src/schemas/array/arrayAsync.ts
4333
4478
  /* @__NO_SIDE_EFFECTS__ */
4334
4479
  function arrayAsync(item, message$1) {
4335
- return {
4480
+ return _standardSchema({
4336
4481
  kind: "schema",
4337
4482
  type: "array",
4338
4483
  reference: arrayAsync,
@@ -4340,9 +4485,6 @@ function arrayAsync(item, message$1) {
4340
4485
  async: true,
4341
4486
  item,
4342
4487
  message: message$1,
4343
- get "~standard"() {
4344
- return /* @__PURE__ */ _getStandardProps(this);
4345
- },
4346
4488
  async "~run"(dataset, config$1) {
4347
4489
  const input = dataset.value;
4348
4490
  if (Array.isArray(input)) {
@@ -4376,80 +4518,71 @@ function arrayAsync(item, message$1) {
4376
4518
  } else _addIssue(this, "type", dataset, config$1);
4377
4519
  return dataset;
4378
4520
  }
4379
- };
4521
+ });
4380
4522
  }
4381
4523
 
4382
4524
  //#endregion
4383
4525
  //#region src/schemas/bigint/bigint.ts
4384
4526
  /* @__NO_SIDE_EFFECTS__ */
4385
4527
  function bigint(message$1) {
4386
- return {
4528
+ return _standardSchema({
4387
4529
  kind: "schema",
4388
4530
  type: "bigint",
4389
4531
  reference: bigint,
4390
4532
  expects: "bigint",
4391
4533
  async: false,
4392
4534
  message: message$1,
4393
- get "~standard"() {
4394
- return /* @__PURE__ */ _getStandardProps(this);
4395
- },
4396
4535
  "~run"(dataset, config$1) {
4397
4536
  if (typeof dataset.value === "bigint") dataset.typed = true;
4398
4537
  else _addIssue(this, "type", dataset, config$1);
4399
4538
  return dataset;
4400
4539
  }
4401
- };
4540
+ });
4402
4541
  }
4403
4542
 
4404
4543
  //#endregion
4405
4544
  //#region src/schemas/blob/blob.ts
4406
4545
  /* @__NO_SIDE_EFFECTS__ */
4407
4546
  function blob(message$1) {
4408
- return {
4547
+ return _standardSchema({
4409
4548
  kind: "schema",
4410
4549
  type: "blob",
4411
4550
  reference: blob,
4412
4551
  expects: "Blob",
4413
4552
  async: false,
4414
4553
  message: message$1,
4415
- get "~standard"() {
4416
- return /* @__PURE__ */ _getStandardProps(this);
4417
- },
4418
4554
  "~run"(dataset, config$1) {
4419
4555
  if (dataset.value instanceof Blob) dataset.typed = true;
4420
4556
  else _addIssue(this, "type", dataset, config$1);
4421
4557
  return dataset;
4422
4558
  }
4423
- };
4559
+ });
4424
4560
  }
4425
4561
 
4426
4562
  //#endregion
4427
4563
  //#region src/schemas/boolean/boolean.ts
4428
4564
  /* @__NO_SIDE_EFFECTS__ */
4429
4565
  function boolean(message$1) {
4430
- return {
4566
+ return _standardSchema({
4431
4567
  kind: "schema",
4432
4568
  type: "boolean",
4433
4569
  reference: boolean,
4434
4570
  expects: "boolean",
4435
4571
  async: false,
4436
4572
  message: message$1,
4437
- get "~standard"() {
4438
- return /* @__PURE__ */ _getStandardProps(this);
4439
- },
4440
4573
  "~run"(dataset, config$1) {
4441
4574
  if (typeof dataset.value === "boolean") dataset.typed = true;
4442
4575
  else _addIssue(this, "type", dataset, config$1);
4443
4576
  return dataset;
4444
4577
  }
4445
- };
4578
+ });
4446
4579
  }
4447
4580
 
4448
4581
  //#endregion
4449
4582
  //#region src/schemas/custom/custom.ts
4450
4583
  /* @__NO_SIDE_EFFECTS__ */
4451
4584
  function custom(check$1, message$1) {
4452
- return {
4585
+ return _standardSchema({
4453
4586
  kind: "schema",
4454
4587
  type: "custom",
4455
4588
  reference: custom,
@@ -4457,22 +4590,19 @@ function custom(check$1, message$1) {
4457
4590
  async: false,
4458
4591
  check: check$1,
4459
4592
  message: message$1,
4460
- get "~standard"() {
4461
- return /* @__PURE__ */ _getStandardProps(this);
4462
- },
4463
4593
  "~run"(dataset, config$1) {
4464
4594
  if (this.check(dataset.value)) dataset.typed = true;
4465
4595
  else _addIssue(this, "type", dataset, config$1);
4466
4596
  return dataset;
4467
4597
  }
4468
- };
4598
+ });
4469
4599
  }
4470
4600
 
4471
4601
  //#endregion
4472
4602
  //#region src/schemas/custom/customAsync.ts
4473
4603
  /* @__NO_SIDE_EFFECTS__ */
4474
4604
  function customAsync(check$1, message$1) {
4475
- return {
4605
+ return _standardSchema({
4476
4606
  kind: "schema",
4477
4607
  type: "custom",
4478
4608
  reference: customAsync,
@@ -4480,38 +4610,32 @@ function customAsync(check$1, message$1) {
4480
4610
  async: true,
4481
4611
  check: check$1,
4482
4612
  message: message$1,
4483
- get "~standard"() {
4484
- return /* @__PURE__ */ _getStandardProps(this);
4485
- },
4486
4613
  async "~run"(dataset, config$1) {
4487
4614
  if (await this.check(dataset.value)) dataset.typed = true;
4488
4615
  else _addIssue(this, "type", dataset, config$1);
4489
4616
  return dataset;
4490
4617
  }
4491
- };
4618
+ });
4492
4619
  }
4493
4620
 
4494
4621
  //#endregion
4495
4622
  //#region src/schemas/date/date.ts
4496
4623
  /* @__NO_SIDE_EFFECTS__ */
4497
4624
  function date(message$1) {
4498
- return {
4625
+ return _standardSchema({
4499
4626
  kind: "schema",
4500
4627
  type: "date",
4501
4628
  reference: date,
4502
4629
  expects: "Date",
4503
4630
  async: false,
4504
4631
  message: message$1,
4505
- get "~standard"() {
4506
- return /* @__PURE__ */ _getStandardProps(this);
4507
- },
4508
4632
  "~run"(dataset, config$1) {
4509
4633
  if (dataset.value instanceof Date) if (!isNaN(dataset.value)) dataset.typed = true;
4510
4634
  else _addIssue(this, "type", dataset, config$1, { received: "\"Invalid Date\"" });
4511
4635
  else _addIssue(this, "type", dataset, config$1);
4512
4636
  return dataset;
4513
4637
  }
4514
- };
4638
+ });
4515
4639
  }
4516
4640
 
4517
4641
  //#endregion
@@ -4520,7 +4644,7 @@ function date(message$1) {
4520
4644
  function enum_(enum__, message$1) {
4521
4645
  const options = [];
4522
4646
  for (const key in enum__) if (`${+key}` !== key || typeof enum__[key] !== "string" || !Object.is(enum__[enum__[key]], +key)) options.push(enum__[key]);
4523
- return {
4647
+ return _standardSchema({
4524
4648
  kind: "schema",
4525
4649
  type: "enum",
4526
4650
  reference: enum_,
@@ -4529,22 +4653,19 @@ function enum_(enum__, message$1) {
4529
4653
  enum: enum__,
4530
4654
  options,
4531
4655
  message: message$1,
4532
- get "~standard"() {
4533
- return /* @__PURE__ */ _getStandardProps(this);
4534
- },
4535
4656
  "~run"(dataset, config$1) {
4536
4657
  if (this.options.includes(dataset.value)) dataset.typed = true;
4537
4658
  else _addIssue(this, "type", dataset, config$1);
4538
4659
  return dataset;
4539
4660
  }
4540
- };
4661
+ });
4541
4662
  }
4542
4663
 
4543
4664
  //#endregion
4544
4665
  //#region src/schemas/exactOptional/exactOptional.ts
4545
4666
  /* @__NO_SIDE_EFFECTS__ */
4546
4667
  function exactOptional(wrapped, default_) {
4547
- return {
4668
+ return _standardSchema({
4548
4669
  kind: "schema",
4549
4670
  type: "exact_optional",
4550
4671
  reference: exactOptional,
@@ -4552,20 +4673,17 @@ function exactOptional(wrapped, default_) {
4552
4673
  async: false,
4553
4674
  wrapped,
4554
4675
  default: default_,
4555
- get "~standard"() {
4556
- return /* @__PURE__ */ _getStandardProps(this);
4557
- },
4558
4676
  "~run"(dataset, config$1) {
4559
4677
  return this.wrapped["~run"](dataset, config$1);
4560
4678
  }
4561
- };
4679
+ });
4562
4680
  }
4563
4681
 
4564
4682
  //#endregion
4565
4683
  //#region src/schemas/exactOptional/exactOptionalAsync.ts
4566
4684
  /* @__NO_SIDE_EFFECTS__ */
4567
4685
  function exactOptionalAsync(wrapped, default_) {
4568
- return {
4686
+ return _standardSchema({
4569
4687
  kind: "schema",
4570
4688
  type: "exact_optional",
4571
4689
  reference: exactOptionalAsync,
@@ -4573,64 +4691,55 @@ function exactOptionalAsync(wrapped, default_) {
4573
4691
  async: true,
4574
4692
  wrapped,
4575
4693
  default: default_,
4576
- get "~standard"() {
4577
- return /* @__PURE__ */ _getStandardProps(this);
4578
- },
4579
4694
  async "~run"(dataset, config$1) {
4580
4695
  return this.wrapped["~run"](dataset, config$1);
4581
4696
  }
4582
- };
4697
+ });
4583
4698
  }
4584
4699
 
4585
4700
  //#endregion
4586
4701
  //#region src/schemas/file/file.ts
4587
4702
  /* @__NO_SIDE_EFFECTS__ */
4588
4703
  function file(message$1) {
4589
- return {
4704
+ return _standardSchema({
4590
4705
  kind: "schema",
4591
4706
  type: "file",
4592
4707
  reference: file,
4593
4708
  expects: "File",
4594
4709
  async: false,
4595
4710
  message: message$1,
4596
- get "~standard"() {
4597
- return /* @__PURE__ */ _getStandardProps(this);
4598
- },
4599
4711
  "~run"(dataset, config$1) {
4600
4712
  if (dataset.value instanceof File) dataset.typed = true;
4601
4713
  else _addIssue(this, "type", dataset, config$1);
4602
4714
  return dataset;
4603
4715
  }
4604
- };
4716
+ });
4605
4717
  }
4606
4718
 
4607
4719
  //#endregion
4608
4720
  //#region src/schemas/function/function.ts
4609
4721
  /* @__NO_SIDE_EFFECTS__ */
4610
4722
  function function_(message$1) {
4611
- return {
4723
+ return _standardSchema({
4612
4724
  kind: "schema",
4613
4725
  type: "function",
4614
4726
  reference: function_,
4615
4727
  expects: "Function",
4616
4728
  async: false,
4617
4729
  message: message$1,
4618
- get "~standard"() {
4619
- return /* @__PURE__ */ _getStandardProps(this);
4620
- },
4621
4730
  "~run"(dataset, config$1) {
4622
4731
  if (typeof dataset.value === "function") dataset.typed = true;
4623
4732
  else _addIssue(this, "type", dataset, config$1);
4624
4733
  return dataset;
4625
4734
  }
4626
- };
4735
+ });
4627
4736
  }
4628
4737
 
4629
4738
  //#endregion
4630
4739
  //#region src/schemas/instance/instance.ts
4631
4740
  /* @__NO_SIDE_EFFECTS__ */
4632
4741
  function instance(class_, message$1) {
4633
- return {
4742
+ return _standardSchema({
4634
4743
  kind: "schema",
4635
4744
  type: "instance",
4636
4745
  reference: instance,
@@ -4638,15 +4747,12 @@ function instance(class_, message$1) {
4638
4747
  async: false,
4639
4748
  class: class_,
4640
4749
  message: message$1,
4641
- get "~standard"() {
4642
- return /* @__PURE__ */ _getStandardProps(this);
4643
- },
4644
4750
  "~run"(dataset, config$1) {
4645
4751
  if (dataset.value instanceof this.class) dataset.typed = true;
4646
4752
  else _addIssue(this, "type", dataset, config$1);
4647
4753
  return dataset;
4648
4754
  }
4649
- };
4755
+ });
4650
4756
  }
4651
4757
 
4652
4758
  //#endregion
@@ -4664,14 +4770,17 @@ function instance(class_, message$1) {
4664
4770
  /* @__NO_SIDE_EFFECTS__ */
4665
4771
  function _merge(value1, value2) {
4666
4772
  if (typeof value1 === typeof value2) {
4667
- if (value1 === value2 || value1 instanceof Date && value2 instanceof Date && +value1 === +value2) return { value: value1 };
4773
+ if (/* @__PURE__ */ _isSameValueZero(value1, value2) || value1 instanceof Date && value2 instanceof Date && /* @__PURE__ */ _isSameValueZero(+value1, +value2)) return { value: value1 };
4668
4774
  if (value1 && value2 && value1.constructor === Object && value2.constructor === Object) {
4669
- const nextValue = { ...value1 };
4670
- for (const key in value2) if (Object.prototype.hasOwnProperty.call(value1, key)) {
4775
+ const nextValue = {
4776
+ ...value1,
4777
+ ...value2
4778
+ };
4779
+ for (const key in value2) if (Object.prototype.hasOwnProperty.call(value1, key) && Object.prototype.hasOwnProperty.call(value2, key)) {
4671
4780
  const dataset = /* @__PURE__ */ _merge(value1[key], value2[key]);
4672
4781
  if (dataset.issue) return dataset;
4673
4782
  nextValue[key] = dataset.value;
4674
- } else nextValue[key] = value2[key];
4783
+ }
4675
4784
  return { value: nextValue };
4676
4785
  }
4677
4786
  if (Array.isArray(value1) && Array.isArray(value2)) {
@@ -4693,7 +4802,7 @@ function _merge(value1, value2) {
4693
4802
  //#region src/schemas/intersect/intersect.ts
4694
4803
  /* @__NO_SIDE_EFFECTS__ */
4695
4804
  function intersect(options, message$1) {
4696
- return {
4805
+ return _standardSchema({
4697
4806
  kind: "schema",
4698
4807
  type: "intersect",
4699
4808
  reference: intersect,
@@ -4701,9 +4810,6 @@ function intersect(options, message$1) {
4701
4810
  async: false,
4702
4811
  options,
4703
4812
  message: message$1,
4704
- get "~standard"() {
4705
- return /* @__PURE__ */ _getStandardProps(this);
4706
- },
4707
4813
  "~run"(dataset, config$1) {
4708
4814
  if (this.options.length) {
4709
4815
  const input = dataset.value;
@@ -4737,14 +4843,14 @@ function intersect(options, message$1) {
4737
4843
  } else _addIssue(this, "type", dataset, config$1);
4738
4844
  return dataset;
4739
4845
  }
4740
- };
4846
+ });
4741
4847
  }
4742
4848
 
4743
4849
  //#endregion
4744
4850
  //#region src/schemas/intersect/intersectAsync.ts
4745
4851
  /* @__NO_SIDE_EFFECTS__ */
4746
4852
  function intersectAsync(options, message$1) {
4747
- return {
4853
+ return _standardSchema({
4748
4854
  kind: "schema",
4749
4855
  type: "intersect",
4750
4856
  reference: intersectAsync,
@@ -4752,9 +4858,6 @@ function intersectAsync(options, message$1) {
4752
4858
  async: true,
4753
4859
  options,
4754
4860
  message: message$1,
4755
- get "~standard"() {
4756
- return /* @__PURE__ */ _getStandardProps(this);
4757
- },
4758
4861
  async "~run"(dataset, config$1) {
4759
4862
  if (this.options.length) {
4760
4863
  const input = dataset.value;
@@ -4788,7 +4891,7 @@ function intersectAsync(options, message$1) {
4788
4891
  } else _addIssue(this, "type", dataset, config$1);
4789
4892
  return dataset;
4790
4893
  }
4791
- };
4894
+ });
4792
4895
  }
4793
4896
 
4794
4897
  //#endregion
@@ -4802,20 +4905,17 @@ function intersectAsync(options, message$1) {
4802
4905
  */
4803
4906
  /* @__NO_SIDE_EFFECTS__ */
4804
4907
  function lazy(getter) {
4805
- return {
4908
+ return _standardSchema({
4806
4909
  kind: "schema",
4807
4910
  type: "lazy",
4808
4911
  reference: lazy,
4809
4912
  expects: "unknown",
4810
4913
  async: false,
4811
4914
  getter,
4812
- get "~standard"() {
4813
- return /* @__PURE__ */ _getStandardProps(this);
4814
- },
4815
4915
  "~run"(dataset, config$1) {
4816
4916
  return this.getter(dataset.value)["~run"](dataset, config$1);
4817
4917
  }
4818
- };
4918
+ });
4819
4919
  }
4820
4920
 
4821
4921
  //#endregion
@@ -4829,27 +4929,24 @@ function lazy(getter) {
4829
4929
  */
4830
4930
  /* @__NO_SIDE_EFFECTS__ */
4831
4931
  function lazyAsync(getter) {
4832
- return {
4932
+ return _standardSchema({
4833
4933
  kind: "schema",
4834
4934
  type: "lazy",
4835
4935
  reference: lazyAsync,
4836
4936
  expects: "unknown",
4837
4937
  async: true,
4838
4938
  getter,
4839
- get "~standard"() {
4840
- return /* @__PURE__ */ _getStandardProps(this);
4841
- },
4842
4939
  async "~run"(dataset, config$1) {
4843
4940
  return (await this.getter(dataset.value))["~run"](dataset, config$1);
4844
4941
  }
4845
- };
4942
+ });
4846
4943
  }
4847
4944
 
4848
4945
  //#endregion
4849
4946
  //#region src/schemas/literal/literal.ts
4850
4947
  /* @__NO_SIDE_EFFECTS__ */
4851
4948
  function literal(literal_, message$1) {
4852
- return {
4949
+ return _standardSchema({
4853
4950
  kind: "schema",
4854
4951
  type: "literal",
4855
4952
  reference: literal,
@@ -4857,22 +4954,19 @@ function literal(literal_, message$1) {
4857
4954
  async: false,
4858
4955
  literal: literal_,
4859
4956
  message: message$1,
4860
- get "~standard"() {
4861
- return /* @__PURE__ */ _getStandardProps(this);
4862
- },
4863
4957
  "~run"(dataset, config$1) {
4864
- if (dataset.value === this.literal) dataset.typed = true;
4958
+ if (/* @__PURE__ */ _isSameValueZero(dataset.value, this.literal)) dataset.typed = true;
4865
4959
  else _addIssue(this, "type", dataset, config$1);
4866
4960
  return dataset;
4867
4961
  }
4868
- };
4962
+ });
4869
4963
  }
4870
4964
 
4871
4965
  //#endregion
4872
4966
  //#region src/schemas/looseObject/looseObject.ts
4873
4967
  /* @__NO_SIDE_EFFECTS__ */
4874
4968
  function looseObject(entries$1, message$1) {
4875
- return {
4969
+ return _standardSchema({
4876
4970
  kind: "schema",
4877
4971
  type: "loose_object",
4878
4972
  reference: looseObject,
@@ -4880,9 +4974,6 @@ function looseObject(entries$1, message$1) {
4880
4974
  async: false,
4881
4975
  entries: entries$1,
4882
4976
  message: message$1,
4883
- get "~standard"() {
4884
- return /* @__PURE__ */ _getStandardProps(this);
4885
- },
4886
4977
  "~run"(dataset, config$1) {
4887
4978
  const input = dataset.value;
4888
4979
  if (input && typeof input === "object") {
@@ -4931,19 +5022,19 @@ function looseObject(entries$1, message$1) {
4931
5022
  }
4932
5023
  }
4933
5024
  if (!dataset.issues || !config$1.abortEarly) {
4934
- for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !(key in this.entries)) dataset.value[key] = input[key];
5025
+ for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)) dataset.value[key] = input[key];
4935
5026
  }
4936
5027
  } else _addIssue(this, "type", dataset, config$1);
4937
5028
  return dataset;
4938
5029
  }
4939
- };
5030
+ });
4940
5031
  }
4941
5032
 
4942
5033
  //#endregion
4943
5034
  //#region src/schemas/looseObject/looseObjectAsync.ts
4944
5035
  /* @__NO_SIDE_EFFECTS__ */
4945
5036
  function looseObjectAsync(entries$1, message$1) {
4946
- return {
5037
+ return _standardSchema({
4947
5038
  kind: "schema",
4948
5039
  type: "loose_object",
4949
5040
  reference: looseObjectAsync,
@@ -4951,9 +5042,6 @@ function looseObjectAsync(entries$1, message$1) {
4951
5042
  async: true,
4952
5043
  entries: entries$1,
4953
5044
  message: message$1,
4954
- get "~standard"() {
4955
- return /* @__PURE__ */ _getStandardProps(this);
4956
- },
4957
5045
  async "~run"(dataset, config$1) {
4958
5046
  const input = dataset.value;
4959
5047
  if (input && typeof input === "object") {
@@ -5014,19 +5102,19 @@ function looseObjectAsync(entries$1, message$1) {
5014
5102
  if (config$1.abortEarly) break;
5015
5103
  }
5016
5104
  if (!dataset.issues || !config$1.abortEarly) {
5017
- for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !(key in this.entries)) dataset.value[key] = input[key];
5105
+ for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)) dataset.value[key] = input[key];
5018
5106
  }
5019
5107
  } else _addIssue(this, "type", dataset, config$1);
5020
5108
  return dataset;
5021
5109
  }
5022
- };
5110
+ });
5023
5111
  }
5024
5112
 
5025
5113
  //#endregion
5026
5114
  //#region src/schemas/looseTuple/looseTuple.ts
5027
5115
  /* @__NO_SIDE_EFFECTS__ */
5028
5116
  function looseTuple(items, message$1) {
5029
- return {
5117
+ return _standardSchema({
5030
5118
  kind: "schema",
5031
5119
  type: "loose_tuple",
5032
5120
  reference: looseTuple,
@@ -5034,9 +5122,6 @@ function looseTuple(items, message$1) {
5034
5122
  async: false,
5035
5123
  items,
5036
5124
  message: message$1,
5037
- get "~standard"() {
5038
- return /* @__PURE__ */ _getStandardProps(this);
5039
- },
5040
5125
  "~run"(dataset, config$1) {
5041
5126
  const input = dataset.value;
5042
5127
  if (Array.isArray(input)) {
@@ -5071,14 +5156,14 @@ function looseTuple(items, message$1) {
5071
5156
  } else _addIssue(this, "type", dataset, config$1);
5072
5157
  return dataset;
5073
5158
  }
5074
- };
5159
+ });
5075
5160
  }
5076
5161
 
5077
5162
  //#endregion
5078
5163
  //#region src/schemas/looseTuple/looseTupleAsync.ts
5079
5164
  /* @__NO_SIDE_EFFECTS__ */
5080
5165
  function looseTupleAsync(items, message$1) {
5081
- return {
5166
+ return _standardSchema({
5082
5167
  kind: "schema",
5083
5168
  type: "loose_tuple",
5084
5169
  reference: looseTupleAsync,
@@ -5086,9 +5171,6 @@ function looseTupleAsync(items, message$1) {
5086
5171
  async: true,
5087
5172
  items,
5088
5173
  message: message$1,
5089
- get "~standard"() {
5090
- return /* @__PURE__ */ _getStandardProps(this);
5091
- },
5092
5174
  async "~run"(dataset, config$1) {
5093
5175
  const input = dataset.value;
5094
5176
  if (Array.isArray(input)) {
@@ -5129,14 +5211,14 @@ function looseTupleAsync(items, message$1) {
5129
5211
  } else _addIssue(this, "type", dataset, config$1);
5130
5212
  return dataset;
5131
5213
  }
5132
- };
5214
+ });
5133
5215
  }
5134
5216
 
5135
5217
  //#endregion
5136
5218
  //#region src/schemas/map/map.ts
5137
5219
  /* @__NO_SIDE_EFFECTS__ */
5138
5220
  function map(key, value$1, message$1) {
5139
- return {
5221
+ return _standardSchema({
5140
5222
  kind: "schema",
5141
5223
  type: "map",
5142
5224
  reference: map,
@@ -5145,9 +5227,6 @@ function map(key, value$1, message$1) {
5145
5227
  key,
5146
5228
  value: value$1,
5147
5229
  message: message$1,
5148
- get "~standard"() {
5149
- return /* @__PURE__ */ _getStandardProps(this);
5150
- },
5151
5230
  "~run"(dataset, config$1) {
5152
5231
  const input = dataset.value;
5153
5232
  if (input instanceof Map) {
@@ -5200,14 +5279,14 @@ function map(key, value$1, message$1) {
5200
5279
  } else _addIssue(this, "type", dataset, config$1);
5201
5280
  return dataset;
5202
5281
  }
5203
- };
5282
+ });
5204
5283
  }
5205
5284
 
5206
5285
  //#endregion
5207
5286
  //#region src/schemas/map/mapAsync.ts
5208
5287
  /* @__NO_SIDE_EFFECTS__ */
5209
5288
  function mapAsync(key, value$1, message$1) {
5210
- return {
5289
+ return _standardSchema({
5211
5290
  kind: "schema",
5212
5291
  type: "map",
5213
5292
  reference: mapAsync,
@@ -5216,9 +5295,6 @@ function mapAsync(key, value$1, message$1) {
5216
5295
  key,
5217
5296
  value: value$1,
5218
5297
  message: message$1,
5219
- get "~standard"() {
5220
- return /* @__PURE__ */ _getStandardProps(this);
5221
- },
5222
5298
  async "~run"(dataset, config$1) {
5223
5299
  const input = dataset.value;
5224
5300
  if (input instanceof Map) {
@@ -5275,57 +5351,51 @@ function mapAsync(key, value$1, message$1) {
5275
5351
  } else _addIssue(this, "type", dataset, config$1);
5276
5352
  return dataset;
5277
5353
  }
5278
- };
5354
+ });
5279
5355
  }
5280
5356
 
5281
5357
  //#endregion
5282
5358
  //#region src/schemas/nan/nan.ts
5283
5359
  /* @__NO_SIDE_EFFECTS__ */
5284
5360
  function nan(message$1) {
5285
- return {
5361
+ return _standardSchema({
5286
5362
  kind: "schema",
5287
5363
  type: "nan",
5288
5364
  reference: nan,
5289
5365
  expects: "NaN",
5290
5366
  async: false,
5291
5367
  message: message$1,
5292
- get "~standard"() {
5293
- return /* @__PURE__ */ _getStandardProps(this);
5294
- },
5295
5368
  "~run"(dataset, config$1) {
5296
5369
  if (Number.isNaN(dataset.value)) dataset.typed = true;
5297
5370
  else _addIssue(this, "type", dataset, config$1);
5298
5371
  return dataset;
5299
5372
  }
5300
- };
5373
+ });
5301
5374
  }
5302
5375
 
5303
5376
  //#endregion
5304
5377
  //#region src/schemas/never/never.ts
5305
5378
  /* @__NO_SIDE_EFFECTS__ */
5306
5379
  function never(message$1) {
5307
- return {
5380
+ return _standardSchema({
5308
5381
  kind: "schema",
5309
5382
  type: "never",
5310
5383
  reference: never,
5311
5384
  expects: "never",
5312
5385
  async: false,
5313
5386
  message: message$1,
5314
- get "~standard"() {
5315
- return /* @__PURE__ */ _getStandardProps(this);
5316
- },
5317
5387
  "~run"(dataset, config$1) {
5318
5388
  _addIssue(this, "type", dataset, config$1);
5319
5389
  return dataset;
5320
5390
  }
5321
- };
5391
+ });
5322
5392
  }
5323
5393
 
5324
5394
  //#endregion
5325
5395
  //#region src/schemas/nonNullable/nonNullable.ts
5326
5396
  /* @__NO_SIDE_EFFECTS__ */
5327
5397
  function nonNullable(wrapped, message$1) {
5328
- return {
5398
+ return _standardSchema({
5329
5399
  kind: "schema",
5330
5400
  type: "non_nullable",
5331
5401
  reference: nonNullable,
@@ -5333,22 +5403,19 @@ function nonNullable(wrapped, message$1) {
5333
5403
  async: false,
5334
5404
  wrapped,
5335
5405
  message: message$1,
5336
- get "~standard"() {
5337
- return /* @__PURE__ */ _getStandardProps(this);
5338
- },
5339
5406
  "~run"(dataset, config$1) {
5340
5407
  if (dataset.value !== null) dataset = this.wrapped["~run"](dataset, config$1);
5341
5408
  if (dataset.value === null) _addIssue(this, "type", dataset, config$1);
5342
5409
  return dataset;
5343
5410
  }
5344
- };
5411
+ });
5345
5412
  }
5346
5413
 
5347
5414
  //#endregion
5348
5415
  //#region src/schemas/nonNullable/nonNullableAsync.ts
5349
5416
  /* @__NO_SIDE_EFFECTS__ */
5350
5417
  function nonNullableAsync(wrapped, message$1) {
5351
- return {
5418
+ return _standardSchema({
5352
5419
  kind: "schema",
5353
5420
  type: "non_nullable",
5354
5421
  reference: nonNullableAsync,
@@ -5356,22 +5423,19 @@ function nonNullableAsync(wrapped, message$1) {
5356
5423
  async: true,
5357
5424
  wrapped,
5358
5425
  message: message$1,
5359
- get "~standard"() {
5360
- return /* @__PURE__ */ _getStandardProps(this);
5361
- },
5362
5426
  async "~run"(dataset, config$1) {
5363
5427
  if (dataset.value !== null) dataset = await this.wrapped["~run"](dataset, config$1);
5364
5428
  if (dataset.value === null) _addIssue(this, "type", dataset, config$1);
5365
5429
  return dataset;
5366
5430
  }
5367
- };
5431
+ });
5368
5432
  }
5369
5433
 
5370
5434
  //#endregion
5371
5435
  //#region src/schemas/nonNullish/nonNullish.ts
5372
5436
  /* @__NO_SIDE_EFFECTS__ */
5373
5437
  function nonNullish(wrapped, message$1) {
5374
- return {
5438
+ return _standardSchema({
5375
5439
  kind: "schema",
5376
5440
  type: "non_nullish",
5377
5441
  reference: nonNullish,
@@ -5379,22 +5443,19 @@ function nonNullish(wrapped, message$1) {
5379
5443
  async: false,
5380
5444
  wrapped,
5381
5445
  message: message$1,
5382
- get "~standard"() {
5383
- return /* @__PURE__ */ _getStandardProps(this);
5384
- },
5385
5446
  "~run"(dataset, config$1) {
5386
5447
  if (!(dataset.value === null || dataset.value === void 0)) dataset = this.wrapped["~run"](dataset, config$1);
5387
5448
  if (dataset.value === null || dataset.value === void 0) _addIssue(this, "type", dataset, config$1);
5388
5449
  return dataset;
5389
5450
  }
5390
- };
5451
+ });
5391
5452
  }
5392
5453
 
5393
5454
  //#endregion
5394
5455
  //#region src/schemas/nonNullish/nonNullishAsync.ts
5395
5456
  /* @__NO_SIDE_EFFECTS__ */
5396
5457
  function nonNullishAsync(wrapped, message$1) {
5397
- return {
5458
+ return _standardSchema({
5398
5459
  kind: "schema",
5399
5460
  type: "non_nullish",
5400
5461
  reference: nonNullishAsync,
@@ -5402,22 +5463,19 @@ function nonNullishAsync(wrapped, message$1) {
5402
5463
  async: true,
5403
5464
  wrapped,
5404
5465
  message: message$1,
5405
- get "~standard"() {
5406
- return /* @__PURE__ */ _getStandardProps(this);
5407
- },
5408
5466
  async "~run"(dataset, config$1) {
5409
5467
  if (!(dataset.value === null || dataset.value === void 0)) dataset = await this.wrapped["~run"](dataset, config$1);
5410
5468
  if (dataset.value === null || dataset.value === void 0) _addIssue(this, "type", dataset, config$1);
5411
5469
  return dataset;
5412
5470
  }
5413
- };
5471
+ });
5414
5472
  }
5415
5473
 
5416
5474
  //#endregion
5417
5475
  //#region src/schemas/nonOptional/nonOptional.ts
5418
5476
  /* @__NO_SIDE_EFFECTS__ */
5419
5477
  function nonOptional(wrapped, message$1) {
5420
- return {
5478
+ return _standardSchema({
5421
5479
  kind: "schema",
5422
5480
  type: "non_optional",
5423
5481
  reference: nonOptional,
@@ -5425,22 +5483,19 @@ function nonOptional(wrapped, message$1) {
5425
5483
  async: false,
5426
5484
  wrapped,
5427
5485
  message: message$1,
5428
- get "~standard"() {
5429
- return /* @__PURE__ */ _getStandardProps(this);
5430
- },
5431
5486
  "~run"(dataset, config$1) {
5432
5487
  if (dataset.value !== void 0) dataset = this.wrapped["~run"](dataset, config$1);
5433
5488
  if (dataset.value === void 0) _addIssue(this, "type", dataset, config$1);
5434
5489
  return dataset;
5435
5490
  }
5436
- };
5491
+ });
5437
5492
  }
5438
5493
 
5439
5494
  //#endregion
5440
5495
  //#region src/schemas/nonOptional/nonOptionalAsync.ts
5441
5496
  /* @__NO_SIDE_EFFECTS__ */
5442
5497
  function nonOptionalAsync(wrapped, message$1) {
5443
- return {
5498
+ return _standardSchema({
5444
5499
  kind: "schema",
5445
5500
  type: "non_optional",
5446
5501
  reference: nonOptionalAsync,
@@ -5448,44 +5503,38 @@ function nonOptionalAsync(wrapped, message$1) {
5448
5503
  async: true,
5449
5504
  wrapped,
5450
5505
  message: message$1,
5451
- get "~standard"() {
5452
- return /* @__PURE__ */ _getStandardProps(this);
5453
- },
5454
5506
  async "~run"(dataset, config$1) {
5455
5507
  if (dataset.value !== void 0) dataset = await this.wrapped["~run"](dataset, config$1);
5456
5508
  if (dataset.value === void 0) _addIssue(this, "type", dataset, config$1);
5457
5509
  return dataset;
5458
5510
  }
5459
- };
5511
+ });
5460
5512
  }
5461
5513
 
5462
5514
  //#endregion
5463
5515
  //#region src/schemas/null/null.ts
5464
5516
  /* @__NO_SIDE_EFFECTS__ */
5465
5517
  function null_(message$1) {
5466
- return {
5518
+ return _standardSchema({
5467
5519
  kind: "schema",
5468
5520
  type: "null",
5469
5521
  reference: null_,
5470
5522
  expects: "null",
5471
5523
  async: false,
5472
5524
  message: message$1,
5473
- get "~standard"() {
5474
- return /* @__PURE__ */ _getStandardProps(this);
5475
- },
5476
5525
  "~run"(dataset, config$1) {
5477
5526
  if (dataset.value === null) dataset.typed = true;
5478
5527
  else _addIssue(this, "type", dataset, config$1);
5479
5528
  return dataset;
5480
5529
  }
5481
- };
5530
+ });
5482
5531
  }
5483
5532
 
5484
5533
  //#endregion
5485
5534
  //#region src/schemas/nullable/nullable.ts
5486
5535
  /* @__NO_SIDE_EFFECTS__ */
5487
5536
  function nullable(wrapped, default_) {
5488
- return {
5537
+ return _standardSchema({
5489
5538
  kind: "schema",
5490
5539
  type: "nullable",
5491
5540
  reference: nullable,
@@ -5493,9 +5542,6 @@ function nullable(wrapped, default_) {
5493
5542
  async: false,
5494
5543
  wrapped,
5495
5544
  default: default_,
5496
- get "~standard"() {
5497
- return /* @__PURE__ */ _getStandardProps(this);
5498
- },
5499
5545
  "~run"(dataset, config$1) {
5500
5546
  if (dataset.value === null) {
5501
5547
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -5506,14 +5552,14 @@ function nullable(wrapped, default_) {
5506
5552
  }
5507
5553
  return this.wrapped["~run"](dataset, config$1);
5508
5554
  }
5509
- };
5555
+ });
5510
5556
  }
5511
5557
 
5512
5558
  //#endregion
5513
5559
  //#region src/schemas/nullable/nullableAsync.ts
5514
5560
  /* @__NO_SIDE_EFFECTS__ */
5515
5561
  function nullableAsync(wrapped, default_) {
5516
- return {
5562
+ return _standardSchema({
5517
5563
  kind: "schema",
5518
5564
  type: "nullable",
5519
5565
  reference: nullableAsync,
@@ -5521,9 +5567,6 @@ function nullableAsync(wrapped, default_) {
5521
5567
  async: true,
5522
5568
  wrapped,
5523
5569
  default: default_,
5524
- get "~standard"() {
5525
- return /* @__PURE__ */ _getStandardProps(this);
5526
- },
5527
5570
  async "~run"(dataset, config$1) {
5528
5571
  if (dataset.value === null) {
5529
5572
  if (this.default !== void 0) dataset.value = await /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -5534,14 +5577,14 @@ function nullableAsync(wrapped, default_) {
5534
5577
  }
5535
5578
  return this.wrapped["~run"](dataset, config$1);
5536
5579
  }
5537
- };
5580
+ });
5538
5581
  }
5539
5582
 
5540
5583
  //#endregion
5541
5584
  //#region src/schemas/nullish/nullish.ts
5542
5585
  /* @__NO_SIDE_EFFECTS__ */
5543
5586
  function nullish(wrapped, default_) {
5544
- return {
5587
+ return _standardSchema({
5545
5588
  kind: "schema",
5546
5589
  type: "nullish",
5547
5590
  reference: nullish,
@@ -5549,9 +5592,6 @@ function nullish(wrapped, default_) {
5549
5592
  async: false,
5550
5593
  wrapped,
5551
5594
  default: default_,
5552
- get "~standard"() {
5553
- return /* @__PURE__ */ _getStandardProps(this);
5554
- },
5555
5595
  "~run"(dataset, config$1) {
5556
5596
  if (dataset.value === null || dataset.value === void 0) {
5557
5597
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -5562,14 +5602,14 @@ function nullish(wrapped, default_) {
5562
5602
  }
5563
5603
  return this.wrapped["~run"](dataset, config$1);
5564
5604
  }
5565
- };
5605
+ });
5566
5606
  }
5567
5607
 
5568
5608
  //#endregion
5569
5609
  //#region src/schemas/nullish/nullishAsync.ts
5570
5610
  /* @__NO_SIDE_EFFECTS__ */
5571
5611
  function nullishAsync(wrapped, default_) {
5572
- return {
5612
+ return _standardSchema({
5573
5613
  kind: "schema",
5574
5614
  type: "nullish",
5575
5615
  reference: nullishAsync,
@@ -5577,9 +5617,6 @@ function nullishAsync(wrapped, default_) {
5577
5617
  async: true,
5578
5618
  wrapped,
5579
5619
  default: default_,
5580
- get "~standard"() {
5581
- return /* @__PURE__ */ _getStandardProps(this);
5582
- },
5583
5620
  async "~run"(dataset, config$1) {
5584
5621
  if (dataset.value === null || dataset.value === void 0) {
5585
5622
  if (this.default !== void 0) dataset.value = await /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -5590,36 +5627,33 @@ function nullishAsync(wrapped, default_) {
5590
5627
  }
5591
5628
  return this.wrapped["~run"](dataset, config$1);
5592
5629
  }
5593
- };
5630
+ });
5594
5631
  }
5595
5632
 
5596
5633
  //#endregion
5597
5634
  //#region src/schemas/number/number.ts
5598
5635
  /* @__NO_SIDE_EFFECTS__ */
5599
5636
  function number(message$1) {
5600
- return {
5637
+ return _standardSchema({
5601
5638
  kind: "schema",
5602
5639
  type: "number",
5603
5640
  reference: number,
5604
5641
  expects: "number",
5605
5642
  async: false,
5606
5643
  message: message$1,
5607
- get "~standard"() {
5608
- return /* @__PURE__ */ _getStandardProps(this);
5609
- },
5610
5644
  "~run"(dataset, config$1) {
5611
5645
  if (typeof dataset.value === "number" && !isNaN(dataset.value)) dataset.typed = true;
5612
5646
  else _addIssue(this, "type", dataset, config$1);
5613
5647
  return dataset;
5614
5648
  }
5615
- };
5649
+ });
5616
5650
  }
5617
5651
 
5618
5652
  //#endregion
5619
5653
  //#region src/schemas/object/object.ts
5620
5654
  /* @__NO_SIDE_EFFECTS__ */
5621
5655
  function object(entries$1, message$1) {
5622
- return {
5656
+ return _standardSchema({
5623
5657
  kind: "schema",
5624
5658
  type: "object",
5625
5659
  reference: object,
@@ -5627,9 +5661,6 @@ function object(entries$1, message$1) {
5627
5661
  async: false,
5628
5662
  entries: entries$1,
5629
5663
  message: message$1,
5630
- get "~standard"() {
5631
- return /* @__PURE__ */ _getStandardProps(this);
5632
- },
5633
5664
  "~run"(dataset, config$1) {
5634
5665
  const input = dataset.value;
5635
5666
  if (input && typeof input === "object") {
@@ -5680,14 +5711,14 @@ function object(entries$1, message$1) {
5680
5711
  } else _addIssue(this, "type", dataset, config$1);
5681
5712
  return dataset;
5682
5713
  }
5683
- };
5714
+ });
5684
5715
  }
5685
5716
 
5686
5717
  //#endregion
5687
5718
  //#region src/schemas/object/objectAsync.ts
5688
5719
  /* @__NO_SIDE_EFFECTS__ */
5689
5720
  function objectAsync(entries$1, message$1) {
5690
- return {
5721
+ return _standardSchema({
5691
5722
  kind: "schema",
5692
5723
  type: "object",
5693
5724
  reference: objectAsync,
@@ -5695,9 +5726,6 @@ function objectAsync(entries$1, message$1) {
5695
5726
  async: true,
5696
5727
  entries: entries$1,
5697
5728
  message: message$1,
5698
- get "~standard"() {
5699
- return /* @__PURE__ */ _getStandardProps(this);
5700
- },
5701
5729
  async "~run"(dataset, config$1) {
5702
5730
  const input = dataset.value;
5703
5731
  if (input && typeof input === "object") {
@@ -5760,14 +5788,14 @@ function objectAsync(entries$1, message$1) {
5760
5788
  } else _addIssue(this, "type", dataset, config$1);
5761
5789
  return dataset;
5762
5790
  }
5763
- };
5791
+ });
5764
5792
  }
5765
5793
 
5766
5794
  //#endregion
5767
5795
  //#region src/schemas/objectWithRest/objectWithRest.ts
5768
5796
  /* @__NO_SIDE_EFFECTS__ */
5769
5797
  function objectWithRest(entries$1, rest, message$1) {
5770
- return {
5798
+ return _standardSchema({
5771
5799
  kind: "schema",
5772
5800
  type: "object_with_rest",
5773
5801
  reference: objectWithRest,
@@ -5776,9 +5804,6 @@ function objectWithRest(entries$1, rest, message$1) {
5776
5804
  entries: entries$1,
5777
5805
  rest,
5778
5806
  message: message$1,
5779
- get "~standard"() {
5780
- return /* @__PURE__ */ _getStandardProps(this);
5781
- },
5782
5807
  "~run"(dataset, config$1) {
5783
5808
  const input = dataset.value;
5784
5809
  if (input && typeof input === "object") {
@@ -5827,7 +5852,7 @@ function objectWithRest(entries$1, rest, message$1) {
5827
5852
  }
5828
5853
  }
5829
5854
  if (!dataset.issues || !config$1.abortEarly) {
5830
- for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !(key in this.entries)) {
5855
+ for (const key in input) if (/* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)) {
5831
5856
  const valueDataset = this.rest["~run"]({ value: input[key] }, config$1);
5832
5857
  if (valueDataset.issues) {
5833
5858
  const pathItem = {
@@ -5855,14 +5880,14 @@ function objectWithRest(entries$1, rest, message$1) {
5855
5880
  } else _addIssue(this, "type", dataset, config$1);
5856
5881
  return dataset;
5857
5882
  }
5858
- };
5883
+ });
5859
5884
  }
5860
5885
 
5861
5886
  //#endregion
5862
5887
  //#region src/schemas/objectWithRest/objectWithRestAsync.ts
5863
5888
  /* @__NO_SIDE_EFFECTS__ */
5864
5889
  function objectWithRestAsync(entries$1, rest, message$1) {
5865
- return {
5890
+ return _standardSchema({
5866
5891
  kind: "schema",
5867
5892
  type: "object_with_rest",
5868
5893
  reference: objectWithRestAsync,
@@ -5871,9 +5896,6 @@ function objectWithRestAsync(entries$1, rest, message$1) {
5871
5896
  entries: entries$1,
5872
5897
  rest,
5873
5898
  message: message$1,
5874
- get "~standard"() {
5875
- return /* @__PURE__ */ _getStandardProps(this);
5876
- },
5877
5899
  async "~run"(dataset, config$1) {
5878
5900
  const input = dataset.value;
5879
5901
  if (input && typeof input === "object") {
@@ -5895,7 +5917,7 @@ function objectWithRestAsync(entries$1, rest, message$1) {
5895
5917
  valueSchema,
5896
5918
  null
5897
5919
  ];
5898
- })), Promise.all(Object.entries(input).filter(([key]) => /* @__PURE__ */ _isValidObjectKey(input, key) && !(key in this.entries)).map(async ([key, value$1]) => [
5920
+ })), Promise.all(Object.entries(input).filter(([key]) => /* @__PURE__ */ _isValidObjectKey(input, key) && !Object.prototype.hasOwnProperty.call(this.entries, key)).map(async ([key, value$1]) => [
5899
5921
  key,
5900
5922
  value$1,
5901
5923
  await this.rest["~run"]({ value: value$1 }, config$1)
@@ -5963,14 +5985,14 @@ function objectWithRestAsync(entries$1, rest, message$1) {
5963
5985
  } else _addIssue(this, "type", dataset, config$1);
5964
5986
  return dataset;
5965
5987
  }
5966
- };
5988
+ });
5967
5989
  }
5968
5990
 
5969
5991
  //#endregion
5970
5992
  //#region src/schemas/optional/optional.ts
5971
5993
  /* @__NO_SIDE_EFFECTS__ */
5972
5994
  function optional(wrapped, default_) {
5973
- return {
5995
+ return _standardSchema({
5974
5996
  kind: "schema",
5975
5997
  type: "optional",
5976
5998
  reference: optional,
@@ -5978,9 +6000,6 @@ function optional(wrapped, default_) {
5978
6000
  async: false,
5979
6001
  wrapped,
5980
6002
  default: default_,
5981
- get "~standard"() {
5982
- return /* @__PURE__ */ _getStandardProps(this);
5983
- },
5984
6003
  "~run"(dataset, config$1) {
5985
6004
  if (dataset.value === void 0) {
5986
6005
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -5991,14 +6010,14 @@ function optional(wrapped, default_) {
5991
6010
  }
5992
6011
  return this.wrapped["~run"](dataset, config$1);
5993
6012
  }
5994
- };
6013
+ });
5995
6014
  }
5996
6015
 
5997
6016
  //#endregion
5998
6017
  //#region src/schemas/optional/optionalAsync.ts
5999
6018
  /* @__NO_SIDE_EFFECTS__ */
6000
6019
  function optionalAsync(wrapped, default_) {
6001
- return {
6020
+ return _standardSchema({
6002
6021
  kind: "schema",
6003
6022
  type: "optional",
6004
6023
  reference: optionalAsync,
@@ -6006,9 +6025,6 @@ function optionalAsync(wrapped, default_) {
6006
6025
  async: true,
6007
6026
  wrapped,
6008
6027
  default: default_,
6009
- get "~standard"() {
6010
- return /* @__PURE__ */ _getStandardProps(this);
6011
- },
6012
6028
  async "~run"(dataset, config$1) {
6013
6029
  if (dataset.value === void 0) {
6014
6030
  if (this.default !== void 0) dataset.value = await /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -6019,14 +6035,14 @@ function optionalAsync(wrapped, default_) {
6019
6035
  }
6020
6036
  return this.wrapped["~run"](dataset, config$1);
6021
6037
  }
6022
- };
6038
+ });
6023
6039
  }
6024
6040
 
6025
6041
  //#endregion
6026
6042
  //#region src/schemas/picklist/picklist.ts
6027
6043
  /* @__NO_SIDE_EFFECTS__ */
6028
6044
  function picklist(options, message$1) {
6029
- return {
6045
+ return _standardSchema({
6030
6046
  kind: "schema",
6031
6047
  type: "picklist",
6032
6048
  reference: picklist,
@@ -6034,44 +6050,38 @@ function picklist(options, message$1) {
6034
6050
  async: false,
6035
6051
  options,
6036
6052
  message: message$1,
6037
- get "~standard"() {
6038
- return /* @__PURE__ */ _getStandardProps(this);
6039
- },
6040
6053
  "~run"(dataset, config$1) {
6041
6054
  if (this.options.includes(dataset.value)) dataset.typed = true;
6042
6055
  else _addIssue(this, "type", dataset, config$1);
6043
6056
  return dataset;
6044
6057
  }
6045
- };
6058
+ });
6046
6059
  }
6047
6060
 
6048
6061
  //#endregion
6049
6062
  //#region src/schemas/promise/promise.ts
6050
6063
  /* @__NO_SIDE_EFFECTS__ */
6051
6064
  function promise(message$1) {
6052
- return {
6065
+ return _standardSchema({
6053
6066
  kind: "schema",
6054
6067
  type: "promise",
6055
6068
  reference: promise,
6056
6069
  expects: "Promise",
6057
6070
  async: false,
6058
6071
  message: message$1,
6059
- get "~standard"() {
6060
- return /* @__PURE__ */ _getStandardProps(this);
6061
- },
6062
6072
  "~run"(dataset, config$1) {
6063
6073
  if (dataset.value instanceof Promise) dataset.typed = true;
6064
6074
  else _addIssue(this, "type", dataset, config$1);
6065
6075
  return dataset;
6066
6076
  }
6067
- };
6077
+ });
6068
6078
  }
6069
6079
 
6070
6080
  //#endregion
6071
6081
  //#region src/schemas/record/record.ts
6072
6082
  /* @__NO_SIDE_EFFECTS__ */
6073
6083
  function record(key, value$1, message$1) {
6074
- return {
6084
+ return _standardSchema({
6075
6085
  kind: "schema",
6076
6086
  type: "record",
6077
6087
  reference: record,
@@ -6080,9 +6090,6 @@ function record(key, value$1, message$1) {
6080
6090
  key,
6081
6091
  value: value$1,
6082
6092
  message: message$1,
6083
- get "~standard"() {
6084
- return /* @__PURE__ */ _getStandardProps(this);
6085
- },
6086
6093
  "~run"(dataset, config$1) {
6087
6094
  const input = dataset.value;
6088
6095
  if (input && typeof input === "object") {
@@ -6135,14 +6142,14 @@ function record(key, value$1, message$1) {
6135
6142
  } else _addIssue(this, "type", dataset, config$1);
6136
6143
  return dataset;
6137
6144
  }
6138
- };
6145
+ });
6139
6146
  }
6140
6147
 
6141
6148
  //#endregion
6142
6149
  //#region src/schemas/record/recordAsync.ts
6143
6150
  /* @__NO_SIDE_EFFECTS__ */
6144
6151
  function recordAsync(key, value$1, message$1) {
6145
- return {
6152
+ return _standardSchema({
6146
6153
  kind: "schema",
6147
6154
  type: "record",
6148
6155
  reference: recordAsync,
@@ -6151,9 +6158,6 @@ function recordAsync(key, value$1, message$1) {
6151
6158
  key,
6152
6159
  value: value$1,
6153
6160
  message: message$1,
6154
- get "~standard"() {
6155
- return /* @__PURE__ */ _getStandardProps(this);
6156
- },
6157
6161
  async "~run"(dataset, config$1) {
6158
6162
  const input = dataset.value;
6159
6163
  if (input && typeof input === "object") {
@@ -6209,14 +6213,14 @@ function recordAsync(key, value$1, message$1) {
6209
6213
  } else _addIssue(this, "type", dataset, config$1);
6210
6214
  return dataset;
6211
6215
  }
6212
- };
6216
+ });
6213
6217
  }
6214
6218
 
6215
6219
  //#endregion
6216
6220
  //#region src/schemas/set/set.ts
6217
6221
  /* @__NO_SIDE_EFFECTS__ */
6218
6222
  function set(value$1, message$1) {
6219
- return {
6223
+ return _standardSchema({
6220
6224
  kind: "schema",
6221
6225
  type: "set",
6222
6226
  reference: set,
@@ -6224,9 +6228,6 @@ function set(value$1, message$1) {
6224
6228
  async: false,
6225
6229
  value: value$1,
6226
6230
  message: message$1,
6227
- get "~standard"() {
6228
- return /* @__PURE__ */ _getStandardProps(this);
6229
- },
6230
6231
  "~run"(dataset, config$1) {
6231
6232
  const input = dataset.value;
6232
6233
  if (input instanceof Set) {
@@ -6259,14 +6260,14 @@ function set(value$1, message$1) {
6259
6260
  } else _addIssue(this, "type", dataset, config$1);
6260
6261
  return dataset;
6261
6262
  }
6262
- };
6263
+ });
6263
6264
  }
6264
6265
 
6265
6266
  //#endregion
6266
6267
  //#region src/schemas/set/setAsync.ts
6267
6268
  /* @__NO_SIDE_EFFECTS__ */
6268
6269
  function setAsync(value$1, message$1) {
6269
- return {
6270
+ return _standardSchema({
6270
6271
  kind: "schema",
6271
6272
  type: "set",
6272
6273
  reference: setAsync,
@@ -6274,9 +6275,6 @@ function setAsync(value$1, message$1) {
6274
6275
  async: true,
6275
6276
  value: value$1,
6276
6277
  message: message$1,
6277
- get "~standard"() {
6278
- return /* @__PURE__ */ _getStandardProps(this);
6279
- },
6280
6278
  async "~run"(dataset, config$1) {
6281
6279
  const input = dataset.value;
6282
6280
  if (input instanceof Set) {
@@ -6309,14 +6307,14 @@ function setAsync(value$1, message$1) {
6309
6307
  } else _addIssue(this, "type", dataset, config$1);
6310
6308
  return dataset;
6311
6309
  }
6312
- };
6310
+ });
6313
6311
  }
6314
6312
 
6315
6313
  //#endregion
6316
6314
  //#region src/schemas/strictObject/strictObject.ts
6317
6315
  /* @__NO_SIDE_EFFECTS__ */
6318
6316
  function strictObject(entries$1, message$1) {
6319
- return {
6317
+ return _standardSchema({
6320
6318
  kind: "schema",
6321
6319
  type: "strict_object",
6322
6320
  reference: strictObject,
@@ -6324,9 +6322,6 @@ function strictObject(entries$1, message$1) {
6324
6322
  async: false,
6325
6323
  entries: entries$1,
6326
6324
  message: message$1,
6327
- get "~standard"() {
6328
- return /* @__PURE__ */ _getStandardProps(this);
6329
- },
6330
6325
  "~run"(dataset, config$1) {
6331
6326
  const input = dataset.value;
6332
6327
  if (input && typeof input === "object") {
@@ -6375,7 +6370,7 @@ function strictObject(entries$1, message$1) {
6375
6370
  }
6376
6371
  }
6377
6372
  if (!dataset.issues || !config$1.abortEarly) {
6378
- for (const key in input) if (!(key in this.entries)) {
6373
+ for (const key in input) if (!Object.prototype.hasOwnProperty.call(this.entries, key)) {
6379
6374
  _addIssue(this, "key", dataset, config$1, {
6380
6375
  input: key,
6381
6376
  expected: "never",
@@ -6393,14 +6388,14 @@ function strictObject(entries$1, message$1) {
6393
6388
  } else _addIssue(this, "type", dataset, config$1);
6394
6389
  return dataset;
6395
6390
  }
6396
- };
6391
+ });
6397
6392
  }
6398
6393
 
6399
6394
  //#endregion
6400
6395
  //#region src/schemas/strictObject/strictObjectAsync.ts
6401
6396
  /* @__NO_SIDE_EFFECTS__ */
6402
6397
  function strictObjectAsync(entries$1, message$1) {
6403
- return {
6398
+ return _standardSchema({
6404
6399
  kind: "schema",
6405
6400
  type: "strict_object",
6406
6401
  reference: strictObjectAsync,
@@ -6408,9 +6403,6 @@ function strictObjectAsync(entries$1, message$1) {
6408
6403
  async: true,
6409
6404
  entries: entries$1,
6410
6405
  message: message$1,
6411
- get "~standard"() {
6412
- return /* @__PURE__ */ _getStandardProps(this);
6413
- },
6414
6406
  async "~run"(dataset, config$1) {
6415
6407
  const input = dataset.value;
6416
6408
  if (input && typeof input === "object") {
@@ -6471,7 +6463,7 @@ function strictObjectAsync(entries$1, message$1) {
6471
6463
  if (config$1.abortEarly) break;
6472
6464
  }
6473
6465
  if (!dataset.issues || !config$1.abortEarly) {
6474
- for (const key in input) if (!(key in this.entries)) {
6466
+ for (const key in input) if (!Object.prototype.hasOwnProperty.call(this.entries, key)) {
6475
6467
  _addIssue(this, "key", dataset, config$1, {
6476
6468
  input: key,
6477
6469
  expected: "never",
@@ -6489,14 +6481,14 @@ function strictObjectAsync(entries$1, message$1) {
6489
6481
  } else _addIssue(this, "type", dataset, config$1);
6490
6482
  return dataset;
6491
6483
  }
6492
- };
6484
+ });
6493
6485
  }
6494
6486
 
6495
6487
  //#endregion
6496
6488
  //#region src/schemas/strictTuple/strictTuple.ts
6497
6489
  /* @__NO_SIDE_EFFECTS__ */
6498
6490
  function strictTuple(items, message$1) {
6499
- return {
6491
+ return _standardSchema({
6500
6492
  kind: "schema",
6501
6493
  type: "strict_tuple",
6502
6494
  reference: strictTuple,
@@ -6504,9 +6496,6 @@ function strictTuple(items, message$1) {
6504
6496
  async: false,
6505
6497
  items,
6506
6498
  message: message$1,
6507
- get "~standard"() {
6508
- return /* @__PURE__ */ _getStandardProps(this);
6509
- },
6510
6499
  "~run"(dataset, config$1) {
6511
6500
  const input = dataset.value;
6512
6501
  if (Array.isArray(input)) {
@@ -6551,14 +6540,14 @@ function strictTuple(items, message$1) {
6551
6540
  } else _addIssue(this, "type", dataset, config$1);
6552
6541
  return dataset;
6553
6542
  }
6554
- };
6543
+ });
6555
6544
  }
6556
6545
 
6557
6546
  //#endregion
6558
6547
  //#region src/schemas/strictTuple/strictTupleAsync.ts
6559
6548
  /* @__NO_SIDE_EFFECTS__ */
6560
6549
  function strictTupleAsync(items, message$1) {
6561
- return {
6550
+ return _standardSchema({
6562
6551
  kind: "schema",
6563
6552
  type: "strict_tuple",
6564
6553
  reference: strictTupleAsync,
@@ -6566,9 +6555,6 @@ function strictTupleAsync(items, message$1) {
6566
6555
  async: true,
6567
6556
  items,
6568
6557
  message: message$1,
6569
- get "~standard"() {
6570
- return /* @__PURE__ */ _getStandardProps(this);
6571
- },
6572
6558
  async "~run"(dataset, config$1) {
6573
6559
  const input = dataset.value;
6574
6560
  if (Array.isArray(input)) {
@@ -6619,58 +6605,52 @@ function strictTupleAsync(items, message$1) {
6619
6605
  } else _addIssue(this, "type", dataset, config$1);
6620
6606
  return dataset;
6621
6607
  }
6622
- };
6608
+ });
6623
6609
  }
6624
6610
 
6625
6611
  //#endregion
6626
6612
  //#region src/schemas/string/string.ts
6627
6613
  /* @__NO_SIDE_EFFECTS__ */
6628
6614
  function string(message$1) {
6629
- return {
6615
+ return _standardSchema({
6630
6616
  kind: "schema",
6631
6617
  type: "string",
6632
6618
  reference: string,
6633
6619
  expects: "string",
6634
6620
  async: false,
6635
6621
  message: message$1,
6636
- get "~standard"() {
6637
- return /* @__PURE__ */ _getStandardProps(this);
6638
- },
6639
6622
  "~run"(dataset, config$1) {
6640
6623
  if (typeof dataset.value === "string") dataset.typed = true;
6641
6624
  else _addIssue(this, "type", dataset, config$1);
6642
6625
  return dataset;
6643
6626
  }
6644
- };
6627
+ });
6645
6628
  }
6646
6629
 
6647
6630
  //#endregion
6648
6631
  //#region src/schemas/symbol/symbol.ts
6649
6632
  /* @__NO_SIDE_EFFECTS__ */
6650
6633
  function symbol(message$1) {
6651
- return {
6634
+ return _standardSchema({
6652
6635
  kind: "schema",
6653
6636
  type: "symbol",
6654
6637
  reference: symbol,
6655
6638
  expects: "symbol",
6656
6639
  async: false,
6657
6640
  message: message$1,
6658
- get "~standard"() {
6659
- return /* @__PURE__ */ _getStandardProps(this);
6660
- },
6661
6641
  "~run"(dataset, config$1) {
6662
6642
  if (typeof dataset.value === "symbol") dataset.typed = true;
6663
6643
  else _addIssue(this, "type", dataset, config$1);
6664
6644
  return dataset;
6665
6645
  }
6666
- };
6646
+ });
6667
6647
  }
6668
6648
 
6669
6649
  //#endregion
6670
6650
  //#region src/schemas/tuple/tuple.ts
6671
6651
  /* @__NO_SIDE_EFFECTS__ */
6672
6652
  function tuple(items, message$1) {
6673
- return {
6653
+ return _standardSchema({
6674
6654
  kind: "schema",
6675
6655
  type: "tuple",
6676
6656
  reference: tuple,
@@ -6678,9 +6658,6 @@ function tuple(items, message$1) {
6678
6658
  async: false,
6679
6659
  items,
6680
6660
  message: message$1,
6681
- get "~standard"() {
6682
- return /* @__PURE__ */ _getStandardProps(this);
6683
- },
6684
6661
  "~run"(dataset, config$1) {
6685
6662
  const input = dataset.value;
6686
6663
  if (Array.isArray(input)) {
@@ -6714,14 +6691,14 @@ function tuple(items, message$1) {
6714
6691
  } else _addIssue(this, "type", dataset, config$1);
6715
6692
  return dataset;
6716
6693
  }
6717
- };
6694
+ });
6718
6695
  }
6719
6696
 
6720
6697
  //#endregion
6721
6698
  //#region src/schemas/tuple/tupleAsync.ts
6722
6699
  /* @__NO_SIDE_EFFECTS__ */
6723
6700
  function tupleAsync(items, message$1) {
6724
- return {
6701
+ return _standardSchema({
6725
6702
  kind: "schema",
6726
6703
  type: "tuple",
6727
6704
  reference: tupleAsync,
@@ -6729,9 +6706,6 @@ function tupleAsync(items, message$1) {
6729
6706
  async: true,
6730
6707
  items,
6731
6708
  message: message$1,
6732
- get "~standard"() {
6733
- return /* @__PURE__ */ _getStandardProps(this);
6734
- },
6735
6709
  async "~run"(dataset, config$1) {
6736
6710
  const input = dataset.value;
6737
6711
  if (Array.isArray(input)) {
@@ -6771,14 +6745,14 @@ function tupleAsync(items, message$1) {
6771
6745
  } else _addIssue(this, "type", dataset, config$1);
6772
6746
  return dataset;
6773
6747
  }
6774
- };
6748
+ });
6775
6749
  }
6776
6750
 
6777
6751
  //#endregion
6778
6752
  //#region src/schemas/tupleWithRest/tupleWithRest.ts
6779
6753
  /* @__NO_SIDE_EFFECTS__ */
6780
6754
  function tupleWithRest(items, rest, message$1) {
6781
- return {
6755
+ return _standardSchema({
6782
6756
  kind: "schema",
6783
6757
  type: "tuple_with_rest",
6784
6758
  reference: tupleWithRest,
@@ -6787,9 +6761,6 @@ function tupleWithRest(items, rest, message$1) {
6787
6761
  items,
6788
6762
  rest,
6789
6763
  message: message$1,
6790
- get "~standard"() {
6791
- return /* @__PURE__ */ _getStandardProps(this);
6792
- },
6793
6764
  "~run"(dataset, config$1) {
6794
6765
  const input = dataset.value;
6795
6766
  if (Array.isArray(input)) {
@@ -6848,14 +6819,14 @@ function tupleWithRest(items, rest, message$1) {
6848
6819
  } else _addIssue(this, "type", dataset, config$1);
6849
6820
  return dataset;
6850
6821
  }
6851
- };
6822
+ });
6852
6823
  }
6853
6824
 
6854
6825
  //#endregion
6855
6826
  //#region src/schemas/tupleWithRest/tupleWithRestAsync.ts
6856
6827
  /* @__NO_SIDE_EFFECTS__ */
6857
6828
  function tupleWithRestAsync(items, rest, message$1) {
6858
- return {
6829
+ return _standardSchema({
6859
6830
  kind: "schema",
6860
6831
  type: "tuple_with_rest",
6861
6832
  reference: tupleWithRestAsync,
@@ -6864,9 +6835,6 @@ function tupleWithRestAsync(items, rest, message$1) {
6864
6835
  items,
6865
6836
  rest,
6866
6837
  message: message$1,
6867
- get "~standard"() {
6868
- return /* @__PURE__ */ _getStandardProps(this);
6869
- },
6870
6838
  async "~run"(dataset, config$1) {
6871
6839
  const input = dataset.value;
6872
6840
  if (Array.isArray(input)) {
@@ -6935,36 +6903,33 @@ function tupleWithRestAsync(items, rest, message$1) {
6935
6903
  } else _addIssue(this, "type", dataset, config$1);
6936
6904
  return dataset;
6937
6905
  }
6938
- };
6906
+ });
6939
6907
  }
6940
6908
 
6941
6909
  //#endregion
6942
6910
  //#region src/schemas/undefined/undefined.ts
6943
6911
  /* @__NO_SIDE_EFFECTS__ */
6944
6912
  function undefined_(message$1) {
6945
- return {
6913
+ return _standardSchema({
6946
6914
  kind: "schema",
6947
6915
  type: "undefined",
6948
6916
  reference: undefined_,
6949
6917
  expects: "undefined",
6950
6918
  async: false,
6951
6919
  message: message$1,
6952
- get "~standard"() {
6953
- return /* @__PURE__ */ _getStandardProps(this);
6954
- },
6955
6920
  "~run"(dataset, config$1) {
6956
6921
  if (dataset.value === void 0) dataset.typed = true;
6957
6922
  else _addIssue(this, "type", dataset, config$1);
6958
6923
  return dataset;
6959
6924
  }
6960
- };
6925
+ });
6961
6926
  }
6962
6927
 
6963
6928
  //#endregion
6964
6929
  //#region src/schemas/undefinedable/undefinedable.ts
6965
6930
  /* @__NO_SIDE_EFFECTS__ */
6966
6931
  function undefinedable(wrapped, default_) {
6967
- return {
6932
+ return _standardSchema({
6968
6933
  kind: "schema",
6969
6934
  type: "undefinedable",
6970
6935
  reference: undefinedable,
@@ -6972,9 +6937,6 @@ function undefinedable(wrapped, default_) {
6972
6937
  async: false,
6973
6938
  wrapped,
6974
6939
  default: default_,
6975
- get "~standard"() {
6976
- return /* @__PURE__ */ _getStandardProps(this);
6977
- },
6978
6940
  "~run"(dataset, config$1) {
6979
6941
  if (dataset.value === void 0) {
6980
6942
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -6985,14 +6947,14 @@ function undefinedable(wrapped, default_) {
6985
6947
  }
6986
6948
  return this.wrapped["~run"](dataset, config$1);
6987
6949
  }
6988
- };
6950
+ });
6989
6951
  }
6990
6952
 
6991
6953
  //#endregion
6992
6954
  //#region src/schemas/undefinedable/undefinedableAsync.ts
6993
6955
  /* @__NO_SIDE_EFFECTS__ */
6994
6956
  function undefinedableAsync(wrapped, default_) {
6995
- return {
6957
+ return _standardSchema({
6996
6958
  kind: "schema",
6997
6959
  type: "undefinedable",
6998
6960
  reference: undefinedableAsync,
@@ -7000,9 +6962,6 @@ function undefinedableAsync(wrapped, default_) {
7000
6962
  async: true,
7001
6963
  wrapped,
7002
6964
  default: default_,
7003
- get "~standard"() {
7004
- return /* @__PURE__ */ _getStandardProps(this);
7005
- },
7006
6965
  async "~run"(dataset, config$1) {
7007
6966
  if (dataset.value === void 0) {
7008
6967
  if (this.default !== void 0) dataset.value = await /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -7013,7 +6972,7 @@ function undefinedableAsync(wrapped, default_) {
7013
6972
  }
7014
6973
  return this.wrapped["~run"](dataset, config$1);
7015
6974
  }
7016
- };
6975
+ });
7017
6976
  }
7018
6977
 
7019
6978
  //#endregion
@@ -7039,7 +6998,7 @@ function _subIssues(datasets) {
7039
6998
  //#region src/schemas/union/union.ts
7040
6999
  /* @__NO_SIDE_EFFECTS__ */
7041
7000
  function union(options, message$1) {
7042
- return {
7001
+ return _standardSchema({
7043
7002
  kind: "schema",
7044
7003
  type: "union",
7045
7004
  reference: union,
@@ -7047,9 +7006,6 @@ function union(options, message$1) {
7047
7006
  async: false,
7048
7007
  options,
7049
7008
  message: message$1,
7050
- get "~standard"() {
7051
- return /* @__PURE__ */ _getStandardProps(this);
7052
- },
7053
7009
  "~run"(dataset, config$1) {
7054
7010
  let validDataset;
7055
7011
  let typedDatasets;
@@ -7074,14 +7030,14 @@ function union(options, message$1) {
7074
7030
  else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
7075
7031
  return dataset;
7076
7032
  }
7077
- };
7033
+ });
7078
7034
  }
7079
7035
 
7080
7036
  //#endregion
7081
7037
  //#region src/schemas/union/unionAsync.ts
7082
7038
  /* @__NO_SIDE_EFFECTS__ */
7083
7039
  function unionAsync(options, message$1) {
7084
- return {
7040
+ return _standardSchema({
7085
7041
  kind: "schema",
7086
7042
  type: "union",
7087
7043
  reference: unionAsync,
@@ -7089,9 +7045,6 @@ function unionAsync(options, message$1) {
7089
7045
  async: true,
7090
7046
  options,
7091
7047
  message: message$1,
7092
- get "~standard"() {
7093
- return /* @__PURE__ */ _getStandardProps(this);
7094
- },
7095
7048
  async "~run"(dataset, config$1) {
7096
7049
  let validDataset;
7097
7050
  let typedDatasets;
@@ -7116,7 +7069,7 @@ function unionAsync(options, message$1) {
7116
7069
  else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
7117
7070
  return dataset;
7118
7071
  }
7119
- };
7072
+ });
7120
7073
  }
7121
7074
 
7122
7075
  //#endregion
@@ -7128,27 +7081,24 @@ function unionAsync(options, message$1) {
7128
7081
  */
7129
7082
  /* @__NO_SIDE_EFFECTS__ */
7130
7083
  function unknown() {
7131
- return {
7084
+ return _standardSchema({
7132
7085
  kind: "schema",
7133
7086
  type: "unknown",
7134
7087
  reference: unknown,
7135
7088
  expects: "unknown",
7136
7089
  async: false,
7137
- get "~standard"() {
7138
- return /* @__PURE__ */ _getStandardProps(this);
7139
- },
7140
7090
  "~run"(dataset) {
7141
7091
  dataset.typed = true;
7142
7092
  return dataset;
7143
7093
  }
7144
- };
7094
+ });
7145
7095
  }
7146
7096
 
7147
7097
  //#endregion
7148
7098
  //#region src/schemas/variant/variant.ts
7149
7099
  /* @__NO_SIDE_EFFECTS__ */
7150
7100
  function variant(key, options, message$1) {
7151
- return {
7101
+ return _standardSchema({
7152
7102
  kind: "schema",
7153
7103
  type: "variant",
7154
7104
  reference: variant,
@@ -7157,9 +7107,6 @@ function variant(key, options, message$1) {
7157
7107
  key,
7158
7108
  options,
7159
7109
  message: message$1,
7160
- get "~standard"() {
7161
- return /* @__PURE__ */ _getStandardProps(this);
7162
- },
7163
7110
  "~run"(dataset, config$1) {
7164
7111
  const input = dataset.value;
7165
7112
  if (input && typeof input === "object") {
@@ -7214,14 +7161,14 @@ function variant(key, options, message$1) {
7214
7161
  } else _addIssue(this, "type", dataset, config$1);
7215
7162
  return dataset;
7216
7163
  }
7217
- };
7164
+ });
7218
7165
  }
7219
7166
 
7220
7167
  //#endregion
7221
7168
  //#region src/schemas/variant/variantAsync.ts
7222
7169
  /* @__NO_SIDE_EFFECTS__ */
7223
7170
  function variantAsync(key, options, message$1) {
7224
- return {
7171
+ return _standardSchema({
7225
7172
  kind: "schema",
7226
7173
  type: "variant",
7227
7174
  reference: variantAsync,
@@ -7230,9 +7177,6 @@ function variantAsync(key, options, message$1) {
7230
7177
  key,
7231
7178
  options,
7232
7179
  message: message$1,
7233
- get "~standard"() {
7234
- return /* @__PURE__ */ _getStandardProps(this);
7235
- },
7236
7180
  async "~run"(dataset, config$1) {
7237
7181
  const input = dataset.value;
7238
7182
  if (input && typeof input === "object") {
@@ -7287,29 +7231,26 @@ function variantAsync(key, options, message$1) {
7287
7231
  } else _addIssue(this, "type", dataset, config$1);
7288
7232
  return dataset;
7289
7233
  }
7290
- };
7234
+ });
7291
7235
  }
7292
7236
 
7293
7237
  //#endregion
7294
7238
  //#region src/schemas/void/void.ts
7295
7239
  /* @__NO_SIDE_EFFECTS__ */
7296
7240
  function void_(message$1) {
7297
- return {
7241
+ return _standardSchema({
7298
7242
  kind: "schema",
7299
7243
  type: "void",
7300
7244
  reference: void_,
7301
7245
  expects: "void",
7302
7246
  async: false,
7303
7247
  message: message$1,
7304
- get "~standard"() {
7305
- return /* @__PURE__ */ _getStandardProps(this);
7306
- },
7307
7248
  "~run"(dataset, config$1) {
7308
7249
  if (dataset.value === void 0) dataset.typed = true;
7309
7250
  else _addIssue(this, "type", dataset, config$1);
7310
7251
  return dataset;
7311
7252
  }
7312
- };
7253
+ });
7313
7254
  }
7314
7255
 
7315
7256
  //#endregion
@@ -7331,18 +7272,15 @@ function keyof(schema, message$1) {
7331
7272
  */
7332
7273
  /* @__NO_SIDE_EFFECTS__ */
7333
7274
  function message(schema, message_) {
7334
- return {
7275
+ return _standardSchema({
7335
7276
  ...schema,
7336
- get "~standard"() {
7337
- return /* @__PURE__ */ _getStandardProps(this);
7338
- },
7339
7277
  "~run"(dataset, config$1) {
7340
7278
  return schema["~run"](dataset, {
7341
7279
  ...config$1,
7342
7280
  message: message_
7343
7281
  });
7344
7282
  }
7345
- };
7283
+ });
7346
7284
  }
7347
7285
 
7348
7286
  //#endregion
@@ -7360,13 +7298,10 @@ function message(schema, message_) {
7360
7298
  function omit(schema, keys) {
7361
7299
  const entries$1 = { ...schema.entries };
7362
7300
  for (const key of keys) delete entries$1[key];
7363
- return {
7301
+ return _standardSchema({
7364
7302
  ...schema,
7365
- entries: entries$1,
7366
- get "~standard"() {
7367
- return /* @__PURE__ */ _getStandardProps(this);
7368
- }
7369
- };
7303
+ entries: entries$1
7304
+ });
7370
7305
  }
7371
7306
 
7372
7307
  //#endregion
@@ -7429,13 +7364,10 @@ function parserAsync(schema, config$1) {
7429
7364
  function partial(schema, keys) {
7430
7365
  const entries$1 = {};
7431
7366
  for (const key in schema.entries) entries$1[key] = !keys || keys.includes(key) ? /* @__PURE__ */ optional(schema.entries[key]) : schema.entries[key];
7432
- return {
7367
+ return _standardSchema({
7433
7368
  ...schema,
7434
- entries: entries$1,
7435
- get "~standard"() {
7436
- return /* @__PURE__ */ _getStandardProps(this);
7437
- }
7438
- };
7369
+ entries: entries$1
7370
+ });
7439
7371
  }
7440
7372
 
7441
7373
  //#endregion
@@ -7444,13 +7376,10 @@ function partial(schema, keys) {
7444
7376
  function partialAsync(schema, keys) {
7445
7377
  const entries$1 = {};
7446
7378
  for (const key in schema.entries) entries$1[key] = !keys || keys.includes(key) ? /* @__PURE__ */ optionalAsync(schema.entries[key]) : schema.entries[key];
7447
- return {
7379
+ return _standardSchema({
7448
7380
  ...schema,
7449
- entries: entries$1,
7450
- get "~standard"() {
7451
- return /* @__PURE__ */ _getStandardProps(this);
7452
- }
7453
- };
7381
+ entries: entries$1
7382
+ });
7454
7383
  }
7455
7384
 
7456
7385
  //#endregion
@@ -7468,25 +7397,19 @@ function partialAsync(schema, keys) {
7468
7397
  function pick(schema, keys) {
7469
7398
  const entries$1 = {};
7470
7399
  for (const key of keys) entries$1[key] = schema.entries[key];
7471
- return {
7400
+ return _standardSchema({
7472
7401
  ...schema,
7473
- entries: entries$1,
7474
- get "~standard"() {
7475
- return /* @__PURE__ */ _getStandardProps(this);
7476
- }
7477
- };
7402
+ entries: entries$1
7403
+ });
7478
7404
  }
7479
7405
 
7480
7406
  //#endregion
7481
7407
  //#region src/methods/pipe/pipe.ts
7482
7408
  /* @__NO_SIDE_EFFECTS__ */
7483
7409
  function pipe(...pipe$1) {
7484
- return {
7410
+ return _standardSchema({
7485
7411
  ...pipe$1[0],
7486
7412
  pipe: pipe$1,
7487
- get "~standard"() {
7488
- return /* @__PURE__ */ _getStandardProps(this);
7489
- },
7490
7413
  "~run"(dataset, config$1) {
7491
7414
  for (const item of pipe$1) if (item.kind !== "metadata") {
7492
7415
  if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
@@ -7497,20 +7420,17 @@ function pipe(...pipe$1) {
7497
7420
  }
7498
7421
  return dataset;
7499
7422
  }
7500
- };
7423
+ });
7501
7424
  }
7502
7425
 
7503
7426
  //#endregion
7504
7427
  //#region src/methods/pipe/pipeAsync.ts
7505
7428
  /* @__NO_SIDE_EFFECTS__ */
7506
7429
  function pipeAsync(...pipe$1) {
7507
- return {
7430
+ return _standardSchema({
7508
7431
  ...pipe$1[0],
7509
7432
  pipe: pipe$1,
7510
7433
  async: true,
7511
- get "~standard"() {
7512
- return /* @__PURE__ */ _getStandardProps(this);
7513
- },
7514
7434
  async "~run"(dataset, config$1) {
7515
7435
  for (const item of pipe$1) if (item.kind !== "metadata") {
7516
7436
  if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
@@ -7521,7 +7441,7 @@ function pipeAsync(...pipe$1) {
7521
7441
  }
7522
7442
  return dataset;
7523
7443
  }
7524
- };
7444
+ });
7525
7445
  }
7526
7446
 
7527
7447
  //#endregion
@@ -7532,13 +7452,10 @@ function required(schema, arg2, arg3) {
7532
7452
  const message$1 = Array.isArray(arg2) ? arg3 : arg2;
7533
7453
  const entries$1 = {};
7534
7454
  for (const key in schema.entries) entries$1[key] = !keys || keys.includes(key) ? /* @__PURE__ */ nonOptional(schema.entries[key], message$1) : schema.entries[key];
7535
- return {
7455
+ return _standardSchema({
7536
7456
  ...schema,
7537
- entries: entries$1,
7538
- get "~standard"() {
7539
- return /* @__PURE__ */ _getStandardProps(this);
7540
- }
7541
- };
7457
+ entries: entries$1
7458
+ });
7542
7459
  }
7543
7460
 
7544
7461
  //#endregion
@@ -7549,13 +7466,10 @@ function requiredAsync(schema, arg2, arg3) {
7549
7466
  const message$1 = Array.isArray(arg2) ? arg3 : arg2;
7550
7467
  const entries$1 = {};
7551
7468
  for (const key in schema.entries) entries$1[key] = !keys || keys.includes(key) ? /* @__PURE__ */ nonOptionalAsync(schema.entries[key], message$1) : schema.entries[key];
7552
- return {
7469
+ return _standardSchema({
7553
7470
  ...schema,
7554
- entries: entries$1,
7555
- get "~standard"() {
7556
- return /* @__PURE__ */ _getStandardProps(this);
7557
- }
7558
- };
7471
+ entries: entries$1
7472
+ });
7559
7473
  }
7560
7474
 
7561
7475
  //#endregion
@@ -7660,4 +7574,4 @@ function unwrap(schema) {
7660
7574
  }
7661
7575
 
7662
7576
  //#endregion
7663
- export { BASE64_REGEX, BIC_REGEX, CUID2_REGEX, DECIMAL_REGEX, DIGITS_REGEX, DOMAIN_REGEX, EMAIL_REGEX, EMOJI_REGEX, HEXADECIMAL_REGEX, HEX_COLOR_REGEX, IMEI_REGEX, IPV4_REGEX, IPV6_REGEX, IP_REGEX, ISO_DATE_REGEX, ISO_DATE_TIME_REGEX, ISO_DATE_TIME_SECOND_REGEX, ISO_TIMESTAMP_REGEX, ISO_TIME_REGEX, ISO_TIME_SECOND_REGEX, ISO_WEEK_REGEX, ISRC_REGEX, JWS_COMPACT_REGEX, MAC48_REGEX, MAC64_REGEX, MAC_REGEX, NANO_ID_REGEX, OCTAL_REGEX, RFC_EMAIL_REGEX, SLUG_REGEX, ULID_REGEX, UUID_REGEX, ValiError, _addIssue, _cloneDataset, _formatCase, _getByteCount, _getGraphemeCount, _getLastMetadata, _getStandardProps, _getWordCount, _isLuhnAlgo, _isValidObjectKey, _joinExpects, _stringify, any, args, argsAsync, array, arrayAsync, assert, awaitAsync, base64, bic, bigint, blob, boolean, brand, bytes, cache, cacheAsync, check, checkAsync, checkItems, checkItemsAsync, config, creditCard, cuid2, custom, customAsync, date, decimal, deleteGlobalConfig, deleteGlobalMessage, deleteSchemaMessage, deleteSpecificMessage, description, digits, domain, email, emoji, empty, endsWith, entries, entriesFromList, entriesFromObjects, enum_ as enum, enum_, everyItem, exactOptional, exactOptionalAsync, examples, excludes, fallback, fallbackAsync, file, filterItems, findItem, finite, flatten, flavor, forward, forwardAsync, function_ as function, function_, getDefault, getDefaults, getDefaultsAsync, getDescription, getDotPath, getExamples, getFallback, getFallbacks, getFallbacksAsync, getGlobalConfig, getGlobalMessage, getMetadata, getSchemaMessage, getSpecificMessage, getTitle, graphemes, gtValue, guard, hash, hexColor, hexadecimal, imei, includes, instance, integer, intersect, intersectAsync, ip, ipv4, ipv6, is, isOfKind, isOfType, isValiError, isbn, isoDate, isoDateTime, isoDateTimeSecond, isoTime, isoTimeSecond, isoTimestamp, isoWeek, isrc, jwsCompact, keyof, lazy, lazyAsync, length, literal, looseObject, looseObjectAsync, looseTuple, looseTupleAsync, ltValue, mac, mac48, mac64, map, mapAsync, mapItems, maxBytes, maxEntries, maxGraphemes, maxLength, maxSize, maxValue, maxWords, message, metadata, mimeType, minBytes, minEntries, minGraphemes, minLength, minSize, minValue, minWords, multipleOf, nan, nanoid, never, nonEmpty, nonNullable, nonNullableAsync, nonNullish, nonNullishAsync, nonOptional, nonOptionalAsync, normalize, notBytes, notEntries, notGraphemes, notLength, notSize, notValue, notValues, notWords, null_ as null, null_, nullable, nullableAsync, nullish, nullishAsync, number, object, objectAsync, objectWithRest, objectWithRestAsync, octal, omit, optional, optionalAsync, parse, parseAsync, parseBoolean, parseJson, parser, parserAsync, partial, partialAsync, partialCheck, partialCheckAsync, pick, picklist, pipe, pipeAsync, promise, rawCheck, rawCheckAsync, rawTransform, rawTransformAsync, readonly, record, recordAsync, reduceItems, regex, required, requiredAsync, returns, returnsAsync, rfcEmail, safeInteger, safeParse, safeParseAsync, safeParser, safeParserAsync, set, setAsync, setGlobalConfig, setGlobalMessage, setSchemaMessage, setSpecificMessage, size, slug, someItem, sortItems, startsWith, strictObject, strictObjectAsync, strictTuple, strictTupleAsync, string, stringifyJson, summarize, symbol, title, toBigint, toBoolean, toCamelCase, toDate, toKebabCase, toLowerCase, toMaxValue, toMinValue, toNumber, toPascalCase, toSnakeCase, toString, toUpperCase, transform, transformAsync, trim, trimEnd, trimStart, tuple, tupleAsync, tupleWithRest, tupleWithRestAsync, ulid, undefined_ as undefined, undefined_, undefinedable, undefinedableAsync, union, unionAsync, unknown, unwrap, url, uuid, value, values, variant, variantAsync, void_ as void, void_, words };
7577
+ export { BASE64_REGEX, BIC_REGEX, CUID2_REGEX, DECIMAL_REGEX, DIGITS_REGEX, DOMAIN_REGEX, EMAIL_REGEX, EMOJI_REGEX, HEXADECIMAL_REGEX, HEX_COLOR_REGEX, IMEI_REGEX, IPV4_REGEX, IPV6_REGEX, IP_REGEX, ISO_DATE_REGEX, ISO_DATE_TIME_REGEX, ISO_DATE_TIME_SECOND_REGEX, ISO_TIMESTAMP_REGEX, ISO_TIME_REGEX, ISO_TIME_SECOND_REGEX, ISO_WEEK_REGEX, ISRC_REGEX, JWS_COMPACT_REGEX, KSUID_REGEX, MAC48_REGEX, MAC64_REGEX, MAC_REGEX, NANO_ID_REGEX, OCTAL_REGEX, RFC_EMAIL_REGEX, SLUG_REGEX, ULID_REGEX, UUID_REGEX, ValiError, _addIssue, _cloneDataset, _formatCase, _getByteCount, _getCodePointCount, _getGraphemeCount, _getLastMetadata, _getWordCount, _isLuhnAlgo, _isSameValueZero, _isValidObjectKey, _isValueMatch, _joinExpects, _standardSchema, _stringify, any, args, argsAsync, array, arrayAsync, assert, awaitAsync, base64, bic, bigint, blob, boolean, brand, bytes, cache, cacheAsync, check, checkAsync, checkItems, checkItemsAsync, codePoints, config, creditCard, cuid2, custom, customAsync, date, decimal, deleteGlobalConfig, deleteGlobalMessage, deleteSchemaMessage, deleteSpecificMessage, description, digits, domain, email, emoji, empty, endsWith, entries, entriesFromList, entriesFromObjects, enum_ as enum, enum_, everyItem, exactOptional, exactOptionalAsync, examples, excludes, fallback, fallbackAsync, file, filterItems, findItem, finite, flatten, flavor, forward, forwardAsync, function_ as function, function_, getDefault, getDefaults, getDefaultsAsync, getDescription, getDotPath, getExamples, getFallback, getFallbacks, getFallbacksAsync, getGlobalConfig, getGlobalMessage, getMetadata, getSchemaMessage, getSpecificMessage, getTitle, graphemes, gtValue, guard, hash, hexColor, hexadecimal, imei, includes, instance, integer, intersect, intersectAsync, ip, ipv4, ipv6, is, isOfKind, isOfType, isValiError, isbn, isoDate, isoDateTime, isoDateTimeSecond, isoTime, isoTimeSecond, isoTimestamp, isoWeek, isrc, jwsCompact, keyof, ksuid, lazy, lazyAsync, length, literal, looseObject, looseObjectAsync, looseTuple, looseTupleAsync, ltValue, mac, mac48, mac64, map, mapAsync, mapItems, maxBytes, maxCodePoints, maxEntries, maxGraphemes, maxLength, maxSize, maxValue, maxWords, message, metadata, mimeType, minBytes, minCodePoints, minEntries, minGraphemes, minLength, minSize, minValue, minWords, multipleOf, nan, nanoid, never, nonEmpty, nonNullable, nonNullableAsync, nonNullish, nonNullishAsync, nonOptional, nonOptionalAsync, normalize, notBytes, notCodePoints, notEntries, notGraphemes, notLength, notSize, notValue, notValues, notWords, null_ as null, null_, nullable, nullableAsync, nullish, nullishAsync, number, object, objectAsync, objectWithRest, objectWithRestAsync, octal, omit, optional, optionalAsync, parse, parseAsync, parseBoolean, parseJson, parser, parserAsync, partial, partialAsync, partialCheck, partialCheckAsync, pick, picklist, pipe, pipeAsync, promise, rawCheck, rawCheckAsync, rawTransform, rawTransformAsync, readonly, record, recordAsync, reduceItems, regex, required, requiredAsync, returns, returnsAsync, rfcEmail, safeInteger, safeParse, safeParseAsync, safeParser, safeParserAsync, set, setAsync, setGlobalConfig, setGlobalMessage, setSchemaMessage, setSpecificMessage, size, slug, someItem, sortItems, startsWith, strictObject, strictObjectAsync, strictTuple, strictTupleAsync, string, stringifyJson, summarize, symbol, title, toBigint, toBoolean, toCamelCase, toDate, toKebabCase, toLowerCase, toMaxValue, toMinValue, toNumber, toPascalCase, toSnakeCase, toString, toUpperCase, transform, transformAsync, trim, trimEnd, trimStart, tuple, tupleAsync, tupleWithRest, tupleWithRestAsync, ulid, undefined_ as undefined, undefined_, undefinedable, undefinedableAsync, union, unionAsync, unknown, unwrap, url, uuid, value, values, variant, variantAsync, void_ as void, void_, words };