@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,66 @@
1
+ /** Disposition of the delimiter for {@linkcode DelimiterStreamOptions}. */
2
+ export type DelimiterDisposition =
3
+ /** Include delimiter in the found chunk. */
4
+ "suffix"
5
+ /** Include delimiter in the subsequent chunk. */
6
+ | "prefix"
7
+ /** Discard the delimiter. */
8
+ | "discard";
9
+ /** Options for {@linkcode DelimiterStream}. */
10
+ export interface DelimiterStreamOptions {
11
+ /**
12
+ * Disposition of the delimiter.
13
+ *
14
+ * @default {"discard"}
15
+ */
16
+ disposition?: DelimiterDisposition;
17
+ }
18
+ /**
19
+ * Divide a stream into chunks delimited by a given byte sequence.
20
+ *
21
+ * If you are working with a stream of `string`, consider using {@linkcode TextDelimiterStream}.
22
+ *
23
+ * @example
24
+ * Divide a CSV stream by commas, discarding the commas:
25
+ * ```ts
26
+ * import { DelimiterStream } from "@std/streams/delimiter-stream";
27
+ * import { assertEquals } from "@std/assert";
28
+ *
29
+ * const inputStream = ReadableStream.from(["foo,bar", ",baz"]);
30
+ *
31
+ * const transformed = inputStream.pipeThrough(new TextEncoderStream())
32
+ * .pipeThrough(new DelimiterStream(new TextEncoder().encode(",")))
33
+ * .pipeThrough(new TextDecoderStream());
34
+ *
35
+ * assertEquals(await Array.fromAsync(transformed), ["foo", "bar", "baz"]);
36
+ * ```
37
+ *
38
+ * @example
39
+ * Divide a stream after semi-colons, keeping the semicolons in the output:
40
+ * ```ts
41
+ * import { DelimiterStream } from "@std/streams/delimiter-stream";
42
+ * import { assertEquals } from "@std/assert";
43
+ *
44
+ * const inputStream = ReadableStream.from(["foo;", "bar;baz", ";"]);
45
+ *
46
+ * const transformed = inputStream.pipeThrough(new TextEncoderStream())
47
+ * .pipeThrough(
48
+ * new DelimiterStream(new TextEncoder().encode(";"), {
49
+ * disposition: "suffix",
50
+ * }),
51
+ * ).pipeThrough(new TextDecoderStream());
52
+ *
53
+ * assertEquals(await Array.fromAsync(transformed), ["foo;", "bar;", "baz;"]);
54
+ * ```
55
+ */
56
+ export declare class DelimiterStream extends TransformStream<Uint8Array, Uint8Array> {
57
+ #private;
58
+ /**
59
+ * Constructs a new instance.
60
+ *
61
+ * @param delimiter A delimiter to split the stream by.
62
+ * @param options Options for the delimiter stream.
63
+ */
64
+ constructor(delimiter: Uint8Array, options?: DelimiterStreamOptions);
65
+ }
66
+ //# sourceMappingURL=delimiter_stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delimiter_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.ts"],"names":[],"mappings":"AAMA,2EAA2E;AAC3E,MAAM,MAAM,oBAAoB;AAC9B,4CAA4C;AAC1C,QAAQ;AACV,iDAAiD;GAC/C,QAAQ;AACV,6BAA6B;GAC3B,SAAS,CACZ;AAED,+CAA+C;AAC/C,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,eAAgB,SAAQ,eAAe,CAAC,UAAU,EAAE,UAAU,CAAC;;IAO1E;;;;;OAKG;gBAED,SAAS,EAAE,UAAU,EACrB,OAAO,GAAE,sBAA2B;CAkOvC"}
@@ -0,0 +1,295 @@
1
+ "use strict";
2
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
5
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
6
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
7
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
8
+ };
9
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
10
+ if (kind === "m") throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
12
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
13
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
14
+ };
15
+ var _DelimiterStream_instances, _DelimiterStream_bufs, _DelimiterStream_delimiter, _DelimiterStream_matchIndex, _DelimiterStream_delimLPS, _DelimiterStream_disp, _DelimiterStream_handle, _DelimiterStream_handleChar, _DelimiterStream_flush;
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.DelimiterStream = void 0;
18
+ const concat_js_1 = require("../../bytes/1.0.6/concat.js");
19
+ const _common_js_1 = require("./_common.js");
20
+ /**
21
+ * Divide a stream into chunks delimited by a given byte sequence.
22
+ *
23
+ * If you are working with a stream of `string`, consider using {@linkcode TextDelimiterStream}.
24
+ *
25
+ * @example
26
+ * Divide a CSV stream by commas, discarding the commas:
27
+ * ```ts
28
+ * import { DelimiterStream } from "@std/streams/delimiter-stream";
29
+ * import { assertEquals } from "@std/assert";
30
+ *
31
+ * const inputStream = ReadableStream.from(["foo,bar", ",baz"]);
32
+ *
33
+ * const transformed = inputStream.pipeThrough(new TextEncoderStream())
34
+ * .pipeThrough(new DelimiterStream(new TextEncoder().encode(",")))
35
+ * .pipeThrough(new TextDecoderStream());
36
+ *
37
+ * assertEquals(await Array.fromAsync(transformed), ["foo", "bar", "baz"]);
38
+ * ```
39
+ *
40
+ * @example
41
+ * Divide a stream after semi-colons, keeping the semicolons in the output:
42
+ * ```ts
43
+ * import { DelimiterStream } from "@std/streams/delimiter-stream";
44
+ * import { assertEquals } from "@std/assert";
45
+ *
46
+ * const inputStream = ReadableStream.from(["foo;", "bar;baz", ";"]);
47
+ *
48
+ * const transformed = inputStream.pipeThrough(new TextEncoderStream())
49
+ * .pipeThrough(
50
+ * new DelimiterStream(new TextEncoder().encode(";"), {
51
+ * disposition: "suffix",
52
+ * }),
53
+ * ).pipeThrough(new TextDecoderStream());
54
+ *
55
+ * assertEquals(await Array.fromAsync(transformed), ["foo;", "bar;", "baz;"]);
56
+ * ```
57
+ */
58
+ class DelimiterStream extends TransformStream {
59
+ /**
60
+ * Constructs a new instance.
61
+ *
62
+ * @param delimiter A delimiter to split the stream by.
63
+ * @param options Options for the delimiter stream.
64
+ */
65
+ constructor(delimiter, options = {}) {
66
+ super({
67
+ transform: (chunk, controller) => delimiter.length === 1
68
+ ? __classPrivateFieldGet(this, _DelimiterStream_instances, "m", _DelimiterStream_handleChar).call(this, chunk, controller)
69
+ : __classPrivateFieldGet(this, _DelimiterStream_instances, "m", _DelimiterStream_handle).call(this, chunk, controller),
70
+ flush: (controller) => __classPrivateFieldGet(this, _DelimiterStream_instances, "m", _DelimiterStream_flush).call(this, controller),
71
+ });
72
+ _DelimiterStream_instances.add(this);
73
+ _DelimiterStream_bufs.set(this, []);
74
+ _DelimiterStream_delimiter.set(this, void 0);
75
+ _DelimiterStream_matchIndex.set(this, 0);
76
+ _DelimiterStream_delimLPS.set(this, void 0);
77
+ _DelimiterStream_disp.set(this, void 0);
78
+ __classPrivateFieldSet(this, _DelimiterStream_delimiter, delimiter, "f");
79
+ __classPrivateFieldSet(this, _DelimiterStream_delimLPS, delimiter.length > 1 ? (0, _common_js_1.createLPS)(delimiter) : null, "f");
80
+ __classPrivateFieldSet(this, _DelimiterStream_disp, options.disposition ?? "discard", "f");
81
+ }
82
+ }
83
+ exports.DelimiterStream = DelimiterStream;
84
+ _DelimiterStream_bufs = new WeakMap(), _DelimiterStream_delimiter = new WeakMap(), _DelimiterStream_matchIndex = new WeakMap(), _DelimiterStream_delimLPS = new WeakMap(), _DelimiterStream_disp = new WeakMap(), _DelimiterStream_instances = new WeakSet(), _DelimiterStream_handle = function _DelimiterStream_handle(chunk, controller) {
85
+ const bufs = __classPrivateFieldGet(this, _DelimiterStream_bufs, "f");
86
+ const length = chunk.byteLength;
87
+ const disposition = __classPrivateFieldGet(this, _DelimiterStream_disp, "f");
88
+ const delimiter = __classPrivateFieldGet(this, _DelimiterStream_delimiter, "f");
89
+ const delimLen = delimiter.length;
90
+ const lps = __classPrivateFieldGet(this, _DelimiterStream_delimLPS, "f");
91
+ let chunkStart = 0;
92
+ let matchIndex = __classPrivateFieldGet(this, _DelimiterStream_matchIndex, "f");
93
+ let inspectIndex = 0;
94
+ while (inspectIndex < length) {
95
+ if (chunk[inspectIndex] === delimiter[matchIndex]) {
96
+ // Next byte matched our next delimiter byte
97
+ inspectIndex++;
98
+ matchIndex++;
99
+ if (matchIndex === delimLen) {
100
+ // Full match
101
+ matchIndex = 0;
102
+ const delimiterStartIndex = inspectIndex - delimLen;
103
+ const delimitedChunkEnd = disposition === "suffix"
104
+ ? inspectIndex
105
+ : delimiterStartIndex;
106
+ if (delimitedChunkEnd <= 0 && bufs.length === 0) {
107
+ // Our chunk started with a delimiter and no previous chunks exist:
108
+ // Enqueue an empty chunk.
109
+ controller.enqueue(new Uint8Array());
110
+ chunkStart = disposition === "prefix" ? 0 : inspectIndex;
111
+ }
112
+ else if (delimitedChunkEnd > 0 && bufs.length === 0) {
113
+ // No previous chunks, slice from current chunk.
114
+ controller.enqueue(chunk.subarray(chunkStart, delimitedChunkEnd));
115
+ // Our chunk may have more than one delimiter; we must remember where
116
+ // the next delimited chunk begins.
117
+ chunkStart = disposition === "prefix"
118
+ ? delimiterStartIndex
119
+ : inspectIndex;
120
+ }
121
+ else if (delimitedChunkEnd === 0 && bufs.length > 0) {
122
+ // Our chunk started with a delimiter, previous chunks are passed as
123
+ // they are (with concatenation).
124
+ if (bufs.length === 1) {
125
+ // Concat not needed when a single buffer is passed.
126
+ controller.enqueue(bufs[0]);
127
+ }
128
+ else {
129
+ controller.enqueue((0, concat_js_1.concat)(bufs));
130
+ }
131
+ // Drop all previous chunks.
132
+ bufs.length = 0;
133
+ if (disposition !== "prefix") {
134
+ // suffix or discard: The next chunk starts where our inspection finished.
135
+ // We should only ever end up here with a discard disposition as
136
+ // for a suffix disposition this branch would mean that the previous
137
+ // chunk ended with a full match but was not enqueued.
138
+ chunkStart = inspectIndex;
139
+ }
140
+ else {
141
+ chunkStart = 0;
142
+ }
143
+ }
144
+ else if (delimitedChunkEnd < 0 && bufs.length > 0) {
145
+ // Our chunk started by finishing a partial delimiter match.
146
+ const lastIndex = bufs.length - 1;
147
+ const last = bufs[lastIndex];
148
+ const lastSliceIndex = last.byteLength + delimitedChunkEnd;
149
+ const lastSliced = last.subarray(0, lastSliceIndex);
150
+ if (lastIndex === 0) {
151
+ controller.enqueue(lastSliced);
152
+ }
153
+ else {
154
+ bufs[lastIndex] = lastSliced;
155
+ controller.enqueue((0, concat_js_1.concat)(bufs));
156
+ }
157
+ bufs.length = 0;
158
+ if (disposition === "prefix") {
159
+ // Must keep last bytes of last chunk.
160
+ bufs.push(last.subarray(lastSliceIndex));
161
+ chunkStart = 0;
162
+ }
163
+ else {
164
+ chunkStart = inspectIndex;
165
+ }
166
+ }
167
+ else if (delimitedChunkEnd > 0 && bufs.length > 0) {
168
+ // Previous chunks and current chunk together form a delimited chunk.
169
+ const chunkSliced = chunk.subarray(chunkStart, delimitedChunkEnd);
170
+ const result = (0, concat_js_1.concat)([...bufs, chunkSliced]);
171
+ bufs.length = 0;
172
+ controller.enqueue(result);
173
+ chunkStart = disposition === "prefix"
174
+ ? delimitedChunkEnd
175
+ : inspectIndex;
176
+ }
177
+ else {
178
+ throw new Error("This should be unreachable, please file a bug report against Deno at https://github.com/denoland/std/issues");
179
+ }
180
+ }
181
+ }
182
+ else if (matchIndex === 0) {
183
+ // No match ongoing, keep going through the buffer.
184
+ inspectIndex++;
185
+ }
186
+ else {
187
+ // Ongoing match: Degrade to the previous possible match.
188
+ // eg. If we're looking for 'AAB' and had matched 'AA' previously
189
+ // but now got a new 'A', then we'll drop down to having matched
190
+ // just 'A'. The while loop will turn around again and we'll rematch
191
+ // to 'AA' and proceed onwards to try and match on 'B' again.
192
+ matchIndex = lps[matchIndex - 1];
193
+ }
194
+ }
195
+ // Save match index.
196
+ __classPrivateFieldSet(this, _DelimiterStream_matchIndex, matchIndex, "f");
197
+ if (chunkStart === 0) {
198
+ bufs.push(chunk);
199
+ }
200
+ else if (chunkStart < length) {
201
+ // If we matched partially somewhere in the middle of our chunk
202
+ // then the remnants should be pushed into buffers.
203
+ bufs.push(chunk.subarray(chunkStart));
204
+ }
205
+ }, _DelimiterStream_handleChar = function _DelimiterStream_handleChar(chunk, controller) {
206
+ const bufs = __classPrivateFieldGet(this, _DelimiterStream_bufs, "f");
207
+ const length = chunk.byteLength;
208
+ const disposition = __classPrivateFieldGet(this, _DelimiterStream_disp, "f");
209
+ const delimiter = __classPrivateFieldGet(this, _DelimiterStream_delimiter, "f")[0];
210
+ let chunkStart = 0;
211
+ let inspectIndex = 0;
212
+ while (inspectIndex < length) {
213
+ if (chunk[inspectIndex] === delimiter) {
214
+ // Next byte matched our next delimiter
215
+ inspectIndex++;
216
+ /**
217
+ * Always non-negative
218
+ */
219
+ const delimitedChunkEnd = disposition === "suffix"
220
+ ? inspectIndex
221
+ : inspectIndex - 1;
222
+ if (delimitedChunkEnd === 0 && bufs.length === 0) {
223
+ // Our chunk started with a delimiter and no previous chunks exist:
224
+ // Enqueue an empty chunk.
225
+ controller.enqueue(new Uint8Array());
226
+ chunkStart = disposition === "prefix" ? 0 : 1;
227
+ }
228
+ else if (delimitedChunkEnd > 0 && bufs.length === 0) {
229
+ // No previous chunks, slice from current chunk.
230
+ controller.enqueue(chunk.subarray(chunkStart, delimitedChunkEnd));
231
+ // Our chunk may have more than one delimiter; we must remember where
232
+ // the next delimited chunk begins.
233
+ chunkStart = disposition === "prefix"
234
+ ? inspectIndex - 1
235
+ : inspectIndex;
236
+ }
237
+ else if (delimitedChunkEnd === 0 && bufs.length > 0) {
238
+ // Our chunk started with a delimiter, previous chunks are passed as
239
+ // they are (with concatenation).
240
+ if (bufs.length === 1) {
241
+ // Concat not needed when a single buffer is passed.
242
+ controller.enqueue(bufs[0]);
243
+ }
244
+ else {
245
+ controller.enqueue((0, concat_js_1.concat)(bufs));
246
+ }
247
+ // Drop all previous chunks.
248
+ bufs.length = 0;
249
+ if (disposition !== "prefix") {
250
+ // suffix or discard: The next chunk starts where our inspection finished.
251
+ // We should only ever end up here with a discard disposition as
252
+ // for a suffix disposition this branch would mean that the previous
253
+ // chunk ended with a full match but was not enqueued.
254
+ chunkStart = inspectIndex;
255
+ }
256
+ }
257
+ else if (delimitedChunkEnd > 0 && bufs.length > 0) {
258
+ // Previous chunks and current chunk together form a delimited chunk.
259
+ const chunkSliced = chunk.subarray(chunkStart, delimitedChunkEnd);
260
+ const result = (0, concat_js_1.concat)([...bufs, chunkSliced]);
261
+ bufs.length = 0;
262
+ chunkStart = disposition === "prefix"
263
+ ? delimitedChunkEnd
264
+ : inspectIndex;
265
+ controller.enqueue(result);
266
+ }
267
+ else {
268
+ throw new Error("This should be unreachable, please file a bug report against Deno at https://github.com/denoland/std/issues");
269
+ }
270
+ }
271
+ else {
272
+ inspectIndex++;
273
+ }
274
+ }
275
+ if (chunkStart === 0) {
276
+ bufs.push(chunk);
277
+ }
278
+ else if (chunkStart < length) {
279
+ // If we matched partially somewhere in the middle of our chunk
280
+ // then the remnants should be pushed into buffers.
281
+ bufs.push(chunk.subarray(chunkStart));
282
+ }
283
+ }, _DelimiterStream_flush = function _DelimiterStream_flush(controller) {
284
+ const bufs = __classPrivateFieldGet(this, _DelimiterStream_bufs, "f");
285
+ const length = bufs.length;
286
+ if (length === 0) {
287
+ controller.enqueue(new Uint8Array());
288
+ }
289
+ else if (length === 1) {
290
+ controller.enqueue(bufs[0]);
291
+ }
292
+ else {
293
+ controller.enqueue((0, concat_js_1.concat)(bufs));
294
+ }
295
+ };
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Merge multiple streams into a single one, taking order into account, and each
3
+ * stream will wait for a chunk to enqueue before the next stream can append
4
+ * another chunk.
5
+ *
6
+ * If a stream ends before other ones, the others will be cancelled after the
7
+ * last chunk of said stream is read. See the examples below for more
8
+ * comprehensible information. If you want to continue reading the other streams
9
+ * even after one of them ends, use {@linkcode zipReadableStreams}.
10
+ *
11
+ * @typeparam T The type of the chunks in the input streams.
12
+ * @param streams An iterable of `ReadableStream`s to merge.
13
+ * @returns A `ReadableStream` that will emit the zipped chunks
14
+ *
15
+ * @example Zip 2 streams with the same length
16
+ * ```ts
17
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
18
+ * import { assertEquals } from "@std/assert";
19
+ *
20
+ * const stream1 = ReadableStream.from(["1", "2", "3"]);
21
+ * const stream2 = ReadableStream.from(["a", "b", "c"]);
22
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
23
+ *
24
+ * assertEquals(
25
+ * await Array.fromAsync(zippedStream),
26
+ * ["1", "a", "2", "b", "3", "c"],
27
+ * );
28
+ * ```
29
+ *
30
+ * @example Zip 2 streams with different length (first one is shorter)
31
+ * ```ts
32
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
33
+ * import { assertEquals } from "@std/assert";
34
+ *
35
+ * const stream1 = ReadableStream.from(["1", "2"]);
36
+ * const stream2 = ReadableStream.from(["a", "b", "c", "d"]);
37
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
38
+ *
39
+ * // The first stream ends before the second one. When the first stream ends,
40
+ * // the second one is cancelled and no more data is read or added to the
41
+ * // zipped stream.
42
+ * assertEquals(
43
+ * await Array.fromAsync(zippedStream),
44
+ * ["1", "a", "2", "b"],
45
+ * );
46
+ * ```
47
+ *
48
+ * @example Zip 2 streams with different length (first one is longer)
49
+ * ```ts
50
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
51
+ * import { assertEquals } from "@std/assert";
52
+ *
53
+ * const stream1 = ReadableStream.from(["1", "2", "3", "4"]);
54
+ * const stream2 = ReadableStream.from(["a", "b"]);
55
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
56
+ *
57
+ * // The second stream ends before the first one. When the second stream ends,
58
+ * // the first one is cancelled, but the chunk of "3" is already read so it
59
+ * // is added to the zipped stream.
60
+ * assertEquals(
61
+ * await Array.fromAsync(zippedStream),
62
+ * ["1", "a", "2", "b", "3"],
63
+ * );
64
+ * ```
65
+ *
66
+ * @example Zip 3 streams
67
+ * ```ts
68
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
69
+ * import { assertEquals } from "@std/assert";
70
+ *
71
+ * const stream1 = ReadableStream.from(["1"]);
72
+ * const stream2 = ReadableStream.from(["a", "b"]);
73
+ * const stream3 = ReadableStream.from(["A", "B", "C"]);
74
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2, stream3);
75
+ *
76
+ * assertEquals(
77
+ * await Array.fromAsync(zippedStream),
78
+ * ["1", "a", "A"],
79
+ * );
80
+ * ```
81
+ */
82
+ export declare function earlyZipReadableStreams<T>(...streams: ReadableStream<T>[]): ReadableStream<T>;
83
+ //# sourceMappingURL=early_zip_readable_streams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"early_zip_readable_streams.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,GAAG,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,GAC9B,cAAc,CAAC,CAAC,CAAC,CAsBnB"}
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.earlyZipReadableStreams = earlyZipReadableStreams;
6
+ /**
7
+ * Merge multiple streams into a single one, taking order into account, and each
8
+ * stream will wait for a chunk to enqueue before the next stream can append
9
+ * another chunk.
10
+ *
11
+ * If a stream ends before other ones, the others will be cancelled after the
12
+ * last chunk of said stream is read. See the examples below for more
13
+ * comprehensible information. If you want to continue reading the other streams
14
+ * even after one of them ends, use {@linkcode zipReadableStreams}.
15
+ *
16
+ * @typeparam T The type of the chunks in the input streams.
17
+ * @param streams An iterable of `ReadableStream`s to merge.
18
+ * @returns A `ReadableStream` that will emit the zipped chunks
19
+ *
20
+ * @example Zip 2 streams with the same length
21
+ * ```ts
22
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
23
+ * import { assertEquals } from "@std/assert";
24
+ *
25
+ * const stream1 = ReadableStream.from(["1", "2", "3"]);
26
+ * const stream2 = ReadableStream.from(["a", "b", "c"]);
27
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
28
+ *
29
+ * assertEquals(
30
+ * await Array.fromAsync(zippedStream),
31
+ * ["1", "a", "2", "b", "3", "c"],
32
+ * );
33
+ * ```
34
+ *
35
+ * @example Zip 2 streams with different length (first one is shorter)
36
+ * ```ts
37
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
38
+ * import { assertEquals } from "@std/assert";
39
+ *
40
+ * const stream1 = ReadableStream.from(["1", "2"]);
41
+ * const stream2 = ReadableStream.from(["a", "b", "c", "d"]);
42
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
43
+ *
44
+ * // The first stream ends before the second one. When the first stream ends,
45
+ * // the second one is cancelled and no more data is read or added to the
46
+ * // zipped stream.
47
+ * assertEquals(
48
+ * await Array.fromAsync(zippedStream),
49
+ * ["1", "a", "2", "b"],
50
+ * );
51
+ * ```
52
+ *
53
+ * @example Zip 2 streams with different length (first one is longer)
54
+ * ```ts
55
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
56
+ * import { assertEquals } from "@std/assert";
57
+ *
58
+ * const stream1 = ReadableStream.from(["1", "2", "3", "4"]);
59
+ * const stream2 = ReadableStream.from(["a", "b"]);
60
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2);
61
+ *
62
+ * // The second stream ends before the first one. When the second stream ends,
63
+ * // the first one is cancelled, but the chunk of "3" is already read so it
64
+ * // is added to the zipped stream.
65
+ * assertEquals(
66
+ * await Array.fromAsync(zippedStream),
67
+ * ["1", "a", "2", "b", "3"],
68
+ * );
69
+ * ```
70
+ *
71
+ * @example Zip 3 streams
72
+ * ```ts
73
+ * import { earlyZipReadableStreams } from "@std/streams/early-zip-readable-streams";
74
+ * import { assertEquals } from "@std/assert";
75
+ *
76
+ * const stream1 = ReadableStream.from(["1"]);
77
+ * const stream2 = ReadableStream.from(["a", "b"]);
78
+ * const stream3 = ReadableStream.from(["A", "B", "C"]);
79
+ * const zippedStream = earlyZipReadableStreams(stream1, stream2, stream3);
80
+ *
81
+ * assertEquals(
82
+ * await Array.fromAsync(zippedStream),
83
+ * ["1", "a", "A"],
84
+ * );
85
+ * ```
86
+ */
87
+ function earlyZipReadableStreams(...streams) {
88
+ const readers = streams.map((stream) => stream.getReader());
89
+ return new ReadableStream({
90
+ async pull(controller) {
91
+ for (let i = 0; i < readers.length; ++i) {
92
+ const { done, value } = await readers[i].read();
93
+ if (done) {
94
+ await Promise.all(readers.map((reader) => reader.cancel(`Stream at index ${i} ended`)));
95
+ controller.close();
96
+ return;
97
+ }
98
+ controller.enqueue(value);
99
+ }
100
+ },
101
+ async cancel(reason) {
102
+ await Promise.all(readers.map((reader) => reader.cancel(reason)));
103
+ },
104
+ });
105
+ }
@@ -0,0 +1,101 @@
1
+ /** Options for {@linkcode LimitedBytesTransformStream}. */
2
+ export interface LimitedBytesTransformStreamOptions {
3
+ /**
4
+ * If true, a {@linkcode RangeError} is thrown when queueing the current chunk
5
+ * would exceed the specified size limit.
6
+ *
7
+ * @default {false}
8
+ */
9
+ error?: boolean;
10
+ }
11
+ /**
12
+ * A {@linkcode TransformStream} that will only read & enqueue chunks until the
13
+ * total amount of enqueued data exceeds `size`. The last chunk that would
14
+ * exceed the limit will NOT be enqueued, in which case a {@linkcode RangeError}
15
+ * is thrown when `options.error` is set to true, otherwise the stream is just
16
+ * terminated.
17
+ *
18
+ * @example `size` is equal to the total byte length of the chunks
19
+ * ```ts
20
+ * import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
21
+ * import { assertEquals } from "@std/assert";
22
+ *
23
+ * const stream = ReadableStream.from(["1234", "5678"]);
24
+ * const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
25
+ * new LimitedBytesTransformStream(8),
26
+ * ).pipeThrough(new TextDecoderStream());
27
+ *
28
+ * assertEquals(
29
+ * await Array.fromAsync(transformed),
30
+ * ["1234", "5678"],
31
+ * );
32
+ * ```
33
+ *
34
+ * @example `size` is less than the total byte length of the chunks, and at the
35
+ * boundary of the chunks
36
+ * ```ts
37
+ * import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
38
+ * import { assertEquals } from "@std/assert";
39
+ *
40
+ * const stream = ReadableStream.from(["1234", "5678"]);
41
+ * const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
42
+ * // `4` is the boundary of the chunks
43
+ * new LimitedBytesTransformStream(4),
44
+ * ).pipeThrough(new TextDecoderStream());
45
+ *
46
+ * assertEquals(
47
+ * await Array.fromAsync(transformed),
48
+ * // The first chunk was read, but the second chunk was not
49
+ * ["1234"],
50
+ * );
51
+ * ```
52
+ *
53
+ * @example `size` is less than the total byte length of the chunks, and not at
54
+ * the boundary of the chunks
55
+ * ```ts
56
+ * import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
57
+ * import { assertEquals } from "@std/assert";
58
+ *
59
+ * const stream = ReadableStream.from(["1234", "5678"]);
60
+ * const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
61
+ * // `5` is not the boundary of the chunks
62
+ * new LimitedBytesTransformStream(5),
63
+ * ).pipeThrough(new TextDecoderStream());
64
+ *
65
+ * assertEquals(
66
+ * await Array.fromAsync(transformed),
67
+ * // The second chunk was not read because it would exceed the specified size
68
+ * ["1234"],
69
+ * );
70
+ * ```
71
+ *
72
+ * @example Throw error when the total byte length of the chunks exceeds the
73
+ * specified size
74
+ *
75
+ * To do so, set `options.error` to `true`.
76
+ *
77
+ * ```ts
78
+ * import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
79
+ * import { assertRejects } from "@std/assert";
80
+ *
81
+ * const stream = ReadableStream.from(["1234", "5678"]);
82
+ * const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
83
+ * new LimitedBytesTransformStream(5, { error: true }),
84
+ * ).pipeThrough(new TextDecoderStream());
85
+ *
86
+ * await assertRejects(async () => {
87
+ * await Array.fromAsync(transformed);
88
+ * }, RangeError);
89
+ * ```
90
+ */
91
+ export declare class LimitedBytesTransformStream extends TransformStream<Uint8Array, Uint8Array> {
92
+ #private;
93
+ /**
94
+ * Constructs a new instance.
95
+ *
96
+ * @param size A size limit in bytes.
97
+ * @param options Options for the stream.
98
+ */
99
+ constructor(size: number, options?: LimitedBytesTransformStreamOptions);
100
+ }
101
+ //# sourceMappingURL=limited_bytes_transform_stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limited_bytes_transform_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.ts"],"names":[],"mappings":"AAGA,2DAA2D;AAC3D,MAAM,WAAW,kCAAkC;IACjD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,qBAAa,2BACX,SAAQ,eAAe,CAAC,UAAU,EAAE,UAAU,CAAC;;IAG/C;;;;;OAKG;gBAED,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,kCAAqD;CAiBjE"}