@effectionx/jsonl-store 0.1.2 → 0.3.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 (726) hide show
  1. package/README.md +4 -4
  2. package/esm/_dnt.polyfills.d.ts +120 -0
  3. package/esm/_dnt.polyfills.d.ts.map +1 -0
  4. package/esm/_dnt.polyfills.js +247 -0
  5. package/esm/_dnt.shims.d.ts +2 -0
  6. package/esm/_dnt.shims.d.ts.map +1 -0
  7. package/esm/_dnt.shims.js +57 -0
  8. package/esm/context.d.ts.map +1 -1
  9. package/esm/context.js +3 -2
  10. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  11. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +2 -0
  13. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  14. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +32 -0
  16. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  17. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +50 -0
  19. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +13 -0
  20. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +33 -0
  22. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +12 -0
  23. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +20 -0
  25. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +10 -0
  26. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +17 -0
  28. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +12 -0
  29. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +25 -0
  31. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +9 -0
  32. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +13 -0
  34. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +117 -0
  35. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.js +312 -0
  37. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +48 -0
  38. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +86 -0
  40. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +49 -0
  41. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +101 -0
  43. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +47 -0
  44. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +89 -0
  46. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +49 -0
  47. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +60 -0
  49. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +70 -0
  50. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +155 -0
  52. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +52 -0
  53. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.js +67 -0
  55. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +219 -0
  56. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +269 -0
  58. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +267 -0
  59. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +439 -0
  61. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +29 -0
  62. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.js +29 -0
  64. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts +86 -0
  65. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@std/fs/1.0.20/move.js +141 -0
  67. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +777 -0
  68. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.js +845 -0
  70. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  71. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
  73. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  74. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
  76. package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts +4 -0
  77. package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@std/json/1.0.2/_common.js +11 -0
  79. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +70 -0
  80. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +196 -0
  82. package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts +23 -0
  83. package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +1 -0
  84. package/esm/deps/jsr.io/@std/json/1.0.2/mod.js +23 -0
  85. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +53 -0
  86. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +1 -0
  87. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.js +66 -0
  88. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +95 -0
  89. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +88 -0
  91. package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts +5 -0
  92. package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +1 -0
  93. package/esm/deps/jsr.io/@std/json/1.0.2/types.js +3 -0
  94. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
  95. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
  96. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +7 -0
  97. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
  98. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
  99. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +40 -0
  100. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
  101. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
  102. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +23 -0
  103. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
  104. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
  105. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +46 -0
  106. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
  107. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
  108. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +8 -0
  109. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
  110. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
  111. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +19 -0
  112. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
  113. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
  114. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +9 -0
  115. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
  116. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
  117. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +234 -0
  118. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
  119. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
  120. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +8 -0
  121. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
  122. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
  123. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +77 -0
  124. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
  125. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
  126. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +9 -0
  127. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
  128. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
  129. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +19 -0
  130. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
  131. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
  132. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +15 -0
  133. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
  134. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
  135. package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +35 -0
  136. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
  137. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
  138. package/esm/deps/jsr.io/@std/path/1.1.3/common.js +33 -0
  139. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
  140. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
  141. package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +17 -0
  142. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
  143. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
  144. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +28 -0
  145. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
  146. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
  147. package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +28 -0
  148. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
  149. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
  150. package/esm/deps/jsr.io/@std/path/1.1.3/format.js +27 -0
  151. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
  152. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
  153. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +28 -0
  154. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
  155. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
  156. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +83 -0
  157. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
  158. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
  159. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +28 -0
  160. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
  161. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
  162. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +42 -0
  163. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
  164. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
  165. package/esm/deps/jsr.io/@std/path/1.1.3/join.js +29 -0
  166. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
  167. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
  168. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +34 -0
  169. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
  170. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
  171. package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +216 -0
  172. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
  173. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
  174. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +32 -0
  175. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
  176. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
  177. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +35 -0
  178. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
  179. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
  180. package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +39 -0
  181. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
  182. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
  183. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +8 -0
  184. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
  185. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
  186. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +52 -0
  187. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
  188. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
  189. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +14 -0
  190. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
  191. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
  192. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +64 -0
  193. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
  194. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
  195. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +93 -0
  196. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
  197. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
  198. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +28 -0
  199. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
  200. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
  201. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +21 -0
  202. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
  203. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
  204. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +82 -0
  205. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
  206. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
  207. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +23 -0
  208. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
  209. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
  210. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +45 -0
  211. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
  212. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
  213. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +40 -0
  214. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
  215. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
  216. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +58 -0
  217. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
  218. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
  219. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +32 -0
  220. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
  221. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
  222. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +115 -0
  223. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
  224. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
  225. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +106 -0
  226. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
  227. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
  228. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +59 -0
  229. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
  230. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
  231. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +27 -0
  232. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
  233. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
  234. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +20 -0
  235. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
  236. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
  237. package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +30 -0
  238. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
  239. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
  240. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +30 -0
  241. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
  242. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
  243. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +28 -0
  244. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
  245. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
  246. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +29 -0
  247. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
  248. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
  249. package/esm/deps/jsr.io/@std/path/1.1.3/types.js +3 -0
  250. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
  251. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
  252. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +15 -0
  253. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
  254. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
  255. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +47 -0
  256. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
  257. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
  258. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +14 -0
  259. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
  260. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
  261. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +113 -0
  262. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
  263. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
  264. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +82 -0
  265. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
  266. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
  267. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +28 -0
  268. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
  269. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
  270. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +30 -0
  271. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
  272. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
  273. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +82 -0
  274. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
  275. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
  276. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +38 -0
  277. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
  278. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
  279. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +77 -0
  280. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
  281. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
  282. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +41 -0
  283. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
  284. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
  285. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +135 -0
  286. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
  287. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
  288. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +32 -0
  289. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
  290. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
  291. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +176 -0
  292. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
  293. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
  294. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +131 -0
  295. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
  296. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
  297. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +154 -0
  298. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
  299. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
  300. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +34 -0
  301. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
  302. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
  303. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +49 -0
  304. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +5 -0
  305. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +1 -0
  306. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.js +27 -0
  307. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +300 -0
  308. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +1 -0
  309. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.js +411 -0
  310. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +44 -0
  311. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +1 -0
  312. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +85 -0
  313. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +27 -0
  314. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +1 -0
  315. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +48 -0
  316. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +66 -0
  317. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +1 -0
  318. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +291 -0
  319. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +83 -0
  320. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +1 -0
  321. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +102 -0
  322. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +101 -0
  323. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +1 -0
  324. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +122 -0
  325. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +84 -0
  326. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +1 -0
  327. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +106 -0
  328. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +38 -0
  329. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +1 -0
  330. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +69 -0
  331. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +35 -0
  332. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +1 -0
  333. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.js +35 -0
  334. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +58 -0
  335. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +1 -0
  336. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +123 -0
  337. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +72 -0
  338. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +1 -0
  339. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +107 -0
  340. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +22 -0
  341. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +1 -0
  342. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +35 -0
  343. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +22 -0
  344. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +1 -0
  345. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.js +25 -0
  346. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +38 -0
  347. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +1 -0
  348. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.js +42 -0
  349. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +29 -0
  350. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +1 -0
  351. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.js +45 -0
  352. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +61 -0
  353. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +1 -0
  354. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +103 -0
  355. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +76 -0
  356. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +1 -0
  357. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +102 -0
  358. package/esm/jsonl.d.ts +2 -2
  359. package/esm/jsonl.d.ts.map +1 -1
  360. package/esm/jsonl.js +23 -35
  361. package/esm/mod.d.ts +1 -0
  362. package/esm/mod.d.ts.map +1 -1
  363. package/esm/mod.js +1 -0
  364. package/package.json +5 -1
  365. package/script/_dnt.polyfills.d.ts +120 -0
  366. package/script/_dnt.polyfills.d.ts.map +1 -0
  367. package/script/_dnt.polyfills.js +250 -0
  368. package/script/_dnt.shims.d.ts +2 -0
  369. package/script/_dnt.shims.d.ts.map +1 -0
  370. package/script/_dnt.shims.js +60 -0
  371. package/script/context.d.ts.map +1 -1
  372. package/script/context.js +6 -2
  373. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  374. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  375. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  376. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  377. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  378. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
  379. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  380. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  381. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +53 -0
  382. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +13 -0
  383. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +1 -0
  384. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +37 -0
  385. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +12 -0
  386. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +1 -0
  387. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +23 -0
  388. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +10 -0
  389. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +1 -0
  390. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +20 -0
  391. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +12 -0
  392. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +1 -0
  393. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +28 -0
  394. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +9 -0
  395. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +1 -0
  396. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +16 -0
  397. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +117 -0
  398. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +1 -0
  399. package/script/deps/jsr.io/@std/fs/1.0.20/copy.js +316 -0
  400. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +48 -0
  401. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +1 -0
  402. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +90 -0
  403. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +49 -0
  404. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +1 -0
  405. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +105 -0
  406. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +47 -0
  407. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +1 -0
  408. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +93 -0
  409. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +49 -0
  410. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +1 -0
  411. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +64 -0
  412. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +70 -0
  413. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +1 -0
  414. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +159 -0
  415. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +52 -0
  416. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +1 -0
  417. package/script/deps/jsr.io/@std/fs/1.0.20/eol.js +105 -0
  418. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +219 -0
  419. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +1 -0
  420. package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +273 -0
  421. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +267 -0
  422. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +1 -0
  423. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +443 -0
  424. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +29 -0
  425. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +1 -0
  426. package/script/deps/jsr.io/@std/fs/1.0.20/mod.js +45 -0
  427. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts +86 -0
  428. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +1 -0
  429. package/script/deps/jsr.io/@std/fs/1.0.20/move.js +145 -0
  430. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +777 -0
  431. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +1 -0
  432. package/script/deps/jsr.io/@std/fs/1.0.20/walk.js +849 -0
  433. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  434. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  435. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
  436. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  437. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  438. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
  439. package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts +4 -0
  440. package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +1 -0
  441. package/script/deps/jsr.io/@std/json/1.0.2/_common.js +14 -0
  442. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +70 -0
  443. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +1 -0
  444. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +200 -0
  445. package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts +23 -0
  446. package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +1 -0
  447. package/script/deps/jsr.io/@std/json/1.0.2/mod.js +39 -0
  448. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +53 -0
  449. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +1 -0
  450. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.js +70 -0
  451. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +95 -0
  452. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +1 -0
  453. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +92 -0
  454. package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts +5 -0
  455. package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +1 -0
  456. package/script/deps/jsr.io/@std/json/1.0.2/types.js +4 -0
  457. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
  458. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
  459. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +10 -0
  460. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
  461. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
  462. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +45 -0
  463. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
  464. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
  465. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +26 -0
  466. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
  467. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
  468. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +49 -0
  469. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
  470. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
  471. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +11 -0
  472. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
  473. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
  474. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +23 -0
  475. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
  476. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
  477. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +12 -0
  478. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
  479. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
  480. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +237 -0
  481. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
  482. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
  483. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +11 -0
  484. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
  485. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
  486. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +80 -0
  487. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
  488. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
  489. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +12 -0
  490. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
  491. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
  492. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +22 -0
  493. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
  494. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
  495. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +18 -0
  496. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
  497. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
  498. package/script/deps/jsr.io/@std/path/1.1.3/basename.js +38 -0
  499. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
  500. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
  501. package/script/deps/jsr.io/@std/path/1.1.3/common.js +36 -0
  502. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
  503. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
  504. package/script/deps/jsr.io/@std/path/1.1.3/constants.js +20 -0
  505. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
  506. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
  507. package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +31 -0
  508. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
  509. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
  510. package/script/deps/jsr.io/@std/path/1.1.3/extname.js +31 -0
  511. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
  512. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
  513. package/script/deps/jsr.io/@std/path/1.1.3/format.js +30 -0
  514. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
  515. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
  516. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +31 -0
  517. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
  518. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
  519. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +86 -0
  520. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
  521. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
  522. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +31 -0
  523. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
  524. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
  525. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +45 -0
  526. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
  527. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
  528. package/script/deps/jsr.io/@std/path/1.1.3/join.js +32 -0
  529. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
  530. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
  531. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +37 -0
  532. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
  533. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
  534. package/script/deps/jsr.io/@std/path/1.1.3/mod.js +232 -0
  535. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
  536. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
  537. package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +35 -0
  538. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
  539. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
  540. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +38 -0
  541. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
  542. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
  543. package/script/deps/jsr.io/@std/path/1.1.3/parse.js +42 -0
  544. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
  545. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
  546. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +11 -0
  547. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
  548. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
  549. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +55 -0
  550. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
  551. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
  552. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +17 -0
  553. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
  554. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
  555. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +67 -0
  556. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
  557. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
  558. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +96 -0
  559. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
  560. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
  561. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +31 -0
  562. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
  563. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
  564. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +24 -0
  565. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
  566. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
  567. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +85 -0
  568. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
  569. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
  570. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +26 -0
  571. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
  572. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
  573. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +48 -0
  574. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
  575. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
  576. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +43 -0
  577. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
  578. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
  579. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +61 -0
  580. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
  581. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
  582. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +35 -0
  583. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
  584. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
  585. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +118 -0
  586. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
  587. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
  588. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +109 -0
  589. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
  590. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
  591. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +95 -0
  592. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
  593. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
  594. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +30 -0
  595. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
  596. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
  597. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +23 -0
  598. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
  599. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
  600. package/script/deps/jsr.io/@std/path/1.1.3/relative.js +33 -0
  601. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
  602. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
  603. package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +33 -0
  604. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
  605. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
  606. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +31 -0
  607. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
  608. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
  609. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +32 -0
  610. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
  611. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
  612. package/script/deps/jsr.io/@std/path/1.1.3/types.js +4 -0
  613. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
  614. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
  615. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +20 -0
  616. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
  617. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
  618. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +50 -0
  619. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
  620. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
  621. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +17 -0
  622. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
  623. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
  624. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +116 -0
  625. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
  626. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
  627. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +85 -0
  628. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
  629. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
  630. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +31 -0
  631. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
  632. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
  633. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +33 -0
  634. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
  635. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
  636. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +85 -0
  637. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
  638. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
  639. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +41 -0
  640. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
  641. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
  642. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +80 -0
  643. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
  644. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
  645. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +44 -0
  646. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
  647. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
  648. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +138 -0
  649. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
  650. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
  651. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +35 -0
  652. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
  653. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
  654. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +179 -0
  655. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
  656. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
  657. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +134 -0
  658. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
  659. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
  660. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +190 -0
  661. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
  662. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
  663. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +37 -0
  664. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
  665. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
  666. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +52 -0
  667. package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +5 -0
  668. package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +1 -0
  669. package/script/deps/jsr.io/@std/streams/1.0.14/_common.js +31 -0
  670. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +300 -0
  671. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +1 -0
  672. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.js +415 -0
  673. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +44 -0
  674. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +1 -0
  675. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +89 -0
  676. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +27 -0
  677. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +1 -0
  678. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +51 -0
  679. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +66 -0
  680. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +1 -0
  681. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +295 -0
  682. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +83 -0
  683. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +1 -0
  684. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +105 -0
  685. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +101 -0
  686. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +1 -0
  687. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +126 -0
  688. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +84 -0
  689. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +1 -0
  690. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +110 -0
  691. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +38 -0
  692. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +1 -0
  693. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +72 -0
  694. package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +35 -0
  695. package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +1 -0
  696. package/script/deps/jsr.io/@std/streams/1.0.14/mod.js +51 -0
  697. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +58 -0
  698. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +1 -0
  699. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +127 -0
  700. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +72 -0
  701. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +1 -0
  702. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +111 -0
  703. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +22 -0
  704. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +1 -0
  705. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +38 -0
  706. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +22 -0
  707. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +1 -0
  708. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.js +28 -0
  709. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +38 -0
  710. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +1 -0
  711. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.js +45 -0
  712. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +29 -0
  713. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +1 -0
  714. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.js +48 -0
  715. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +61 -0
  716. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +1 -0
  717. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +106 -0
  718. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +76 -0
  719. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +1 -0
  720. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +105 -0
  721. package/script/jsonl.d.ts +2 -2
  722. package/script/jsonl.d.ts.map +1 -1
  723. package/script/jsonl.js +62 -41
  724. package/script/mod.d.ts +1 -0
  725. package/script/mod.d.ts.map +1 -1
  726. package/script/mod.js +1 -0
