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