@effectionx/jsonl-store 0.3.1 → 0.4.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 (756) hide show
  1. package/context.test.ts +10 -0
  2. package/context.ts +18 -0
  3. package/{esm → dist}/context.d.ts +1 -1
  4. package/dist/context.d.ts.map +1 -0
  5. package/{esm → dist}/context.js +2 -2
  6. package/dist/fs-helpers.d.ts +41 -0
  7. package/dist/fs-helpers.d.ts.map +1 -0
  8. package/dist/fs-helpers.js +94 -0
  9. package/{script → dist}/jsonl.d.ts +1 -1
  10. package/dist/jsonl.d.ts.map +1 -0
  11. package/{esm → dist}/jsonl.js +16 -21
  12. package/dist/mod.d.ts +4 -0
  13. package/dist/mod.d.ts.map +1 -0
  14. package/{esm → dist}/mod.js +0 -1
  15. package/dist/stream-helpers.d.ts +14 -0
  16. package/dist/stream-helpers.d.ts.map +1 -0
  17. package/dist/stream-helpers.js +44 -0
  18. package/dist/tsconfig.tsbuildinfo +1 -0
  19. package/dist/types.d.ts.map +1 -0
  20. package/fs-helpers.ts +129 -0
  21. package/jsonl.test.ts +135 -0
  22. package/jsonl.ts +254 -0
  23. package/mod.ts +3 -0
  24. package/package.json +19 -17
  25. package/stream-helpers.ts +45 -0
  26. package/tsconfig.json +14 -0
  27. package/types.ts +15 -0
  28. package/esm/_dnt.polyfills.d.ts +0 -120
  29. package/esm/_dnt.polyfills.d.ts.map +0 -1
  30. package/esm/_dnt.polyfills.js +0 -247
  31. package/esm/_dnt.shims.d.ts +0 -2
  32. package/esm/_dnt.shims.d.ts.map +0 -1
  33. package/esm/_dnt.shims.js +0 -57
  34. package/esm/context.d.ts.map +0 -1
  35. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
  36. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  37. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
  38. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  39. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  40. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
  41. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +0 -41
  42. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +0 -1
  43. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +0 -50
  44. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
  45. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
  46. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -33
  47. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
  48. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
  49. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -20
  50. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
  51. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
  52. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -17
  53. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
  54. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
  55. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -25
  56. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
  57. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
  58. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -13
  59. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
  60. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
  61. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -312
  62. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
  63. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
  64. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -86
  65. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
  66. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
  67. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -101
  68. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
  69. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
  70. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -89
  71. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
  72. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
  73. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -60
  74. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
  75. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
  76. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -155
  77. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
  78. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
  79. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -67
  80. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
  81. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  82. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -269
  83. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
  84. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
  85. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -439
  86. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
  87. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
  88. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -29
  89. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
  90. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
  91. package/esm/deps/jsr.io/@std/fs/1.0.20/move.js +0 -141
  92. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
  93. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
  94. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -845
  95. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  96. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  97. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
  98. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  99. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  100. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
  101. package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts +0 -4
  102. package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +0 -1
  103. package/esm/deps/jsr.io/@std/json/1.0.2/_common.js +0 -11
  104. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +0 -70
  105. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +0 -1
  106. package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +0 -196
  107. package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts +0 -23
  108. package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +0 -1
  109. package/esm/deps/jsr.io/@std/json/1.0.2/mod.js +0 -23
  110. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +0 -53
  111. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +0 -1
  112. package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.js +0 -66
  113. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +0 -95
  114. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +0 -1
  115. package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +0 -88
  116. package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts +0 -5
  117. package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +0 -1
  118. package/esm/deps/jsr.io/@std/json/1.0.2/types.js +0 -3
  119. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
  120. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  121. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -7
  122. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
  123. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
  124. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -40
  125. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
  126. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
  127. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -23
  128. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
  129. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  130. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -46
  131. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
  132. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
  133. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -8
  134. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
  135. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
  136. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -19
  137. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
  138. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  139. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -9
  140. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
  141. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
  142. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -234
  143. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
  144. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  145. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -8
  146. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
  147. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  148. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -77
  149. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
  150. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
  151. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -9
  152. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
  153. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
  154. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -19
  155. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
  156. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
  157. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -15
  158. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
  159. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
  160. package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +0 -35
  161. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
  162. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
  163. package/esm/deps/jsr.io/@std/path/1.1.3/common.js +0 -33
  164. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
  165. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
  166. package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +0 -17
  167. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
  168. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
  169. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -28
  170. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
  171. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
  172. package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +0 -28
  173. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
  174. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
  175. package/esm/deps/jsr.io/@std/path/1.1.3/format.js +0 -27
  176. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
  177. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
  178. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -28
  179. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
  180. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
  181. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -83
  182. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
  183. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
  184. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -28
  185. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
  186. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
  187. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -42
  188. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
  189. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  190. package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
  191. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
  192. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
  193. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -34
  194. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
  195. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
  196. package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +0 -216
  197. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
  198. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  199. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
  200. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
  201. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
  202. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -35
  203. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
  204. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
  205. package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +0 -39
  206. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
  207. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  208. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -8
  209. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
  210. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
  211. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -52
  212. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
  213. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
  214. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -14
  215. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
  216. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
  217. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -64
  218. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
  219. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
  220. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -93
  221. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
  222. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
  223. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -28
  224. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
  225. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  226. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -21
  227. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
  228. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
  229. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -82
  230. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
  231. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
  232. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -23
  233. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
  234. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  235. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -45
  236. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
  237. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
  238. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -40
  239. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
  240. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  241. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -58
  242. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
  243. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
  244. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -32
  245. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
  246. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
  247. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -115
  248. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
  249. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
  250. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -106
  251. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
  252. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
  253. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -59
  254. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
  255. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
  256. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -27
  257. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
  258. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
  259. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -20
  260. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
  261. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
  262. package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +0 -30
  263. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
  264. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
  265. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -30
  266. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
  267. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
  268. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -28
  269. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
  270. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
  271. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -29
  272. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
  273. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
  274. package/esm/deps/jsr.io/@std/path/1.1.3/types.js +0 -3
  275. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
  276. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  277. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -15
  278. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
  279. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
  280. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -47
  281. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
  282. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
  283. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -14
  284. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
  285. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
  286. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -113
  287. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
  288. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
  289. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -82
  290. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
  291. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
  292. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -28
  293. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
  294. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  295. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -30
  296. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
  297. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
  298. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -82
  299. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
  300. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
  301. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -38
  302. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
  303. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  304. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -77
  305. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
  306. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
  307. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -41
  308. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
  309. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  310. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -135
  311. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
  312. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
  313. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -32
  314. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
  315. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
  316. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -176
  317. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
  318. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
  319. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -131
  320. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
  321. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
  322. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -154
  323. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
  324. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
  325. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -34
  326. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
  327. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
  328. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -49
  329. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +0 -5
  330. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +0 -1
  331. package/esm/deps/jsr.io/@std/streams/1.0.14/_common.js +0 -27
  332. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +0 -300
  333. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +0 -1
  334. package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.js +0 -411
  335. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +0 -44
  336. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +0 -1
  337. package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +0 -85
  338. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +0 -27
  339. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +0 -1
  340. package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +0 -48
  341. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +0 -66
  342. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +0 -1
  343. package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +0 -291
  344. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +0 -83
  345. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +0 -1
  346. package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +0 -102
  347. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +0 -101
  348. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +0 -1
  349. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +0 -122
  350. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +0 -84
  351. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +0 -1
  352. package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +0 -106
  353. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +0 -38
  354. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +0 -1
  355. package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +0 -69
  356. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +0 -35
  357. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +0 -1
  358. package/esm/deps/jsr.io/@std/streams/1.0.14/mod.js +0 -35
  359. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +0 -58
  360. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +0 -1
  361. package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +0 -123
  362. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +0 -72
  363. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +0 -1
  364. package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +0 -107
  365. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +0 -22
  366. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +0 -1
  367. package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +0 -35
  368. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +0 -22
  369. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +0 -1
  370. package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.js +0 -25
  371. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +0 -38
  372. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +0 -1
  373. package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.js +0 -42
  374. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +0 -29
  375. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +0 -1
  376. package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.js +0 -45
  377. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +0 -61
  378. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +0 -1
  379. package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +0 -103
  380. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +0 -76
  381. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +0 -1
  382. package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +0 -102
  383. package/esm/jsonl.d.ts +0 -102
  384. package/esm/jsonl.d.ts.map +0 -1
  385. package/esm/mod.d.ts +0 -5
  386. package/esm/mod.d.ts.map +0 -1
  387. package/esm/package.json +0 -3
  388. package/esm/types.d.ts.map +0 -1
  389. package/script/_dnt.polyfills.d.ts +0 -120
  390. package/script/_dnt.polyfills.d.ts.map +0 -1
  391. package/script/_dnt.polyfills.js +0 -250
  392. package/script/_dnt.shims.d.ts +0 -2
  393. package/script/_dnt.shims.d.ts.map +0 -1
  394. package/script/_dnt.shims.js +0 -60
  395. package/script/context.d.ts +0 -5
  396. package/script/context.d.ts.map +0 -1
  397. package/script/context.js +0 -18
  398. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
  399. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  400. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -3
  401. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  402. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  403. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -35
  404. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +0 -41
  405. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +0 -1
  406. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +0 -53
  407. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
  408. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
  409. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -37
  410. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
  411. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
  412. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -23
  413. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
  414. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
  415. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -20
  416. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
  417. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
  418. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -28
  419. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
  420. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
  421. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -16
  422. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
  423. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
  424. package/script/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -316
  425. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
  426. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
  427. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -90
  428. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
  429. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
  430. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -105
  431. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
  432. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
  433. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -93
  434. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
  435. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
  436. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -64
  437. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
  438. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
  439. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -159
  440. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
  441. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
  442. package/script/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -105
  443. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
  444. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  445. package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -273
  446. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
  447. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
  448. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -443
  449. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
  450. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
  451. package/script/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -45
  452. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
  453. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
  454. package/script/deps/jsr.io/@std/fs/1.0.20/move.js +0 -145
  455. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
  456. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
  457. package/script/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -849
  458. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  459. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  460. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
  461. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  462. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  463. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
  464. package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts +0 -4
  465. package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +0 -1
  466. package/script/deps/jsr.io/@std/json/1.0.2/_common.js +0 -14
  467. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +0 -70
  468. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +0 -1
  469. package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +0 -200
  470. package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts +0 -23
  471. package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +0 -1
  472. package/script/deps/jsr.io/@std/json/1.0.2/mod.js +0 -39
  473. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +0 -53
  474. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +0 -1
  475. package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.js +0 -70
  476. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +0 -95
  477. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +0 -1
  478. package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +0 -92
  479. package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts +0 -5
  480. package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +0 -1
  481. package/script/deps/jsr.io/@std/json/1.0.2/types.js +0 -4
  482. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
  483. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  484. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -10
  485. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
  486. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
  487. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -45
  488. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
  489. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
  490. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -26
  491. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
  492. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  493. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -49
  494. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
  495. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
  496. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -11
  497. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
  498. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
  499. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -23
  500. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
  501. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  502. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -12
  503. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
  504. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
  505. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -237
  506. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
  507. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  508. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -11
  509. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
  510. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  511. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -80
  512. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
  513. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
  514. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -12
  515. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
  516. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
  517. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -22
  518. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
  519. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
  520. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -18
  521. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
  522. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
  523. package/script/deps/jsr.io/@std/path/1.1.3/basename.js +0 -38
  524. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
  525. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
  526. package/script/deps/jsr.io/@std/path/1.1.3/common.js +0 -36
  527. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
  528. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
  529. package/script/deps/jsr.io/@std/path/1.1.3/constants.js +0 -20
  530. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
  531. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
  532. package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -31
  533. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
  534. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
  535. package/script/deps/jsr.io/@std/path/1.1.3/extname.js +0 -31
  536. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
  537. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
  538. package/script/deps/jsr.io/@std/path/1.1.3/format.js +0 -30
  539. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
  540. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
  541. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -31
  542. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
  543. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
  544. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -86
  545. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
  546. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
  547. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -31
  548. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
  549. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
  550. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -45
  551. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
  552. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  553. package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
  554. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
  555. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
  556. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -37
  557. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
  558. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
  559. package/script/deps/jsr.io/@std/path/1.1.3/mod.js +0 -232
  560. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
  561. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  562. package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
  563. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
  564. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
  565. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -38
  566. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
  567. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
  568. package/script/deps/jsr.io/@std/path/1.1.3/parse.js +0 -42
  569. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
  570. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  571. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -11
  572. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
  573. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
  574. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -55
  575. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
  576. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
  577. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -17
  578. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
  579. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
  580. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -67
  581. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
  582. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
  583. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -96
  584. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
  585. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
  586. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -31
  587. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
  588. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  589. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -24
  590. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
  591. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
  592. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -85
  593. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
  594. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
  595. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -26
  596. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
  597. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  598. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -48
  599. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
  600. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
  601. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -43
  602. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
  603. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  604. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -61
  605. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
  606. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
  607. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -35
  608. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
  609. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
  610. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -118
  611. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
  612. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
  613. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -109
  614. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
  615. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
  616. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -95
  617. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
  618. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
  619. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -30
  620. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
  621. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
  622. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -23
  623. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
  624. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
  625. package/script/deps/jsr.io/@std/path/1.1.3/relative.js +0 -33
  626. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
  627. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
  628. package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -33
  629. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
  630. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
  631. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -31
  632. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
  633. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
  634. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -32
  635. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
  636. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
  637. package/script/deps/jsr.io/@std/path/1.1.3/types.js +0 -4
  638. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
  639. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  640. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -20
  641. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
  642. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
  643. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -50
  644. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
  645. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
  646. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -17
  647. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
  648. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
  649. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -116
  650. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
  651. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
  652. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -85
  653. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
  654. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
  655. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -31
  656. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
  657. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  658. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -33
  659. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
  660. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
  661. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -85
  662. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
  663. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
  664. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -41
  665. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
  666. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  667. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -80
  668. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
  669. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
  670. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -44
  671. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
  672. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  673. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -138
  674. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
  675. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
  676. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -35
  677. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
  678. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
  679. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -179
  680. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
  681. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
  682. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -134
  683. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
  684. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
  685. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -190
  686. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
  687. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
  688. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -37
  689. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
  690. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
  691. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -52
  692. package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +0 -5
  693. package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +0 -1
  694. package/script/deps/jsr.io/@std/streams/1.0.14/_common.js +0 -31
  695. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +0 -300
  696. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +0 -1
  697. package/script/deps/jsr.io/@std/streams/1.0.14/buffer.js +0 -415
  698. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +0 -44
  699. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +0 -1
  700. package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +0 -89
  701. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +0 -27
  702. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +0 -1
  703. package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +0 -51
  704. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +0 -66
  705. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +0 -1
  706. package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +0 -295
  707. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +0 -83
  708. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +0 -1
  709. package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +0 -105
  710. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +0 -101
  711. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +0 -1
  712. package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +0 -126
  713. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +0 -84
  714. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +0 -1
  715. package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +0 -110
  716. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +0 -38
  717. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +0 -1
  718. package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +0 -72
  719. package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +0 -35
  720. package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +0 -1
  721. package/script/deps/jsr.io/@std/streams/1.0.14/mod.js +0 -51
  722. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +0 -58
  723. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +0 -1
  724. package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +0 -127
  725. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +0 -72
  726. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +0 -1
  727. package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +0 -111
  728. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +0 -22
  729. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +0 -1
  730. package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +0 -38
  731. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +0 -22
  732. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +0 -1
  733. package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.js +0 -28
  734. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +0 -38
  735. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +0 -1
  736. package/script/deps/jsr.io/@std/streams/1.0.14/to_json.js +0 -45
  737. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +0 -29
  738. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +0 -1
  739. package/script/deps/jsr.io/@std/streams/1.0.14/to_text.js +0 -48
  740. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +0 -61
  741. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +0 -1
  742. package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +0 -106
  743. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +0 -76
  744. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +0 -1
  745. package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +0 -105
  746. package/script/jsonl.d.ts.map +0 -1
  747. package/script/jsonl.js +0 -244
  748. package/script/mod.d.ts +0 -5
  749. package/script/mod.d.ts.map +0 -1
  750. package/script/mod.js +0 -24
  751. package/script/package.json +0 -3
  752. package/script/types.d.ts +0 -14
  753. package/script/types.d.ts.map +0 -1
  754. package/script/types.js +0 -2
  755. /package/{esm → dist}/types.d.ts +0 -0
  756. /package/{esm → dist}/types.js +0 -0
