@effectionx/jsonl-store 0.1.2 → 0.2.0

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 (713) hide show
  1. package/esm/_dnt.polyfills.d.ts +120 -0
  2. package/esm/_dnt.polyfills.d.ts.map +1 -0
  3. package/esm/_dnt.polyfills.js +247 -0
  4. package/esm/_dnt.shims.d.ts +2 -0
  5. package/esm/_dnt.shims.d.ts.map +1 -0
  6. package/esm/_dnt.shims.js +57 -0
  7. package/esm/context.js +2 -2
  8. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  9. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  10. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +2 -0
  11. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  12. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +32 -0
  14. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  15. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +50 -0
  17. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
  18. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +33 -0
  20. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
  21. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +20 -0
  23. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
  24. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +17 -0
  26. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
  27. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +25 -0
  29. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
  30. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +13 -0
  32. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
  33. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.js +312 -0
  35. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
  36. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +86 -0
  38. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
  39. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +101 -0
  41. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
  42. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
  43. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +89 -0
  44. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
  45. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +60 -0
  47. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
  48. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +119 -0
  50. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
  51. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.js +63 -0
  53. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
  54. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.js +269 -0
  56. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
  57. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +414 -0
  59. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
  60. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.js +29 -0
  62. package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
  63. package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@std/fs/1.0.4/move.js +140 -0
  65. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
  66. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.js +845 -0
  68. package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
  69. package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@std/json/1.0.1/_common.js +11 -0
  71. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
  72. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +196 -0
  74. package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
  75. package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@std/json/1.0.1/mod.js +23 -0
  77. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
  78. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.js +66 -0
  80. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
  81. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +88 -0
  83. package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
  84. package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@std/json/1.0.1/types.js +3 -0
  86. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
  87. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +7 -0
  89. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
  90. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.js +40 -0
  92. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
  93. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
  94. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.js +23 -0
  95. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
  96. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.js +46 -0
  98. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
  99. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +8 -0
  101. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
  102. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.js +19 -0
  104. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
  105. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
  106. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +9 -0
  107. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
  108. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
  109. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +234 -0
  110. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
  111. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
  112. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +8 -0
  113. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
  114. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +77 -0
  116. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
  117. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
  118. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.js +9 -0
  119. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
  120. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
  121. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +19 -0
  122. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
  123. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
  124. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +15 -0
  125. package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
  126. package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  127. package/esm/deps/jsr.io/@std/path/1.0.6/_os.js +9 -0
  128. package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
  129. package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
  130. package/esm/deps/jsr.io/@std/path/1.0.6/basename.js +36 -0
  131. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
  132. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
  133. package/esm/deps/jsr.io/@std/path/1.0.6/common.js +33 -0
  134. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
  135. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
  136. package/esm/deps/jsr.io/@std/path/1.0.6/constants.js +17 -0
  137. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
  138. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
  139. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.js +29 -0
  140. package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
  141. package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
  142. package/esm/deps/jsr.io/@std/path/1.0.6/extname.js +29 -0
  143. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
  144. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
  145. package/esm/deps/jsr.io/@std/path/1.0.6/format.js +27 -0
  146. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
  147. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
  148. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.js +28 -0
  149. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
  150. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
  151. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +83 -0
  152. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
  153. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
  154. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.js +28 -0
  155. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
  156. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
  157. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.js +42 -0
  158. package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
  159. package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
  160. package/esm/deps/jsr.io/@std/path/1.0.6/join.js +29 -0
  161. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
  162. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
  163. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.js +34 -0
  164. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
  165. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
  166. package/esm/deps/jsr.io/@std/path/1.0.6/mod.js +57 -0
  167. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
  168. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
  169. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.js +33 -0
  170. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
  171. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
  172. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +35 -0
  173. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
  174. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
  175. package/esm/deps/jsr.io/@std/path/1.0.6/parse.js +39 -0
  176. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
  177. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
  178. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.js +8 -0
  179. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
  180. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  181. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.js +32 -0
  182. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
  183. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
  184. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.js +14 -0
  185. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
  186. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  187. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +50 -0
  188. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  189. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  190. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.js +73 -0
  191. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
  192. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
  193. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.js +28 -0
  194. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
  195. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
  196. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +21 -0
  197. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
  198. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
  199. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +82 -0
  200. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
  201. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
  202. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +23 -0
  203. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
  204. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  205. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.js +29 -0
  206. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
  207. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
  208. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +39 -0
  209. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
  210. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  211. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +39 -0
  212. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
  213. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
  214. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +31 -0
  215. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
  216. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
  217. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.js +115 -0
  218. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
  219. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
  220. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.js +106 -0
  221. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
  222. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
  223. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +59 -0
  224. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
  225. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
  226. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +27 -0
  227. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
  228. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
  229. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +20 -0
  230. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
  231. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
  232. package/esm/deps/jsr.io/@std/path/1.0.6/relative.js +30 -0
  233. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
  234. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
  235. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.js +30 -0
  236. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
  237. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
  238. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.js +28 -0
  239. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
  240. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
  241. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +29 -0
  242. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
  243. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
  244. package/esm/deps/jsr.io/@std/path/1.0.6/types.js +3 -0
  245. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
  246. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
  247. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.js +15 -0
  248. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
  249. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
  250. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.js +44 -0
  251. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
  252. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
  253. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.js +14 -0
  254. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
  255. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
  256. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +112 -0
  257. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
  258. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
  259. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.js +81 -0
  260. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
  261. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
  262. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.js +28 -0
  263. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
  264. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
  265. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +30 -0
  266. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
  267. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
  268. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +82 -0
  269. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
  270. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
  271. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +38 -0
  272. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
  273. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
  274. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.js +74 -0
  275. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
  276. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
  277. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +40 -0
  278. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
  279. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
  280. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +134 -0
  281. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
  282. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
  283. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +31 -0
  284. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
  285. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
  286. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.js +176 -0
  287. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
  288. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
  289. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.js +131 -0
  290. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
  291. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
  292. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +154 -0
  293. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
  294. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
  295. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +34 -0
  296. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
  297. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
  298. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +49 -0
  299. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
  300. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
  301. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.js +27 -0
  302. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
  303. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
  304. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.js +406 -0
  305. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
  306. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
  307. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +85 -0
  308. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
  309. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
  310. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +47 -0
  311. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
  312. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
  313. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +291 -0
  314. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
  315. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
  316. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +102 -0
  317. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
  318. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
  319. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +122 -0
  320. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
  321. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
  322. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +106 -0
  323. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
  324. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
  325. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +69 -0
  326. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
  327. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
  328. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.js +35 -0
  329. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
  330. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
  331. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +123 -0
  332. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
  333. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
  334. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +107 -0
  335. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  336. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  337. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +35 -0
  338. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
  339. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
  340. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.js +25 -0
  341. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
  342. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
  343. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.js +42 -0
  344. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
  345. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
  346. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.js +45 -0
  347. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
  348. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
  349. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +102 -0
  350. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
  351. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
  352. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +102 -0
  353. package/esm/jsonl.js +4 -4
  354. package/esm/mod.d.ts +1 -0
  355. package/esm/mod.d.ts.map +1 -1
  356. package/esm/mod.js +1 -0
  357. package/package.json +5 -1
  358. package/script/_dnt.polyfills.d.ts +120 -0
  359. package/script/_dnt.polyfills.d.ts.map +1 -0
  360. package/script/_dnt.polyfills.js +250 -0
  361. package/script/_dnt.shims.d.ts +2 -0
  362. package/script/_dnt.shims.d.ts.map +1 -0
  363. package/script/_dnt.shims.js +60 -0
  364. package/script/context.js +2 -2
  365. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  366. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  367. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  368. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  369. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
  371. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  372. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +53 -0
  374. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
  375. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
  376. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +37 -0
  377. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
  378. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
  379. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +23 -0
  380. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
  381. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
  382. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +20 -0
  383. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
  384. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
  385. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +28 -0
  386. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
  387. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
  388. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +16 -0
  389. package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
  390. package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
  391. package/script/deps/jsr.io/@std/fs/1.0.4/copy.js +316 -0
  392. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
  393. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
  394. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +90 -0
  395. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
  396. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
  397. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +105 -0
  398. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
  399. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
  400. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +93 -0
  401. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
  402. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
  403. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +64 -0
  404. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
  405. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
  406. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +123 -0
  407. package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
  408. package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
  409. package/script/deps/jsr.io/@std/fs/1.0.4/eol.js +68 -0
  410. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
  411. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  412. package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +273 -0
  413. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
  414. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
  415. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +418 -0
  416. package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
  417. package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
  418. package/script/deps/jsr.io/@std/fs/1.0.4/mod.js +45 -0
  419. package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
  420. package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
  421. package/script/deps/jsr.io/@std/fs/1.0.4/move.js +144 -0
  422. package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
  423. package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
  424. package/script/deps/jsr.io/@std/fs/1.0.4/walk.js +849 -0
  425. package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
  426. package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
  427. package/script/deps/jsr.io/@std/json/1.0.1/_common.js +14 -0
  428. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
  429. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
  430. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +200 -0
  431. package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
  432. package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
  433. package/script/deps/jsr.io/@std/json/1.0.1/mod.js +39 -0
  434. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
  435. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
  436. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.js +70 -0
  437. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
  438. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
  439. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +92 -0
  440. package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
  441. package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
  442. package/script/deps/jsr.io/@std/json/1.0.1/types.js +4 -0
  443. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
  444. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
  445. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +10 -0
  446. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
  447. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
  448. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +45 -0
  449. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
  450. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
  451. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +26 -0
  452. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
  453. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
  454. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +49 -0
  455. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
  456. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
  457. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +11 -0
  458. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
  459. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
  460. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +23 -0
  461. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
  462. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
  463. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +12 -0
  464. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
  465. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
  466. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +237 -0
  467. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
  468. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
  469. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +11 -0
  470. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
  471. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
  472. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +80 -0
  473. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
  474. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
  475. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +12 -0
  476. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
  477. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
  478. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +22 -0
  479. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
  480. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
  481. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +18 -0
  482. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
  483. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  484. package/script/deps/jsr.io/@std/path/1.0.6/_os.js +45 -0
  485. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
  486. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
  487. package/script/deps/jsr.io/@std/path/1.0.6/basename.js +39 -0
  488. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
  489. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
  490. package/script/deps/jsr.io/@std/path/1.0.6/common.js +36 -0
  491. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
  492. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
  493. package/script/deps/jsr.io/@std/path/1.0.6/constants.js +20 -0
  494. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
  495. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
  496. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +32 -0
  497. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
  498. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
  499. package/script/deps/jsr.io/@std/path/1.0.6/extname.js +32 -0
  500. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
  501. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
  502. package/script/deps/jsr.io/@std/path/1.0.6/format.js +30 -0
  503. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
  504. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
  505. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +31 -0
  506. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
  507. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
  508. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +86 -0
  509. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
  510. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
  511. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +31 -0
  512. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
  513. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
  514. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +45 -0
  515. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
  516. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
  517. package/script/deps/jsr.io/@std/path/1.0.6/join.js +32 -0
  518. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
  519. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
  520. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +37 -0
  521. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
  522. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
  523. package/script/deps/jsr.io/@std/path/1.0.6/mod.js +73 -0
  524. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
  525. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
  526. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +36 -0
  527. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
  528. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
  529. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +38 -0
  530. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
  531. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
  532. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +42 -0
  533. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
  534. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
  535. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +11 -0
  536. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
  537. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  538. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +35 -0
  539. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
  540. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
  541. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +17 -0
  542. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
  543. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  544. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +53 -0
  545. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  546. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  547. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +76 -0
  548. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
  549. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
  550. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +31 -0
  551. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
  552. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
  553. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +24 -0
  554. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
  555. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
  556. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +85 -0
  557. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
  558. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
  559. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +26 -0
  560. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
  561. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  562. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +32 -0
  563. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
  564. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
  565. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +42 -0
  566. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
  567. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  568. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +42 -0
  569. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
  570. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
  571. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +34 -0
  572. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
  573. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
  574. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +118 -0
  575. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
  576. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
  577. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +109 -0
  578. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
  579. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
  580. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +95 -0
  581. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
  582. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
  583. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +30 -0
  584. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
  585. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
  586. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +23 -0
  587. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
  588. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
  589. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +33 -0
  590. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
  591. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
  592. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +33 -0
  593. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
  594. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
  595. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +31 -0
  596. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
  597. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
  598. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +32 -0
  599. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
  600. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
  601. package/script/deps/jsr.io/@std/path/1.0.6/types.js +4 -0
  602. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
  603. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
  604. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +20 -0
  605. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
  606. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
  607. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +47 -0
  608. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
  609. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
  610. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +17 -0
  611. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
  612. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
  613. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +115 -0
  614. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
  615. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
  616. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +84 -0
  617. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
  618. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
  619. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +31 -0
  620. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
  621. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
  622. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +33 -0
  623. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
  624. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
  625. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +85 -0
  626. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
  627. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
  628. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +41 -0
  629. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
  630. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
  631. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +77 -0
  632. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
  633. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
  634. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +43 -0
  635. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
  636. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
  637. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +137 -0
  638. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
  639. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
  640. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +34 -0
  641. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
  642. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
  643. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +179 -0
  644. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
  645. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
  646. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +134 -0
  647. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
  648. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
  649. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +190 -0
  650. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
  651. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
  652. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +37 -0
  653. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
  654. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
  655. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +52 -0
  656. package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
  657. package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
  658. package/script/deps/jsr.io/@std/streams/1.0.8/_common.js +31 -0
  659. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
  660. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
  661. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.js +410 -0
  662. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
  663. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
  664. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +89 -0
  665. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
  666. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
  667. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +50 -0
  668. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
  669. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
  670. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +295 -0
  671. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
  672. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
  673. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +105 -0
  674. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
  675. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
  676. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +126 -0
  677. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
  678. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
  679. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +110 -0
  680. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
  681. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
  682. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +72 -0
  683. package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
  684. package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
  685. package/script/deps/jsr.io/@std/streams/1.0.8/mod.js +51 -0
  686. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
  687. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
  688. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +127 -0
  689. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
  690. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
  691. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +111 -0
  692. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  693. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  694. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +38 -0
  695. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
  696. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
  697. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.js +28 -0
  698. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
  699. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
  700. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.js +45 -0
  701. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
  702. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
  703. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.js +48 -0
  704. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
  705. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
  706. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +105 -0
  707. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
  708. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
  709. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +105 -0
  710. package/script/jsonl.js +14 -14
  711. package/script/mod.d.ts +1 -0
  712. package/script/mod.d.ts.map +1 -1
  713. package/script/mod.js +1 -0
