structured-outputs 0.1.0-beta.1 → 0.1.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (712) hide show
  1. package/esm/F.js +1 -1
  2. package/esm/F.js.map +1 -1
  3. package/esm/_dnt.polyfills.js +124 -0
  4. package/esm/_dnt.polyfills.js.map +1 -0
  5. package/esm/_dnt.shims.js +62 -0
  6. package/esm/_dnt.shims.js.map +1 -0
  7. package/esm/deps/jsr.io/@std/assert/1.0.7/almost_equals.js +47 -0
  8. package/esm/deps/jsr.io/@std/assert/1.0.7/almost_equals.js.map +1 -0
  9. package/esm/deps/jsr.io/@std/assert/1.0.7/array_includes.js +47 -0
  10. package/esm/deps/jsr.io/@std/assert/1.0.7/array_includes.js.map +1 -0
  11. package/esm/deps/jsr.io/@std/assert/1.0.7/assert.js +23 -0
  12. package/esm/deps/jsr.io/@std/assert/1.0.7/assert.js.map +1 -0
  13. package/esm/deps/jsr.io/@std/assert/1.0.7/assertion_error.js +31 -0
  14. package/esm/deps/jsr.io/@std/assert/1.0.7/assertion_error.js.map +1 -0
  15. package/esm/deps/jsr.io/@std/assert/1.0.7/equal.js +137 -0
  16. package/esm/deps/jsr.io/@std/assert/1.0.7/equal.js.map +1 -0
  17. package/esm/deps/jsr.io/@std/assert/1.0.7/equals.js +46 -0
  18. package/esm/deps/jsr.io/@std/assert/1.0.7/equals.js.map +1 -0
  19. package/esm/deps/jsr.io/@std/assert/1.0.7/exists.js +28 -0
  20. package/esm/deps/jsr.io/@std/assert/1.0.7/exists.js.map +1 -0
  21. package/esm/deps/jsr.io/@std/assert/1.0.7/fail.js +21 -0
  22. package/esm/deps/jsr.io/@std/assert/1.0.7/fail.js.map +1 -0
  23. package/esm/deps/jsr.io/@std/assert/1.0.7/false.js +23 -0
  24. package/esm/deps/jsr.io/@std/assert/1.0.7/false.js.map +1 -0
  25. package/esm/deps/jsr.io/@std/assert/1.0.7/greater.js +30 -0
  26. package/esm/deps/jsr.io/@std/assert/1.0.7/greater.js.map +1 -0
  27. package/esm/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.js +30 -0
  28. package/esm/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.js.map +1 -0
  29. package/esm/deps/jsr.io/@std/assert/1.0.7/instance_of.js +53 -0
  30. package/esm/deps/jsr.io/@std/assert/1.0.7/instance_of.js.map +1 -0
  31. package/esm/deps/jsr.io/@std/assert/1.0.7/is_error.js +54 -0
  32. package/esm/deps/jsr.io/@std/assert/1.0.7/is_error.js.map +1 -0
  33. package/esm/deps/jsr.io/@std/assert/1.0.7/less.js +29 -0
  34. package/esm/deps/jsr.io/@std/assert/1.0.7/less.js.map +1 -0
  35. package/esm/deps/jsr.io/@std/assert/1.0.7/less_or_equal.js +30 -0
  36. package/esm/deps/jsr.io/@std/assert/1.0.7/less_or_equal.js.map +1 -0
  37. package/esm/deps/jsr.io/@std/assert/1.0.7/match.js +27 -0
  38. package/esm/deps/jsr.io/@std/assert/1.0.7/match.js.map +1 -0
  39. package/esm/deps/jsr.io/@std/assert/1.0.7/mod.js +46 -0
  40. package/esm/deps/jsr.io/@std/assert/1.0.7/mod.js.map +1 -0
  41. package/esm/deps/jsr.io/@std/assert/1.0.7/not_equals.js +33 -0
  42. package/esm/deps/jsr.io/@std/assert/1.0.7/not_equals.js.map +1 -0
  43. package/esm/deps/jsr.io/@std/assert/1.0.7/not_instance_of.js +30 -0
  44. package/esm/deps/jsr.io/@std/assert/1.0.7/not_instance_of.js.map +1 -0
  45. package/esm/deps/jsr.io/@std/assert/1.0.7/not_match.js +27 -0
  46. package/esm/deps/jsr.io/@std/assert/1.0.7/not_match.js.map +1 -0
  47. package/esm/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.js +33 -0
  48. package/esm/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.js.map +1 -0
  49. package/esm/deps/jsr.io/@std/assert/1.0.7/object_match.js +160 -0
  50. package/esm/deps/jsr.io/@std/assert/1.0.7/object_match.js.map +1 -0
  51. package/esm/deps/jsr.io/@std/assert/1.0.7/rejects.js +54 -0
  52. package/esm/deps/jsr.io/@std/assert/1.0.7/rejects.js.map +1 -0
  53. package/esm/deps/jsr.io/@std/assert/1.0.7/strict_equals.js +58 -0
  54. package/esm/deps/jsr.io/@std/assert/1.0.7/strict_equals.js.map +1 -0
  55. package/esm/deps/jsr.io/@std/assert/1.0.7/string_includes.js +27 -0
  56. package/esm/deps/jsr.io/@std/assert/1.0.7/string_includes.js.map +1 -0
  57. package/esm/deps/jsr.io/@std/assert/1.0.7/throws.js +45 -0
  58. package/esm/deps/jsr.io/@std/assert/1.0.7/throws.js.map +1 -0
  59. package/esm/deps/jsr.io/@std/assert/1.0.7/unimplemented.js +21 -0
  60. package/esm/deps/jsr.io/@std/assert/1.0.7/unimplemented.js.map +1 -0
  61. package/esm/deps/jsr.io/@std/assert/1.0.7/unreachable.js +21 -0
  62. package/esm/deps/jsr.io/@std/assert/1.0.7/unreachable.js.map +1 -0
  63. package/esm/deps/jsr.io/@std/cli/1.0.6/_data.js +18 -0
  64. package/esm/deps/jsr.io/@std/cli/1.0.6/_data.js.map +1 -0
  65. package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.js +35 -0
  66. package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.js.map +1 -0
  67. package/esm/deps/jsr.io/@std/cli/1.0.6/mod.js +19 -0
  68. package/esm/deps/jsr.io/@std/cli/1.0.6/mod.js.map +1 -0
  69. package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.js +306 -0
  70. package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.js.map +1 -0
  71. package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.js +87 -0
  72. package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.js.map +1 -0
  73. package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.js +75 -0
  74. package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.js.map +1 -0
  75. package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.js +11 -0
  76. package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.js.map +1 -0
  77. package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.js +213 -0
  78. package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.js.map +1 -0
  79. package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.js +75 -0
  80. package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.js.map +1 -0
  81. package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.js +45 -0
  82. package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.js.map +1 -0
  83. package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.js +35 -0
  84. package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.js.map +1 -0
  85. package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.js +19 -0
  86. package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.js.map +1 -0
  87. package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.js +18 -0
  88. package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.js.map +1 -0
  89. package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.js +26 -0
  90. package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.js.map +1 -0
  91. package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.js +14 -0
  92. package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.js.map +1 -0
  93. package/esm/deps/jsr.io/@std/fs/1.0.5/copy.js +315 -0
  94. package/esm/deps/jsr.io/@std/fs/1.0.5/copy.js.map +1 -0
  95. package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.js +88 -0
  96. package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.js.map +1 -0
  97. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.js +103 -0
  98. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.js.map +1 -0
  99. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.js +91 -0
  100. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.js.map +1 -0
  101. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.js +62 -0
  102. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.js.map +1 -0
  103. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.js +122 -0
  104. package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.js.map +1 -0
  105. package/esm/deps/jsr.io/@std/fs/1.0.5/eol.js +67 -0
  106. package/esm/deps/jsr.io/@std/fs/1.0.5/eol.js.map +1 -0
  107. package/esm/deps/jsr.io/@std/fs/1.0.5/exists.js +272 -0
  108. package/esm/deps/jsr.io/@std/fs/1.0.5/exists.js.map +1 -0
  109. package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.js +417 -0
  110. package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.js.map +1 -0
  111. package/esm/deps/jsr.io/@std/fs/1.0.5/mod.js +30 -0
  112. package/esm/deps/jsr.io/@std/fs/1.0.5/mod.js.map +1 -0
  113. package/esm/deps/jsr.io/@std/fs/1.0.5/move.js +142 -0
  114. package/esm/deps/jsr.io/@std/fs/1.0.5/move.js.map +1 -0
  115. package/esm/deps/jsr.io/@std/fs/1.0.5/walk.js +847 -0
  116. package/esm/deps/jsr.io/@std/fs/1.0.5/walk.js.map +1 -0
  117. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +111 -0
  118. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js.map +1 -0
  119. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +277 -0
  120. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js.map +1 -0
  121. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +180 -0
  122. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js.map +1 -0
  123. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +38 -0
  124. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js.map +1 -0
  125. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +208 -0
  126. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js.map +1 -0
  127. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +3 -0
  128. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js.map +1 -0
  129. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +8 -0
  130. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js.map +1 -0
  131. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +41 -0
  132. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js.map +1 -0
  133. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +24 -0
  134. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js.map +1 -0
  135. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +47 -0
  136. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js.map +1 -0
  137. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +9 -0
  138. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js.map +1 -0
  139. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +20 -0
  140. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js.map +1 -0
  141. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +10 -0
  142. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js.map +1 -0
  143. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +235 -0
  144. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js.map +1 -0
  145. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +9 -0
  146. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js.map +1 -0
  147. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +78 -0
  148. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js.map +1 -0
  149. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +10 -0
  150. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js.map +1 -0
  151. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +20 -0
  152. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js.map +1 -0
  153. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +16 -0
  154. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js.map +1 -0
  155. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +10 -0
  156. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js.map +1 -0
  157. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +37 -0
  158. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js.map +1 -0
  159. package/esm/deps/jsr.io/@std/path/1.0.8/common.js +34 -0
  160. package/esm/deps/jsr.io/@std/path/1.0.8/common.js.map +1 -0
  161. package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +18 -0
  162. package/esm/deps/jsr.io/@std/path/1.0.8/constants.js.map +1 -0
  163. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +30 -0
  164. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js.map +1 -0
  165. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +30 -0
  166. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js.map +1 -0
  167. package/esm/deps/jsr.io/@std/path/1.0.8/format.js +28 -0
  168. package/esm/deps/jsr.io/@std/path/1.0.8/format.js.map +1 -0
  169. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +29 -0
  170. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js.map +1 -0
  171. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +84 -0
  172. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js.map +1 -0
  173. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +29 -0
  174. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js.map +1 -0
  175. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +43 -0
  176. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js.map +1 -0
  177. package/esm/deps/jsr.io/@std/path/1.0.8/join.js +30 -0
  178. package/esm/deps/jsr.io/@std/path/1.0.8/join.js.map +1 -0
  179. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +35 -0
  180. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js.map +1 -0
  181. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +58 -0
  182. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js.map +1 -0
  183. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +34 -0
  184. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js.map +1 -0
  185. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +36 -0
  186. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js.map +1 -0
  187. package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +40 -0
  188. package/esm/deps/jsr.io/@std/path/1.0.8/parse.js.map +1 -0
  189. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +9 -0
  190. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js.map +1 -0
  191. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +50 -0
  192. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js.map +1 -0
  193. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +15 -0
  194. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js.map +1 -0
  195. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +63 -0
  196. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js.map +1 -0
  197. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +90 -0
  198. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js.map +1 -0
  199. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +29 -0
  200. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js.map +1 -0
  201. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +22 -0
  202. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js.map +1 -0
  203. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +83 -0
  204. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js.map +1 -0
  205. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +24 -0
  206. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js.map +1 -0
  207. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +43 -0
  208. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js.map +1 -0
  209. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +41 -0
  210. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js.map +1 -0
  211. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +58 -0
  212. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js.map +1 -0
  213. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +33 -0
  214. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js.map +1 -0
  215. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +116 -0
  216. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js.map +1 -0
  217. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +107 -0
  218. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js.map +1 -0
  219. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +60 -0
  220. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js.map +1 -0
  221. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +28 -0
  222. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js.map +1 -0
  223. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +21 -0
  224. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js.map +1 -0
  225. package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +31 -0
  226. package/esm/deps/jsr.io/@std/path/1.0.8/relative.js.map +1 -0
  227. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +31 -0
  228. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js.map +1 -0
  229. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +29 -0
  230. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js.map +1 -0
  231. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +30 -0
  232. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js.map +1 -0
  233. package/esm/deps/jsr.io/@std/path/1.0.8/types.js +4 -0
  234. package/esm/deps/jsr.io/@std/path/1.0.8/types.js.map +1 -0
  235. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +16 -0
  236. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js.map +1 -0
  237. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +45 -0
  238. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js.map +1 -0
  239. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +15 -0
  240. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js.map +1 -0
  241. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +113 -0
  242. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js.map +1 -0
  243. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +82 -0
  244. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js.map +1 -0
  245. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +29 -0
  246. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js.map +1 -0
  247. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +31 -0
  248. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js.map +1 -0
  249. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +83 -0
  250. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js.map +1 -0
  251. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +39 -0
  252. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js.map +1 -0
  253. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +75 -0
  254. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js.map +1 -0
  255. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +42 -0
  256. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js.map +1 -0
  257. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +135 -0
  258. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js.map +1 -0
  259. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +33 -0
  260. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js.map +1 -0
  261. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +177 -0
  262. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js.map +1 -0
  263. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +132 -0
  264. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js.map +1 -0
  265. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +155 -0
  266. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js.map +1 -0
  267. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +35 -0
  268. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js.map +1 -0
  269. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +50 -0
  270. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js.map +1 -0
  271. package/esm/main.js +80 -0
  272. package/esm/main.js.map +1 -0
  273. package/esm/mod.js +1 -0
  274. package/esm/mod.js.map +1 -1
  275. package/esm/util/displayCompletion.js +9 -0
  276. package/esm/util/displayCompletion.js.map +1 -0
  277. package/package.json +13 -3
  278. package/src/F.ts +9 -2
  279. package/src/_dnt.polyfills.ts +172 -0
  280. package/src/_dnt.shims.ts +64 -0
  281. package/src/deps/jsr.io/@std/assert/1.0.7/almost_equals.ts +55 -0
  282. package/src/deps/jsr.io/@std/assert/1.0.7/array_includes.ts +57 -0
  283. package/src/deps/jsr.io/@std/assert/1.0.7/assert.ts +23 -0
  284. package/src/deps/jsr.io/@std/assert/1.0.7/assertion_error.ts +31 -0
  285. package/src/deps/jsr.io/@std/assert/1.0.7/equal.ts +152 -0
  286. package/src/deps/jsr.io/@std/assert/1.0.7/equals.ts +52 -0
  287. package/src/deps/jsr.io/@std/assert/1.0.7/exists.ts +31 -0
  288. package/src/deps/jsr.io/@std/assert/1.0.7/fail.ts +21 -0
  289. package/src/deps/jsr.io/@std/assert/1.0.7/false.ts +26 -0
  290. package/src/deps/jsr.io/@std/assert/1.0.7/greater.ts +30 -0
  291. package/src/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.ts +36 -0
  292. package/src/deps/jsr.io/@std/assert/1.0.7/instance_of.ts +64 -0
  293. package/src/deps/jsr.io/@std/assert/1.0.7/is_error.ts +65 -0
  294. package/src/deps/jsr.io/@std/assert/1.0.7/less.ts +29 -0
  295. package/src/deps/jsr.io/@std/assert/1.0.7/less_or_equal.ts +36 -0
  296. package/src/deps/jsr.io/@std/assert/1.0.7/match.ts +30 -0
  297. package/src/deps/jsr.io/@std/assert/1.0.7/mod.ts +47 -0
  298. package/src/deps/jsr.io/@std/assert/1.0.7/not_equals.ts +36 -0
  299. package/src/deps/jsr.io/@std/assert/1.0.7/not_instance_of.ts +33 -0
  300. package/src/deps/jsr.io/@std/assert/1.0.7/not_match.ts +30 -0
  301. package/src/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.ts +42 -0
  302. package/src/deps/jsr.io/@std/assert/1.0.7/object_match.ts +202 -0
  303. package/src/deps/jsr.io/@std/assert/1.0.7/rejects.ts +123 -0
  304. package/src/deps/jsr.io/@std/assert/1.0.7/strict_equals.ts +67 -0
  305. package/src/deps/jsr.io/@std/assert/1.0.7/string_includes.ts +30 -0
  306. package/src/deps/jsr.io/@std/assert/1.0.7/throws.ts +111 -0
  307. package/src/deps/jsr.io/@std/assert/1.0.7/unimplemented.ts +21 -0
  308. package/src/deps/jsr.io/@std/assert/1.0.7/unreachable.ts +21 -0
  309. package/src/deps/jsr.io/@std/cli/1.0.6/_data.js +17 -0
  310. package/src/deps/jsr.io/@std/cli/1.0.6/_run_length.ts +41 -0
  311. package/src/deps/jsr.io/@std/cli/1.0.6/mod.ts +20 -0
  312. package/src/deps/jsr.io/@std/cli/1.0.6/parse_args.ts +776 -0
  313. package/src/deps/jsr.io/@std/cli/1.0.6/prompt_secret.ts +102 -0
  314. package/src/deps/jsr.io/@std/cli/1.0.6/unicode_width.ts +79 -0
  315. package/src/deps/jsr.io/@std/dotenv/0.225.2/load.ts +14 -0
  316. package/src/deps/jsr.io/@std/dotenv/0.225.2/mod.ts +251 -0
  317. package/src/deps/jsr.io/@std/dotenv/0.225.2/parse.ts +113 -0
  318. package/src/deps/jsr.io/@std/dotenv/0.225.2/stringify.ts +47 -0
  319. package/src/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.ts +47 -0
  320. package/src/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.ts +25 -0
  321. package/src/deps/jsr.io/@std/fs/1.0.5/_is_same_path.ts +23 -0
  322. package/src/deps/jsr.io/@std/fs/1.0.5/_is_subdir.ts +34 -0
  323. package/src/deps/jsr.io/@std/fs/1.0.5/_to_path_string.ts +17 -0
  324. package/src/deps/jsr.io/@std/fs/1.0.5/copy.ts +413 -0
  325. package/src/deps/jsr.io/@std/fs/1.0.5/empty_dir.ts +91 -0
  326. package/src/deps/jsr.io/@std/fs/1.0.5/ensure_dir.ts +110 -0
  327. package/src/deps/jsr.io/@std/fs/1.0.5/ensure_file.ts +100 -0
  328. package/src/deps/jsr.io/@std/fs/1.0.5/ensure_link.ts +66 -0
  329. package/src/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.ts +145 -0
  330. package/src/deps/jsr.io/@std/fs/1.0.5/eol.ts +74 -0
  331. package/src/deps/jsr.io/@std/fs/1.0.5/exists.ts +316 -0
  332. package/src/deps/jsr.io/@std/fs/1.0.5/expand_glob.ts +538 -0
  333. package/src/deps/jsr.io/@std/fs/1.0.5/mod.ts +31 -0
  334. package/src/deps/jsr.io/@std/fs/1.0.5/move.ts +171 -0
  335. package/src/deps/jsr.io/@std/fs/1.0.5/walk.ts +956 -0
  336. package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +134 -0
  337. package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +317 -0
  338. package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +204 -0
  339. package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +39 -0
  340. package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +233 -0
  341. package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +18 -0
  342. package/src/deps/jsr.io/@std/path/1.0.8/_common/assert_path.ts +10 -0
  343. package/src/deps/jsr.io/@std/path/1.0.8/_common/basename.ts +53 -0
  344. package/src/deps/jsr.io/@std/path/1.0.8/_common/common.ts +26 -0
  345. package/src/deps/jsr.io/@std/path/1.0.8/_common/constants.ts +49 -0
  346. package/src/deps/jsr.io/@std/path/1.0.8/_common/dirname.ts +9 -0
  347. package/src/deps/jsr.io/@std/path/1.0.8/_common/format.ts +25 -0
  348. package/src/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.ts +12 -0
  349. package/src/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.ts +290 -0
  350. package/src/deps/jsr.io/@std/path/1.0.8/_common/normalize.ts +9 -0
  351. package/src/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.ts +74 -0
  352. package/src/deps/jsr.io/@std/path/1.0.8/_common/relative.ts +10 -0
  353. package/src/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.ts +25 -0
  354. package/src/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.ts +17 -0
  355. package/src/deps/jsr.io/@std/path/1.0.8/_os.ts +12 -0
  356. package/src/deps/jsr.io/@std/path/1.0.8/basename.ts +38 -0
  357. package/src/deps/jsr.io/@std/path/1.0.8/common.ts +35 -0
  358. package/src/deps/jsr.io/@std/path/1.0.8/constants.ts +18 -0
  359. package/src/deps/jsr.io/@std/path/1.0.8/dirname.ts +31 -0
  360. package/src/deps/jsr.io/@std/path/1.0.8/extname.ts +30 -0
  361. package/src/deps/jsr.io/@std/path/1.0.8/format.ts +30 -0
  362. package/src/deps/jsr.io/@std/path/1.0.8/from_file_url.ts +30 -0
  363. package/src/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.ts +94 -0
  364. package/src/deps/jsr.io/@std/path/1.0.8/is_absolute.ts +30 -0
  365. package/src/deps/jsr.io/@std/path/1.0.8/is_glob.ts +49 -0
  366. package/src/deps/jsr.io/@std/path/1.0.8/join.ts +31 -0
  367. package/src/deps/jsr.io/@std/path/1.0.8/join_globs.ts +42 -0
  368. package/src/deps/jsr.io/@std/path/1.0.8/mod.ts +58 -0
  369. package/src/deps/jsr.io/@std/path/1.0.8/normalize.ts +34 -0
  370. package/src/deps/jsr.io/@std/path/1.0.8/normalize_glob.ts +45 -0
  371. package/src/deps/jsr.io/@std/path/1.0.8/parse.ts +44 -0
  372. package/src/deps/jsr.io/@std/path/1.0.8/posix/_util.ts +10 -0
  373. package/src/deps/jsr.io/@std/path/1.0.8/posix/basename.ts +59 -0
  374. package/src/deps/jsr.io/@std/path/1.0.8/posix/constants.ts +15 -0
  375. package/src/deps/jsr.io/@std/path/1.0.8/posix/dirname.ts +70 -0
  376. package/src/deps/jsr.io/@std/path/1.0.8/posix/extname.ts +92 -0
  377. package/src/deps/jsr.io/@std/path/1.0.8/posix/format.ts +31 -0
  378. package/src/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.ts +25 -0
  379. package/src/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.ts +94 -0
  380. package/src/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.ts +25 -0
  381. package/src/deps/jsr.io/@std/path/1.0.8/posix/join.ts +43 -0
  382. package/src/deps/jsr.io/@std/path/1.0.8/posix/join_globs.ts +45 -0
  383. package/src/deps/jsr.io/@std/path/1.0.8/posix/normalize.ts +62 -0
  384. package/src/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.ts +43 -0
  385. package/src/deps/jsr.io/@std/path/1.0.8/posix/parse.ts +121 -0
  386. package/src/deps/jsr.io/@std/path/1.0.8/posix/relative.ts +103 -0
  387. package/src/deps/jsr.io/@std/path/1.0.8/posix/resolve.ts +71 -0
  388. package/src/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.ts +32 -0
  389. package/src/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.ts +21 -0
  390. package/src/deps/jsr.io/@std/path/1.0.8/relative.ts +32 -0
  391. package/src/deps/jsr.io/@std/path/1.0.8/resolve.ts +32 -0
  392. package/src/deps/jsr.io/@std/path/1.0.8/to_file_url.ts +30 -0
  393. package/src/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.ts +31 -0
  394. package/src/deps/jsr.io/@std/path/1.0.8/types.ts +40 -0
  395. package/src/deps/jsr.io/@std/path/1.0.8/windows/_util.ts +28 -0
  396. package/src/deps/jsr.io/@std/path/1.0.8/windows/basename.ts +51 -0
  397. package/src/deps/jsr.io/@std/path/1.0.8/windows/constants.ts +15 -0
  398. package/src/deps/jsr.io/@std/path/1.0.8/windows/dirname.ts +117 -0
  399. package/src/deps/jsr.io/@std/path/1.0.8/windows/extname.ts +89 -0
  400. package/src/deps/jsr.io/@std/path/1.0.8/windows/format.ts +31 -0
  401. package/src/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.ts +34 -0
  402. package/src/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.ts +92 -0
  403. package/src/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.ts +40 -0
  404. package/src/deps/jsr.io/@std/path/1.0.8/windows/join.ts +75 -0
  405. package/src/deps/jsr.io/@std/path/1.0.8/windows/join_globs.ts +46 -0
  406. package/src/deps/jsr.io/@std/path/1.0.8/windows/normalize.ts +135 -0
  407. package/src/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.ts +43 -0
  408. package/src/deps/jsr.io/@std/path/1.0.8/windows/parse.ts +184 -0
  409. package/src/deps/jsr.io/@std/path/1.0.8/windows/relative.ts +128 -0
  410. package/src/deps/jsr.io/@std/path/1.0.8/windows/resolve.ts +178 -0
  411. package/src/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.ts +38 -0
  412. package/src/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.ts +60 -0
  413. package/src/main.ts +106 -0
  414. package/src/mod.ts +2 -7
  415. package/src/util/displayCompletion.ts +12 -0
  416. package/{esm → types}/F.d.ts +2 -1
  417. package/{esm → types}/F.d.ts.map +1 -1
  418. package/types/_dnt.polyfills.d.ts +19 -0
  419. package/types/_dnt.polyfills.d.ts.map +1 -0
  420. package/types/_dnt.shims.d.ts +6 -0
  421. package/types/_dnt.shims.d.ts.map +1 -0
  422. package/types/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts +29 -0
  423. package/types/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts.map +1 -0
  424. package/types/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts +24 -0
  425. package/types/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts.map +1 -0
  426. package/types/deps/jsr.io/@std/assert/1.0.7/assert.d.ts +16 -0
  427. package/types/deps/jsr.io/@std/assert/1.0.7/assert.d.ts.map +1 -0
  428. package/types/deps/jsr.io/@std/assert/1.0.7/assertion_error.d.ts +26 -0
  429. package/types/deps/jsr.io/@std/assert/1.0.7/assertion_error.d.ts.map +1 -0
  430. package/types/deps/jsr.io/@std/assert/1.0.7/equal.d.ts +17 -0
  431. package/types/deps/jsr.io/@std/assert/1.0.7/equal.d.ts.map +1 -0
  432. package/types/deps/jsr.io/@std/assert/1.0.7/equals.d.ts +22 -0
  433. package/types/deps/jsr.io/@std/assert/1.0.7/equals.d.ts.map +1 -0
  434. package/types/deps/jsr.io/@std/assert/1.0.7/exists.d.ts +18 -0
  435. package/types/deps/jsr.io/@std/assert/1.0.7/exists.d.ts.map +1 -0
  436. package/types/deps/jsr.io/@std/assert/1.0.7/fail.d.ts +15 -0
  437. package/types/deps/jsr.io/@std/assert/1.0.7/fail.d.ts.map +1 -0
  438. package/types/deps/jsr.io/@std/assert/1.0.7/false.d.ts +18 -0
  439. package/types/deps/jsr.io/@std/assert/1.0.7/false.d.ts.map +1 -0
  440. package/types/deps/jsr.io/@std/assert/1.0.7/greater.d.ts +20 -0
  441. package/types/deps/jsr.io/@std/assert/1.0.7/greater.d.ts.map +1 -0
  442. package/types/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts +20 -0
  443. package/types/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts.map +1 -0
  444. package/types/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts +23 -0
  445. package/types/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts.map +1 -0
  446. package/types/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts +25 -0
  447. package/types/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts.map +1 -0
  448. package/types/deps/jsr.io/@std/assert/1.0.7/less.d.ts +19 -0
  449. package/types/deps/jsr.io/@std/assert/1.0.7/less.d.ts.map +1 -0
  450. package/types/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts +20 -0
  451. package/types/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts.map +1 -0
  452. package/types/deps/jsr.io/@std/assert/1.0.7/match.d.ts +18 -0
  453. package/types/deps/jsr.io/@std/assert/1.0.7/match.d.ts.map +1 -0
  454. package/types/deps/jsr.io/@std/assert/1.0.7/mod.d.ts +44 -0
  455. package/types/deps/jsr.io/@std/assert/1.0.7/mod.d.ts.map +1 -0
  456. package/types/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts +21 -0
  457. package/types/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts.map +1 -0
  458. package/types/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts +20 -0
  459. package/types/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts.map +1 -0
  460. package/types/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts +18 -0
  461. package/types/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts.map +1 -0
  462. package/types/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts +23 -0
  463. package/types/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts.map +1 -0
  464. package/types/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts +28 -0
  465. package/types/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts.map +1 -0
  466. package/types/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts +42 -0
  467. package/types/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts.map +1 -0
  468. package/types/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts +24 -0
  469. package/types/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts.map +1 -0
  470. package/types/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts +18 -0
  471. package/types/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts.map +1 -0
  472. package/types/deps/jsr.io/@std/assert/1.0.7/throws.d.ts +45 -0
  473. package/types/deps/jsr.io/@std/assert/1.0.7/throws.d.ts.map +1 -0
  474. package/types/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts +15 -0
  475. package/types/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts.map +1 -0
  476. package/types/deps/jsr.io/@std/assert/1.0.7/unreachable.d.ts +15 -0
  477. package/types/deps/jsr.io/@std/assert/1.0.7/unreachable.d.ts.map +1 -0
  478. package/types/deps/jsr.io/@std/cli/1.0.6/_data.d.ts +9 -0
  479. package/types/deps/jsr.io/@std/cli/1.0.6/_data.d.ts.map +1 -0
  480. package/types/deps/jsr.io/@std/cli/1.0.6/_run_length.d.ts +9 -0
  481. package/types/deps/jsr.io/@std/cli/1.0.6/_run_length.d.ts.map +1 -0
  482. package/types/deps/jsr.io/@std/cli/1.0.6/mod.d.ts +18 -0
  483. package/types/deps/jsr.io/@std/cli/1.0.6/mod.d.ts.map +1 -0
  484. package/types/deps/jsr.io/@std/cli/1.0.6/parse_args.d.ts +229 -0
  485. package/types/deps/jsr.io/@std/cli/1.0.6/parse_args.d.ts.map +1 -0
  486. package/types/deps/jsr.io/@std/cli/1.0.6/prompt_secret.d.ts +28 -0
  487. package/types/deps/jsr.io/@std/cli/1.0.6/prompt_secret.d.ts.map +1 -0
  488. package/types/deps/jsr.io/@std/cli/1.0.6/unicode_width.d.ts +40 -0
  489. package/types/deps/jsr.io/@std/cli/1.0.6/unicode_width.d.ts.map +1 -0
  490. package/types/deps/jsr.io/@std/dotenv/0.225.2/load.d.ts +2 -0
  491. package/types/deps/jsr.io/@std/dotenv/0.225.2/load.d.ts.map +1 -0
  492. package/types/deps/jsr.io/@std/dotenv/0.225.2/mod.d.ts +164 -0
  493. package/types/deps/jsr.io/@std/dotenv/0.225.2/mod.d.ts.map +1 -0
  494. package/types/deps/jsr.io/@std/dotenv/0.225.2/parse.d.ts +19 -0
  495. package/types/deps/jsr.io/@std/dotenv/0.225.2/parse.d.ts.map +1 -0
  496. package/types/deps/jsr.io/@std/dotenv/0.225.2/stringify.d.ts +17 -0
  497. package/types/deps/jsr.io/@std/dotenv/0.225.2/stringify.d.ts.map +1 -0
  498. package/types/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.d.ts +14 -0
  499. package/types/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.d.ts.map +1 -0
  500. package/types/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.d.ts +13 -0
  501. package/types/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.d.ts.map +1 -0
  502. package/types/deps/jsr.io/@std/fs/1.0.5/_is_same_path.d.ts +10 -0
  503. package/types/deps/jsr.io/@std/fs/1.0.5/_is_same_path.d.ts.map +1 -0
  504. package/types/deps/jsr.io/@std/fs/1.0.5/_is_subdir.d.ts +12 -0
  505. package/types/deps/jsr.io/@std/fs/1.0.5/_is_subdir.d.ts.map +1 -0
  506. package/types/deps/jsr.io/@std/fs/1.0.5/_to_path_string.d.ts +9 -0
  507. package/types/deps/jsr.io/@std/fs/1.0.5/_to_path_string.d.ts.map +1 -0
  508. package/types/deps/jsr.io/@std/fs/1.0.5/copy.d.ts +117 -0
  509. package/types/deps/jsr.io/@std/fs/1.0.5/copy.d.ts.map +1 -0
  510. package/types/deps/jsr.io/@std/fs/1.0.5/empty_dir.d.ts +48 -0
  511. package/types/deps/jsr.io/@std/fs/1.0.5/empty_dir.d.ts.map +1 -0
  512. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_dir.d.ts +49 -0
  513. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_dir.d.ts.map +1 -0
  514. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_file.d.ts +47 -0
  515. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_file.d.ts.map +1 -0
  516. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_link.d.ts +49 -0
  517. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_link.d.ts.map +1 -0
  518. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.d.ts +52 -0
  519. package/types/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.d.ts.map +1 -0
  520. package/types/deps/jsr.io/@std/fs/1.0.5/eol.d.ts +52 -0
  521. package/types/deps/jsr.io/@std/fs/1.0.5/eol.d.ts.map +1 -0
  522. package/types/deps/jsr.io/@std/fs/1.0.5/exists.d.ts +218 -0
  523. package/types/deps/jsr.io/@std/fs/1.0.5/exists.d.ts.map +1 -0
  524. package/types/deps/jsr.io/@std/fs/1.0.5/expand_glob.d.ts +267 -0
  525. package/types/deps/jsr.io/@std/fs/1.0.5/expand_glob.d.ts.map +1 -0
  526. package/types/deps/jsr.io/@std/fs/1.0.5/mod.d.ts +29 -0
  527. package/types/deps/jsr.io/@std/fs/1.0.5/mod.d.ts.map +1 -0
  528. package/types/deps/jsr.io/@std/fs/1.0.5/move.d.ts +86 -0
  529. package/types/deps/jsr.io/@std/fs/1.0.5/move.d.ts.map +1 -0
  530. package/types/deps/jsr.io/@std/fs/1.0.5/walk.d.ts +777 -0
  531. package/types/deps/jsr.io/@std/fs/1.0.5/walk.d.ts.map +1 -0
  532. package/types/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +82 -0
  533. package/types/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +1 -0
  534. package/types/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +140 -0
  535. package/types/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +1 -0
  536. package/types/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +99 -0
  537. package/types/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +1 -0
  538. package/types/deps/jsr.io/@std/internal/1.0.5/format.d.ts +2 -0
  539. package/types/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +1 -0
  540. package/types/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +159 -0
  541. package/types/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +1 -0
  542. package/types/deps/jsr.io/@std/internal/1.0.5/types.d.ts +16 -0
  543. package/types/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +1 -0
  544. package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts +2 -0
  545. package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  546. package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts +4 -0
  547. package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  548. package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +2 -0
  549. package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
  550. package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts +40 -0
  551. package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  552. package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +2 -0
  553. package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
  554. package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +4 -0
  555. package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
  556. package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts +2 -0
  557. package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
  558. package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +35 -0
  559. package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
  560. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts +2 -0
  561. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  562. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts +2 -0
  563. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  564. package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +2 -0
  565. package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
  566. package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts +2 -0
  567. package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  568. package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts +2 -0
  569. package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  570. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
  571. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  572. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
  573. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  574. package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts +28 -0
  575. package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
  576. package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts +15 -0
  577. package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
  578. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
  579. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
  580. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
  581. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  582. package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts +22 -0
  583. package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
  584. package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +22 -0
  585. package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
  586. package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +77 -0
  587. package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
  588. package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts +22 -0
  589. package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  590. package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +17 -0
  591. package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
  592. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
  593. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  594. package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +28 -0
  595. package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
  596. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
  597. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
  598. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
  599. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
  600. package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +29 -0
  601. package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
  602. package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts +35 -0
  603. package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
  604. package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts +2 -0
  605. package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  606. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  607. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  608. package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +13 -0
  609. package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
  610. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
  611. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
  612. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  613. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  614. package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +24 -0
  615. package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
  616. package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts +16 -0
  617. package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
  618. package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +72 -0
  619. package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
  620. package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts +17 -0
  621. package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  622. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  623. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  624. package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +20 -0
  625. package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
  626. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  627. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  628. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +20 -0
  629. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
  630. package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +25 -0
  631. package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
  632. package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +20 -0
  633. package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
  634. package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +17 -0
  635. package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
  636. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts +17 -0
  637. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  638. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +16 -0
  639. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
  640. package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts +24 -0
  641. package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
  642. package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +22 -0
  643. package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
  644. package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts +22 -0
  645. package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  646. package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +21 -0
  647. package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
  648. package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts +38 -0
  649. package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
  650. package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts +4 -0
  651. package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  652. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
  653. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  654. package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +13 -0
  655. package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
  656. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
  657. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
  658. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
  659. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  660. package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +24 -0
  661. package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
  662. package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts +18 -0
  663. package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
  664. package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +71 -0
  665. package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
  666. package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts +17 -0
  667. package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  668. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
  669. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  670. package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +21 -0
  671. package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
  672. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
  673. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  674. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +20 -0
  675. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
  676. package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +25 -0
  677. package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
  678. package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +23 -0
  679. package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
  680. package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +17 -0
  681. package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
  682. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts +17 -0
  683. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  684. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +17 -0
  685. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
  686. package/types/main.d.ts +4 -0
  687. package/types/main.d.ts.map +1 -0
  688. package/{esm → types}/mod.d.ts +1 -5
  689. package/types/mod.d.ts.map +1 -0
  690. package/types/util/displayCompletion.d.ts +3 -0
  691. package/types/util/displayCompletion.d.ts.map +1 -0
  692. package/esm/mod.d.ts.map +0 -1
  693. /package/{esm → types}/ResponseFormat.d.ts +0 -0
  694. /package/{esm → types}/ResponseFormat.d.ts.map +0 -0
  695. /package/{esm → types}/_base.d.ts +0 -0
  696. /package/{esm → types}/_base.d.ts.map +0 -0
  697. /package/{esm → types}/array.d.ts +0 -0
  698. /package/{esm → types}/array.d.ts.map +0 -0
  699. /package/{esm → types}/common.d.ts +0 -0
  700. /package/{esm → types}/common.d.ts.map +0 -0
  701. /package/{esm → types}/literal.d.ts +0 -0
  702. /package/{esm → types}/literal.d.ts.map +0 -0
  703. /package/{esm → types}/number.d.ts +0 -0
  704. /package/{esm → types}/number.d.ts.map +0 -0
  705. /package/{esm → types}/object.d.ts +0 -0
  706. /package/{esm → types}/object.d.ts.map +0 -0
  707. /package/{esm → types}/schema.d.ts +0 -0
  708. /package/{esm → types}/schema.d.ts.map +0 -0
  709. /package/{esm → types}/string.d.ts +0 -0
  710. /package/{esm → types}/string.d.ts.map +0 -0
  711. /package/{esm → types}/union.d.ts +0 -0
  712. /package/{esm → types}/union.d.ts.map +0 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Make an assertion that `actual` and `expected` are not strictly equal, using
