@effectionx/watch 0.3.0 → 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 (597) hide show
  1. package/dist/main.d.ts +2 -0
  2. package/dist/main.d.ts.map +1 -0
  3. package/{esm → dist}/main.js +6 -7
  4. package/dist/mod.d.ts +5 -0
  5. package/dist/mod.d.ts.map +1 -0
  6. package/{esm → dist}/mod.js +0 -1
  7. package/dist/package.json +47 -0
  8. package/dist/stream-helpers.d.ts.map +1 -0
  9. package/{esm → dist}/stream-helpers.js +1 -3
  10. package/dist/tsconfig.tsbuildinfo +1 -0
  11. package/dist/watch.d.ts.map +1 -0
  12. package/{esm → dist}/watch.js +5 -6
  13. package/main.ts +83 -0
  14. package/mod.ts +4 -0
  15. package/package.json +31 -24
  16. package/stream-helpers.ts +42 -0
  17. package/test/cat.ts +17 -0
  18. package/test/fixtures/src/file.txt +1 -0
  19. package/test/helpers.ts +144 -0
  20. package/test/watch-graceful.ts +11 -0
  21. package/test/watch.test.ts +121 -0
  22. package/tsconfig.json +27 -0
  23. package/watch.ts +198 -0
  24. package/esm/_dnt.polyfills.d.ts +0 -8
  25. package/esm/_dnt.polyfills.d.ts.map +0 -1
  26. package/esm/_dnt.polyfills.js +0 -110
  27. package/esm/_dnt.shims.d.ts +0 -2
  28. package/esm/_dnt.shims.d.ts.map +0 -1
  29. package/esm/_dnt.shims.js +0 -57
  30. package/esm/deno.d.ts +0 -36
  31. package/esm/deno.d.ts.map +0 -1
  32. package/esm/deno.js +0 -34
  33. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
  34. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
  35. package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -33
  36. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
  37. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
  38. package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -20
  39. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
  40. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
  41. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -17
  42. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
  43. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
  44. package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -25
  45. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
  46. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
  47. package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -13
  48. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
  49. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
  50. package/esm/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -312
  51. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
  52. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
  53. package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -86
  54. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
  55. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
  56. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -101
  57. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
  58. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
  59. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -89
  60. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
  61. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
  62. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -60
  63. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
  64. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
  65. package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -155
  66. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
  67. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
  68. package/esm/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -67
  69. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
  70. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  71. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -269
  72. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
  73. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
  74. package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -439
  75. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
  76. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
  77. package/esm/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -29
  78. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
  79. package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
  80. package/esm/deps/jsr.io/@std/fs/1.0.20/move.js +0 -141
  81. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
  82. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
  83. package/esm/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -845
  84. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  85. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  86. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
  87. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  88. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  89. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
  90. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
  91. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  92. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -7
  93. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
  94. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
  95. package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -40
  96. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
  97. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
  98. package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -23
  99. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
  100. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  101. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -46
  102. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
  103. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
  104. package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -8
  105. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
  106. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
  107. package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -19
  108. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
  109. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  110. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -9
  111. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
  112. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
  113. package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -234
  114. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
  115. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  116. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -8
  117. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
  118. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  119. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -77
  120. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
  121. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
  122. package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -9
  123. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
  124. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
  125. package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -19
  126. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
  127. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
  128. package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -15
  129. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
  130. package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
  131. package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +0 -35
  132. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
  133. package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
  134. package/esm/deps/jsr.io/@std/path/1.1.3/common.js +0 -33
  135. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
  136. package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
  137. package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +0 -17
  138. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
  139. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
  140. package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -28
  141. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
  142. package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
  143. package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +0 -28
  144. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
  145. package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
  146. package/esm/deps/jsr.io/@std/path/1.1.3/format.js +0 -27
  147. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
  148. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
  149. package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -28
  150. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
  151. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
  152. package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -83
  153. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
  154. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
  155. package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -28
  156. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
  157. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
  158. package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -42
  159. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
  160. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  161. package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
  162. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
  163. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
  164. package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -34
  165. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
  166. package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
  167. package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +0 -216
  168. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
  169. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  170. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
  171. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
  172. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
  173. package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -35
  174. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
  175. package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
  176. package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +0 -39
  177. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
  178. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  179. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -8
  180. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
  181. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
  182. package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -52
  183. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
  184. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
  185. package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -14
  186. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
  187. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
  188. package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -64
  189. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
  190. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
  191. package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -93
  192. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
  193. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
  194. package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -28
  195. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
  196. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  197. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -21
  198. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
  199. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
  200. package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -82
  201. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
  202. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
  203. package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -23
  204. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
  205. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  206. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -45
  207. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
  208. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
  209. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -40
  210. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
  211. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  212. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -58
  213. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
  214. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
  215. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -32
  216. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
  217. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
  218. package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -115
  219. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
  220. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
  221. package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -106
  222. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
  223. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
  224. package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -59
  225. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
  226. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
  227. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -27
  228. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
  229. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
  230. package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -20
  231. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
  232. package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
  233. package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +0 -30
  234. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
  235. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
  236. package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -30
  237. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
  238. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
  239. package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -28
  240. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
  241. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
  242. package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -29
  243. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
  244. package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
  245. package/esm/deps/jsr.io/@std/path/1.1.3/types.js +0 -3
  246. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
  247. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  248. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -15
  249. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
  250. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
  251. package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -47
  252. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
  253. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
  254. package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -14
  255. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
  256. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
  257. package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -113
  258. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
  259. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
  260. package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -82
  261. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
  262. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
  263. package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -28
  264. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
  265. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  266. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -30
  267. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
  268. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
  269. package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -82
  270. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
  271. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
  272. package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -38
  273. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
  274. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  275. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -77
  276. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
  277. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
  278. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -41
  279. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
  280. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  281. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -135
  282. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
  283. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
  284. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -32
  285. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
  286. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
  287. package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -176
  288. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
  289. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
  290. package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -131
  291. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
  292. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
  293. package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -154
  294. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
  295. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
  296. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -34
  297. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
  298. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
  299. package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -49
  300. package/esm/main.d.ts +0 -2
  301. package/esm/main.d.ts.map +0 -1
  302. package/esm/mod.d.ts +0 -6
  303. package/esm/mod.d.ts.map +0 -1
  304. package/esm/package.json +0 -3
  305. package/esm/stream-helpers.d.ts.map +0 -1
  306. package/esm/watch.d.ts.map +0 -1
  307. package/script/_dnt.polyfills.d.ts +0 -8
  308. package/script/_dnt.polyfills.d.ts.map +0 -1
  309. package/script/_dnt.polyfills.js +0 -111
  310. package/script/_dnt.shims.d.ts +0 -2
  311. package/script/_dnt.shims.d.ts.map +0 -1
  312. package/script/_dnt.shims.js +0 -60
  313. package/script/deno.d.ts +0 -36
  314. package/script/deno.d.ts.map +0 -1
  315. package/script/deno.js +0 -36
  316. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
  317. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
  318. package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -37
  319. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
  320. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
  321. package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -23
  322. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
  323. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
  324. package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -20
  325. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
  326. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
  327. package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -28
  328. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
  329. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
  330. package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -16
  331. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
  332. package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
  333. package/script/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -316
  334. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
  335. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
  336. package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -90
  337. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
  338. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
  339. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -105
  340. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
  341. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
  342. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -93
  343. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
  344. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
  345. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -64
  346. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
  347. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
  348. package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -159
  349. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
  350. package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
  351. package/script/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -105
  352. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
  353. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  354. package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -273
  355. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
  356. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
  357. package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -443
  358. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
  359. package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
  360. package/script/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -45
  361. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
  362. package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
  363. package/script/deps/jsr.io/@std/fs/1.0.20/move.js +0 -145
  364. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
  365. package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
  366. package/script/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -849
  367. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  368. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  369. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
  370. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  371. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  372. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
  373. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
  374. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  375. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -10
  376. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
  377. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
  378. package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -45
  379. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
  380. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
  381. package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -26
  382. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
  383. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  384. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -49
  385. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
  386. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
  387. package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -11
  388. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
  389. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
  390. package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -23
  391. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
  392. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  393. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -12
  394. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
  395. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
  396. package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -237
  397. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
  398. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  399. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -11
  400. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
  401. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  402. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -80
  403. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
  404. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
  405. package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -12
  406. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
  407. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
  408. package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -22
  409. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
  410. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
  411. package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -18
  412. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
  413. package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
  414. package/script/deps/jsr.io/@std/path/1.1.3/basename.js +0 -38
  415. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
  416. package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
  417. package/script/deps/jsr.io/@std/path/1.1.3/common.js +0 -36
  418. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
  419. package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
  420. package/script/deps/jsr.io/@std/path/1.1.3/constants.js +0 -20
  421. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
  422. package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
  423. package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -31
  424. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
  425. package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
  426. package/script/deps/jsr.io/@std/path/1.1.3/extname.js +0 -31
  427. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
  428. package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
  429. package/script/deps/jsr.io/@std/path/1.1.3/format.js +0 -30
  430. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
  431. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
  432. package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -31
  433. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
  434. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
  435. package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -86
  436. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
  437. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
  438. package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -31
  439. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
  440. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
  441. package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -45
  442. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
  443. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  444. package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
  445. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
  446. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
  447. package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -37
  448. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
  449. package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
  450. package/script/deps/jsr.io/@std/path/1.1.3/mod.js +0 -232
  451. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
  452. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  453. package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
  454. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
  455. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
  456. package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -38
  457. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
  458. package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
  459. package/script/deps/jsr.io/@std/path/1.1.3/parse.js +0 -42
  460. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
  461. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  462. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -11
  463. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
  464. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
  465. package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -55
  466. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
  467. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
  468. package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -17
  469. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
  470. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
  471. package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -67
  472. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
  473. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
  474. package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -96
  475. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
  476. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
  477. package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -31
  478. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
  479. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  480. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -24
  481. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
  482. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
  483. package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -85
  484. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
  485. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
  486. package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -26
  487. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
  488. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  489. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -48
  490. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
  491. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
  492. package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -43
  493. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
  494. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  495. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -61
  496. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
  497. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
  498. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -35
  499. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
  500. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
  501. package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -118
  502. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
  503. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
  504. package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -109
  505. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
  506. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
  507. package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -95
  508. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
  509. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
  510. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -30
  511. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
  512. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
  513. package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -23
  514. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
  515. package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
  516. package/script/deps/jsr.io/@std/path/1.1.3/relative.js +0 -33
  517. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
  518. package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
  519. package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -33
  520. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
  521. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
  522. package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -31
  523. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
  524. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
  525. package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -32
  526. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
  527. package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
  528. package/script/deps/jsr.io/@std/path/1.1.3/types.js +0 -4
  529. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
  530. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  531. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -20
  532. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
  533. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
  534. package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -50
  535. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
  536. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
  537. package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -17
  538. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
  539. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
  540. package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -116
  541. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
  542. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
  543. package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -85
  544. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
  545. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
  546. package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -31
  547. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
  548. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  549. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -33
  550. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
  551. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
  552. package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -85
  553. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
  554. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
  555. package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -41
  556. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
  557. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  558. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -80
  559. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
  560. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
  561. package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -44
  562. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
  563. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  564. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -138
  565. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
  566. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
  567. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -35
  568. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
  569. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
  570. package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -179
  571. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
  572. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
  573. package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -134
  574. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
  575. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
  576. package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -190
  577. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
  578. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
  579. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -37
  580. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
  581. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
  582. package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -52
  583. package/script/main.d.ts +0 -2
  584. package/script/main.d.ts.map +0 -1
  585. package/script/main.js +0 -76
  586. package/script/mod.d.ts +0 -6
  587. package/script/mod.d.ts.map +0 -1
  588. package/script/mod.js +0 -21
  589. package/script/package.json +0 -3
  590. package/script/stream-helpers.d.ts +0 -4
  591. package/script/stream-helpers.d.ts.map +0 -1
  592. package/script/stream-helpers.js +0 -42
  593. package/script/watch.d.ts +0 -76
  594. package/script/watch.d.ts.map +0 -1
  595. package/script/watch.js +0 -125
  596. /package/{esm → dist}/stream-helpers.d.ts +0 -0
  597. /package/{esm → dist}/watch.d.ts +0 -0