@@ -0,0 +1,267 @@
1
+ import { type GlobOptions } from "../../path/1.0.6/glob_to_regexp.js";
2
+ import { type WalkEntry } from "./_create_walk_entry.js";
3
+ export type { GlobOptions, WalkEntry };
4
+ /** Options for {@linkcode expandGlob} and {@linkcode expandGlobSync}. */
5
+ export interface ExpandGlobOptions extends Omit<GlobOptions, "os"> {
6
+ /**
7
+ * File path where to expand from.
8
+ *
9
+ * @default {Deno.cwd()}
10
+ */
11
+ root?: string;
12
+ /**
13
+ * List of glob patterns to be excluded from the expansion.
14
+ *
15
+ * @default {[]}
16
+ */
17
+ exclude?: string[];
18
+ /**
19
+ * Whether to include directories in entries.
20
+ *
21
+ * @default {true}
22
+ */
23
+ includeDirs?: boolean;
24
+ /**
25
+ * Whether to follow symbolic links.
26
+ *
27
+ * @default {false}
28
+ */
29
+ followSymlinks?: boolean;
30
+ /**
31
+ * Indicates whether the followed symlink's path should be canonicalized.
32
+ * This option works only if `followSymlinks` is not `false`.
33
+ *
34
+ * @default {true}
35
+ */
36
+ canonicalize?: boolean;
37
+ }
38
+ /**
39
+ * Returns an async iterator that yields each file path matching the given glob
40
+ * pattern.
41
+ *
42
+ * The file paths are absolute paths. If `root` is not provided, the current
43
+ * working directory is used. The `root` directory is not included in the
44
+ * yielded file paths.
45
+ *
46
+ * Requires `--allow-read` permission.
47
+ *
48
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
49
+ * for more information on Deno's permissions system.
50
+ *
51
+ * @param glob The glob pattern to expand.
52
+ * @param options Additional options for the expansion.
53
+ *
54
+ * @returns An async iterator that yields each walk entry matching the glob
55
+ * pattern.
56
+ *
57
+ * @example Basic usage
58
+ *
59
+ * File structure:
60
+ * ```
61
+ * folder
62
+ * ├── script.ts
63
+ * └── foo.ts
64
+ * ```
65
+ *
66
+ * ```ts ignore
67
+ * // script.ts
68
+ * import { expandGlob } from "@std/fs/expand-glob";
69
+ *
70
+ * await Array.fromAsync(expandGlob("*.ts"));
71
+ * // [
72
+ * // {
73
+ * // path: "/Users/user/folder/script.ts",
74
+ * // name: "script.ts",
75
+ * // isFile: true,
76
+ * // isDirectory: false,
77
+ * // isSymlink: false,
78
+ * // },
79
+ * // {
80
+ * // path: "/Users/user/folder/foo.ts",
81
+ * // name: "foo.ts",
82
+ * // isFile: true,
83
+ * // isDirectory: false,
84
+ * // isSymlink: false,
85
+ * // },
86
+ * // ]
87
+ * ```
88
+ *
89
+ * @example Define root directory
90
+ *
91
+ * Setting the `root` option to `/folder` will expand the glob pattern from the
92
+ * `/folder` directory.
93
+ *
94
+ * File structure:
95
+ * ```
96
+ * folder
97
+ * ├── subdir
98
+ * │ └── bar.ts
99
+ * ├── script.ts
100
+ * └── foo.ts
101
+ * ```
102
+ *
103
+ * ```ts ignore
104
+ * // script.ts
105
+ * import { expandGlob } from "@std/fs/expand-glob";
106
+ *
107
+ * await Array.fromAsync(expandGlob("*.ts", { root: "./subdir" }));
108
+ * // [
109
+ * // {
110
+ * // path: "/Users/user/folder/subdir/bar.ts",
111
+ * // name: "bar.ts",
112
+ * // isFile: true,
113
+ * // isDirectory: false,
114
+ * // isSymlink: false,
115
+ * // },
116
+ * // ]
117
+ * ```
118
+ *
119
+ * @example Exclude files
120
+ *
121
+ * Setting the `exclude` option to `["foo.ts"]` will exclude the `foo.ts` file
122
+ * from the expansion.
123
+ *
124
+ * File structure:
125
+ * ```
126
+ * folder
127
+ * ├── script.ts
128
+ * └── foo.ts
129
+ * ```
130
+ *
131
+ * ```ts ignore
132
+ * // script.ts
133
+ * import { expandGlob } from "@std/fs/expand-glob";
134
+ *
135
+ * await Array.fromAsync(expandGlob("*.ts", { exclude: ["foo.ts"] }));
136
+ * // [
137
+ * // {
138
+ * // path: "/Users/user/folder/script.ts",
139
+ * // name: "true.ts",
140
+ * // isFile: false,
141
+ * // isDirectory: false,
142
+ * // isSymlink: false,
143
+ * // },
144
+ * // ]
145
+ * ```
146
+ *
147
+ * @example Exclude directories
148
+ *
149
+ * Setting the `includeDirs` option to `false` will exclude directories from the
150
+ * expansion.
151
+ *
152
+ * File structure:
153
+ * ```
154
+ * folder
155
+ * ├── subdir
156
+ * │ └── bar.ts
157
+ * ├── script.ts
158
+ * └── foo.ts
159
+ * ```
160
+ *
161
+ * ```ts ignore
162
+ * // script.ts
163
+ * import { expandGlob } from "@std/fs/expand-glob";
164
+ *
165
+ * await Array.fromAsync(expandGlob("*", { includeDirs: false }));
166
+ * // [
167
+ * // {
168
+ * // path: "/Users/user/folder/script.ts",
169
+ * // name: "script.ts",
170
+ * // isFile: true,
171
+ * // isDirectory: false,
172
+ * // isSymlink: false,
173
+ * // },
174
+ * // {
175
+ * // path: "/Users/user/folder/foo.ts",
176
+ * // name: "foo.ts",
177
+ * // isFile: true,
178
+ * // isDirectory: false,
179
+ * // isSymlink: false,
180
+ * // },
181
+ * // ]
182
+ * ```
183
+ *
184
+ * @example Follow symbolic links
185
+ *
186
+ * Setting the `followSymlinks` option to `true` will follow symbolic links.
187
+ *
188
+ * File structure:
189
+ * ```
190
+ * folder
191
+ * ├── script.ts
192
+ * └── link.ts -> script.ts (symbolic link)
193
+ * ```
194
+ *
195
+ * ```ts ignore
196
+ * // script.ts
197
+ * import { expandGlob } from "@std/fs/expand-glob";
198
+ *
199
+ * await Array.fromAsync(expandGlob("*.ts", { followSymlinks: true }));
200
+ * // [
201
+ * // {
202
+ * // path: "/Users/user/folder/script.ts",
203
+ * // name: "script.ts",
204
+ * // isFile: true,
205
+ * // isDirectory: false,
206
+ * // isSymlink: false,
207
+ * // },
208
+ * // {
209
+ * // path: "/Users/user/folder/symlink",
210
+ * // name: "symlink",
211
+ * // isFile: true,
212
+ * // isDirectory: false,
213
+ * // isSymlink: true,
214
+ * // },
215
+ * // ]
216
+ * ```
217
+ */
218
+ export declare function expandGlob(glob: string | URL, options?: ExpandGlobOptions): AsyncIterableIterator<WalkEntry>;
219
+ /**
220
+ * Returns an iterator that yields each file path matching the given glob
221
+ * pattern. The file paths are relative to the provided `root` directory.
222
+ * If `root` is not provided, the current working directory is used.
223
+ * The `root` directory is not included in the yielded file paths.
224
+ *
225
+ * Requires the `--allow-read` flag.
226
+ *
227
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
228
+ * for more information on Deno's permissions system.
229
+ *
230
+ * @param glob The glob pattern to expand.
231
+ * @param options Additional options for the expansion.
232
+ *
233
+ * @returns An iterator that yields each walk entry matching the glob pattern.
234
+ *
235
+ * @example Usage
236
+ *
237
+ * File structure:
238
+ * ```
239
+ * folder
240
+ * ├── script.ts
241
+ * └── foo.ts
242
+ * ```
243
+ *
244
+ * ```ts ignore
245
+ * // script.ts
246
+ * import { expandGlobSync } from "@std/fs/expand-glob";
247
+ *
248
+ * const entries = [];
249
+ * for (const entry of expandGlobSync("*.ts")) {
250
+ * entries.push(entry);
251
+ * }
252
+ *
253
+ * entries[0]!.path; // "/Users/user/folder/script.ts"
254
+ * entries[0]!.name; // "script.ts"
255
+ * entries[0]!.isFile; // false
256
+ * entries[0]!.isDirectory; // true
257
+ * entries[0]!.isSymlink; // false
258
+ *
259
+ * entries[1]!.path; // "/Users/user/folder/foo.ts"
260
+ * entries[1]!.name; // "foo.ts"
261
+ * entries[1]!.isFile; // true
262
+ * entries[1]!.isDirectory; // false
263
+ * entries[1]!.isSymlink; // false
264
+ * ```
265
+ */
266
+ export declare function expandGlobSync(glob: string | URL, options?: ExpandGlobOptions): IterableIterator<WalkEntry>;
267
+ //# sourceMappingURL=expand_glob.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand_glob.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/expand_glob.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,oCAAoC,CAAC;AAQpF,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AAIvC,yEAAyE;AACzE,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;IAChE;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmLG;AACH,wBAAuB,UAAU,CAC/B,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,qBAAqB,CAAC,SAAS,CAAC,CAyGlC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAiB,cAAc,CAC7B,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,gBAAgB,CAAC,SAAS,CAAC,CAuG7B"}
@@ -0,0 +1,418 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.expandGlob = expandGlob;
4
+ exports.expandGlobSync = expandGlobSync;
5
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
6
+ const glob_to_regexp_js_1 = require("../../path/1.0.6/glob_to_regexp.js");
7
+ const join_globs_js_1 = require("../../path/1.0.6/join_globs.js");
8
+ const is_glob_js_1 = require("../../path/1.0.6/is_glob.js");
9
+ const is_absolute_js_1 = require("../../path/1.0.6/is_absolute.js");
10
+ const resolve_js_1 = require("../../path/1.0.6/resolve.js");
11
+ const constants_js_1 = require("../../path/1.0.6/constants.js");
12
+ const walk_js_1 = require("./walk.js");
13
+ const _to_path_string_js_1 = require("./_to_path_string.js");
14
+ const _create_walk_entry_js_1 = require("./_create_walk_entry.js");
15
+ const isWindows = Deno.build.os === "windows";
16
+ function split(path) {
17
+ const s = constants_js_1.SEPARATOR_PATTERN.source;
18
+ const segments = path
19
+ .replace(new RegExp(`^${s}|${s}$`, "g"), "")
20
+ .split(constants_js_1.SEPARATOR_PATTERN);
21
+ const isAbsolute_ = (0, is_absolute_js_1.isAbsolute)(path);
22
+ const split = {
23
+ segments,
24
+ isAbsolute: isAbsolute_,
25
+ hasTrailingSep: path.match(new RegExp(`${s}$`)) !== null,
26
+ };
27
+ if (isWindows && isAbsolute_) {
28
+ split.winRoot = segments.shift();
29
+ }
30
+ return split;
31
+ }
32
+ function throwUnlessNotFound(error) {
33
+ if (!(error instanceof Deno.errors.NotFound)) {
34
+ throw error;
35
+ }
36
+ }
37
+ function comparePath(a, b) {
38
+ if (a.path < b.path)
39
+ return -1;
40
+ if (a.path > b.path)
41
+ return 1;
42
+ return 0;
43
+ }
44
+ /**
45
+ * Returns an async iterator that yields each file path matching the given glob
46
+ * pattern.
47
+ *
48
+ * The file paths are absolute paths. If `root` is not provided, the current
49
+ * working directory is used. The `root` directory is not included in the
50
+ * yielded file paths.
51
+ *
52
+ * Requires `--allow-read` permission.
53
+ *
54
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
55
+ * for more information on Deno's permissions system.
56
+ *
57
+ * @param glob The glob pattern to expand.
58
+ * @param options Additional options for the expansion.
59
+ *
60
+ * @returns An async iterator that yields each walk entry matching the glob
61
+ * pattern.
62
+ *
63
+ * @example Basic usage
64
+ *
65
+ * File structure:
66
+ * ```
67
+ * folder
68
+ * ├── script.ts
69
+ * └── foo.ts
70
+ * ```
71
+ *
72
+ * ```ts ignore
73
+ * // script.ts
74
+ * import { expandGlob } from "@std/fs/expand-glob";
75
+ *
76
+ * await Array.fromAsync(expandGlob("*.ts"));
77
+ * // [
78
+ * // {
79
+ * // path: "/Users/user/folder/script.ts",
80
+ * // name: "script.ts",
81
+ * // isFile: true,
82
+ * // isDirectory: false,
83
+ * // isSymlink: false,
84
+ * // },
85
+ * // {
86
+ * // path: "/Users/user/folder/foo.ts",
87
+ * // name: "foo.ts",
88
+ * // isFile: true,
89
+ * // isDirectory: false,
90
+ * // isSymlink: false,
91
+ * // },
92
+ * // ]
93
+ * ```
94
+ *
95
+ * @example Define root directory
96
+ *
97
+ * Setting the `root` option to `/folder` will expand the glob pattern from the
98
+ * `/folder` directory.
99
+ *
100
+ * File structure:
101
+ * ```
102
+ * folder
103
+ * ├── subdir
104
+ * │ └── bar.ts
105
+ * ├── script.ts
106
+ * └── foo.ts
107
+ * ```
108
+ *
109
+ * ```ts ignore
110
+ * // script.ts
111
+ * import { expandGlob } from "@std/fs/expand-glob";
112
+ *
113
+ * await Array.fromAsync(expandGlob("*.ts", { root: "./subdir" }));
114
+ * // [
115
+ * // {
116
+ * // path: "/Users/user/folder/subdir/bar.ts",
117
+ * // name: "bar.ts",
118
+ * // isFile: true,
119
+ * // isDirectory: false,
120
+ * // isSymlink: false,
121
+ * // },
122
+ * // ]
123
+ * ```
124
+ *
125
+ * @example Exclude files
126
+ *
127
+ * Setting the `exclude` option to `["foo.ts"]` will exclude the `foo.ts` file
128
+ * from the expansion.
129
+ *
130
+ * File structure:
131
+ * ```
132
+ * folder
133
+ * ├── script.ts
134
+ * └── foo.ts
135
+ * ```
136
+ *
137
+ * ```ts ignore
138
+ * // script.ts
139
+ * import { expandGlob } from "@std/fs/expand-glob";
140
+ *
141
+ * await Array.fromAsync(expandGlob("*.ts", { exclude: ["foo.ts"] }));
142
+ * // [
143
+ * // {
144
+ * // path: "/Users/user/folder/script.ts",
145
+ * // name: "true.ts",
146
+ * // isFile: false,
147
+ * // isDirectory: false,
148
+ * // isSymlink: false,
149
+ * // },
150
+ * // ]
151
+ * ```
152
+ *
153
+ * @example Exclude directories
154
+ *
155
+ * Setting the `includeDirs` option to `false` will exclude directories from the
156
+ * expansion.
157
+ *
158
+ * File structure:
159
+ * ```
160
+ * folder
161
+ * ├── subdir
162
+ * │ └── bar.ts
163
+ * ├── script.ts
164
+ * └── foo.ts
165
+ * ```
166
+ *
167
+ * ```ts ignore
168
+ * // script.ts
169
+ * import { expandGlob } from "@std/fs/expand-glob";
170
+ *
171
+ * await Array.fromAsync(expandGlob("*", { includeDirs: false }));
172
+ * // [
173
+ * // {
174
+ * // path: "/Users/user/folder/script.ts",
175
+ * // name: "script.ts",
176
+ * // isFile: true,
177
+ * // isDirectory: false,
178
+ * // isSymlink: false,
179
+ * // },
180
+ * // {
181
+ * // path: "/Users/user/folder/foo.ts",
182
+ * // name: "foo.ts",
183
+ * // isFile: true,
184
+ * // isDirectory: false,
185
+ * // isSymlink: false,
186
+ * // },
187
+ * // ]
188
+ * ```
189
+ *
190
+ * @example Follow symbolic links
191
+ *
192
+ * Setting the `followSymlinks` option to `true` will follow symbolic links.
193
+ *
194
+ * File structure:
195
+ * ```
196
+ * folder
197
+ * ├── script.ts
198
+ * └── link.ts -> script.ts (symbolic link)
199
+ * ```
200
+ *
201
+ * ```ts ignore
202
+ * // script.ts
203
+ * import { expandGlob } from "@std/fs/expand-glob";
204
+ *
205
+ * await Array.fromAsync(expandGlob("*.ts", { followSymlinks: true }));
206
+ * // [
207
+ * // {
208
+ * // path: "/Users/user/folder/script.ts",
209
+ * // name: "script.ts",
210
+ * // isFile: true,
211
+ * // isDirectory: false,
212
+ * // isSymlink: false,
213
+ * // },
214
+ * // {
215
+ * // path: "/Users/user/folder/symlink",
216
+ * // name: "symlink",
217
+ * // isFile: true,
218
+ * // isDirectory: false,
219
+ * // isSymlink: true,
220
+ * // },
221
+ * // ]
222
+ * ```
223
+ */
224
+ async function* expandGlob(glob, options) {
225
+ let { root, exclude = [], includeDirs = true, extended = true, globstar = true, caseInsensitive = false, followSymlinks = false, canonicalize = true, } = options ?? {};
226
+ const { segments, isAbsolute: isGlobAbsolute, hasTrailingSep, winRoot, } = split((0, _to_path_string_js_1.toPathString)(glob));
227
+ root ??= isGlobAbsolute ? winRoot ?? "/" : Deno.cwd();
228
+ const globOptions = { extended, globstar, caseInsensitive };
229
+ const absRoot = isGlobAbsolute ? root : (0, resolve_js_1.resolve)(root); // root is always string here
230
+ const resolveFromRoot = (path) => (0, resolve_js_1.resolve)(absRoot, path);
231
+ const excludePatterns = exclude
232
+ .map(resolveFromRoot)
233
+ .map((s) => (0, glob_to_regexp_js_1.globToRegExp)(s, globOptions));
234
+ const shouldInclude = (path) => !excludePatterns.some((p) => !!path.match(p));
235
+ let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
236
+ while (segments.length > 0 && !(0, is_glob_js_1.isGlob)(segments[0])) {
237
+ const seg = segments.shift();
238
+ fixedRoot = (0, join_globs_js_1.joinGlobs)([fixedRoot, seg], globOptions);
239
+ }
240
+ let fixedRootInfo;
241
+ try {
242
+ fixedRootInfo = await (0, _create_walk_entry_js_1.createWalkEntry)(fixedRoot);
243
+ }
244
+ catch (error) {
245
+ return throwUnlessNotFound(error);
246
+ }
247
+ async function* advanceMatch(walkInfo, globSegment) {
248
+ if (!walkInfo.isDirectory) {
249
+ return;
250
+ }
251
+ else if (globSegment === "..") {
252
+ const parentPath = (0, join_globs_js_1.joinGlobs)([walkInfo.path, ".."], globOptions);
253
+ if (shouldInclude(parentPath)) {
254
+ return yield await (0, _create_walk_entry_js_1.createWalkEntry)(parentPath);
255
+ }
256
+ return;
257
+ }
258
+ else if (globSegment === "**") {
259
+ return yield* (0, walk_js_1.walk)(walkInfo.path, {
260
+ skip: excludePatterns,
261
+ maxDepth: globstar ? Infinity : 1,
262
+ followSymlinks,
263
+ canonicalize,
264
+ });
265
+ }
266
+ const globPattern = (0, glob_to_regexp_js_1.globToRegExp)(globSegment, globOptions);
267
+ for await (const walkEntry of (0, walk_js_1.walk)(walkInfo.path, {
268
+ maxDepth: 1,
269
+ skip: excludePatterns,
270
+ followSymlinks,
271
+ })) {
272
+ if (walkEntry.path !== walkInfo.path &&
273
+ walkEntry.name.match(globPattern)) {
274
+ yield walkEntry;
275
+ }
276
+ }
277
+ }
278
+ let currentMatches = [fixedRootInfo];
279
+ for (const segment of segments) {
280
+ // Advancing the list of current matches may introduce duplicates, so we
281
+ // pass everything through this Map.
282
+ const nextMatchMap = new Map();
283
+ await Promise.all(currentMatches.map(async (currentMatch) => {
284
+ for await (const nextMatch of advanceMatch(currentMatch, segment)) {
285
+ nextMatchMap.set(nextMatch.path, nextMatch);
286
+ }
287
+ }));
288
+ currentMatches = [...nextMatchMap.values()].sort(comparePath);
289
+ }
290
+ if (hasTrailingSep) {
291
+ currentMatches = currentMatches.filter((entry) => entry.isDirectory);
292
+ }
293
+ if (!includeDirs) {
294
+ currentMatches = currentMatches.filter((entry) => !entry.isDirectory);
295
+ }
296
+ yield* currentMatches;
297
+ }
298
+ /**
299
+ * Returns an iterator that yields each file path matching the given glob
300
+ * pattern. The file paths are relative to the provided `root` directory.
301
+ * If `root` is not provided, the current working directory is used.
302
+ * The `root` directory is not included in the yielded file paths.
303
+ *
304
+ * Requires the `--allow-read` flag.
305
+ *
306
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
307
+ * for more information on Deno's permissions system.
308
+ *
309
+ * @param glob The glob pattern to expand.
310
+ * @param options Additional options for the expansion.
311
+ *
312
+ * @returns An iterator that yields each walk entry matching the glob pattern.
313
+ *
314
+ * @example Usage
315
+ *
316
+ * File structure:
317
+ * ```
318
+ * folder
319
+ * ├── script.ts
320
+ * └── foo.ts
321
+ * ```
322
+ *
323
+ * ```ts ignore
324
+ * // script.ts
325
+ * import { expandGlobSync } from "@std/fs/expand-glob";
326
+ *
327
+ * const entries = [];
328
+ * for (const entry of expandGlobSync("*.ts")) {
329
+ * entries.push(entry);
330
+ * }
331
+ *
332
+ * entries[0]!.path; // "/Users/user/folder/script.ts"
333
+ * entries[0]!.name; // "script.ts"
334
+ * entries[0]!.isFile; // false
335
+ * entries[0]!.isDirectory; // true
336
+ * entries[0]!.isSymlink; // false
337
+ *
338
+ * entries[1]!.path; // "/Users/user/folder/foo.ts"
339
+ * entries[1]!.name; // "foo.ts"
340
+ * entries[1]!.isFile; // true
341
+ * entries[1]!.isDirectory; // false
342
+ * entries[1]!.isSymlink; // false
343
+ * ```
344
+ */
345
+ function* expandGlobSync(glob, options) {
346
+ let { root, exclude = [], includeDirs = true, extended = true, globstar = true, caseInsensitive = false, followSymlinks = false, canonicalize = true, } = options ?? {};
347
+ const { segments, isAbsolute: isGlobAbsolute, hasTrailingSep, winRoot, } = split((0, _to_path_string_js_1.toPathString)(glob));
348
+ root ??= isGlobAbsolute ? winRoot ?? "/" : Deno.cwd();
349
+ const globOptions = { extended, globstar, caseInsensitive };
350
+ const absRoot = isGlobAbsolute ? root : (0, resolve_js_1.resolve)(root); // root is always string here
351
+ const resolveFromRoot = (path) => (0, resolve_js_1.resolve)(absRoot, path);
352
+ const excludePatterns = exclude
353
+ .map(resolveFromRoot)
354
+ .map((s) => (0, glob_to_regexp_js_1.globToRegExp)(s, globOptions));
355
+ const shouldInclude = (path) => !excludePatterns.some((p) => !!path.match(p));
356
+ let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
357
+ while (segments.length > 0 && !(0, is_glob_js_1.isGlob)(segments[0])) {
358
+ const seg = segments.shift();
359
+ fixedRoot = (0, join_globs_js_1.joinGlobs)([fixedRoot, seg], globOptions);
360
+ }
361
+ let fixedRootInfo;
362
+ try {
363
+ fixedRootInfo = (0, _create_walk_entry_js_1.createWalkEntrySync)(fixedRoot);
364
+ }
365
+ catch (error) {
366
+ return throwUnlessNotFound(error);
367
+ }
368
+ function* advanceMatch(walkInfo, globSegment) {
369
+ if (!walkInfo.isDirectory) {
370
+ return;
371
+ }
372
+ else if (globSegment === "..") {
373
+ const parentPath = (0, join_globs_js_1.joinGlobs)([walkInfo.path, ".."], globOptions);
374
+ if (shouldInclude(parentPath)) {
375
+ return yield (0, _create_walk_entry_js_1.createWalkEntrySync)(parentPath);
376
+ }
377
+ return;
378
+ }
379
+ else if (globSegment === "**") {
380
+ return yield* (0, walk_js_1.walkSync)(walkInfo.path, {
381
+ skip: excludePatterns,
382
+ maxDepth: globstar ? Infinity : 1,
383
+ followSymlinks,
384
+ canonicalize,
385
+ });
386
+ }
387
+ const globPattern = (0, glob_to_regexp_js_1.globToRegExp)(globSegment, globOptions);
388
+ for (const walkEntry of (0, walk_js_1.walkSync)(walkInfo.path, {
389
+ maxDepth: 1,
390
+ skip: excludePatterns,
391
+ followSymlinks,
392
+ })) {
393
+ if (walkEntry.path !== walkInfo.path &&
394
+ walkEntry.name.match(globPattern)) {
395
+ yield walkEntry;
396
+ }
397
+ }
398
+ }
399
+ let currentMatches = [fixedRootInfo];
400
+ for (const segment of segments) {
401
+ // Advancing the list of current matches may introduce duplicates, so we
402
+ // pass everything through this Map.
403
+ const nextMatchMap = new Map();
404
+ for (const currentMatch of currentMatches) {
405
+ for (const nextMatch of advanceMatch(currentMatch, segment)) {
406
+ nextMatchMap.set(nextMatch.path, nextMatch);
407
+ }
408
+ }
409
+ currentMatches = [...nextMatchMap.values()].sort(comparePath);
410
+ }
411
+ if (hasTrailingSep) {
412
+ currentMatches = currentMatches.filter((entry) => entry.isDirectory);
413
+ }
414
+ if (!includeDirs) {
415
+ currentMatches = currentMatches.filter((entry) => !entry.isDirectory);
416
+ }
417
+ yield* currentMatches;
418
+ }