@effectionx/jsonl-store 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (713) hide show
  1. package/esm/_dnt.polyfills.d.ts +120 -0
  2. package/esm/_dnt.polyfills.d.ts.map +1 -0
  3. package/esm/_dnt.polyfills.js +247 -0
  4. package/esm/_dnt.shims.d.ts +2 -0
  5. package/esm/_dnt.shims.d.ts.map +1 -0
  6. package/esm/_dnt.shims.js +57 -0
  7. package/esm/context.js +2 -2
  8. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  9. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  10. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +2 -0
  11. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  12. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +32 -0
  14. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  15. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +50 -0
  17. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
  18. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +33 -0
  20. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
  21. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +20 -0
  23. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
  24. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +17 -0
  26. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
  27. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +25 -0
  29. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
  30. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +13 -0
  32. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
  33. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/fs/1.0.4/copy.js +312 -0
  35. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
  36. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +86 -0
  38. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
  39. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +101 -0
  41. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
  42. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
  43. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +89 -0
  44. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
  45. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +60 -0
  47. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
  48. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +119 -0
  50. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
  51. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/fs/1.0.4/eol.js +63 -0
  53. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
  54. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@std/fs/1.0.4/exists.js +269 -0
  56. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
  57. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +414 -0
  59. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
  60. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@std/fs/1.0.4/mod.js +29 -0
  62. package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
  63. package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@std/fs/1.0.4/move.js +140 -0
  65. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
  66. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@std/fs/1.0.4/walk.js +845 -0
  68. package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
  69. package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@std/json/1.0.1/_common.js +11 -0
  71. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
  72. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +196 -0
  74. package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
  75. package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@std/json/1.0.1/mod.js +23 -0
  77. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
  78. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.js +66 -0
  80. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
  81. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +88 -0
  83. package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
  84. package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@std/json/1.0.1/types.js +3 -0
  86. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
  87. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +7 -0
  89. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
  90. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.js +40 -0
  92. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
  93. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
  94. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.js +23 -0
  95. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
  96. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.js +46 -0
  98. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
  99. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +8 -0
  101. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
  102. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.js +19 -0
  104. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
  105. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
  106. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +9 -0
  107. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
  108. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
  109. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +234 -0
  110. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
  111. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
  112. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +8 -0
  113. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
  114. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +77 -0
  116. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
  117. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
  118. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.js +9 -0
  119. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
  120. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
  121. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +19 -0
  122. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
  123. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
  124. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +15 -0
  125. package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
  126. package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  127. package/esm/deps/jsr.io/@std/path/1.0.6/_os.js +9 -0
  128. package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
  129. package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
  130. package/esm/deps/jsr.io/@std/path/1.0.6/basename.js +36 -0
  131. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
  132. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
  133. package/esm/deps/jsr.io/@std/path/1.0.6/common.js +33 -0
  134. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
  135. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
  136. package/esm/deps/jsr.io/@std/path/1.0.6/constants.js +17 -0
  137. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
  138. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
  139. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.js +29 -0
  140. package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
  141. package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
  142. package/esm/deps/jsr.io/@std/path/1.0.6/extname.js +29 -0
  143. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
  144. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
  145. package/esm/deps/jsr.io/@std/path/1.0.6/format.js +27 -0
  146. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
  147. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
  148. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.js +28 -0
  149. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
  150. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
  151. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +83 -0
  152. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
  153. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
  154. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.js +28 -0
  155. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
  156. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
  157. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.js +42 -0
  158. package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
  159. package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
  160. package/esm/deps/jsr.io/@std/path/1.0.6/join.js +29 -0
  161. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
  162. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
  163. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.js +34 -0
  164. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
  165. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
  166. package/esm/deps/jsr.io/@std/path/1.0.6/mod.js +57 -0
  167. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
  168. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
  169. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.js +33 -0
  170. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
  171. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
  172. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +35 -0
  173. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
  174. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
  175. package/esm/deps/jsr.io/@std/path/1.0.6/parse.js +39 -0
  176. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
  177. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
  178. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.js +8 -0
  179. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
  180. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  181. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.js +32 -0
  182. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
  183. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
  184. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.js +14 -0
  185. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
  186. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  187. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +50 -0
  188. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  189. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  190. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.js +73 -0
  191. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
  192. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
  193. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.js +28 -0
  194. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
  195. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
  196. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +21 -0
  197. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
  198. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
  199. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +82 -0
  200. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
  201. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
  202. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +23 -0
  203. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
  204. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  205. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.js +29 -0
  206. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
  207. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
  208. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +39 -0
  209. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
  210. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  211. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +39 -0
  212. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
  213. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
  214. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +31 -0
  215. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
  216. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
  217. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.js +115 -0
  218. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
  219. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
  220. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.js +106 -0
  221. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
  222. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
  223. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +59 -0
  224. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
  225. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
  226. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +27 -0
  227. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
  228. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
  229. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +20 -0
  230. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
  231. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
  232. package/esm/deps/jsr.io/@std/path/1.0.6/relative.js +30 -0
  233. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
  234. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
  235. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.js +30 -0
  236. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
  237. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
  238. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.js +28 -0
  239. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
  240. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
  241. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +29 -0
  242. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
  243. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
  244. package/esm/deps/jsr.io/@std/path/1.0.6/types.js +3 -0
  245. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
  246. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
  247. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.js +15 -0
  248. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
  249. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
  250. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.js +44 -0
  251. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
  252. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
  253. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.js +14 -0
  254. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
  255. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
  256. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +112 -0
  257. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
  258. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
  259. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.js +81 -0
  260. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
  261. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
  262. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.js +28 -0
  263. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
  264. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
  265. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +30 -0
  266. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
  267. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
  268. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +82 -0
  269. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
  270. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
  271. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +38 -0
  272. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
  273. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
  274. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.js +74 -0
  275. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
  276. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
  277. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +40 -0
  278. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
  279. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
  280. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +134 -0
  281. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
  282. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
  283. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +31 -0
  284. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
  285. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
  286. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.js +176 -0
  287. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
  288. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
  289. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.js +131 -0
  290. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
  291. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
  292. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +154 -0
  293. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
  294. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
  295. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +34 -0
  296. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
  297. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
  298. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +49 -0
  299. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
  300. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
  301. package/esm/deps/jsr.io/@std/streams/1.0.8/_common.js +27 -0
  302. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
  303. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
  304. package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.js +406 -0
  305. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
  306. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
  307. package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +85 -0
  308. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
  309. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
  310. package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +47 -0
  311. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
  312. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
  313. package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +291 -0
  314. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
  315. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
  316. package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +102 -0
  317. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
  318. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
  319. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +122 -0
  320. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
  321. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
  322. package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +106 -0
  323. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
  324. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
  325. package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +69 -0
  326. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
  327. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
  328. package/esm/deps/jsr.io/@std/streams/1.0.8/mod.js +35 -0
  329. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
  330. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
  331. package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +123 -0
  332. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
  333. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
  334. package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +107 -0
  335. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  336. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  337. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +35 -0
  338. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
  339. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
  340. package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.js +25 -0
  341. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
  342. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
  343. package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.js +42 -0
  344. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
  345. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
  346. package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.js +45 -0
  347. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
  348. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
  349. package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +102 -0
  350. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
  351. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
  352. package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +102 -0
  353. package/esm/jsonl.js +4 -4
  354. package/esm/mod.d.ts +1 -0
  355. package/esm/mod.d.ts.map +1 -1
  356. package/esm/mod.js +1 -0
  357. package/package.json +5 -1
  358. package/script/_dnt.polyfills.d.ts +120 -0
  359. package/script/_dnt.polyfills.d.ts.map +1 -0
  360. package/script/_dnt.polyfills.js +250 -0
  361. package/script/_dnt.shims.d.ts +2 -0
  362. package/script/_dnt.shims.d.ts.map +1 -0
  363. package/script/_dnt.shims.js +60 -0
  364. package/script/context.js +2 -2
  365. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  366. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  367. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  368. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  369. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
  371. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
  372. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +53 -0
  374. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
  375. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
  376. package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +37 -0
  377. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
  378. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
  379. package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +23 -0
  380. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
  381. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
  382. package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +20 -0
  383. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
  384. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
  385. package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +28 -0
  386. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
  387. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
  388. package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +16 -0
  389. package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
  390. package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
  391. package/script/deps/jsr.io/@std/fs/1.0.4/copy.js +316 -0
  392. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
  393. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
  394. package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +90 -0
  395. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
  396. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
  397. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +105 -0
  398. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
  399. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
  400. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +93 -0
  401. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
  402. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
  403. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +64 -0
  404. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
  405. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
  406. package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +123 -0
  407. package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
  408. package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
  409. package/script/deps/jsr.io/@std/fs/1.0.4/eol.js +68 -0
  410. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
  411. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  412. package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +273 -0
  413. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
  414. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
  415. package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +418 -0
  416. package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
  417. package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
  418. package/script/deps/jsr.io/@std/fs/1.0.4/mod.js +45 -0
  419. package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
  420. package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
  421. package/script/deps/jsr.io/@std/fs/1.0.4/move.js +144 -0
  422. package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
  423. package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
  424. package/script/deps/jsr.io/@std/fs/1.0.4/walk.js +849 -0
  425. package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
  426. package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
  427. package/script/deps/jsr.io/@std/json/1.0.1/_common.js +14 -0
  428. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
  429. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
  430. package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +200 -0
  431. package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
  432. package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
  433. package/script/deps/jsr.io/@std/json/1.0.1/mod.js +39 -0
  434. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
  435. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
  436. package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.js +70 -0
  437. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
  438. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
  439. package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +92 -0
  440. package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
  441. package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
  442. package/script/deps/jsr.io/@std/json/1.0.1/types.js +4 -0
  443. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
  444. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
  445. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +10 -0
  446. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
  447. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
  448. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +45 -0
  449. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
  450. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
  451. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +26 -0
  452. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
  453. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
  454. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +49 -0
  455. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
  456. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
  457. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +11 -0
  458. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
  459. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
  460. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +23 -0
  461. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
  462. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
  463. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +12 -0
  464. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
  465. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
  466. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +237 -0
  467. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
  468. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
  469. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +11 -0
  470. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
  471. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
  472. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +80 -0
  473. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
  474. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
  475. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +12 -0
  476. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
  477. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
  478. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +22 -0
  479. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
  480. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
  481. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +18 -0
  482. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
  483. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  484. package/script/deps/jsr.io/@std/path/1.0.6/_os.js +45 -0
  485. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
  486. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
  487. package/script/deps/jsr.io/@std/path/1.0.6/basename.js +39 -0
  488. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
  489. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
  490. package/script/deps/jsr.io/@std/path/1.0.6/common.js +36 -0
  491. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
  492. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
  493. package/script/deps/jsr.io/@std/path/1.0.6/constants.js +20 -0
  494. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
  495. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
  496. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +32 -0
  497. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
  498. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
  499. package/script/deps/jsr.io/@std/path/1.0.6/extname.js +32 -0
  500. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
  501. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
  502. package/script/deps/jsr.io/@std/path/1.0.6/format.js +30 -0
  503. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
  504. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
  505. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +31 -0
  506. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
  507. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
  508. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +86 -0
  509. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
  510. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
  511. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +31 -0
  512. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
  513. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
  514. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +45 -0
  515. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
  516. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
  517. package/script/deps/jsr.io/@std/path/1.0.6/join.js +32 -0
  518. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
  519. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
  520. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +37 -0
  521. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
  522. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
  523. package/script/deps/jsr.io/@std/path/1.0.6/mod.js +73 -0
  524. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
  525. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
  526. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +36 -0
  527. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
  528. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
  529. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +38 -0
  530. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
  531. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
  532. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +42 -0
  533. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
  534. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
  535. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +11 -0
  536. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
  537. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  538. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +35 -0
  539. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
  540. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
  541. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +17 -0
  542. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
  543. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  544. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +53 -0
  545. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  546. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  547. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +76 -0
  548. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
  549. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
  550. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +31 -0
  551. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
  552. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
  553. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +24 -0
  554. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
  555. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
  556. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +85 -0
  557. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
  558. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
  559. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +26 -0
  560. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
  561. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  562. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +32 -0
  563. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
  564. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
  565. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +42 -0
  566. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
  567. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  568. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +42 -0
  569. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
  570. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
  571. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +34 -0
  572. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
  573. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
  574. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +118 -0
  575. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
  576. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
  577. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +109 -0
  578. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
  579. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
  580. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +95 -0
  581. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
  582. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
  583. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +30 -0
  584. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
  585. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
  586. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +23 -0
  587. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
  588. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
  589. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +33 -0
  590. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
  591. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
  592. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +33 -0
  593. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
  594. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
  595. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +31 -0
  596. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
  597. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
  598. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +32 -0
  599. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
  600. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
  601. package/script/deps/jsr.io/@std/path/1.0.6/types.js +4 -0
  602. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
  603. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
  604. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +20 -0
  605. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
  606. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
  607. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +47 -0
  608. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
  609. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
  610. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +17 -0
  611. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
  612. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
  613. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +115 -0
  614. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
  615. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
  616. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +84 -0
  617. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
  618. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
  619. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +31 -0
  620. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
  621. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
  622. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +33 -0
  623. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
  624. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
  625. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +85 -0
  626. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
  627. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
  628. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +41 -0
  629. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
  630. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
  631. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +77 -0
  632. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
  633. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
  634. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +43 -0
  635. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
  636. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
  637. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +137 -0
  638. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
  639. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
  640. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +34 -0
  641. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
  642. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
  643. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +179 -0
  644. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
  645. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
  646. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +134 -0
  647. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
  648. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
  649. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +190 -0
  650. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
  651. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
  652. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +37 -0
  653. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
  654. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
  655. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +52 -0
  656. package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
  657. package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
  658. package/script/deps/jsr.io/@std/streams/1.0.8/_common.js +31 -0
  659. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
  660. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
  661. package/script/deps/jsr.io/@std/streams/1.0.8/buffer.js +410 -0
  662. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
  663. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
  664. package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +89 -0
  665. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
  666. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
  667. package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +50 -0
  668. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
  669. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
  670. package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +295 -0
  671. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
  672. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
  673. package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +105 -0
  674. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
  675. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
  676. package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +126 -0
  677. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
  678. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
  679. package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +110 -0
  680. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
  681. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
  682. package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +72 -0
  683. package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
  684. package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
  685. package/script/deps/jsr.io/@std/streams/1.0.8/mod.js +51 -0
  686. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
  687. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
  688. package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +127 -0
  689. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
  690. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
  691. package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +111 -0
  692. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  693. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  694. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +38 -0
  695. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
  696. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
  697. package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.js +28 -0
  698. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
  699. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
  700. package/script/deps/jsr.io/@std/streams/1.0.8/to_json.js +45 -0
  701. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
  702. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
  703. package/script/deps/jsr.io/@std/streams/1.0.8/to_text.js +48 -0
  704. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
  705. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
  706. package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +105 -0
  707. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
  708. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
  709. package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +105 -0
  710. package/script/jsonl.js +14 -14
  711. package/script/mod.d.ts +1 -0
  712. package/script/mod.d.ts.map +1 -1
  713. package/script/mod.js +1 -0