@@ -1,61 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,106 +0,0 @@
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
- }
@@ -1,76 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,105 +0,0 @@
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
- }
@@ -1 +0,0 @@
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 DELETED
@@ -1,244 +0,0 @@
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
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.JSONLStore = void 0;
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");
44
- const effection_1 = require("effection");
45
- const node_fs_1 = __importDefault(require("node:fs"));
46
- const fsp = __importStar(require("node:fs/promises"));
47
- const node_stream_1 = require("node:stream");
48
- function* mkdir(path, options) {
49
- return yield* (0, effection_1.call)(() => fsp.mkdir(path, options));
50
- }
51
- class JSONLStore {
52
- constructor(location) {
53
- Object.defineProperty(this, "location", {
54
- enumerable: true,
55
- configurable: true,
56
- writable: true,
57
- value: location
58
- });
59
- }
60
- /**
61
- * Creates a store with a location that has a trailing slash.
62
- * The trailing slash is important to ensure that the store content
63
- * is written to the store directory and not the directory above which
64
- * can be very annoying. The location has to be absolute.
65
- * ```ts
66
- * const store = JSONLStore.from({ location: 'file:///Users/foo/.store/' })
67
- * ```
68
- *
69
- * @param options StoreConstructorOptions
70
- * @returns
71
- */
72
- static from(options) {
73
- const pathname = options.location instanceof URL
74
- ? options.location.pathname
75
- : options.location;
76
- if (pathname.charAt(-1) === "/") {
77
- return new JSONLStore((0, mod_js_4.toFileUrl)(pathname));
78
- }
79
- else {
80
- return new JSONLStore((0, mod_js_4.toFileUrl)(`${pathname}/`));
81
- }
82
- }
83
- /**
84
- * Returns true when key is present
85
- * ```ts
86
- * import { useStore } from "jsr:@effectionx/jsonl-store";
87
- *
88
- * const store = yield* useStore();
89
- *
90
- * if (yield* store.has("test")) {
91
- * console.log("store exists");
92
- * }
93
- * ```
94
- *
95
- * @param key string
96
- * @returns boolean
97
- */
98
- *has(key) {
99
- const location = new URL(`./${key}.jsonl`, this.location);
100
- return yield* (0, effection_1.call)(async () => {
101
- try {
102
- return await (0, mod_js_3.exists)(location);
103
- }
104
- catch {
105
- return false;
106
- }
107
- });
108
- }
109
- /**
110
- * Returns content of a file as a stream
111
- *
112
- * ```ts
113
- * import { each } from "npm:effection@^3";
114
- * import { useStore } from "jsr:@effectionx/jsonl-store";
115
- *
116
- * const store = yield* useStore();
117
- *
118
- * for (const item of yield* each(store.read<number>("test"))) {
119
- * console.log(item)
120
- * yield* each.next();
121
- * }
122
- * ```
123
- *
124
- * @param key string
125
- * @returns Stream<T>
126
- */
127
- read(key) {
128
- const location = new URL(`./${key}.jsonl`, this.location);
129
- return (0, effection_1.resource)(function* (provide) {
130
- const channel = (0, effection_1.createChannel)();
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
135
- .pipeThrough(new TextDecoderStream())
136
- .pipeThrough(new mod_js_2.TextLineStream())
137
- .pipeThrough(new mod_js_1.JsonParseStream());
138
- yield* (0, effection_1.spawn)(function* () {
139
- const reader = lines.getReader();
140
- try {
141
- while (true) {
142
- const { done, value } = yield* (0, effection_1.call)(() => reader.read());
143
- yield* channel.send(value);
144
- if (done)
145
- break;
146
- }
147
- }
148
- finally {
149
- reader.releaseLock();
150
- yield* channel.close();
151
- }
152
- });
153
- yield* provide(yield* channel);
154
- });
155
- }
156
- /**
157
- * Write data to a file, creates the file and necessary directory structure as it goes along.
158
- *
159
- * ```ts
160
- * import { useStore } from "jsr:@effectionx/jsonl-store";
161
- *
162
- * const store = yield* useStore();
163
- * yield* store.write("hello", "world");
164
- * ```
165
- * @param key string
166
- * @param data unknown
167
- */
168
- *write(key, data) {
169
- const location = new URL(`./${key}.jsonl`, this.location);
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" }));
172
- }
173
- /**
174
- * Add data to an existing file.
175
- *
176
- * ```ts
177
- * import { useStore } from "jsr:@effectionx/jsonl-store";
178
- *
179
- * const store = yield* useStore();
180
- * yield* store.write("hello", "world");
181
- * yield* store.append("hello", "from bob");
182
- * ```
183
- * @param key string
184
- * @param data
185
- */
186
- *append(key, data) {
187
- const location = new URL(`./${key}.jsonl`, this.location);
188
- yield* (0, effection_1.call)(() => fsp.appendFile((0, mod_js_4.fromFileUrl)(location), `${JSON.stringify(data)}\n`, { encoding: "utf-8" }));
189
- }
190
- /**
191
- * Returns a stream of content from all files matching a glob
192
- *
193
- * ```ts
194
- * import { each } from "npm:effection@^3";
195
- * import { useStore } from "jsr:@effectionx/jsonl-store";
196
- *
197
- * const store = yield* useStore();
198
- *
199
- * for (const item of yield* each(store.find<number>("subdir/*"))) {
200
- * console.log(item);
201
- * yield* each.next();
202
- * }
203
- * ```
204
- *
205
- * @param glob string
206
- * @returns Stream<T, void>
207
- */
208
- find(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), {
211
- globstar: true,
212
- });
213
- const files = (0, mod_js_3.walk)(root, {
214
- includeDirs: false,
215
- includeFiles: true,
216
- match: [
217
- reg,
218
- ],
219
- });
220
- const read = this.read.bind(this);
221
- return (0, effection_1.resource)(function* (provide) {
222
- const queue = (0, effection_1.createQueue)();
223
- yield* (0, effection_1.spawn)(function* () {
224
- for (const file of yield* (0, effection_1.each)((0, effection_1.stream)(files))) {
225
- const key = file.path
226
- .replace(root, "")
227
- .replaceAll(`\\`, `/`)
228
- .replace(/\.jsonl$/, "");
229
- for (const item of yield* (0, effection_1.each)(read(key))) {
230
- queue.add(item);
231
- yield* effection_1.each.next();
232
- }
233
- yield* effection_1.each.next();
234
- }
235
- queue.close();
236
- });
237
- yield* provide(queue);
238
- });
239
- }
240
- *clear() {
241
- yield* (0, effection_1.call)(() => (0, mod_js_3.emptyDir)(this.location));
242
- }
243
- }
244
- exports.JSONLStore = JSONLStore;
package/script/mod.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import "./_dnt.polyfills.js";
2
- export { StoreContext, useStore } from "./context.js";
3
- export { JSONLStore } from "./jsonl.js";
4
- export * from "./types.js";
5
- //# sourceMappingURL=mod.d.ts.map
@@ -1 +0,0 @@
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 DELETED
@@ -1,24 +0,0 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.JSONLStore = exports.useStore = exports.StoreContext = void 0;
18
- require("./_dnt.polyfills.js");
19
- var context_js_1 = require("./context.js");
20
- Object.defineProperty(exports, "StoreContext", { enumerable: true, get: function () { return context_js_1.StoreContext; } });
21
- Object.defineProperty(exports, "useStore", { enumerable: true, get: function () { return context_js_1.useStore; } });
22
- var jsonl_js_1 = require("./jsonl.js");
23
- Object.defineProperty(exports, "JSONLStore", { enumerable: true, get: function () { return jsonl_js_1.JSONLStore; } });
24
- __exportStar(require("./types.js"), exports);
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
package/script/types.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import type { Operation, Stream } from "effection";
2
- export interface Store {
3
- location: URL;
4
- write(key: string, data: unknown): Operation<void>;
5
- append(key: string, data: unknown): Operation<void>;
6
- read<T>(key: string): Stream<T, void>;
7
- has(key: string): Operation<boolean>;
8
- find<T>(glob: string): Stream<T, void>;
9
- clear(): Operation<void>;
10
- }
11
- export interface StoreConstructorOptions {
12
- location: URL | string;
13
- }
14
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACnD,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACpD,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACtC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACvC,KAAK,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,GAAG,GAAG,MAAM,CAAC;CACxB"}
package/script/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
File without changes
File without changes