3
+ * {@linkcode Object.is} for equality comparison. If the values are strictly
4
+ * equal then throw.
5
+ *
6
+ * @example Usage
7
+ * ```ts ignore
8
+ * import { assertNotStrictEquals } from "@std/assert";
9
+ *
10
+ * assertNotStrictEquals(1, 1); // Throws
11
+ * assertNotStrictEquals(1, 2); // Doesn't throw
12
+ *
13
+ * assertNotStrictEquals(0, 0); // Throws
14
+ * assertNotStrictEquals(0, -0); // Doesn't throw
15
+ * ```
16
+ *
17
+ * @typeParam T The type of the values to compare.
18
+ * @param actual The actual value to compare.
19
+ * @param expected The expected value to compare.
20
+ * @param msg The optional message to display if the assertion fails.
21
+ */
22
+ export declare function assertNotStrictEquals<T>(actual: T, expected: T, msg?: string): void;
23
+ //# sourceMappingURL=not_strict_equals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAYb"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Make an assertion that `expected` object is a subset of `actual` object,
3
+ * deeply. If not, then throw.
4
+ *
5
+ * @example Usage
6
+ * ```ts ignore
7
+ * import { assertObjectMatch } from "@std/assert";
8
+ *
9
+ * assertObjectMatch({ foo: "bar" }, { foo: "bar" }); // Doesn't throw
10
+ * assertObjectMatch({ foo: "bar" }, { foo: "baz" }); // Throws
11
+ * assertObjectMatch({ foo: 1, bar: 2 }, { foo: 1 }); // Doesn't throw
12
+ * assertObjectMatch({ foo: 1 }, { foo: 1, bar: 2 }); // Throws
13
+ * ```
14
+ *
15
+ * @example Usage with nested objects
16
+ * ```ts ignore
17
+ * import { assertObjectMatch } from "@std/assert";
18
+ *
19
+ * assertObjectMatch({ foo: { bar: 3, baz: 4 } }, { foo: { bar: 3 } }); // Doesn't throw
20
+ * assertObjectMatch({ foo: { bar: 3 } }, { foo: { bar: 3, baz: 4 } }); // Throws
21
+ * ```
22
+ *
23
+ * @param actual The actual value to be matched.
24
+ * @param expected The expected value to match.
25
+ * @param msg The optional message to display if the assertion fails.
26
+ */
27
+ export declare function assertObjectMatch(actual: Record<PropertyKey, any>, expected: Record<PropertyKey, unknown>, msg?: string): void;
28
+ //# sourceMappingURL=object_match.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/object_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAE/B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACtC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAUN"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Executes a function which returns a promise, expecting it to reject.
3
+ *
4
+ * To assert that a synchronous function throws, use {@linkcode assertThrows}.
5
+ *
6
+ * @example Usage
7
+ * ```ts ignore
8
+ * import { assertRejects } from "@std/assert";
9
+ *
10
+ * await assertRejects(async () => Promise.reject(new Error())); // Doesn't throw
11
+ * await assertRejects(async () => console.log("Hello world")); // Throws
12
+ * ```
13
+ *
14
+ * @param fn The function to execute.
15
+ * @param msg The optional message to display if the assertion fails.
16
+ * @returns The promise which resolves to the thrown error.
17
+ */
18
+ export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: string): Promise<unknown>;
19
+ /**
20
+ * Executes a function which returns a promise, expecting it to reject.
21
+ * If it does not, then it throws. An error class and a string that should be
22
+ * included in the error message can also be asserted.
23
+ *
24
+ * To assert that a synchronous function throws, use {@linkcode assertThrows}.
25
+ *
26
+ * @example Usage
27
+ * ```ts ignore
28
+ * import { assertRejects } from "@std/assert";
29
+ *
30
+ * await assertRejects(async () => Promise.reject(new Error()), Error); // Doesn't throw
31
+ * await assertRejects(async () => Promise.reject(new Error()), SyntaxError); // Throws
32
+ * ```
33
+ *
34
+ * @typeParam E The error class to assert.
35
+ * @param fn The function to execute.
36
+ * @param ErrorClass The error class to assert.
37
+ * @param msgIncludes The string that should be included in the error message.
38
+ * @param msg The optional message to display if the assertion fails.
39
+ * @returns The promise which resolves to the thrown error.
40
+ */
41
+ export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
42
+ //# sourceMappingURL=rejects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/rejects.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAAC;AACpB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAE9B,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Make an assertion that `actual` and `expected` are strictly equal, using
3
+ * {@linkcode Object.is} for equality comparison. If not, then throw.
4
+ *
5
+ * @example Usage
6
+ * ```ts ignore
7
+ * import { assertStrictEquals } from "@std/assert";
8
+ *
9
+ * const a = {};
10
+ * const b = a;
11
+ * assertStrictEquals(a, b); // Doesn't throw
12
+ *
13
+ * const c = {};
14
+ * const d = {};
15
+ * assertStrictEquals(c, d); // Throws
16
+ * ```
17
+ *
18
+ * @typeParam T The type of the expected value.
19
+ * @param actual The actual value to compare.
20
+ * @param expected The expected value to compare.
21
+ * @param msg The optional message to display if the assertion fails.
22
+ */
23
+ export declare function assertStrictEquals<T>(actual: unknown, expected: T, msg?: string): asserts actual is T;
24
+ //# sourceMappingURL=strict_equals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/strict_equals.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,CAAC,CA+BrB"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Make an assertion that actual includes expected. If not
3
+ * then throw.
4
+ *
5
+ * @example Usage
6
+ * ```ts ignore
7
+ * import { assertStringIncludes } from "@std/assert";
8
+ *
9
+ * assertStringIncludes("Hello", "ello"); // Doesn't throw
10
+ * assertStringIncludes("Hello", "world"); // Throws
11
+ * ```
12
+ *
13
+ * @param actual The actual string to check for inclusion.
14
+ * @param expected The expected string to check for inclusion.
15
+ * @param msg The optional message to display if the assertion fails.
16
+ */
17
+ export declare function assertStringIncludes(actual: string, expected: string, msg?: string): void;
18
+ //# sourceMappingURL=string_includes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/string_includes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Executes a function, expecting it to throw. If it does not, then it
3
+ * throws.
4
+ *
5
+ * To assert that an asynchronous function rejects, use
6
+ * {@linkcode assertRejects}.
7
+ *
8
+ * @example Usage
9
+ * ```ts ignore
10
+ * import { assertThrows } from "@std/assert";
11
+ *
12
+ * assertThrows(() => { throw new TypeError("hello world!"); }); // Doesn't throw
13
+ * assertThrows(() => console.log("hello world!")); // Throws
14
+ * ```
15
+ *
16
+ * @param fn The function to execute.
17
+ * @param msg The optional message to display if the assertion fails.
18
+ * @returns The error that was thrown.
19
+ */
20
+ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
21
+ /**
22
+ * Executes a function, expecting it to throw. If it does not, then it
23
+ * throws. An error class and a string that should be included in the
24
+ * error message can also be asserted.
25
+ *
26
+ * To assert that an asynchronous function rejects, use
27
+ * {@linkcode assertRejects}.
28
+ *
29
+ * @example Usage
30
+ * ```ts ignore
31
+ * import { assertThrows } from "@std/assert";
32
+ *
33
+ * assertThrows(() => { throw new TypeError("hello world!"); }, TypeError); // Doesn't throw
34
+ * assertThrows(() => { throw new TypeError("hello world!"); }, RangeError); // Throws
35
+ * ```
36
+ *
37
+ * @typeParam E The error class to assert.
38
+ * @param fn The function to execute.
39
+ * @param ErrorClass The error class to assert.
40
+ * @param msgIncludes The string that should be included in the error message.
41
+ * @param msg The optional message to display if the assertion fails.
42
+ * @returns The error that was thrown.
43
+ */
44
+ export declare function assertThrows<E extends Error = Error>(fn: () => unknown, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): E;
45
+ //# sourceMappingURL=throws.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/throws.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAC1B,EAAE,EAAE,MAAM,OAAO,EACjB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC;AACX;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAClD,EAAE,EAAE,MAAM,OAAO,EAEjB,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Use this to stub out methods that will throw when invoked.
3
+ *
4
+ * @example Usage
5
+ * ```ts ignore
6
+ * import { unimplemented } from "@std/assert";
7
+ *
8
+ * unimplemented(); // Throws
9
+ * ```
10
+ *
11
+ * @param msg Optional message to include in the error.
12
+ * @returns Never returns, always throws.
13
+ */
14
+ export declare function unimplemented(msg?: string): never;
15
+ //# sourceMappingURL=unimplemented.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unimplemented.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/unimplemented.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAGjD"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Use this to assert unreachable code.
3
+ *
4
+ * @example Usage
5
+ * ```ts ignore
6
+ * import { unreachable } from "@std/assert";
7
+ *
8
+ * unreachable(); // Throws
9
+ * ```
10
+ *
11
+ * @param msg Optional message to include in the error.
12
+ * @returns Never returns, always throws.
13
+ */
14
+ export declare function unreachable(msg?: string): never;
15
+ //# sourceMappingURL=unreachable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unreachable.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.7/unreachable.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAG/C"}
@@ -0,0 +1,9 @@
1
+ declare namespace _default {
2
+ let UNICODE_VERSION: string;
3
+ let tables: {
4
+ d: string;
5
+ r: string;
6
+ }[];
7
+ }
8
+ export default _default;
9
+ //# sourceMappingURL=_data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_data.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/_data.js"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export declare function runLengthEncode(arr: number[]): {
2
+ d: string;
3
+ r: string;
4
+ };
5
+ export declare function runLengthDecode({ d, r }: {
6
+ d: string;
7
+ r: string;
8
+ }): Uint8Array;
9
+ //# sourceMappingURL=_run_length.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_run_length.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/_run_length.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE;;;EA0B5C;AAED,wBAAgB,eAAe,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,cAUjE"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Tools for creating interactive command line tools.
3
+ *
4
+ * ```ts
5
+ * import { parseArgs } from "@std/cli/parse-args";
6
+ * import { assertEquals } from "@std/assert";
7
+ *
8
+ * // Same as running `deno run example.ts --foo --bar=baz ./quux.txt`
9
+ * const args = parseArgs(["--foo", "--bar=baz", "./quux.txt"]);
10
+ * assertEquals(args, { foo: true, bar: "baz", _: ["./quux.txt"] });
11
+ * ```
12
+ *
13
+ * @module
14
+ */
15
+ export * from "./parse_args.js";
16
+ export * from "./prompt_secret.js";
17
+ export * from "./unicode_width.js";
18
+ //# sourceMappingURL=mod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/mod.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,229 @@
1
+ /**
2
+ * Command line arguments parser based on
3
+ * {@link https://github.com/minimistjs/minimist | minimist}.
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * import { parseArgs } from "@std/cli/parse-args";
8
+ *
9
+ * console.dir(parseArgs(Deno.args));
10
+ * ```
11
+ *
12
+ * @module
13
+ */
14
+ /** Combines recursively all intersection types and returns a new single type.
15
+ * @internal
16
+ */
17
+ type Id<TRecord> = TRecord extends Record<string, unknown> ? TRecord extends infer InferredRecord ? {
18
+ [Key in keyof InferredRecord]: Id<InferredRecord[Key]>;
19
+ } : never : TRecord;
20
+ /** Converts a union type `A | B | C` into an intersection type `A & B & C`.
21
+ * @internal
22
+ */
23
+ type UnionToIntersection<TValue> = (TValue extends unknown ? (args: TValue) => unknown : never) extends (args: infer R) => unknown ? R extends Record<string, unknown> ? R : never : never;
24
+ /** @internal */
25
+ type BooleanType = boolean | string | undefined;
26
+ /** @internal */
27
+ type StringType = string | undefined;
28
+ /** @internal */
29
+ type ArgType = StringType | BooleanType;
30
+ /** @internal */
31
+ type Collectable = string | undefined;
32
+ /** @internal */
33
+ type Negatable = string | undefined;
34
+ type UseTypes<TBooleans extends BooleanType, TStrings extends StringType, TCollectable extends Collectable> = undefined extends ((false extends TBooleans ? undefined : TBooleans) & TCollectable & TStrings) ? false : true;
35
+ /**
36
+ * Creates a record with all available flags with the corresponding type and
37
+ * default type.
38
+ * @internal
39
+ */
40
+ type Values<TBooleans extends BooleanType, TStrings extends StringType, TCollectable extends Collectable, TNegatable extends Negatable, TDefault extends Record<string, unknown> | undefined, TAliases extends Aliases | undefined> = UseTypes<TBooleans, TStrings, TCollectable> extends true ? Record<string, unknown> & AddAliases<SpreadDefaults<CollectValues<TStrings, string, TCollectable, TNegatable> & RecursiveRequired<CollectValues<TBooleans, boolean, TCollectable>> & CollectUnknownValues<TBooleans, TStrings, TCollectable, TNegatable>, DedotRecord<TDefault>>, TAliases> : Record<string, any>;
41
+ /** @internal */
42
+ type Aliases<TArgNames = string, TAliasNames extends string = string> = Partial<Record<Extract<TArgNames, string>, TAliasNames | ReadonlyArray<TAliasNames>>>;
43
+ type AddAliases<TArgs, TAliases extends Aliases | undefined> = {
44
+ [TArgName in keyof TArgs as AliasNames<TArgName, TAliases>]: TArgs[TArgName];
45
+ };
46
+ type AliasNames<TArgName, TAliases extends Aliases | undefined> = TArgName extends keyof TAliases ? string extends TAliases[TArgName] ? TArgName : TAliases[TArgName] extends string ? TArgName | TAliases[TArgName] : TAliases[TArgName] extends Array<string> ? TArgName | TAliases[TArgName][number] : TArgName : TArgName;
47
+ /**
48
+ * Spreads all default values of Record `TDefaults` into Record `TArgs`
49
+ * and makes default values required.
50
+ *
51
+ * **Example:**
52
+ * `SpreadValues<{ foo?: boolean, bar?: number }, { foo: number }>`
53
+ *
54
+ * **Result:** `{ foo: boolean | number, bar?: number }`
55
+ */
56
+ type SpreadDefaults<TArgs, TDefaults> = TDefaults extends undefined ? TArgs : TArgs extends Record<string, unknown> ? Omit<TArgs, keyof TDefaults> & {
57
+ [Default in keyof TDefaults]: Default extends keyof TArgs ? (TArgs[Default] & TDefaults[Default] | TDefaults[Default]) extends Record<string, unknown> ? NonNullable<SpreadDefaults<TArgs[Default], TDefaults[Default]>> : TDefaults[Default] | NonNullable<TArgs[Default]> : unknown;
58
+ } : never;
59
+ /**
60
+ * Defines the Record for the `default` option to add
61
+ * auto-suggestion support for IDE's.
62
+ * @internal
63
+ */
64
+ type Defaults<TBooleans extends BooleanType, TStrings extends StringType> = Id<UnionToIntersection<Record<string, unknown> & MapTypes<TStrings, unknown> & MapTypes<TBooleans, unknown> & MapDefaults<TBooleans> & MapDefaults<TStrings>>>;
65
+ type MapDefaults<TArgNames extends ArgType> = Partial<Record<TArgNames extends string ? TArgNames : string, unknown>>;
66
+ type RecursiveRequired<TRecord> = TRecord extends Record<string, unknown> ? {
67
+ [Key in keyof TRecord]-?: RecursiveRequired<TRecord[Key]>;
68
+ } : TRecord;
69
+ /** Same as `MapTypes` but also supports collectable options. */
70
+ type CollectValues<TArgNames extends ArgType, TType, TCollectable extends Collectable, TNegatable extends Negatable = undefined> = UnionToIntersection<Extract<TArgNames, TCollectable> extends string ? (Exclude<TArgNames, TCollectable> extends never ? Record<never, never> : MapTypes<Exclude<TArgNames, TCollectable>, TType, TNegatable>) & (Extract<TArgNames, TCollectable> extends never ? Record<never, never> : RecursiveRequired<MapTypes<Extract<TArgNames, TCollectable>, Array<TType>, TNegatable>>) : MapTypes<TArgNames, TType, TNegatable>>;
71
+ /** Same as `Record` but also supports dotted and negatable options. */
72
+ type MapTypes<TArgNames extends ArgType, TType, TNegatable extends Negatable = undefined> = undefined extends TArgNames ? Record<never, never> : TArgNames extends `${infer Name}.${infer Rest}` ? {
73
+ [Key in Name]?: MapTypes<Rest, TType, TNegatable extends `${Name}.${infer Negate}` ? Negate : undefined>;
74
+ } : TArgNames extends string ? Partial<Record<TArgNames, TNegatable extends TArgNames ? TType | false : TType>> : Record<never, never>;
75
+ type CollectUnknownValues<TBooleans extends BooleanType, TStrings extends StringType, TCollectable extends Collectable, TNegatable extends Negatable> = UnionToIntersection<TCollectable extends TBooleans & TStrings ? Record<never, never> : DedotRecord<Record<Exclude<Extract<Exclude<TCollectable, TNegatable>, string>, Extract<TStrings | TBooleans, string>>, Array<unknown>> & Record<Exclude<Extract<Extract<TCollectable, TNegatable>, string>, Extract<TStrings | TBooleans, string>>, Array<unknown> | false>>>;
76
+ /** Converts `{ "foo.bar.baz": unknown }` into `{ foo: { bar: { baz: unknown } } }`. */
77
+ type DedotRecord<TRecord> = Record<string, unknown> extends TRecord ? TRecord : TRecord extends Record<string, unknown> ? UnionToIntersection<ValueOf<{
78
+ [Key in keyof TRecord]: Key extends string ? Dedot<Key, TRecord[Key]> : never;
79
+ }>> : TRecord;
80
+ type Dedot<TKey extends string, TValue> = TKey extends `${infer Name}.${infer Rest}` ? {
81
+ [Key in Name]: Dedot<Rest, TValue>;
82
+ } : {
83
+ [Key in TKey]: TValue;
84
+ };
85
+ type ValueOf<TValue> = TValue[keyof TValue];
86
+ /** The value returned from {@linkcode parseArgs}. */
87
+ export type Args<TArgs extends Record<string, unknown> = Record<string, any>, TDoubleDash extends boolean | undefined = undefined> = Id<TArgs & {
88
+ /** Contains all the arguments that didn't have an option associated with
89
+ * them. */
90
+ _: Array<string | number>;
91
+ } & (boolean extends TDoubleDash ? DoubleDash : true extends TDoubleDash ? Required<DoubleDash> : Record<never, never>)>;
92
+ /** @internal */
93
+ type DoubleDash = {
94
+ /** Contains all the arguments that appear after the double dash: "--". */
95
+ "--"?: Array<string>;
96
+ };
97
+ /** Options for {@linkcode parseArgs}. */
98
+ export interface ParseOptions<TBooleans extends BooleanType = BooleanType, TStrings extends StringType = StringType, TCollectable extends Collectable = Collectable, TNegatable extends Negatable = Negatable, TDefault extends Record<string, unknown> | undefined = Record<string, unknown> | undefined, TAliases extends Aliases | undefined = Aliases | undefined, TDoubleDash extends boolean | undefined = boolean | undefined> {
99
+ /**
100
+ * When `true`, populate the result `_` with everything before the `--` and
101
+ * the result `['--']` with everything after the `--`.
102
+ *
103
+ * @default {false}
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * // $ deno run example.ts -- a arg1
108
+ * import { parseArgs } from "@std/cli/parse-args";
109
+ * console.dir(parseArgs(Deno.args, { "--": false }));
110
+ * // output: { _: [ "a", "arg1" ] }
111
+ * console.dir(parseArgs(Deno.args, { "--": true }));
112
+ * // output: { _: [], --: [ "a", "arg1" ] }
113
+ * ```
114
+ */
115
+ "--"?: TDoubleDash;
116
+ /**
117
+ * An object mapping string names to strings or arrays of string argument
118
+ * names to use as aliases.
119
+ *
120
+ * @default {{}}
121
+ */
122
+ alias?: TAliases;
123
+ /**
124
+ * A boolean, string or array of strings to always treat as booleans. If
125
+ * `true` will treat all double hyphenated arguments without equal signs as
126
+ * `boolean` (e.g. affects `--foo`, not `-f` or `--foo=bar`).
127
+ * All `boolean` arguments will be set to `false` by default.
128
+ *
129
+ * @default {false}
130
+ */
131
+ boolean?: TBooleans | ReadonlyArray<Extract<TBooleans, string>>;
132
+ /**
133
+ * An object mapping string argument names to default values.
134
+ *
135
+ * @default {{}}
136
+ */
137
+ default?: TDefault & Defaults<TBooleans, TStrings>;
138
+ /**
139
+ * When `true`, populate the result `_` with everything after the first
140
+ * non-option.
141
+ *
142
+ * @default {false}
143
+ */
144
+ stopEarly?: boolean;
145
+ /**
146
+ * A string or array of strings argument names to always treat as strings.
147
+ *
148
+ * @default {[]}
149
+ */
150
+ string?: TStrings | ReadonlyArray<Extract<TStrings, string>>;
151
+ /**
152
+ * A string or array of strings argument names to always treat as arrays.
153
+ * Collectable options can be used multiple times. All values will be
154
+ * collected into one array. If a non-collectable option is used multiple
155
+ * times, the last value is used.
156
+ *
157
+ * @default {[]}
158
+ */
159
+ collect?: TCollectable | ReadonlyArray<Extract<TCollectable, string>>;
160
+ /**
161
+ * A string or array of strings argument names which can be negated
162
+ * by prefixing them with `--no-`, like `--no-config`.
163
+ *
164
+ * @default {[]}
165
+ */
166
+ negatable?: TNegatable | ReadonlyArray<Extract<TNegatable, string>>;
167
+ /**
168
+ * A function which is invoked with a command line parameter not defined in
169
+ * the `options` configuration object. If the function returns `false`, the
170
+ * unknown option is not added to `parsedArgs`.
171
+ *
172
+ * @default {unknown}
173
+ */
174
+ unknown?: (arg: string, key?: string, value?: unknown) => unknown;
175
+ }
176
+ /**
177
+ * Take a set of command line arguments, optionally with a set of options, and
178
+ * return an object representing the flags found in the passed arguments.
179
+ *
180
+ * By default, any arguments starting with `-` or `--` are considered boolean
181
+ * flags. If the argument name is followed by an equal sign (`=`) it is
182
+ * considered a key-value pair. Any arguments which could not be parsed are
183
+ * available in the `_` property of the returned object.
184
+ *
185
+ * By default, this module tries to determine the type of all arguments
186
+ * automatically and the return type of this function will have an index
187
+ * signature with `any` as value (`{ [x: string]: any }`).
188
+ *
189
+ * If the `string`, `boolean` or `collect` option is set, the return value of
190
+ * this function will be fully typed and the index signature of the return
191
+ * type will change to `{ [x: string]: unknown }`.
192
+ *
193
+ * Any arguments after `'--'` will not be parsed and will end up in `parsedArgs._`.
194
+ *
195
+ * Numeric-looking arguments will be returned as numbers unless `options.string`
196
+ * or `options.boolean` is set for that argument name.
197
+ *
198
+ * @param args An array of command line arguments.
199
+ * @param options Options for the parse function.
200
+ *
201
+ * @typeParam TArgs Type of result.
202
+ * @typeParam TDoubleDash Used by `TArgs` for the result.
203
+ * @typeParam TBooleans Used by `TArgs` for the result.
204
+ * @typeParam TStrings Used by `TArgs` for the result.
205
+ * @typeParam TCollectable Used by `TArgs` for the result.
206
+ * @typeParam TNegatable Used by `TArgs` for the result.
207
+ * @typeParam TDefaults Used by `TArgs` for the result.
208
+ * @typeParam TAliases Used by `TArgs` for the result.
209
+ * @typeParam TAliasArgNames Used by `TArgs` for the result.
210
+ * @typeParam TAliasNames Used by `TArgs` for the result.
211
+ *
212
+ * @return The parsed arguments.
213
+ *
214
+ * @example Usage
215
+ * ```ts
216
+ * import { parseArgs } from "@std/cli/parse-args";
217
+ * import { assertEquals } from "@std/assert";
218
+ *
219
+ * // For proper use, one should use `parseArgs(Deno.args)`
220
+ * assertEquals(parseArgs(["--foo", "--bar=baz", "./quux.txt"]), {
221
+ * foo: true,
222
+ * bar: "baz",
223
+ * _: ["./quux.txt"],
224
+ * });
225
+ * ```
226
+ */
227
+ export declare function parseArgs<TArgs extends Values<TBooleans, TStrings, TCollectable, TNegatable, TDefaults, TAliases>, TDoubleDash extends boolean | undefined = undefined, TBooleans extends BooleanType = undefined, TStrings extends StringType = undefined, TCollectable extends Collectable = undefined, TNegatable extends Negatable = undefined, TDefaults extends Record<string, unknown> | undefined = undefined, TAliases extends Aliases<TAliasArgNames, TAliasNames> | undefined = undefined, TAliasArgNames extends string = string, TAliasNames extends string = string>(args: string[], options?: ParseOptions<TBooleans, TStrings, TCollectable, TNegatable, TDefaults, TAliases, TDoubleDash>): Args<TArgs, TDoubleDash>;
228
+ export {};
229
+ //# sourceMappingURL=parse_args.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse_args.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/parse_args.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AAEH;;GAEG;AACH,KAAK,EAAE,CAAC,OAAO,IAAI,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACtD,OAAO,SAAS,MAAM,cAAc,GAClC;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;CAAE,GAC5D,KAAK,GACL,OAAO,CAAC;AAEZ;;GAEG;AACH,KAAK,mBAAmB,CAAC,MAAM,IAC7B,CAAC,MAAM,SAAS,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,KAAK,CAAC,SAC1D,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,OAAO,GAAG,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,GACxE,KAAK,CAAC;AAEZ,gBAAgB;AAChB,KAAK,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAChD,gBAAgB;AAChB,KAAK,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AACrC,gBAAgB;AAChB,KAAK,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC;AAExC,gBAAgB;AAChB,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC;AACtC,gBAAgB;AAChB,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAEpC,KAAK,QAAQ,CACX,SAAS,SAAS,WAAW,EA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K,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;CACnE;AAyED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,SAAS,CACvB,KAAK,SAAS,MAAM,CAClB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,SAAS,EACT,QAAQ,CACT,EACD,WAAW,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACnD,SAAS,SAAS,WAAW,GAAG,SAAS,EACzC,QAAQ,SAAS,UAAU,GAAG,SAAS,EACvC,YAAY,SAAS,WAAW,GAAG,SAAS,EAC5C,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,SAAS,EACjE,QAAQ,SAAS,OAAO,CAAC,cAAc,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,SAAS,EAC7E,cAAc,SAAS,MAAM,GAAG,MAAM,EACtC,WAAW,SAAS,MAAM,GAAG,MAAM,EAEnC,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,CAAC,EAAE,YAAY,CACpB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,WAAW,CACZ,GACA,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAwQ1B"}
@@ -0,0 +1,28 @@
1
+ /** Options for {@linkcode promptSecret}. */
2
+ export type PromptSecretOptions = {
3
+ /** A character to print instead of the user's input. */
4
+ mask?: string;
5
+ /** Clear the current line after the user's input. */
6
+ clear?: boolean;
7
+ };
8
+ /**
9
+ * Shows the given message and waits for the user's input. Returns the user's input as string.
10
+ * This is similar to `prompt()` but it print user's input as `*` to prevent password from being shown.
11
+ * Use an empty `mask` if you don't want to show any character.
12
+ *
13
+ * @param message The prompt message to show to the user.
14
+ * @param options The options for the prompt.
15
+ * @returns The string that was entered or `null` if stdin is not a TTY.
16
+ *
17
+ * @example Usage
18
+ * ```ts no-eval
19
+ * import { promptSecret } from "@std/cli/prompt-secret";
20
+ *
21
+ * const password = promptSecret("Please provide the password:");
22
+ * if (password !== "some-password") {
23
+ * throw new Error("Access denied");
24
+ * }
25
+ * ```
26
+ */
27
+ export declare function promptSecret(message?: string, options?: PromptSecretOptions): string | null;
28
+ //# sourceMappingURL=prompt_secret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt_secret.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/prompt_secret.ts"],"names":[],"mappings":"AAmBA,4CAA4C;AAC5C,MAAM,MAAM,mBAAmB,GAAG;IAChC,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAC1B,OAAO,SAAW,EAClB,OAAO,CAAC,EAAE,mBAAmB,GAC5B,MAAM,GAAG,IAAI,CA0Bf"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Calculate the physical width of a string in a TTY-like environment. This is
3
+ * useful for cases such as calculating where a line-wrap will occur and
4
+ * underlining strings.
5
+ *
6
+ * The physical width is given by the number of columns required to display
7
+ * the string. The number of columns a given unicode character occupies can
8
+ * vary depending on the character itself.
9
+ *
10
+ * @param str The string to measure.
11
+ * @returns The unicode width of the string.
12
+ *
13
+ * @example Calculating the unicode width of a string
14
+ * ```ts
15
+ * import { unicodeWidth } from "@std/cli/unicode-width";
16
+ * import { assertEquals } from "@std/assert";
17
+ *
18
+ * assertEquals(unicodeWidth("hello world"), 11);
19
+ * assertEquals(unicodeWidth("天地玄黃宇宙洪荒"), 16);
20
+ * assertEquals(unicodeWidth("fullwidth"), 18);
21
+ * ```
22
+ *
23
+ * @example Calculating the unicode width of a color-encoded string
24
+ * ```ts
25
+ * import { unicodeWidth } from "@std/cli/unicode-width";
26
+ * import { stripAnsiCode } from "@std/fmt/colors";
27
+ * import { assertEquals } from "@std/assert";
28
+ *
29
+ * assertEquals(unicodeWidth(stripAnsiCode("\x1b[36mголубой\x1b[39m")), 7);
30
+ * assertEquals(unicodeWidth(stripAnsiCode("\x1b[31m紅色\x1b[39m")), 4);
31
+ * assertEquals(unicodeWidth(stripAnsiCode("\x1B]8;;https://deno.land\x07🦕\x1B]8;;\x07")), 2);
32
+ * ```
33
+ *
34
+ * Use
35
+ * {@linkcode https://jsr.io/@std/fmt/doc/colors/~/stripAnsiCode | stripAnsiCode}
36
+ * to remove ANSI escape codes from a string before passing it to
37
+ * {@linkcode unicodeWidth}.
38
+ */
39
+ export declare function unicodeWidth(str: string): number;
40
+ //# sourceMappingURL=unicode_width.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unicode_width.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/cli/1.0.6/unicode_width.ts"],"names":[],"mappings":"AAsCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEhD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=load.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/dotenv/0.225.2/load.ts"],"names":[],"mappings":""}