@@ -0,0 +1,53 @@
1
+ /** End-of-line character for POSIX platforms such as macOS and Linux. */
2
+ export declare const LF: "\n";
3
+ /** End-of-line character for Windows platforms. */
4
+ export declare const CRLF: "\r\n";
5
+ /**
6
+ * End-of-line character evaluated for the current platform.
7
+ *
8
+ * @example Usage
9
+ * ```ts ignore
10
+ * import { EOL } from "@std/fs/eol";
11
+ *
12
+ * EOL; // "\n" on POSIX platforms and "\r\n" on Windows
13
+ * ```
14
+ */
15
+ export declare const EOL: "\n" | "\r\n";
16
+ /**
17
+ * Returns the detected EOL character(s) detected in the input string. If no EOL
18
+ * character is detected, `null` is returned.
19
+ *
20
+ * @param content The input string to detect EOL characters.
21
+ *
22
+ * @returns The detected EOL character(s) or `null` if no EOL character is detected.
23
+ *
24
+ * @example Usage
25
+ * ```ts ignore
26
+ * import { detect } from "@std/fs/eol";
27
+ *
28
+ * detect("deno\r\nis not\r\nnode"); // "\r\n"
29
+ * detect("deno\nis not\r\nnode"); // "\r\n"
30
+ * detect("deno\nis not\nnode"); // "\n"
31
+ * detect("deno is not node"); // null
32
+ * ```
33
+ */
34
+ export declare function detect(content: string): typeof EOL | null;
35
+ /**
36
+ * Normalize the input string to the targeted EOL.
37
+ *
38
+ * @param content The input string to normalize.
39
+ * @param eol The EOL character(s) to normalize the input string to.
40
+ *
41
+ * @returns The input string normalized to the targeted EOL.
42
+ *
43
+ * @example Usage
44
+ * ```ts ignore
45
+ * import { LF, format } from "@std/fs/eol";
46
+ *
47
+ * const CRLFinput = "deno\r\nis not\r\nnode";
48
+ *
49
+ * format(CRLFinput, LF); // "deno\nis not\nnode"
50
+ * ```
51
+ */
52
+ export declare function format(content: string, eol: typeof EOL): string;
53
+ //# sourceMappingURL=eol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eol.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/eol.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,eAAO,MAAM,EAAE,EAAG,IAAa,CAAC;AAEhC,mDAAmD;AACnD,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC;;;;;;;;;GASG;AACH,eAAO,MAAM,GAAG,EAAE,IAAI,GAAG,MAAiD,CAAC;AAI3E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,GAAG,IAAI,CAQzD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,GAAG,MAAM,CAE/D"}
@@ -0,0 +1,63 @@
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ /** End-of-line character for POSIX platforms such as macOS and Linux. */
3
+ export const LF = "\n";
4
+ /** End-of-line character for Windows platforms. */
5
+ export const CRLF = "\r\n";
6
+ /**
7
+ * End-of-line character evaluated for the current platform.
8
+ *
9
+ * @example Usage
10
+ * ```ts ignore
11
+ * import { EOL } from "@std/fs/eol";
12
+ *
13
+ * EOL; // "\n" on POSIX platforms and "\r\n" on Windows
14
+ * ```
15
+ */
16
+ export const EOL = Deno?.build.os === "windows" ? CRLF : LF;
17
+ const regDetect = /(?:\r?\n)/g;
18
+ /**
19
+ * Returns the detected EOL character(s) detected in the input string. If no EOL
20
+ * character is detected, `null` is returned.
21
+ *
22
+ * @param content The input string to detect EOL characters.
23
+ *
24
+ * @returns The detected EOL character(s) or `null` if no EOL character is detected.
25
+ *
26
+ * @example Usage
27
+ * ```ts ignore
28
+ * import { detect } from "@std/fs/eol";
29
+ *
30
+ * detect("deno\r\nis not\r\nnode"); // "\r\n"
31
+ * detect("deno\nis not\r\nnode"); // "\r\n"
32
+ * detect("deno\nis not\nnode"); // "\n"
33
+ * detect("deno is not node"); // null
34
+ * ```
35
+ */
36
+ export function detect(content) {
37
+ const d = content.match(regDetect);
38
+ if (!d || d.length === 0) {
39
+ return null;
40
+ }
41
+ const hasCRLF = d.some((x) => x === CRLF);
42
+ return hasCRLF ? CRLF : LF;
43
+ }
44
+ /**
45
+ * Normalize the input string to the targeted EOL.
46
+ *
47
+ * @param content The input string to normalize.
48
+ * @param eol The EOL character(s) to normalize the input string to.
49
+ *
50
+ * @returns The input string normalized to the targeted EOL.
51
+ *
52
+ * @example Usage
53
+ * ```ts ignore
54
+ * import { LF, format } from "@std/fs/eol";
55
+ *
56
+ * const CRLFinput = "deno\r\nis not\r\nnode";
57
+ *
58
+ * format(CRLFinput, LF); // "deno\nis not\nnode"
59
+ * ```
60
+ */
61
+ export function format(content, eol) {
62
+ return content.replace(regDetect, eol);
63
+ }
@@ -0,0 +1,219 @@
1
+ /** Options for {@linkcode exists} and {@linkcode existsSync.} */
2
+ export interface ExistsOptions {
3
+ /**
4
+ * When `true`, will check if the path is readable by the user as well.
5
+ *
6
+ * @default {false}
7
+ */
8
+ isReadable?: boolean;
9
+ /**
10
+ * When `true`, will check if the path is a directory as well. Directory
11
+ * symlinks are included.
12
+ *
13
+ * @default {false}
14
+ */
15
+ isDirectory?: boolean;
16
+ /**
17
+ * When `true`, will check if the path is a file as well. File symlinks are
18
+ * included.
19
+ *
20
+ * @default {false}
21
+ */
22
+ isFile?: boolean;
23
+ }
24
+ /**
25
+ * Asynchronously test whether or not the given path exists by checking with
26
+ * the file system.
27
+ *
28
+ * Note: Do not use this function if performing a check before another operation
29
+ * on that file. Doing so creates a race condition. Instead, perform the actual
30
+ * file operation directly. This function is not recommended for this use case.
31
+ * See the recommended method below.
32
+ *
33
+ * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
34
+ * more information on the time-of-check to time-of-use bug.
35
+ *
36
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
37
+ * permissions if `options.isReadable` is `true`.
38
+ *
39
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
40
+ * for more information on Deno's permissions system.
41
+ *
42
+ * @param path The path to the file or directory, as a string or URL.
43
+ * @param options Additional options for the check.
44
+ *
45
+ * @returns A promise that resolves with `true` if the path exists, `false`
46
+ * otherwise.
47
+ *
48
+ * @example Recommended method
49
+ * ```ts ignore
50
+ * // Notice no use of exists
51
+ * try {
52
+ * await Deno.remove("./foo", { recursive: true });
53
+ * } catch (error) {
54
+ * if (!(error instanceof Deno.errors.NotFound)) {
55
+ * throw error;
56
+ * }
57
+ * // Do nothing...
58
+ * }
59
+ * ```
60
+ *
61
+ * Notice that `exists()` is not used in the above example. Doing so avoids a
62
+ * possible race condition. See the above note for details.
63
+ *
64
+ * @example Basic usage
65
+ * ```ts ignore
66
+ * import { exists } from "@std/fs/exists";
67
+ *
68
+ * await exists("./exists"); // true
69
+ * await exists("./does_not_exist"); // false
70
+ * ```
71
+ *
72
+ * @example Check if a path is readable
73
+ *
74
+ * Requires `--allow-sys` permissions in some cases.
75
+ *
76
+ * ```ts ignore
77
+ * import { exists } from "@std/fs/exists";
78
+ *
79
+ * await exists("./readable", { isReadable: true }); // true
80
+ * await exists("./not_readable", { isReadable: true }); // false
81
+ * ```
82
+ *
83
+ * @example Check if a path is a directory
84
+ * ```ts ignore
85
+ * import { exists } from "@std/fs/exists";
86
+ *
87
+ * await exists("./directory", { isDirectory: true }); // true
88
+ * await exists("./file", { isDirectory: true }); // false
89
+ * ```
90
+ *
91
+ * @example Check if a path is a file
92
+ * ```ts ignore
93
+ * import { exists } from "@std/fs/exists";
94
+ *
95
+ * await exists("./file", { isFile: true }); // true
96
+ * await exists("./directory", { isFile: true }); // false
97
+ * ```
98
+ *
99
+ * @example Check if a path is a readable directory
100
+ *
101
+ * Requires `--allow-sys` permissions in some cases.
102
+ *
103
+ * ```ts ignore
104
+ * import { exists } from "@std/fs/exists";
105
+ *
106
+ * await exists("./readable_directory", { isReadable: true, isDirectory: true }); // true
107
+ * await exists("./not_readable_directory", { isReadable: true, isDirectory: true }); // false
108
+ * ```
109
+ *
110
+ * @example Check if a path is a readable file
111
+ *
112
+ * Requires `--allow-sys` permissions in some cases.
113
+ *
114
+ * ```ts ignore
115
+ * import { exists } from "@std/fs/exists";
116
+ *
117
+ * await exists("./readable_file", { isReadable: true, isFile: true }); // true
118
+ * await exists("./not_readable_file", { isReadable: true, isFile: true }); // false
119
+ * ```
120
+ */
121
+ export declare function exists(path: string | URL, options?: ExistsOptions): Promise<boolean>;
122
+ /**
123
+ * Synchronously test whether or not the given path exists by checking with
124
+ * the file system.
125
+ *
126
+ * Note: Do not use this function if performing a check before another operation
127
+ * on that file. Doing so creates a race condition. Instead, perform the actual
128
+ * file operation directly. This function is not recommended for this use case.
129
+ * See the recommended method below.
130
+ *
131
+ * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
132
+ * more information on the time-of-check to time-of-use bug.
133
+ *
134
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
135
+ * permissions if `options.isReadable` is `true`.
136
+ *
137
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
138
+ * for more information on Deno's permissions system.
139
+ *
140
+ * @param path The path to the file or directory, as a string or URL.
141
+ * @param options Additional options for the check.
142
+ *
143
+ * @returns `true` if the path exists, `false` otherwise.
144
+ *
145
+ * @example Recommended method
146
+ * ```ts ignore
147
+ * // Notice no use of exists
148
+ * try {
149
+ * Deno.removeSync("./foo", { recursive: true });
150
+ * } catch (error) {
151
+ * if (!(error instanceof Deno.errors.NotFound)) {
152
+ * throw error;
153
+ * }
154
+ * // Do nothing...
155
+ * }
156
+ * ```
157
+ *
158
+ * Notice that `existsSync()` is not used in the above example. Doing so avoids
159
+ * a possible race condition. See the above note for details.
160
+ *
161
+ * @example Basic usage
162
+ * ```ts ignore
163
+ * import { existsSync } from "@std/fs/exists";
164
+ *
165
+ * existsSync("./exists"); // true
166
+ * existsSync("./does_not_exist"); // false
167
+ * ```
168
+ *
169
+ * @example Check if a path is readable
170
+ *
171
+ * Requires `--allow-sys` permissions in some cases.
172
+ *
173
+ * ```ts ignore
174
+ * import { existsSync } from "@std/fs/exists";
175
+ *
176
+ * existsSync("./readable", { isReadable: true }); // true
177
+ * existsSync("./not_readable", { isReadable: true }); // false
178
+ * ```
179
+ *
180
+ * @example Check if a path is a directory
181
+ * ```ts ignore
182
+ * import { existsSync } from "@std/fs/exists";
183
+ *
184
+ * existsSync("./directory", { isDirectory: true }); // true
185
+ * existsSync("./file", { isDirectory: true }); // false
186
+ * ```
187
+ *
188
+ * @example Check if a path is a file
189
+ * ```ts ignore
190
+ * import { existsSync } from "@std/fs/exists";
191
+ *
192
+ * existsSync("./file", { isFile: true }); // true
193
+ * existsSync("./directory", { isFile: true }); // false
194
+ * ```
195
+ *
196
+ * @example Check if a path is a readable directory
197
+ *
198
+ * Requires `--allow-sys` permissions in some cases.
199
+ *
200
+ * ```ts ignore
201
+ * import { existsSync } from "@std/fs/exists";
202
+ *
203
+ * existsSync("./readable_directory", { isReadable: true, isDirectory: true }); // true
204
+ * existsSync("./not_readable_directory", { isReadable: true, isDirectory: true }); // false
205
+ * ```
206
+ *
207
+ * @example Check if a path is a readable file
208
+ *
209
+ * Requires `--allow-sys` permissions in some cases.
210
+ *
211
+ * ```ts ignore
212
+ * import { existsSync } from "@std/fs/exists";
213
+ *
214
+ * existsSync("./readable_file", { isReadable: true, isFile: true }); // true
215
+ * existsSync("./not_readable_file", { isReadable: true, isFile: true }); // false
216
+ * ```
217
+ */
218
+ export declare function existsSync(path: string | URL, options?: ExistsOptions): boolean;
219
+ //# sourceMappingURL=exists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/exists.ts"],"names":[],"mappings":"AAEA,iEAAiE;AACjE,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,CAsClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAqCT"}
@@ -0,0 +1,269 @@
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ /**
3
+ * Asynchronously test whether or not the given path exists by checking with
4
+ * the file system.
5
+ *
6
+ * Note: Do not use this function if performing a check before another operation
7
+ * on that file. Doing so creates a race condition. Instead, perform the actual
8
+ * file operation directly. This function is not recommended for this use case.
9
+ * See the recommended method below.
10
+ *
11
+ * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
12
+ * more information on the time-of-check to time-of-use bug.
13
+ *
14
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
15
+ * permissions if `options.isReadable` is `true`.
16
+ *
17
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
18
+ * for more information on Deno's permissions system.
19
+ *
20
+ * @param path The path to the file or directory, as a string or URL.
21
+ * @param options Additional options for the check.
22
+ *
23
+ * @returns A promise that resolves with `true` if the path exists, `false`
24
+ * otherwise.
25
+ *
26
+ * @example Recommended method
27
+ * ```ts ignore
28
+ * // Notice no use of exists
29
+ * try {
30
+ * await Deno.remove("./foo", { recursive: true });
31
+ * } catch (error) {
32
+ * if (!(error instanceof Deno.errors.NotFound)) {
33
+ * throw error;
34
+ * }
35
+ * // Do nothing...
36
+ * }
37
+ * ```
38
+ *
39
+ * Notice that `exists()` is not used in the above example. Doing so avoids a
40
+ * possible race condition. See the above note for details.
41
+ *
42
+ * @example Basic usage
43
+ * ```ts ignore
44
+ * import { exists } from "@std/fs/exists";
45
+ *
46
+ * await exists("./exists"); // true
47
+ * await exists("./does_not_exist"); // false
48
+ * ```
49
+ *
50
+ * @example Check if a path is readable
51
+ *
52
+ * Requires `--allow-sys` permissions in some cases.
53
+ *
54
+ * ```ts ignore
55
+ * import { exists } from "@std/fs/exists";
56
+ *
57
+ * await exists("./readable", { isReadable: true }); // true
58
+ * await exists("./not_readable", { isReadable: true }); // false
59
+ * ```
60
+ *
61
+ * @example Check if a path is a directory
62
+ * ```ts ignore
63
+ * import { exists } from "@std/fs/exists";
64
+ *
65
+ * await exists("./directory", { isDirectory: true }); // true
66
+ * await exists("./file", { isDirectory: true }); // false
67
+ * ```
68
+ *
69
+ * @example Check if a path is a file
70
+ * ```ts ignore
71
+ * import { exists } from "@std/fs/exists";
72
+ *
73
+ * await exists("./file", { isFile: true }); // true
74
+ * await exists("./directory", { isFile: true }); // false
75
+ * ```
76
+ *
77
+ * @example Check if a path is a readable directory
78
+ *
79
+ * Requires `--allow-sys` permissions in some cases.
80
+ *
81
+ * ```ts ignore
82
+ * import { exists } from "@std/fs/exists";
83
+ *
84
+ * await exists("./readable_directory", { isReadable: true, isDirectory: true }); // true
85
+ * await exists("./not_readable_directory", { isReadable: true, isDirectory: true }); // false
86
+ * ```
87
+ *
88
+ * @example Check if a path is a readable file
89
+ *
90
+ * Requires `--allow-sys` permissions in some cases.
91
+ *
92
+ * ```ts ignore
93
+ * import { exists } from "@std/fs/exists";
94
+ *
95
+ * await exists("./readable_file", { isReadable: true, isFile: true }); // true
96
+ * await exists("./not_readable_file", { isReadable: true, isFile: true }); // false
97
+ * ```
98
+ */
99
+ export async function exists(path, options) {
100
+ try {
101
+ const stat = await Deno.stat(path);
102
+ if (options &&
103
+ (options.isReadable || options.isDirectory || options.isFile)) {
104
+ if (options.isDirectory && options.isFile) {
105
+ throw new TypeError("ExistsOptions.options.isDirectory and ExistsOptions.options.isFile must not be true together");
106
+ }
107
+ if ((options.isDirectory && !stat.isDirectory) ||
108
+ (options.isFile && !stat.isFile)) {
109
+ return false;
110
+ }
111
+ if (options.isReadable) {
112
+ return fileIsReadable(stat);
113
+ }
114
+ }
115
+ return true;
116
+ }
117
+ catch (error) {
118
+ if (error instanceof Deno.errors.NotFound) {
119
+ return false;
120
+ }
121
+ if (error instanceof Deno.errors.PermissionDenied) {
122
+ if ((await Deno.permissions.query({ name: "read", path })).state ===
123
+ "granted") {
124
+ // --allow-read not missing
125
+ return !options?.isReadable; // PermissionDenied was raised by file system, so the item exists, but can't be read
126
+ }
127
+ }
128
+ throw error;
129
+ }
130
+ }
131
+ /**
132
+ * Synchronously test whether or not the given path exists by checking with
133
+ * the file system.
134
+ *
135
+ * Note: Do not use this function if performing a check before another operation
136
+ * on that file. Doing so creates a race condition. Instead, perform the actual
137
+ * file operation directly. This function is not recommended for this use case.
138
+ * See the recommended method below.
139
+ *
140
+ * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
141
+ * more information on the time-of-check to time-of-use bug.
142
+ *
143
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
144
+ * permissions if `options.isReadable` is `true`.
145
+ *
146
+ * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
147
+ * for more information on Deno's permissions system.
148
+ *
149
+ * @param path The path to the file or directory, as a string or URL.
150
+ * @param options Additional options for the check.
151
+ *
152
+ * @returns `true` if the path exists, `false` otherwise.
153
+ *
154
+ * @example Recommended method
155
+ * ```ts ignore
156
+ * // Notice no use of exists
157
+ * try {
158
+ * Deno.removeSync("./foo", { recursive: true });
159
+ * } catch (error) {
160
+ * if (!(error instanceof Deno.errors.NotFound)) {
161
+ * throw error;
162
+ * }
163
+ * // Do nothing...
164
+ * }
165
+ * ```
166
+ *
167
+ * Notice that `existsSync()` is not used in the above example. Doing so avoids
168
+ * a possible race condition. See the above note for details.
169
+ *
170
+ * @example Basic usage
171
+ * ```ts ignore
172
+ * import { existsSync } from "@std/fs/exists";
173
+ *
174
+ * existsSync("./exists"); // true
175
+ * existsSync("./does_not_exist"); // false
176
+ * ```
177
+ *
178
+ * @example Check if a path is readable
179
+ *
180
+ * Requires `--allow-sys` permissions in some cases.
181
+ *
182
+ * ```ts ignore
183
+ * import { existsSync } from "@std/fs/exists";
184
+ *
185
+ * existsSync("./readable", { isReadable: true }); // true
186
+ * existsSync("./not_readable", { isReadable: true }); // false
187
+ * ```
188
+ *
189
+ * @example Check if a path is a directory
190
+ * ```ts ignore
191
+ * import { existsSync } from "@std/fs/exists";
192
+ *
193
+ * existsSync("./directory", { isDirectory: true }); // true
194
+ * existsSync("./file", { isDirectory: true }); // false
195
+ * ```
196
+ *
197
+ * @example Check if a path is a file
198
+ * ```ts ignore
199
+ * import { existsSync } from "@std/fs/exists";
200
+ *
201
+ * existsSync("./file", { isFile: true }); // true
202
+ * existsSync("./directory", { isFile: true }); // false
203
+ * ```
204
+ *
205
+ * @example Check if a path is a readable directory
206
+ *
207
+ * Requires `--allow-sys` permissions in some cases.
208
+ *
209
+ * ```ts ignore
210
+ * import { existsSync } from "@std/fs/exists";
211
+ *
212
+ * existsSync("./readable_directory", { isReadable: true, isDirectory: true }); // true
213
+ * existsSync("./not_readable_directory", { isReadable: true, isDirectory: true }); // false
214
+ * ```
215
+ *
216
+ * @example Check if a path is a readable file
217
+ *
218
+ * Requires `--allow-sys` permissions in some cases.
219
+ *
220
+ * ```ts ignore
221
+ * import { existsSync } from "@std/fs/exists";
222
+ *
223
+ * existsSync("./readable_file", { isReadable: true, isFile: true }); // true
224
+ * existsSync("./not_readable_file", { isReadable: true, isFile: true }); // false
225
+ * ```
226
+ */
227
+ export function existsSync(path, options) {
228
+ try {
229
+ const stat = Deno.statSync(path);
230
+ if (options &&
231
+ (options.isReadable || options.isDirectory || options.isFile)) {
232
+ if (options.isDirectory && options.isFile) {
233
+ throw new TypeError("ExistsOptions.options.isDirectory and ExistsOptions.options.isFile must not be true together");
234
+ }
235
+ if ((options.isDirectory && !stat.isDirectory) ||
236
+ (options.isFile && !stat.isFile)) {
237
+ return false;
238
+ }
239
+ if (options.isReadable) {
240
+ return fileIsReadable(stat);
241
+ }
242
+ }
243
+ return true;
244
+ }
245
+ catch (error) {
246
+ if (error instanceof Deno.errors.NotFound) {
247
+ return false;
248
+ }
249
+ if (error instanceof Deno.errors.PermissionDenied) {
250
+ if (Deno.permissions.querySync({ name: "read", path }).state === "granted") {
251
+ // --allow-read not missing
252
+ return !options?.isReadable; // PermissionDenied was raised by file system, so the item exists, but can't be read
253
+ }
254
+ }
255
+ throw error;
256
+ }
257
+ }
258
+ function fileIsReadable(stat) {
259
+ if (stat.mode === null) {
260
+ return true; // Exclusive on Non-POSIX systems
261
+ }
262
+ else if (Deno.uid() === stat.uid) {
263
+ return (stat.mode & 0o400) === 0o400; // User is owner and can read?
264
+ }
265
+ else if (Deno.gid() === stat.gid) {
266
+ return (stat.mode & 0o040) === 0o040; // User group is owner and can read?
267
+ }
268
+ return (stat.mode & 0o004) === 0o004; // Others can read?
269
+ }