@@ -1,232 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // Copyright the Browserify authors. MIT License.
4
- // Ported mostly from https://github.com/browserify/path-browserify/
5
- // This module is browser compatible.
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- /**
22
- * Utilities for working with OS-specific file paths.
23
- *
24
- * Functions from this module will automatically switch to support the path style
25
- * of the current OS, either `windows` for Microsoft Windows, or `posix` for
26
- * every other operating system, eg. Linux, MacOS, BSD etc.
27
- *
28
- * To use functions for a specific path style regardless of the current OS
29
- * import the modules from the platform sub directory instead.
30
- *
31
- * ## Basic Path Operations
32
- *
33
- * ```ts
34
- * import * as path from "@std/path";
35
- * import { assertEquals } from "@std/assert";
36
- *
37
- * // Get components of a path
38
- * if (Deno.build.os === "windows") {
39
- * assertEquals(path.basename("C:\\Users\\user\\file.txt"), "file.txt");
40
- * assertEquals(path.dirname("C:\\Users\\user\\file.txt"), "C:\\Users\\user");
41
- * assertEquals(path.extname("C:\\Users\\user\\file.txt"), ".txt");
42
- * } else {
43
- * assertEquals(path.basename("/home/user/file.txt"), "file.txt");
44
- * assertEquals(path.dirname("/home/user/file.txt"), "/home/user");
45
- * assertEquals(path.extname("/home/user/file.txt"), ".txt");
46
- * }
47
- *
48
- * // Join path segments
49
- * if (Deno.build.os === "windows") {
50
- * assertEquals(path.join("C:\\", "Users", "docs", "file.txt"), "C:\\Users\\docs\\file.txt");
51
- * } else {
52
- * assertEquals(path.join("/home", "user", "docs", "file.txt"), "/home/user/docs/file.txt");
53
- * }
54
- *
55
- * // Normalize a path
56
- * if (Deno.build.os === "windows") {
57
- * assertEquals(path.normalize("C:\\Users\\user\\..\\temp\\.\\file.txt"), "C:\\Users\\temp\\file.txt");
58
- * } else {
59
- * assertEquals(path.normalize("/home/user/../temp/./file.txt"), "/home/temp/file.txt");
60
- * }
61
- *
62
- * // Resolve absolute path
63
- * if (Deno.build.os === "windows") {
64
- * const resolved = path.resolve("C:\\foo", "docs", "file.txt");
65
- * assertEquals(resolved, "C:\\foo\\docs\\file.txt");
66
- * assertEquals(path.isAbsolute(resolved), true);
67
- * } else {
68
- * const resolved = path.resolve("/foo", "docs", "file.txt");
69
- * assertEquals(resolved, "/foo/docs/file.txt");
70
- * assertEquals(path.isAbsolute(resolved), true);
71
- * }
72
- *
73
- * // Get relative path
74
- * if (Deno.build.os === "windows") {
75
- * assertEquals(path.relative("C:\\Users", "C:\\Users\\docs\\file.txt"), "docs\\file.txt");
76
- * assertEquals(path.relative("C:\\Users", "D:\\Programs"), "D:\\Programs");
77
- * } else {
78
- * assertEquals(path.relative("/home/user", "/home/user/docs/file.txt"), "docs/file.txt");
79
- * assertEquals(path.relative("/home/user", "/var/data"), "../../var/data");
80
- * }
81
- * ```
82
- *
83
- * ## Path Parsing and Formatting
84
- *
85
- * ```ts
86
- * import * as path from "@std/path";
87
- * import { assertEquals } from "@std/assert";
88
- *
89
- * if (Deno.build.os === "windows") {
90
- * const parsedWindows = path.parse("C:\\Users\\user\\file.txt");
91
- * assertEquals(parsedWindows.root, "C:\\");
92
- * assertEquals(parsedWindows.dir, "C:\\Users\\user");
93
- * assertEquals(parsedWindows.base, "file.txt");
94
- * assertEquals(parsedWindows.ext, ".txt");
95
- * assertEquals(parsedWindows.name, "file");
96
- *
97
- * // Format path from components (Windows)
98
- * assertEquals(
99
- * path.format({ dir: "C:\\Users\\user", base: "file.txt" }),
100
- * "C:\\Users\\user\\file.txt"
101
- * );
102
- * } else {
103
- * const parsedPosix = path.parse("/home/user/file.txt");
104
- * assertEquals(parsedPosix.root, "/");
105
- * assertEquals(parsedPosix.dir, "/home/user");
106
- * assertEquals(parsedPosix.base, "file.txt");
107
- * assertEquals(parsedPosix.ext, ".txt");
108
- * assertEquals(parsedPosix.name, "file");
109
- *
110
- * // Format path from components (POSIX)
111
- * assertEquals(
112
- * path.format({ dir: "/home/user", base: "file.txt" }),
113
- * "/home/user/file.txt"
114
- * );
115
- * }
116
- * ```
117
- *
118
- * ## URL Conversion
119
- *
120
- * ```ts
121
- * import * as path from "@std/path";
122
- * import { assertEquals } from "@std/assert";
123
- *
124
- * // Convert between file URLs and paths
125
- * if (Deno.build.os === "windows") {
126
- * assertEquals(path.fromFileUrl("file:///C:/Users/user/file.txt"), "C:\\Users\\user\\file.txt");
127
- * assertEquals(path.toFileUrl("C:\\Users\\user\\file.txt").href, "file:///C:/Users/user/file.txt");
128
- * } else {
129
- * assertEquals(path.fromFileUrl("file:///home/user/file.txt"), "/home/user/file.txt");
130
- * assertEquals(path.toFileUrl("/home/user/file.txt").href, "file:///home/user/file.txt");
131
- * }
132
- * ```
133
- *
134
- * ## Path Properties
135
- *
136
- * ```ts
137
- * import * as path from "@std/path";
138
- * import { assertEquals } from "@std/assert";
139
- *
140
- * // Check if path is absolute
141
- * if (Deno.build.os === "windows") {
142
- * assertEquals(path.isAbsolute("C:\\Users"), true);
143
- * assertEquals(path.isAbsolute("\\\\Server\\share"), true);
144
- * assertEquals(path.isAbsolute("C:relative\\path"), false);
145
- * assertEquals(path.isAbsolute("..\\relative\\path"), false);
146
- * } else {
147
- * assertEquals(path.isAbsolute("/home/user"), true);
148
- * assertEquals(path.isAbsolute("./relative/path"), false);
149
- * assertEquals(path.isAbsolute("../relative/path"), false);
150
- * }
151
- *
152
- * // Convert to namespaced path (Windows-specific)
153
- * if (Deno.build.os === "windows") {
154
- * assertEquals(path.toNamespacedPath("C:\\Users\\file.txt"), "\\\\?\\C:\\Users\\file.txt");
155
- * assertEquals(path.toNamespacedPath("\\\\server\\share\\file.txt"), "\\\\?\\UNC\\server\\share\\file.txt");
156
- * } else {
157
- * // On POSIX, toNamespacedPath returns the path unchanged
158
- * assertEquals(path.toNamespacedPath("/home/user/file.txt"), "/home/user/file.txt");
159
- * }
160
- * ```
161
- *
162
- * ## Glob Pattern Utilities
163
- *
164
- * ```ts
165
- * import * as path from "@std/path";
166
- * import { assertEquals } from "@std/assert";
167
- *
168
- * // Check if a string is a glob pattern
169
- * assertEquals(path.isGlob("*.txt"), true);
170
- *
171
- * // Convert glob pattern to RegExp
172
- * const pattern = path.globToRegExp("*.txt");
173
- * assertEquals(pattern.test("file.txt"), true);
174
- *
175
- * // Join multiple glob patterns
176
- * if (Deno.build.os === "windows") {
177
- * assertEquals(path.joinGlobs(["src", "**\\*.ts"]), "src\\**\\*.ts");
178
- * } else {
179
- * assertEquals(path.joinGlobs(["src", "**\/*.ts"]), "src/**\/*.ts");
180
- * }
181
- *
182
- * // Normalize a glob pattern
183
- * if (Deno.build.os === "windows") {
184
- * assertEquals(path.normalizeGlob("src\\..\\**\\*.ts"), "**\\*.ts");
185
- * } else {
186
- * assertEquals(path.normalizeGlob("src/../**\/*.ts"), "**\/*.ts");
187
- * }
188
- * ```
189
- *
190
- * For POSIX-specific functions:
191
- *
192
- * ```ts
193
- * import { fromFileUrl } from "@std/path/posix/from-file-url";
194
- * import { assertEquals } from "@std/assert";
195
- *
196
- * assertEquals(fromFileUrl("file:///home/foo"), "/home/foo");
197
- * ```
198
- *
199
- * For Windows-specific functions:
200
- *
201
- * ```ts
202
- * import { fromFileUrl } from "@std/path/windows/from-file-url";
203
- * import { assertEquals } from "@std/assert";
204
- *
205
- * assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
206
- * ```
207
- *
208
- * Functions for working with URLs can be found in
209
- * {@link ./doc/posix/~ | @std/path/posix}.
210
- *
211
- * @module
212
- */
213
- __exportStar(require("./basename.js"), exports);
214
- __exportStar(require("./constants.js"), exports);
215
- __exportStar(require("./dirname.js"), exports);
216
- __exportStar(require("./extname.js"), exports);
217
- __exportStar(require("./format.js"), exports);
218
- __exportStar(require("./from_file_url.js"), exports);
219
- __exportStar(require("./is_absolute.js"), exports);
220
- __exportStar(require("./join.js"), exports);
221
- __exportStar(require("./normalize.js"), exports);
222
- __exportStar(require("./parse.js"), exports);
223
- __exportStar(require("./relative.js"), exports);
224
- __exportStar(require("./resolve.js"), exports);
225
- __exportStar(require("./to_file_url.js"), exports);
226
- __exportStar(require("./to_namespaced_path.js"), exports);
227
- __exportStar(require("./common.js"), exports);
228
- __exportStar(require("./types.js"), exports);
229
- __exportStar(require("./glob_to_regexp.js"), exports);
230
- __exportStar(require("./is_glob.js"), exports);
231
- __exportStar(require("./join_globs.js"), exports);
232
- __exportStar(require("./normalize_glob.js"), exports);
@@ -1,26 +0,0 @@
1
- /**
2
- * Normalize the path, resolving `'..'` and `'.'` segments.
3
- *
4
- * Note: Resolving these segments does not necessarily mean that all will be
5
- * eliminated. A `'..'` at the top-level will be preserved, and an empty path is
6
- * canonically `'.'`.
7
- *
8
- * @example Usage
9
- * ```ts
10
- * import { normalize } from "@std/path/normalize";
11
- * import { assertEquals } from "@std/assert";
12
- *
13
- * if (Deno.build.os === "windows") {
14
- * assertEquals(normalize("C:\\foo\\bar\\..\\baz\\quux"), "C:\\foo\\baz\\quux");
15
- * assertEquals(normalize(new URL("file:///C:/foo/bar/../baz/quux")), "C:\\foo\\baz\\quux");
16
- * } else {
17
- * assertEquals(normalize("/foo/bar/../baz/quux"), "/foo/baz/quux");
18
- * assertEquals(normalize(new URL("file:///foo/bar/../baz/quux")), "/foo/baz/quux");
19
- * }
20
- * ```
21
- *
22
- * @param path Path to be normalized
23
- * @returns The normalized path.
24
- */
25
- export declare function normalize(path: string | URL): string;
26
- //# sourceMappingURL=normalize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.3/normalize.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAEpD"}
@@ -1,35 +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.normalize = normalize;
6
- const os_js_1 = require("../../internal/1.0.12/os.js");
7
- const normalize_js_1 = require("./posix/normalize.js");
8
- const normalize_js_2 = require("./windows/normalize.js");
9
- /**
10
- * Normalize the path, resolving `'..'` and `'.'` segments.
11
- *
12
- * Note: Resolving these segments does not necessarily mean that all will be
13
- * eliminated. A `'..'` at the top-level will be preserved, and an empty path is
14
- * canonically `'.'`.
15
- *
16
- * @example Usage
17
- * ```ts
18
- * import { normalize } from "@std/path/normalize";
19
- * import { assertEquals } from "@std/assert";
20
- *
21
- * if (Deno.build.os === "windows") {
22
- * assertEquals(normalize("C:\\foo\\bar\\..\\baz\\quux"), "C:\\foo\\baz\\quux");
23
- * assertEquals(normalize(new URL("file:///C:/foo/bar/../baz/quux")), "C:\\foo\\baz\\quux");
24
- * } else {
25
- * assertEquals(normalize("/foo/bar/../baz/quux"), "/foo/baz/quux");
26
- * assertEquals(normalize(new URL("file:///foo/bar/../baz/quux")), "/foo/baz/quux");
27
- * }
28
- * ```
29
- *
30
- * @param path Path to be normalized
31
- * @returns The normalized path.
32
- */
33
- function normalize(path) {
34
- return os_js_1.isWindows ? (0, normalize_js_2.normalize)(path) : (0, normalize_js_1.normalize)(path);
35
- }
@@ -1,29 +0,0 @@
1
- import type { GlobOptions } from "./_common/glob_to_reg_exp.js";
2
- export type { GlobOptions };
3
- /**
4
- * Normalizes a glob string.
5
- *
6
- * Behaves like
7
- * {@linkcode https://jsr.io/@std/path/doc/~/normalize | normalize()}, but
8
- * doesn't collapse "**\/.." when `globstar` is true.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { normalizeGlob } from "@std/path/normalize-glob";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * if (Deno.build.os === "windows") {
16
- * assertEquals(normalizeGlob("foo\\bar\\..\\baz"), "foo\\baz");
17
- * assertEquals(normalizeGlob("foo\\**\\..\\bar\\..\\baz", { globstar: true }), "foo\\**\\..\\baz");
18
- * } else {
19
- * assertEquals(normalizeGlob("foo/bar/../baz"), "foo/baz");
20
- * assertEquals(normalizeGlob("foo/**\/../bar/../baz", { globstar: true }), "foo/**\/../baz");
21
- * }
22
- * ```
23
- *
24
- * @param glob Glob string to normalize.
25
- * @param options Glob options.
26
- * @returns The normalized glob string.
27
- */
28
- export declare function normalizeGlob(glob: string, options?: GlobOptions): string;
29
- //# sourceMappingURL=normalize_glob.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize_glob.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.3/normalize_glob.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAOhE,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,WAAgB,GACxB,MAAM,CAIR"}
@@ -1,38 +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.normalizeGlob = normalizeGlob;
6
- const os_js_1 = require("../../internal/1.0.12/os.js");
7
- const normalize_glob_js_1 = require("./posix/normalize_glob.js");
8
- const normalize_glob_js_2 = require("./windows/normalize_glob.js");
9
- /**
10
- * Normalizes a glob string.
11
- *
12
- * Behaves like
13
- * {@linkcode https://jsr.io/@std/path/doc/~/normalize | normalize()}, but
14
- * doesn't collapse "**\/.." when `globstar` is true.
15
- *
16
- * @example Usage
17
- * ```ts
18
- * import { normalizeGlob } from "@std/path/normalize-glob";
19
- * import { assertEquals } from "@std/assert";
20
- *
21
- * if (Deno.build.os === "windows") {
22
- * assertEquals(normalizeGlob("foo\\bar\\..\\baz"), "foo\\baz");
23
- * assertEquals(normalizeGlob("foo\\**\\..\\bar\\..\\baz", { globstar: true }), "foo\\**\\..\\baz");
24
- * } else {
25
- * assertEquals(normalizeGlob("foo/bar/../baz"), "foo/baz");
26
- * assertEquals(normalizeGlob("foo/**\/../bar/../baz", { globstar: true }), "foo/**\/../baz");
27
- * }
28
- * ```
29
- *
30
- * @param glob Glob string to normalize.
31
- * @param options Glob options.
32
- * @returns The normalized glob string.
33
- */
34
- function normalizeGlob(glob, options = {}) {
35
- return os_js_1.isWindows
36
- ? (0, normalize_glob_js_2.normalizeGlob)(glob, options)
37
- : (0, normalize_glob_js_1.normalizeGlob)(glob, options);
38
- }
@@ -1,35 +0,0 @@
1
- import type { ParsedPath } from "./types.js";
2
- export type { ParsedPath } from "./types.js";
3
- /**
4
- * Return an object containing the parsed components of the path.
5
- *
6
- * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
7
- * the result.
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { parse } from "@std/path/parse";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * const parsedPathObj = parse("C:\\path\\to\\script.ts");
16
- * assertEquals(parsedPathObj.root, "C:\\");
17
- * assertEquals(parsedPathObj.dir, "C:\\path\\to");
18
- * assertEquals(parsedPathObj.base, "script.ts");
19
- * assertEquals(parsedPathObj.ext, ".ts");
20
- * assertEquals(parsedPathObj.name, "script");
21
- * } else {
22
- * const parsedPathObj = parse("/path/to/dir/script.ts");
23
- * parsedPathObj.root; // "/"
24
- * parsedPathObj.dir; // "/path/to/dir"
25
- * parsedPathObj.base; // "script.ts"
26
- * parsedPathObj.ext; // ".ts"
27
- * parsedPathObj.name; // "script"
28
- * }
29
- * ```
30
- *
31
- * @param path Path to process
32
- * @returns An object with the parsed path components.
33
- */
34
- export declare function parse(path: string): ParsedPath;
35
- //# sourceMappingURL=parse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.3/parse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAE9C"}
@@ -1,42 +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.parse = parse;
6
- const os_js_1 = require("../../internal/1.0.12/os.js");
7
- const parse_js_1 = require("./posix/parse.js");
8
- const parse_js_2 = require("./windows/parse.js");
9
- /**
10
- * Return an object containing the parsed components of the path.
11
- *
12
- * Use {@linkcode https://jsr.io/@std/path/doc/~/format | format()} to reverse
13
- * the result.
14
- *
15
- * @example Usage
16
- * ```ts
17
- * import { parse } from "@std/path/parse";
18
- * import { assertEquals } from "@std/assert";
19
- *
20
- * if (Deno.build.os === "windows") {
21
- * const parsedPathObj = parse("C:\\path\\to\\script.ts");
22
- * assertEquals(parsedPathObj.root, "C:\\");
23
- * assertEquals(parsedPathObj.dir, "C:\\path\\to");
24
- * assertEquals(parsedPathObj.base, "script.ts");
25
- * assertEquals(parsedPathObj.ext, ".ts");
26
- * assertEquals(parsedPathObj.name, "script");
27
- * } else {
28
- * const parsedPathObj = parse("/path/to/dir/script.ts");
29
- * parsedPathObj.root; // "/"
30
- * parsedPathObj.dir; // "/path/to/dir"
31
- * parsedPathObj.base; // "script.ts"
32
- * parsedPathObj.ext; // ".ts"
33
- * parsedPathObj.name; // "script"
34
- * }
35
- * ```
36
- *
37
- * @param path Path to process
38
- * @returns An object with the parsed path components.
39
- */
40
- function parse(path) {
41
- return os_js_1.isWindows ? (0, parse_js_2.parse)(path) : (0, parse_js_1.parse)(path);
42
- }
@@ -1,2 +0,0 @@
1
- export declare function isPosixPathSeparator(code: number): boolean;
2
- //# sourceMappingURL=_util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_util.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/_util.ts"],"names":[],"mappings":"AAOA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE1D"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // Copyright the Browserify authors. MIT License.
4
- // Ported from https://github.com/browserify/path-browserify/
5
- // This module is browser compatible.
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.isPosixPathSeparator = isPosixPathSeparator;
8
- const constants_js_1 = require("../_common/constants.js");
9
- function isPosixPathSeparator(code) {
10
- return code === constants_js_1.CHAR_FORWARD_SLASH;
11
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Return the last portion of a `path`.
3
- * Trailing directory separators are ignored, and optional suffix is removed.
4
- *
5
- * @example Usage
6
- * ```ts
7
- * import { basename } from "@std/path/posix/basename";
8
- * import { assertEquals } from "@std/assert";
9
- *
10
- * assertEquals(basename("/home/user/Documents/"), "Documents");
11
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
12
- * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
13
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
14
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
15
- * ```
16
- *
17
- * @example Working with URLs
18
- *
19
- * Note: This function doesn't automatically strip hash and query parts from
20
- * URLs. If your URL contains a hash or query, remove them before passing the
21
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
22
- * and setting the `hash` and `search` properties to empty strings.
23
- *
24
- * ```ts
25
- * import { basename } from "@std/path/posix/basename";
26
- * import { assertEquals } from "@std/assert";
27
- *
28
- * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
29
- * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
30
- * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
31
- * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
32
- * ```
33
- *
34
- * @param path The path to extract the name from.
35
- * @param suffix The suffix to remove from extracted name.
36
- * @returns The extracted name.
37
- */
38
- export declare function basename(path: string | URL, suffix?: string): string;
39
- //# sourceMappingURL=basename.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"basename.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/basename.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAYhE"}
@@ -1,55 +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.basename = basename;
6
- const basename_js_1 = require("../_common/basename.js");
7
- const from_file_url_js_1 = require("./from_file_url.js");
8
- const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
9
- const _util_js_1 = require("./_util.js");
10
- /**
11
- * Return the last portion of a `path`.
12
- * Trailing directory separators are ignored, and optional suffix is removed.
13
- *
14
- * @example Usage
15
- * ```ts
16
- * import { basename } from "@std/path/posix/basename";
17
- * import { assertEquals } from "@std/assert";
18
- *
19
- * assertEquals(basename("/home/user/Documents/"), "Documents");
20
- * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
21
- * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
22
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
23
- * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
24
- * ```
25
- *
26
- * @example Working with URLs
27
- *
28
- * Note: This function doesn't automatically strip hash and query parts from
29
- * URLs. If your URL contains a hash or query, remove them before passing the
30
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
31
- * and setting the `hash` and `search` properties to empty strings.
32
- *
33
- * ```ts
34
- * import { basename } from "@std/path/posix/basename";
35
- * import { assertEquals } from "@std/assert";
36
- *
37
- * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
38
- * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
39
- * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
40
- * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
41
- * ```
42
- *
43
- * @param path The path to extract the name from.
44
- * @param suffix The suffix to remove from extracted name.
45
- * @returns The extracted name.
46
- */
47
- function basename(path, suffix = "") {
48
- if (path instanceof URL) {
49
- path = (0, from_file_url_js_1.fromFileUrl)(path);
50
- }
51
- (0, basename_js_1.assertArgs)(path, suffix);
52
- const lastSegment = (0, basename_js_1.lastPathSegment)(path, _util_js_1.isPosixPathSeparator);
53
- const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPosixPathSeparator);
54
- return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
55
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * The character used to separate entries in the PATH environment variable.
3
- */
4
- export declare const DELIMITER: ":";
5
- /**
6
- * The character used to separate components of a file path.
7
- */
8
- export declare const SEPARATOR: "/";
9
- /**
10
- * A regular expression that matches one or more path separators.
11
- */
12
- export declare const SEPARATOR_PATTERN: RegExp;
13
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,GAAY,CAAC;AACtC;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAQ,CAAC"}
@@ -1,17 +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.SEPARATOR_PATTERN = exports.SEPARATOR = exports.DELIMITER = void 0;
6
- /**
7
- * The character used to separate entries in the PATH environment variable.
8
- */
9
- exports.DELIMITER = ":";
10
- /**
11
- * The character used to separate components of a file path.
12
- */
13
- exports.SEPARATOR = "/";
14
- /**
15
- * A regular expression that matches one or more path separators.
16
- */
17
- exports.SEPARATOR_PATTERN = /\/+/;
@@ -1,30 +0,0 @@
1
- /**
2
- * Return the directory path of a `path`.
3
- *
4
- * @example Usage
5
- * ```ts
6
- * import { dirname } from "@std/path/posix/dirname";
7
- * import { assertEquals } from "@std/assert";
8
- *
9
- * assertEquals(dirname("/home/user/Documents/"), "/home/user");
10
- * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
11
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
12
- * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
13
- * ```
14
- *
15
- * @example Working with URLs
16
- *
17
- * ```ts
18
- * import { dirname } from "@std/path/posix/dirname";
19
- * import { assertEquals } from "@std/assert";
20
- *
21
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
22
- * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
23
- * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
24
- * ```
25
- *
26
- * @param path The path to get the directory from.
27
- * @returns The directory path.
28
- */
29
- export declare function dirname(path: string | URL): string;
30
- //# sourceMappingURL=dirname.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dirname.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.3/posix/dirname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAmClD"}