@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,61 @@
1
+ /**
2
+ * Convert the generator function into a {@linkcode TransformStream}.
3
+ *
4
+ * @typeparam I The type of the chunks in the source stream.
5
+ * @typeparam O The type of the chunks in the transformed stream.
6
+ * @param transformer A function to transform.
7
+ * @param writableStrategy An object that optionally defines a queuing strategy for the stream.
8
+ * @param readableStrategy An object that optionally defines a queuing strategy for the stream.
9
+ * @returns A {@linkcode TransformStream} that transforms the source stream as defined by the provided transformer.
10
+ *
11
+ * @example Build a transform stream that multiplies each value by 100
12
+ * ```ts
13
+ * import { toTransformStream } from "@std/streams/to-transform-stream";
14
+ * import { assertEquals } from "@std/assert";
15
+ *
16
+ * const stream = ReadableStream.from([0, 1, 2])
17
+ * .pipeThrough(toTransformStream(async function* (src) {
18
+ * for await (const chunk of src) {
19
+ * yield chunk * 100;
20
+ * }
21
+ * }));
22
+ *
23
+ * assertEquals(
24
+ * await Array.fromAsync(stream),
25
+ * [0, 100, 200],
26
+ * );
27
+ * ```
28
+ *
29
+ * @example JSON Lines
30
+ * ```ts
31
+ * import { TextLineStream } from "@std/streams/text-line-stream";
32
+ * import { toTransformStream } from "@std/streams/to-transform-stream";
33
+ * import { assertEquals } from "@std/assert";
34
+ *
35
+ * const stream = ReadableStream.from([
36
+ * '{"name": "Alice", "age": ',
37
+ * '30}\n{"name": "Bob", "age"',
38
+ * ": 25}\n",
39
+ * ]);
40
+ *
41
+ * type Person = { name: string; age: number };
42
+ *
43
+ * // Split the stream by newline and parse each line as a JSON object
44
+ * const jsonStream = stream.pipeThrough(new TextLineStream())
45
+ * .pipeThrough(toTransformStream(async function* (src) {
46
+ * for await (const chunk of src) {
47
+ * if (chunk.trim().length === 0) {
48
+ * continue;
49
+ * }
50
+ * yield JSON.parse(chunk) as Person;
51
+ * }
52
+ * }));
53
+ *
54
+ * assertEquals(
55
+ * await Array.fromAsync(jsonStream),
56
+ * [{ "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }],
57
+ * );
58
+ * ```
59
+ */
60
+ export declare function toTransformStream<I, O>(transformer: (src: ReadableStream<I>) => Iterable<O> | AsyncIterable<O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
61
+ //# sourceMappingURL=to_transform_stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to_transform_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AAEH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EACpC,WAAW,EAAE,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,EACvE,gBAAgB,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EACrC,gBAAgB,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,GACpC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CA2CvB"}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.toTransformStream = toTransformStream;
6
+ /**
7
+ * Convert the generator function into a {@linkcode TransformStream}.
8
+ *
9
+ * @typeparam I The type of the chunks in the source stream.
10
+ * @typeparam O The type of the chunks in the transformed stream.
11
+ * @param transformer A function to transform.
12
+ * @param writableStrategy An object that optionally defines a queuing strategy for the stream.
13
+ * @param readableStrategy An object that optionally defines a queuing strategy for the stream.
14
+ * @returns A {@linkcode TransformStream} that transforms the source stream as defined by the provided transformer.
15
+ *
16
+ * @example Build a transform stream that multiplies each value by 100
17
+ * ```ts
18
+ * import { toTransformStream } from "@std/streams/to-transform-stream";
19
+ * import { assertEquals } from "@std/assert";
20
+ *
21
+ * const stream = ReadableStream.from([0, 1, 2])
22
+ * .pipeThrough(toTransformStream(async function* (src) {
23
+ * for await (const chunk of src) {
24
+ * yield chunk * 100;
25
+ * }
26
+ * }));
27
+ *
28
+ * assertEquals(
29
+ * await Array.fromAsync(stream),
30
+ * [0, 100, 200],
31
+ * );
32
+ * ```
33
+ *
34
+ * @example JSON Lines
35
+ * ```ts
36
+ * import { TextLineStream } from "@std/streams/text-line-stream";
37
+ * import { toTransformStream } from "@std/streams/to-transform-stream";
38
+ * import { assertEquals } from "@std/assert";
39
+ *
40
+ * const stream = ReadableStream.from([
41
+ * '{"name": "Alice", "age": ',
42
+ * '30}\n{"name": "Bob", "age"',
43
+ * ": 25}\n",
44
+ * ]);
45
+ *
46
+ * type Person = { name: string; age: number };
47
+ *
48
+ * // Split the stream by newline and parse each line as a JSON object
49
+ * const jsonStream = stream.pipeThrough(new TextLineStream())
50
+ * .pipeThrough(toTransformStream(async function* (src) {
51
+ * for await (const chunk of src) {
52
+ * if (chunk.trim().length === 0) {
53
+ * continue;
54
+ * }
55
+ * yield JSON.parse(chunk) as Person;
56
+ * }
57
+ * }));
58
+ *
59
+ * assertEquals(
60
+ * await Array.fromAsync(jsonStream),
61
+ * [{ "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }],
62
+ * );
63
+ * ```
64
+ */
65
+ // deno-lint-ignore deno-style-guide/exported-function-args-maximum
66
+ function toTransformStream(transformer, writableStrategy, readableStrategy) {
67
+ const { writable, readable, } = new TransformStream(undefined, writableStrategy);
68
+ const iterable = transformer(readable);
69
+ const iterator = iterable[Symbol.asyncIterator]?.() ??
70
+ iterable[Symbol.iterator]?.();
71
+ return {
72
+ writable,
73
+ readable: new ReadableStream({
74
+ async pull(controller) {
75
+ let result;
76
+ try {
77
+ result = await iterator.next();
78
+ }
79
+ catch (error) {
80
+ // Propagate error to stream from iterator
81
+ // If the stream status is "errored", it will be thrown, but ignore.
82
+ await readable.cancel(error).catch(() => { });
83
+ controller.error(error);
84
+ return;
85
+ }
86
+ if (result.done) {
87
+ controller.close();
88
+ return;
89
+ }
90
+ controller.enqueue(result.value);
91
+ },
92
+ async cancel(reason) {
93
+ // Propagate cancellation to readable and iterator
94
+ if (typeof iterator.throw === "function") {
95
+ try {
96
+ await iterator.throw(reason);
97
+ }
98
+ catch {
99
+ /* `iterator.throw()` always throws on site. We catch it. */
100
+ }
101
+ }
102
+ await readable.cancel(reason);
103
+ },
104
+ }, readableStrategy),
105
+ };
106
+ }
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Merge multiple streams into a single one, taking order into account, and
3
+ * each stream will wait for a chunk to enqueue before the next stream can
4
+ * append another chunk.
5
+ *
6
+ * If a stream ends before other ones, the others will continue adding data in
7
+ * order, and the finished one will not add any more data. If you want to cancel
8
+ * the other streams when one of them ends, use {@linkcode earlyZipReadableStreams}.
9
+ *
10
+ * @typeparam T The type of the chunks in the input/output streams.
11
+ * @param streams An iterable of `ReadableStream`s to merge.
12
+ * @returns A `ReadableStream` that will emit the zipped chunks.
13
+ *
14
+ * @example Zip 2 streams with the same length
15
+ * ```ts
16
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
17
+ * import { assertEquals } from "@std/assert";
18
+ *
19
+ * const stream1 = ReadableStream.from(["1", "2", "3"]);
20
+ * const stream2 = ReadableStream.from(["a", "b", "c"]);
21
+ * const zippedStream = zipReadableStreams(stream1, stream2);
22
+ *
23
+ * assertEquals(
24
+ * await Array.fromAsync(zippedStream),
25
+ * ["1", "a", "2", "b", "3", "c"],
26
+ * );
27
+ * ```
28
+ *
29
+ * @example Zip 2 streams with different length (first one is shorter)
30
+ * ```ts
31
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
32
+ * import { assertEquals } from "@std/assert";
33
+ *
34
+ * const stream1 = ReadableStream.from(["1", "2"]);
35
+ * const stream2 = ReadableStream.from(["a", "b", "c", "d"]);
36
+ * const zippedStream = zipReadableStreams(stream1, stream2);
37
+ *
38
+ * assertEquals(
39
+ * await Array.fromAsync(zippedStream),
40
+ * ["1", "a", "2", "b", "c", "d"],
41
+ * );
42
+ * ```
43
+ *
44
+ * @example Zip 2 streams with different length (first one is longer)
45
+ * ```ts
46
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
47
+ * import { assertEquals } from "@std/assert";
48
+ *
49
+ * const stream1 = ReadableStream.from(["1", "2", "3", "4"]);
50
+ * const stream2 = ReadableStream.from(["a", "b"]);
51
+ * const zippedStream = zipReadableStreams(stream1, stream2);
52
+ *
53
+ * assertEquals(
54
+ * await Array.fromAsync(zippedStream),
55
+ * ["1", "a", "2", "b", "3", "4"],
56
+ * );
57
+ * ```
58
+ *
59
+ * @example Zip 3 streams
60
+ * ```ts
61
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
62
+ * import { assertEquals } from "@std/assert";
63
+ *
64
+ * const stream1 = ReadableStream.from(["1"]);
65
+ * const stream2 = ReadableStream.from(["a", "b"]);
66
+ * const stream3 = ReadableStream.from(["A", "B", "C"]);
67
+ * const zippedStream = zipReadableStreams(stream1, stream2, stream3);
68
+ *
69
+ * assertEquals(
70
+ * await Array.fromAsync(zippedStream),
71
+ * ["1", "a", "A", "b", "B", "C"],
72
+ * );
73
+ * ```
74
+ */
75
+ export declare function zipReadableStreams<T>(...streams: ReadableStream<T>[]): ReadableStream<T>;
76
+ //# sourceMappingURL=zip_readable_streams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zip_readable_streams.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,GAAG,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,GAC9B,cAAc,CAAC,CAAC,CAAC,CAuBnB"}
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ // Copyright 2018-2025 the Deno authors. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.zipReadableStreams = zipReadableStreams;
6
+ /**
7
+ * Merge multiple streams into a single one, taking order into account, and
8
+ * each stream will wait for a chunk to enqueue before the next stream can
9
+ * append another chunk.
10
+ *
11
+ * If a stream ends before other ones, the others will continue adding data in
12
+ * order, and the finished one will not add any more data. If you want to cancel
13
+ * the other streams when one of them ends, use {@linkcode earlyZipReadableStreams}.
14
+ *
15
+ * @typeparam T The type of the chunks in the input/output streams.
16
+ * @param streams An iterable of `ReadableStream`s to merge.
17
+ * @returns A `ReadableStream` that will emit the zipped chunks.
18
+ *
19
+ * @example Zip 2 streams with the same length
20
+ * ```ts
21
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
22
+ * import { assertEquals } from "@std/assert";
23
+ *
24
+ * const stream1 = ReadableStream.from(["1", "2", "3"]);
25
+ * const stream2 = ReadableStream.from(["a", "b", "c"]);
26
+ * const zippedStream = zipReadableStreams(stream1, stream2);
27
+ *
28
+ * assertEquals(
29
+ * await Array.fromAsync(zippedStream),
30
+ * ["1", "a", "2", "b", "3", "c"],
31
+ * );
32
+ * ```
33
+ *
34
+ * @example Zip 2 streams with different length (first one is shorter)
35
+ * ```ts
36
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
37
+ * import { assertEquals } from "@std/assert";
38
+ *
39
+ * const stream1 = ReadableStream.from(["1", "2"]);
40
+ * const stream2 = ReadableStream.from(["a", "b", "c", "d"]);
41
+ * const zippedStream = zipReadableStreams(stream1, stream2);
42
+ *
43
+ * assertEquals(
44
+ * await Array.fromAsync(zippedStream),
45
+ * ["1", "a", "2", "b", "c", "d"],
46
+ * );
47
+ * ```
48
+ *
49
+ * @example Zip 2 streams with different length (first one is longer)
50
+ * ```ts
51
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
52
+ * import { assertEquals } from "@std/assert";
53
+ *
54
+ * const stream1 = ReadableStream.from(["1", "2", "3", "4"]);
55
+ * const stream2 = ReadableStream.from(["a", "b"]);
56
+ * const zippedStream = zipReadableStreams(stream1, stream2);
57
+ *
58
+ * assertEquals(
59
+ * await Array.fromAsync(zippedStream),
60
+ * ["1", "a", "2", "b", "3", "4"],
61
+ * );
62
+ * ```
63
+ *
64
+ * @example Zip 3 streams
65
+ * ```ts
66
+ * import { zipReadableStreams } from "@std/streams/zip-readable-streams";
67
+ * import { assertEquals } from "@std/assert";
68
+ *
69
+ * const stream1 = ReadableStream.from(["1"]);
70
+ * const stream2 = ReadableStream.from(["a", "b"]);
71
+ * const stream3 = ReadableStream.from(["A", "B", "C"]);
72
+ * const zippedStream = zipReadableStreams(stream1, stream2, stream3);
73
+ *
74
+ * assertEquals(
75
+ * await Array.fromAsync(zippedStream),
76
+ * ["1", "a", "A", "b", "B", "C"],
77
+ * );
78
+ * ```
79
+ */
80
+ function zipReadableStreams(...streams) {
81
+ const readers = new Set(streams.map((s) => s.getReader()));
82
+ return new ReadableStream({
83
+ async start(controller) {
84
+ try {
85
+ let resolved = 0;
86
+ while (resolved !== streams.length) {
87
+ for (const reader of readers) {
88
+ const { value, done } = await reader.read();
89
+ if (!done) {
90
+ controller.enqueue(value);
91
+ }
92
+ else {
93
+ resolved++;
94
+ readers.delete(reader);
95
+ }
96
+ }
97
+ }
98
+ controller.close();
99
+ }
100
+ catch (e) {
101
+ controller.error(e);
102
+ }
103
+ },
104
+ });
105
+ }
package/script/jsonl.d.ts CHANGED
@@ -36,7 +36,7 @@ export declare class JSONLStore implements Store {
36
36
  * Returns content of a file as a stream
37
37
  *
38
38
  * ```ts
39
- * import { each } from "npm:effection@4.0.0-alpha.3";
39
+ * import { each } from "npm:effection@^3";
40
40
  * import { useStore } from "jsr:@effectionx/jsonl-store";
41
41
  *
42
42
  * const store = yield* useStore();
@@ -82,7 +82,7 @@ export declare class JSONLStore implements Store {
82
82
  * Returns a stream of content from all files matching a glob
83
83
  *
84
84
  * ```ts
85
- * import { each } from "npm:effection@4.0.0-alpha.3";
85
+ * import { each } from "npm:effection@^3";
86
86
  * import { useStore } from "jsr:@effectionx/jsonl-store";
87
87
  *
88
88
  * const store = yield* useStore();
@@ -1 +1 @@
1
- {"version":3,"file":"jsonl.d.ts","sourceRoot":"","sources":["../src/jsonl.ts"],"names":[],"mappings":"AAKA,OAAO,EAKL,KAAK,SAAS,EAGd,KAAK,MAAM,EAEZ,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAcjE,qBAAa,UAAW,YAAW,KAAK;IACnB,QAAQ,EAAE,GAAG;gBAAb,QAAQ,EAAE,GAAG;IAEhC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU;IAgBzD;;;;;;;;;;;;;;OAcG;IACF,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;IAYrC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC;IAgCrC;;;;;;;;;;;OAWG;IACF,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC;IAqBnD;;;;;;;;;;;;OAYG;IACF,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC;IAkBpD;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC;IA0CrC,KAAK,IAAI,SAAS,CAAC,IAAI,CAAC;CAG1B"}
1
+ {"version":3,"file":"jsonl.d.ts","sourceRoot":"","sources":["../src/jsonl.ts"],"names":[],"mappings":"AAKA,OAAO,EAKL,KAAK,SAAS,EAGd,KAAK,MAAM,EAEZ,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAejE,qBAAa,UAAW,YAAW,KAAK;IACnB,QAAQ,EAAE,GAAG;gBAAb,QAAQ,EAAE,GAAG;IAEhC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU;IAgBzD;;;;;;;;;;;;;;OAcG;IACF,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;IAYrC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC;IAiCrC;;;;;;;;;;;OAWG;IACF,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC;IAcnD;;;;;;;;;;;;OAYG;IACF,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC;IAYpD;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC;IA0CrC,KAAK,IAAI,SAAS,CAAC,IAAI,CAAC;CAG1B"}
package/script/jsonl.js CHANGED
@@ -1,18 +1,52 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
2
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
37
  };
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
6
39
  exports.JSONLStore = void 0;
7
- const json_1 = require("@std/json");
8
- const streams_1 = require("@std/streams");
9
- const fs_1 = require("@std/fs");
10
- const path_1 = require("@std/path");
40
+ const mod_js_1 = require("./deps/jsr.io/@std/json/1.0.2/mod.js");
41
+ const mod_js_2 = require("./deps/jsr.io/@std/streams/1.0.14/mod.js");
42
+ const mod_js_3 = require("./deps/jsr.io/@std/fs/1.0.20/mod.js");
43
+ const mod_js_4 = require("./deps/jsr.io/@std/path/1.1.3/mod.js");
11
44
  const effection_1 = require("effection");
12
45
  const node_fs_1 = __importDefault(require("node:fs"));
13
- const node_util_1 = require("node:util");
46
+ const fsp = __importStar(require("node:fs/promises"));
47
+ const node_stream_1 = require("node:stream");
14
48
  function* mkdir(path, options) {
15
- return yield* (0, effection_1.call)(() => (0, node_util_1.promisify)(node_fs_1.default.mkdir)(path, options));
49
+ return yield* (0, effection_1.call)(() => fsp.mkdir(path, options));
16
50
  }
17
51
  class JSONLStore {
18
52
  constructor(location) {
@@ -40,10 +74,10 @@ class JSONLStore {
40
74
  ? options.location.pathname
41
75
  : options.location;
42
76
  if (pathname.charAt(-1) === "/") {
43
- return new JSONLStore((0, path_1.toFileUrl)(pathname));
77
+ return new JSONLStore((0, mod_js_4.toFileUrl)(pathname));
44
78
  }
45
79
  else {
46
- return new JSONLStore((0, path_1.toFileUrl)(`${pathname}/`));
80
+ return new JSONLStore((0, mod_js_4.toFileUrl)(`${pathname}/`));
47
81
  }
48
82
  }
49
83
  /**
@@ -65,7 +99,7 @@ class JSONLStore {
65
99
  const location = new URL(`./${key}.jsonl`, this.location);
66
100
  return yield* (0, effection_1.call)(async () => {
67
101
  try {
68
- return await (0, fs_1.exists)(location);
102
+ return await (0, mod_js_3.exists)(location);
69
103
  }
70
104
  catch {
71
105
  return false;
@@ -76,7 +110,7 @@ class JSONLStore {
76
110
  * Returns content of a file as a stream
77
111
  *
78
112
  * ```ts
79
- * import { each } from "npm:effection@4.0.0-alpha.3";
113
+ * import { each } from "npm:effection@^3";
80
114
  * import { useStore } from "jsr:@effectionx/jsonl-store";
81
115
  *
82
116
  * const store = yield* useStore();
@@ -94,12 +128,13 @@ class JSONLStore {
94
128
  const location = new URL(`./${key}.jsonl`, this.location);
95
129
  return (0, effection_1.resource)(function* (provide) {
96
130
  const channel = (0, effection_1.createChannel)();
97
- const file = yield* (0, effection_1.call)(() => Deno.open(location, { read: true }));
98
- const lines = file
99
- .readable
131
+ const fileStream = node_fs_1.default.createReadStream((0, mod_js_4.fromFileUrl)(location));
132
+ const webStream = node_stream_1.Readable.toWeb(fileStream);
133
+ // deno-lint-ignore no-explicit-any
134
+ const lines = webStream
100
135
  .pipeThrough(new TextDecoderStream())
101
- .pipeThrough(new streams_1.TextLineStream())
102
- .pipeThrough(new json_1.JsonParseStream());
136
+ .pipeThrough(new mod_js_2.TextLineStream())
137
+ .pipeThrough(new mod_js_1.JsonParseStream());
103
138
  yield* (0, effection_1.spawn)(function* () {
104
139
  const reader = lines.getReader();
105
140
  try {
@@ -132,17 +167,8 @@ class JSONLStore {
132
167
  */
133
168
  *write(key, data) {
134
169
  const location = new URL(`./${key}.jsonl`, this.location);
135
- yield* mkdir((0, path_1.dirname)(location.pathname), { recursive: true });
136
- const file = yield* (0, effection_1.call)(() => Deno.open(location, {
137
- create: true,
138
- write: true,
139
- }));
140
- try {
141
- yield* (0, effection_1.call)(() => file.write(new TextEncoder().encode(`${JSON.stringify(data)}\n`)));
142
- }
143
- finally {
144
- file.close();
145
- }
170
+ yield* mkdir((0, mod_js_4.dirname)((0, mod_js_4.fromFileUrl)(location)), { recursive: true });
171
+ yield* (0, effection_1.call)(() => fsp.writeFile((0, mod_js_4.fromFileUrl)(location), `${JSON.stringify(data)}\n`, { encoding: "utf-8" }));
146
172
  }
147
173
  /**
148
174
  * Add data to an existing file.
@@ -159,21 +185,13 @@ class JSONLStore {
159
185
  */
160
186
  *append(key, data) {
161
187
  const location = new URL(`./${key}.jsonl`, this.location);
162
- const file = yield* (0, effection_1.call)(() => Deno.open(location, {
163
- append: true,
164
- }));
165
- try {
166
- yield* (0, effection_1.call)(() => file.write(new TextEncoder().encode(`${JSON.stringify(data)}\n`)));
167
- }
168
- finally {
169
- file.close();
170
- }
188
+ yield* (0, effection_1.call)(() => fsp.appendFile((0, mod_js_4.fromFileUrl)(location), `${JSON.stringify(data)}\n`, { encoding: "utf-8" }));
171
189
  }
172
190
  /**
173
191
  * Returns a stream of content from all files matching a glob
174
192
  *
175
193
  * ```ts
176
- * import { each } from "npm:effection@4.0.0-alpha.3";
194
+ * import { each } from "npm:effection@^3";
177
195
  * import { useStore } from "jsr:@effectionx/jsonl-store";
178
196
  *
179
197
  * const store = yield* useStore();
@@ -188,11 +206,11 @@ class JSONLStore {
188
206
  * @returns Stream<T, void>
189
207
  */
190
208
  find(glob) {
191
- const { pathname } = this.location;
192
- const reg = (0, path_1.globToRegExp)(`${pathname}/${glob}`, {
209
+ const root = (0, mod_js_4.fromFileUrl)(this.location);
210
+ const reg = (0, mod_js_4.globToRegExp)((0, mod_js_4.join)(root, glob), {
193
211
  globstar: true,
194
212
  });
195
- const files = (0, fs_1.walk)(this.location, {
213
+ const files = (0, mod_js_3.walk)(root, {
196
214
  includeDirs: false,
197
215
  includeFiles: true,
198
216
  match: [
@@ -204,7 +222,10 @@ class JSONLStore {
204
222
  const queue = (0, effection_1.createQueue)();
205
223
  yield* (0, effection_1.spawn)(function* () {
206
224
  for (const file of yield* (0, effection_1.each)((0, effection_1.stream)(files))) {
207
- const key = (0, path_1.join)((0, path_1.dirname)(file.path.replace(pathname, "")), (0, path_1.basename)(file.name, ".jsonl"));
225
+ const key = file.path
226
+ .replace(root, "")
227
+ .replaceAll(`\\`, `/`)
228
+ .replace(/\.jsonl$/, "");
208
229
  for (const item of yield* (0, effection_1.each)(read(key))) {
209
230
  queue.add(item);
210
231
  yield* effection_1.each.next();
@@ -217,7 +238,7 @@ class JSONLStore {
217
238
  });
218
239
  }
219
240
  *clear() {
220
- yield* (0, effection_1.call)(() => (0, fs_1.emptyDir)(this.location));
241
+ yield* (0, effection_1.call)(() => (0, mod_js_3.emptyDir)(this.location));
221
242
  }
222
243
  }
223
244
  exports.JSONLStore = JSONLStore;
package/script/mod.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import "./_dnt.polyfills.js";
1
2
  export { StoreContext, useStore } from "./context.js";
2
3
  export { JSONLStore } from "./jsonl.js";
3
4
  export * from "./types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,cAAc,YAAY,CAAC"}
package/script/mod.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.JSONLStore = exports.useStore = exports.StoreContext = void 0;
18
+ require("./_dnt.polyfills.js");
18
19
  var context_js_1 = require("./context.js");
19
20
  Object.defineProperty(exports, "StoreContext", { enumerable: true, get: function () { return context_js_1.StoreContext; } });
20
21
  Object.defineProperty(exports, "useStore", { enumerable: true, get: function () { return context_js_1.useStore; } });