@@ -0,0 +1,411 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // This module is browser compatible.
3
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
5
+ 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");
6
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
+ };
8
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
+ if (kind === "m") throw new TypeError("Private method is not writable");
10
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
11
+ 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");
12
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
13
+ };
14
+ var _Buffer_instances, _Buffer_buf, _Buffer_off, _Buffer_readable, _Buffer_writable, _Buffer_tryGrowByReslice, _Buffer_reslice, _Buffer_grow;
15
+ import { copy } from "../../bytes/1.0.6/copy.js";
16
+ const MAX_SIZE = 2 ** 32 - 2;
17
+ const DEFAULT_CHUNK_SIZE = 16_640;
18
+ /**
19
+ * A variable-sized buffer of bytes with `readable` and `writable` getters that
20
+ * allows you to work with {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Web Streams API}.
21
+ *
22
+ * Buffer is almost always used with some I/O like files and sockets. It allows
23
+ * one to buffer up a download from a socket. Buffer grows and shrinks as
24
+ * necessary.
25
+ *
26
+ * Buffer is NOT the same thing as Node's Buffer. Node's Buffer was created in
27
+ * 2009 before JavaScript had the concept of ArrayBuffers. It's simply a
28
+ * non-standard ArrayBuffer.
29
+ *
30
+ * ArrayBuffer is a fixed memory allocation. Buffer is implemented on top of
31
+ * ArrayBuffer.
32
+ *
33
+ * Based on {@link https://golang.org/pkg/bytes/#Buffer | Go Buffer}.
34
+ *
35
+ * @example Buffer input bytes and convert it to a string
36
+ * ```ts
37
+ * import { Buffer } from "@std/streams/buffer";
38
+ * import { toText } from "@std/streams/to-text";
39
+ * import { assert } from "@std/assert";
40
+ * import { assertEquals } from "@std/assert";
41
+ *
42
+ * // Create a new buffer
43
+ * const buf = new Buffer();
44
+ * assertEquals(buf.capacity, 0);
45
+ * assertEquals(buf.length, 0);
46
+ *
47
+ * // Dummy input stream
48
+ * const inputStream = ReadableStream.from([
49
+ * "hello, ",
50
+ * "world",
51
+ * "!",
52
+ * ]);
53
+ *
54
+ * // Pipe the input stream to the buffer
55
+ * await inputStream.pipeThrough(new TextEncoderStream()).pipeTo(buf.writable);
56
+ * assert(buf.capacity > 0);
57
+ * assert(buf.length > 0);
58
+ *
59
+ * // Convert the buffered bytes to a string
60
+ * const result = await toText(buf.readable);
61
+ * assertEquals(result, "hello, world!");
62
+ * assert(buf.empty());
63
+ * ```
64
+ */
65
+ export class Buffer {
66
+ /**
67
+ * Getter returning the instance's {@linkcode ReadableStream}.
68
+ *
69
+ * @returns A `ReadableStream` of the buffer.
70
+ *
71
+ * @example Read the content out of the buffer to stdout
72
+ * ```ts ignore
73
+ * import { Buffer } from "@std/streams/buffer";
74
+ *
75
+ * const buf = new Buffer();
76
+ * await buf.readable.pipeTo(Deno.stdout.writable);
77
+ * ```
78
+ */
79
+ get readable() {
80
+ return __classPrivateFieldGet(this, _Buffer_readable, "f");
81
+ }
82
+ /**
83
+ * Getter returning the instance's {@linkcode WritableStream}.
84
+ *
85
+ * @returns A `WritableStream` of the buffer.
86
+ *
87
+ * @example Write the data from stdin to the buffer
88
+ * ```ts ignore
89
+ * import { Buffer } from "@std/streams/buffer";
90
+ *
91
+ * const buf = new Buffer();
92
+ * await Deno.stdin.readable.pipeTo(buf.writable);
93
+ * ```
94
+ */
95
+ get writable() {
96
+ return __classPrivateFieldGet(this, _Buffer_writable, "f");
97
+ }
98
+ /**
99
+ * Constructs a new instance.
100
+ *
101
+ * @param ab An optional buffer to use as the initial buffer.
102
+ */
103
+ constructor(ab) {
104
+ _Buffer_instances.add(this);
105
+ _Buffer_buf.set(this, void 0); // contents are the bytes buf[off : len(buf)]
106
+ _Buffer_off.set(this, 0); // read at buf[off], write at buf[buf.byteLength]
107
+ _Buffer_readable.set(this, new ReadableStream({
108
+ type: "bytes",
109
+ pull: (controller) => {
110
+ const view = new Uint8Array(controller.byobRequest.view.buffer);
111
+ if (this.empty()) {
112
+ // Buffer is empty, reset to recover space.
113
+ this.reset();
114
+ controller.close();
115
+ controller.byobRequest.respond(0);
116
+ return;
117
+ }
118
+ const nread = copy(__classPrivateFieldGet(this, _Buffer_buf, "f").subarray(__classPrivateFieldGet(this, _Buffer_off, "f")), view);
119
+ __classPrivateFieldSet(this, _Buffer_off, __classPrivateFieldGet(this, _Buffer_off, "f") + nread, "f");
120
+ controller.byobRequest.respond(nread);
121
+ },
122
+ autoAllocateChunkSize: DEFAULT_CHUNK_SIZE,
123
+ }));
124
+ _Buffer_writable.set(this, new WritableStream({
125
+ write: (chunk) => {
126
+ const m = __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_grow).call(this, chunk.byteLength);
127
+ copy(chunk, __classPrivateFieldGet(this, _Buffer_buf, "f"), m);
128
+ },
129
+ }));
130
+ if (ab === undefined) {
131
+ __classPrivateFieldSet(this, _Buffer_buf, new Uint8Array(0), "f");
132
+ }
133
+ else {
134
+ __classPrivateFieldSet(this, _Buffer_buf, new Uint8Array(ab), "f");
135
+ }
136
+ }
137
+ /**
138
+ * Returns a slice holding the unread portion of the buffer.
139
+ *
140
+ * The slice is valid for use only until the next buffer modification (that
141
+ * is, only until the next call to a method that mutates or consumes the
142
+ * buffer, like reading data out via `readable`, `reset()`, or `truncate()`).
143
+ *
144
+ * If `options.copy` is false the slice aliases the buffer content at least
145
+ * until the next buffer modification, so immediate changes to the slice will
146
+ * affect the result of future reads. If `options` is not provided,
147
+ * `options.copy` defaults to `true`.
148
+ *
149
+ * @param options Options for the bytes method.
150
+ * @returns A copy or a slice of the buffer.
151
+ *
152
+ * @example Copy the buffer
153
+ * ```ts
154
+ * import { assertEquals } from "@std/assert";
155
+ * import { assertNotEquals } from "@std/assert";
156
+ * import { Buffer } from "@std/streams/buffer";
157
+ *
158
+ * const array = new Uint8Array([0, 1, 2]);
159
+ * const buf = new Buffer(array.buffer);
160
+ * const copied = buf.bytes();
161
+ * assertEquals(copied.length, array.length);
162
+ *
163
+ * // Modify an element in the original array
164
+ * array[1] = 99;
165
+ * assertEquals(copied[0], array[0]);
166
+ * // The copied buffer is not affected by the modification
167
+ * assertNotEquals(copied[1], array[1]);
168
+ * assertEquals(copied[2], array[2]);
169
+ * ```
170
+ *
171
+ * @example Get a slice to the buffer
172
+ * ```ts
173
+ * import { assertEquals } from "@std/assert";
174
+ * import { Buffer } from "@std/streams/buffer";
175
+ *
176
+ * const array = new Uint8Array([0, 1, 2]);
177
+ * const buf = new Buffer(array.buffer);
178
+ * const slice = buf.bytes({ copy: false });
179
+ * assertEquals(slice.length, array.length);
180
+ *
181
+ * // Modify an element in the original array
182
+ * array[1] = 99;
183
+ * assertEquals(slice[0], array[0]);
184
+ * // The slice _is_ affected by the modification
185
+ * assertEquals(slice[1], array[1]);
186
+ * assertEquals(slice[2], array[2]);
187
+ * ```
188
+ */
189
+ bytes(options = { copy: true }) {
190
+ if (options.copy === false)
191
+ return __classPrivateFieldGet(this, _Buffer_buf, "f").subarray(__classPrivateFieldGet(this, _Buffer_off, "f"));
192
+ return __classPrivateFieldGet(this, _Buffer_buf, "f").slice(__classPrivateFieldGet(this, _Buffer_off, "f"));
193
+ }
194
+ /**
195
+ * Returns whether the unread portion of the buffer is empty.
196
+ *
197
+ * @returns Whether the buffer is empty.
198
+ *
199
+ * @example Empty buffer
200
+ * ```ts
201
+ * import { assert } from "@std/assert";
202
+ * import { Buffer } from "@std/streams/buffer";
203
+ *
204
+ * const buf = new Buffer();
205
+ * assert(buf.empty());
206
+ * ```
207
+ *
208
+ * @example Non-empty buffer
209
+ * ```ts
210
+ * import { assert } from "@std/assert";
211
+ * import { Buffer } from "@std/streams/buffer";
212
+ *
213
+ * const array = new Uint8Array([42]);
214
+ * const buf = new Buffer(array.buffer);
215
+ * assert(!buf.empty());
216
+ * ```
217
+ *
218
+ * @example Non-empty, but the content was already read
219
+ * ```ts ignore
220
+ * import { assert } from "@std/assert";
221
+ * import { Buffer } from "@std/streams/buffer";
222
+ *
223
+ * const array = new Uint8Array([42]);
224
+ * const buf = new Buffer(array.buffer);
225
+ * assert(!buf.empty());
226
+ * // Read the content out of the buffer
227
+ * await buf.readable.pipeTo(Deno.stdout.writable);
228
+ * // The buffer is now empty
229
+ * assert(buf.empty());
230
+ * ```
231
+ */
232
+ empty() {
233
+ return __classPrivateFieldGet(this, _Buffer_buf, "f").byteLength <= __classPrivateFieldGet(this, _Buffer_off, "f");
234
+ }
235
+ /**
236
+ * A read only number of bytes of the unread portion of the buffer.
237
+ *
238
+ * @returns The number of bytes in the unread portion of the buffer.
239
+ *
240
+ * @example Basic usage
241
+ * ```ts
242
+ * import { assertEquals } from "@std/assert";
243
+ * import { Buffer } from "@std/streams/buffer";
244
+ *
245
+ * const array = new Uint8Array([0, 1, 2]);
246
+ * const buf = new Buffer(array.buffer);
247
+ * assertEquals(buf.length, 3);
248
+ * ```
249
+ *
250
+ * @example Length becomes 0 after the content is read
251
+ * ```ts ignore
252
+ * import { assertEquals } from "@std/assert";
253
+ * import { Buffer } from "@std/streams/buffer";
254
+ *
255
+ * const array = new Uint8Array([42]);
256
+ * const buf = new Buffer(array.buffer);
257
+ * assertEquals(buf.length, 1);
258
+ * // Read the content out of the buffer
259
+ * await buf.readable.pipeTo(Deno.stdout.writable);
260
+ * // The length is now 0
261
+ * assertEquals(buf.length, 0);
262
+ * ```
263
+ */
264
+ get length() {
265
+ return __classPrivateFieldGet(this, _Buffer_buf, "f").byteLength - __classPrivateFieldGet(this, _Buffer_off, "f");
266
+ }
267
+ /**
268
+ * The read only capacity of the buffer's underlying byte slice, that is,
269
+ * the total space allocated for the buffer's data.
270
+ *
271
+ * @returns The number of allocated bytes for the buffer.
272
+ *
273
+ * @example Basic usage
274
+ * ```ts
275
+ * import { assertEquals } from "@std/assert";
276
+ * import { Buffer } from "@std/streams/buffer";
277
+ *
278
+ * const arrayBuffer = new ArrayBuffer(256);
279
+ * const buf = new Buffer(arrayBuffer);
280
+ * assertEquals(buf.capacity, 256);
281
+ * ```
282
+ */
283
+ get capacity() {
284
+ return __classPrivateFieldGet(this, _Buffer_buf, "f").buffer.byteLength;
285
+ }
286
+ /**
287
+ * Discards all but the first `n` unread bytes from the buffer but
288
+ * continues to use the same allocated storage. It throws if `n` is
289
+ * negative or greater than the length of the buffer.
290
+ *
291
+ * @param n The number of bytes to keep.
292
+ *
293
+ * @example Basic usage
294
+ * ```ts
295
+ * import { assertEquals } from "@std/assert";
296
+ * import { Buffer } from "@std/streams/buffer";
297
+ *
298
+ * const array = new Uint8Array([0, 1, 2]);
299
+ * const buf = new Buffer(array.buffer);
300
+ * assertEquals(buf.bytes(), array);
301
+ *
302
+ * // Discard all but the first 2 bytes
303
+ * buf.truncate(2);
304
+ * assertEquals(buf.bytes(), array.slice(0, 2));
305
+ * ```
306
+ */
307
+ truncate(n) {
308
+ if (n === 0) {
309
+ this.reset();
310
+ return;
311
+ }
312
+ if (n < 0 || n > this.length) {
313
+ throw new RangeError(`Buffer truncation value "${n}" is not between 0 and ${this.length}`);
314
+ }
315
+ __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_reslice).call(this, __classPrivateFieldGet(this, _Buffer_off, "f") + n);
316
+ }
317
+ /**
318
+ * Resets to an empty buffer.
319
+ *
320
+ * @example Basic usage
321
+ * ```ts
322
+ * import { assert } from "@std/assert";
323
+ * import { Buffer } from "@std/streams/buffer";
324
+ *
325
+ * const array = new Uint8Array([0, 1, 2]);
326
+ * const buf = new Buffer(array.buffer);
327
+ * assert(!buf.empty());
328
+ *
329
+ * // Reset
330
+ * buf.reset();
331
+ * assert(buf.empty());
332
+ * ```
333
+ */
334
+ reset() {
335
+ __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_reslice).call(this, 0);
336
+ __classPrivateFieldSet(this, _Buffer_off, 0, "f");
337
+ }
338
+ /**
339
+ * Grows the buffer's capacity, if necessary, to guarantee space for
340
+ * another `n` bytes. After `.grow(n)`, at least `n` bytes can be written to
341
+ * the buffer without another allocation. If `n` is negative, `.grow()` will
342
+ * throw. If the buffer can't grow it will throw an error.
343
+ *
344
+ * @param n The number of bytes to grow the buffer by.
345
+ *
346
+ * Based on Go Lang's
347
+ * {@link https://golang.org/pkg/bytes/#Buffer.Grow | Buffer.Grow}.
348
+ *
349
+ * @example Basic usage
350
+ * ```ts
351
+ * import { assert } from "@std/assert";
352
+ * import { assertEquals } from "@std/assert";
353
+ * import { Buffer } from "@std/streams/buffer";
354
+ *
355
+ * const buf = new Buffer();
356
+ * assertEquals(buf.capacity, 0);
357
+ *
358
+ * buf.grow(200);
359
+ * assert(buf.capacity >= 200);
360
+ * ```
361
+ */
362
+ grow(n) {
363
+ if (n < 0) {
364
+ throw new RangeError(`Cannot grow buffer as growth must be positive: received ${n}`);
365
+ }
366
+ const m = __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_grow).call(this, n);
367
+ __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_reslice).call(this, m);
368
+ }
369
+ }
370
+ _Buffer_buf = new WeakMap(), _Buffer_off = new WeakMap(), _Buffer_readable = new WeakMap(), _Buffer_writable = new WeakMap(), _Buffer_instances = new WeakSet(), _Buffer_tryGrowByReslice = function _Buffer_tryGrowByReslice(n) {
371
+ const l = __classPrivateFieldGet(this, _Buffer_buf, "f").byteLength;
372
+ if (n <= this.capacity - l) {
373
+ __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_reslice).call(this, l + n);
374
+ return l;
375
+ }
376
+ return -1;
377
+ }, _Buffer_reslice = function _Buffer_reslice(len) {
378
+ __classPrivateFieldSet(this, _Buffer_buf, new Uint8Array(__classPrivateFieldGet(this, _Buffer_buf, "f").buffer, 0, len), "f");
379
+ }, _Buffer_grow = function _Buffer_grow(n) {
380
+ const m = this.length;
381
+ // If buffer is empty, reset to recover space.
382
+ if (m === 0 && __classPrivateFieldGet(this, _Buffer_off, "f") !== 0) {
383
+ this.reset();
384
+ }
385
+ // Fast: Try to grow by means of a reslice.
386
+ const i = __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_tryGrowByReslice).call(this, n);
387
+ if (i >= 0) {
388
+ return i;
389
+ }
390
+ const c = this.capacity;
391
+ if (n <= Math.floor(c / 2) - m) {
392
+ // We can slide things down instead of allocating a new
393
+ // ArrayBuffer. We only need m+n <= c to slide, but
394
+ // we instead let capacity get twice as large so we
395
+ // don't spend all our time copying.
396
+ copy(__classPrivateFieldGet(this, _Buffer_buf, "f").subarray(__classPrivateFieldGet(this, _Buffer_off, "f")), __classPrivateFieldGet(this, _Buffer_buf, "f"));
397
+ }
398
+ else if (c + n > MAX_SIZE) {
399
+ throw new RangeError(`The buffer cannot grow beyond the maximum size of ${MAX_SIZE}`);
400
+ }
401
+ else {
402
+ // Not enough space anywhere, we need to allocate.
403
+ const buf = new Uint8Array(Math.min(2 * c + n, MAX_SIZE));
404
+ copy(__classPrivateFieldGet(this, _Buffer_buf, "f").subarray(__classPrivateFieldGet(this, _Buffer_off, "f")), buf);
405
+ __classPrivateFieldSet(this, _Buffer_buf, buf, "f");
406
+ }
407
+ // Restore this.#off and len(this.#buf).
408
+ __classPrivateFieldSet(this, _Buffer_off, 0, "f");
409
+ __classPrivateFieldGet(this, _Buffer_instances, "m", _Buffer_reslice).call(this, Math.min(m + n, MAX_SIZE));
410
+ return m;
411
+ };
@@ -0,0 +1,44 @@
1
+ /**
2
+ * A transform stream that only transforms from the zero-indexed `start` and
3
+ * `end` bytes (both inclusive).
4
+ *
5
+ * @example Basic usage
6
+ * ```ts
7
+ * import { ByteSliceStream } from "@std/streams/byte-slice-stream";
8
+ * import { assertEquals } from "@std/assert";
9
+ *
10
+ * const stream = ReadableStream.from([
11
+ * new Uint8Array([0, 1]),
12
+ * new Uint8Array([2, 3, 4]),
13
+ * ]);
14
+ * const slicedStream = stream.pipeThrough(new ByteSliceStream(1, 3));
15
+ *
16
+ * assertEquals(
17
+ * await Array.fromAsync(slicedStream),
18
+ * [new Uint8Array([1]), new Uint8Array([2, 3])]
19
+ * );
20
+ * ```
21
+ *
22
+ * @example Get a range of bytes from a fetch response body
23
+ * ```ts
24
+ * import { ByteSliceStream } from "@std/streams/byte-slice-stream";
25
+ * import { assertEquals } from "@std/assert";
26
+ *
27
+ * const response = await fetch("https://example.com");
28
+ * const rangedStream = response.body!
29
+ * .pipeThrough(new ByteSliceStream(3, 8));
30
+ * const collected = await Array.fromAsync(rangedStream);
31
+ * assertEquals(collected[0]?.length, 6);
32
+ * ```
33
+ */
34
+ export declare class ByteSliceStream extends TransformStream<Uint8Array, Uint8Array> {
35
+ #private;
36
+ /**
37
+ * Constructs a new instance.
38
+ *
39
+ * @param start The zero-indexed byte index to start reading from.
40
+ * @param end The zero-indexed byte index to stop reading at. Inclusive.
41
+ */
42
+ constructor(start?: number, end?: number);
43
+ }
44
+ //# sourceMappingURL=byte_slice_stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byte_slice_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,eAAgB,SAAQ,eAAe,CAAC,UAAU,EAAE,UAAU,CAAC;;IAI1E;;;;;OAKG;gBACS,KAAK,SAAI,EAAE,GAAG,GAAE,MAAiB;CA4B9C"}
@@ -0,0 +1,85 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // This module is browser compatible.
3
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
5
+ 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");
6
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
+ };
8
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
+ if (kind === "m") throw new TypeError("Private method is not writable");
10
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
11
+ 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");
12
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
13
+ };
14
+ var _ByteSliceStream_offsetStart, _ByteSliceStream_offsetEnd;
15
+ /**
16
+ * A transform stream that only transforms from the zero-indexed `start` and
17
+ * `end` bytes (both inclusive).
18
+ *
19
+ * @example Basic usage
20
+ * ```ts
21
+ * import { ByteSliceStream } from "@std/streams/byte-slice-stream";
22
+ * import { assertEquals } from "@std/assert";
23
+ *
24
+ * const stream = ReadableStream.from([
25
+ * new Uint8Array([0, 1]),
26
+ * new Uint8Array([2, 3, 4]),
27
+ * ]);
28
+ * const slicedStream = stream.pipeThrough(new ByteSliceStream(1, 3));
29
+ *
30
+ * assertEquals(
31
+ * await Array.fromAsync(slicedStream),
32
+ * [new Uint8Array([1]), new Uint8Array([2, 3])]
33
+ * );
34
+ * ```
35
+ *
36
+ * @example Get a range of bytes from a fetch response body
37
+ * ```ts
38
+ * import { ByteSliceStream } from "@std/streams/byte-slice-stream";
39
+ * import { assertEquals } from "@std/assert";
40
+ *
41
+ * const response = await fetch("https://example.com");
42
+ * const rangedStream = response.body!
43
+ * .pipeThrough(new ByteSliceStream(3, 8));
44
+ * const collected = await Array.fromAsync(rangedStream);
45
+ * assertEquals(collected[0]?.length, 6);
46
+ * ```
47
+ */
48
+ export class ByteSliceStream extends TransformStream {
49
+ /**
50
+ * Constructs a new instance.
51
+ *
52
+ * @param start The zero-indexed byte index to start reading from.
53
+ * @param end The zero-indexed byte index to stop reading at. Inclusive.
54
+ */
55
+ constructor(start = 0, end = Infinity) {
56
+ super({
57
+ start: () => {
58
+ if (start < 0) {
59
+ throw new RangeError(`Cannot construct ByteSliceStream as start must be >= 0: received ${start}`);
60
+ }
61
+ end += 1;
62
+ },
63
+ transform: (chunk, controller) => {
64
+ __classPrivateFieldSet(this, _ByteSliceStream_offsetStart, __classPrivateFieldGet(this, _ByteSliceStream_offsetEnd, "f"), "f");
65
+ __classPrivateFieldSet(this, _ByteSliceStream_offsetEnd, __classPrivateFieldGet(this, _ByteSliceStream_offsetEnd, "f") + chunk.byteLength, "f");
66
+ if (__classPrivateFieldGet(this, _ByteSliceStream_offsetEnd, "f") > start) {
67
+ if (__classPrivateFieldGet(this, _ByteSliceStream_offsetStart, "f") < start) {
68
+ chunk = chunk.slice(start - __classPrivateFieldGet(this, _ByteSliceStream_offsetStart, "f"));
69
+ }
70
+ if (__classPrivateFieldGet(this, _ByteSliceStream_offsetEnd, "f") >= end) {
71
+ chunk = chunk.slice(0, chunk.byteLength - __classPrivateFieldGet(this, _ByteSliceStream_offsetEnd, "f") + end);
72
+ controller.enqueue(chunk);
73
+ controller.terminate();
74
+ }
75
+ else {
76
+ controller.enqueue(chunk);
77
+ }
78
+ }
79
+ },
80
+ });
81
+ _ByteSliceStream_offsetStart.set(this, 0);
82
+ _ByteSliceStream_offsetEnd.set(this, 0);
83
+ }
84
+ }
85
+ _ByteSliceStream_offsetStart = new WeakMap(), _ByteSliceStream_offsetEnd = new WeakMap();
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Concatenates multiple `ReadableStream`s into a single ordered
3
+ * `ReadableStream`.
4
+ *
5
+ * Cancelling the resulting stream will cancel all the input streams.
6
+ *
7
+ * @typeParam T The type of the chunks in the streams.
8
+ * @param streams An iterable of `ReadableStream`s to concat.
9
+ * @returns A `ReadableStream` that will emit the concatenated chunks.
10
+ *
11
+ * @example Usage
12
+ * ```ts
13
+ * import { concatReadableStreams } from "@std/streams/concat-readable-streams";
14
+ * import { assertEquals } from "@std/assert";
15
+ *
16
+ * const stream1 = ReadableStream.from([1, 2, 3]);
17
+ * const stream2 = ReadableStream.from([4, 5, 6]);
18
+ * const stream3 = ReadableStream.from([7, 8, 9]);
19
+ *
20
+ * assertEquals(
21
+ * await Array.fromAsync(concatReadableStreams(stream1, stream2, stream3)),
22
+ * [1, 2, 3, 4, 5, 6, 7, 8, 9],
23
+ * );
24
+ * ```
25
+ */
26
+ export declare function concatReadableStreams<T>(...streams: ReadableStream<T>[]): ReadableStream<T>;
27
+ //# sourceMappingURL=concat_readable_streams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat_readable_streams.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,GAAG,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,GAC9B,cAAc,CAAC,CAAC,CAAC,CAoBnB"}
@@ -0,0 +1,48 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // This module is browser compatible.
3
+ /**
4
+ * Concatenates multiple `ReadableStream`s into a single ordered
5
+ * `ReadableStream`.
6
+ *
7
+ * Cancelling the resulting stream will cancel all the input streams.
8
+ *
9
+ * @typeParam T The type of the chunks in the streams.
10
+ * @param streams An iterable of `ReadableStream`s to concat.
11
+ * @returns A `ReadableStream` that will emit the concatenated chunks.
12
+ *
13
+ * @example Usage
14
+ * ```ts
15
+ * import { concatReadableStreams } from "@std/streams/concat-readable-streams";
16
+ * import { assertEquals } from "@std/assert";
17
+ *
18
+ * const stream1 = ReadableStream.from([1, 2, 3]);
19
+ * const stream2 = ReadableStream.from([4, 5, 6]);
20
+ * const stream3 = ReadableStream.from([7, 8, 9]);
21
+ *
22
+ * assertEquals(
23
+ * await Array.fromAsync(concatReadableStreams(stream1, stream2, stream3)),
24
+ * [1, 2, 3, 4, 5, 6, 7, 8, 9],
25
+ * );
26
+ * ```
27
+ */
28
+ export function concatReadableStreams(...streams) {
29
+ let i = 0;
30
+ return new ReadableStream({
31
+ async pull(controller) {
32
+ const reader = streams[i].getReader();
33
+ const { done, value } = await reader.read();
34
+ if (done) {
35
+ if (streams.length === ++i) {
36
+ return controller.close();
37
+ }
38
+ return await this.pull(controller);
39
+ }
40
+ controller.enqueue(value);
41
+ reader.releaseLock();
42
+ },
43
+ async cancel(reason) {
44
+ const promises = streams.map((stream) => stream.cancel(reason));
45
+ await Promise.allSettled(promises);
46
+ },
47
+ });
48
+ }