@mtkruto/node 0.1.113 → 0.1.114

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 (491) hide show
  1. package/esm/0_deps.d.ts +3 -2
  2. package/esm/0_deps.js +3 -2
  3. package/esm/1_utilities.d.ts +1 -0
  4. package/esm/1_utilities.js +1 -0
  5. package/esm/3_types.d.ts +0 -1
  6. package/esm/3_types.js +0 -1
  7. package/esm/4_constants.d.ts +1 -1
  8. package/esm/4_constants.js +1 -1
  9. package/esm/client/0_utilities.d.ts +6 -0
  10. package/esm/client/0_utilities.js +53 -0
  11. package/esm/client/3_types.d.ts +56 -2
  12. package/esm/client/5_client.d.ts +43 -5
  13. package/esm/client/5_client.js +137 -4
  14. package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/base64.d.ts +2 -2
  15. package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/base64.js +2 -2
  16. package/{script/deps/deno.land/std@0.204.0 → esm/deps/deno.land/std@0.207.0}/fmt/colors.d.ts +1 -1
  17. package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/fmt/colors.js +1 -1
  18. package/esm/deps/deno.land/std@0.207.0/path/_common/assert_path.d.ts +1 -0
  19. package/esm/deps/deno.land/std@0.207.0/path/_common/assert_path.js +7 -0
  20. package/esm/deps/deno.land/std@0.207.0/path/_common/basename.d.ts +3 -0
  21. package/esm/deps/deno.land/std@0.207.0/path/_common/basename.js +40 -0
  22. package/esm/deps/deno.land/std@0.207.0/path/_common/common.d.ts +1 -0
  23. package/esm/deps/deno.land/std@0.207.0/path/_common/common.js +23 -0
  24. package/esm/deps/deno.land/std@0.207.0/path/_common/constants.d.ts +39 -0
  25. package/esm/deps/deno.land/std@0.207.0/path/_common/constants.js +46 -0
  26. package/esm/deps/deno.land/std@0.207.0/path/_common/dirname.d.ts +1 -0
  27. package/esm/deps/deno.land/std@0.207.0/path/_common/dirname.js +8 -0
  28. package/esm/deps/deno.land/std@0.207.0/path/_common/format.d.ts +3 -0
  29. package/esm/deps/deno.land/std@0.207.0/path/_common/format.js +19 -0
  30. package/esm/deps/deno.land/std@0.207.0/path/_common/from_file_url.d.ts +1 -0
  31. package/esm/deps/deno.land/std@0.207.0/path/_common/from_file_url.js +9 -0
  32. package/esm/deps/deno.land/std@0.207.0/path/_common/glob_to_reg_exp.d.ts +27 -0
  33. package/esm/deps/deno.land/std@0.207.0/path/_common/glob_to_reg_exp.js +235 -0
  34. package/esm/deps/deno.land/std@0.207.0/path/_common/normalize.d.ts +1 -0
  35. package/esm/deps/deno.land/std@0.207.0/path/_common/normalize.js +8 -0
  36. package/esm/deps/deno.land/std@0.207.0/path/_common/normalize_string.d.ts +1 -0
  37. package/esm/deps/deno.land/std@0.207.0/path/_common/normalize_string.js +77 -0
  38. package/esm/deps/deno.land/std@0.207.0/path/_common/relative.d.ts +1 -0
  39. package/esm/deps/deno.land/std@0.207.0/path/_common/relative.js +9 -0
  40. package/esm/deps/deno.land/std@0.207.0/path/_common/strip_trailing_separators.d.ts +1 -0
  41. package/esm/deps/deno.land/std@0.207.0/path/_common/strip_trailing_separators.js +19 -0
  42. package/esm/deps/deno.land/std@0.207.0/path/_common/to_file_url.d.ts +1 -0
  43. package/esm/deps/deno.land/std@0.207.0/path/_common/to_file_url.js +15 -0
  44. package/esm/deps/deno.land/std@0.207.0/path/_interface.d.ts +26 -0
  45. package/esm/deps/deno.land/std@0.207.0/path/_interface.js +3 -0
  46. package/esm/deps/deno.land/std@0.207.0/path/_os.d.ts +3 -0
  47. package/esm/deps/deno.land/std@0.207.0/path/_os.js +18 -0
  48. package/esm/deps/deno.land/std@0.207.0/path/basename.d.ts +8 -0
  49. package/esm/deps/deno.land/std@0.207.0/path/basename.js +17 -0
  50. package/esm/deps/deno.land/std@0.207.0/path/common.d.ts +13 -0
  51. package/esm/deps/deno.land/std@0.207.0/path/common.js +19 -0
  52. package/esm/deps/deno.land/std@0.207.0/path/dirname.d.ts +5 -0
  53. package/esm/deps/deno.land/std@0.207.0/path/dirname.js +12 -0
  54. package/esm/deps/deno.land/std@0.207.0/path/extname.d.ts +6 -0
  55. package/esm/deps/deno.land/std@0.207.0/path/extname.js +13 -0
  56. package/esm/deps/deno.land/std@0.207.0/path/format.d.ts +6 -0
  57. package/esm/deps/deno.land/std@0.207.0/path/format.js +12 -0
  58. package/esm/deps/deno.land/std@0.207.0/path/from_file_url.d.ts +17 -0
  59. package/esm/deps/deno.land/std@0.207.0/path/from_file_url.js +24 -0
  60. package/esm/deps/deno.land/std@0.207.0/path/glob_to_regexp.d.ts +61 -0
  61. package/esm/deps/deno.land/std@0.207.0/path/glob_to_regexp.js +65 -0
  62. package/esm/deps/deno.land/std@0.207.0/path/is_absolute.d.ts +5 -0
  63. package/esm/deps/deno.land/std@0.207.0/path/is_absolute.js +12 -0
  64. package/esm/deps/deno.land/std@0.207.0/path/is_glob.d.ts +2 -0
  65. package/esm/deps/deno.land/std@0.207.0/path/is_glob.js +28 -0
  66. package/esm/deps/deno.land/std@0.207.0/path/join.d.ts +5 -0
  67. package/esm/deps/deno.land/std@0.207.0/path/join.js +12 -0
  68. package/esm/deps/deno.land/std@0.207.0/path/join_globs.d.ts +3 -0
  69. package/esm/deps/deno.land/std@0.207.0/path/join_globs.js +11 -0
  70. package/esm/deps/deno.land/std@0.207.0/path/mod.d.ts +28 -0
  71. package/esm/deps/deno.land/std@0.207.0/path/mod.js +63 -0
  72. package/esm/deps/deno.land/std@0.207.0/path/normalize.d.ts +7 -0
  73. package/esm/deps/deno.land/std@0.207.0/path/normalize.js +14 -0
  74. package/esm/deps/deno.land/std@0.207.0/path/normalize_glob.d.ts +3 -0
  75. package/esm/deps/deno.land/std@0.207.0/path/normalize_glob.js +11 -0
  76. package/esm/deps/deno.land/std@0.207.0/path/parse.d.ts +6 -0
  77. package/esm/deps/deno.land/std@0.207.0/path/parse.js +12 -0
  78. package/esm/deps/deno.land/std@0.207.0/path/posix/_util.d.ts +1 -0
  79. package/esm/deps/deno.land/std@0.207.0/path/posix/_util.js +8 -0
  80. package/esm/deps/deno.land/std@0.207.0/path/posix/basename.d.ts +8 -0
  81. package/esm/deps/deno.land/std@0.207.0/path/posix/basename.js +18 -0
  82. package/esm/deps/deno.land/std@0.207.0/path/posix/common.d.ts +13 -0
  83. package/esm/deps/deno.land/std@0.207.0/path/posix/common.js +19 -0
  84. package/esm/deps/deno.land/std@0.207.0/path/posix/dirname.d.ts +5 -0
  85. package/esm/deps/deno.land/std@0.207.0/path/posix/dirname.js +36 -0
  86. package/esm/deps/deno.land/std@0.207.0/path/posix/extname.d.ts +6 -0
  87. package/esm/deps/deno.land/std@0.207.0/path/posix/extname.js +59 -0
  88. package/esm/deps/deno.land/std@0.207.0/path/posix/format.d.ts +6 -0
  89. package/esm/deps/deno.land/std@0.207.0/path/posix/format.js +11 -0
  90. package/esm/deps/deno.land/std@0.207.0/path/posix/from_file_url.d.ts +11 -0
  91. package/esm/deps/deno.land/std@0.207.0/path/posix/from_file_url.js +17 -0
  92. package/esm/deps/deno.land/std@0.207.0/path/posix/glob_to_regexp.d.ts +57 -0
  93. package/esm/deps/deno.land/std@0.207.0/path/posix/glob_to_regexp.js +69 -0
  94. package/esm/deps/deno.land/std@0.207.0/path/posix/is_absolute.d.ts +5 -0
  95. package/esm/deps/deno.land/std@0.207.0/path/posix/is_absolute.js +12 -0
  96. package/esm/deps/deno.land/std@0.207.0/path/posix/is_glob.d.ts +1 -0
  97. package/esm/deps/deno.land/std@0.207.0/path/posix/is_glob.js +3 -0
  98. package/esm/deps/deno.land/std@0.207.0/path/posix/join.d.ts +5 -0
  99. package/esm/deps/deno.land/std@0.207.0/path/posix/join.js +26 -0
  100. package/esm/deps/deno.land/std@0.207.0/path/posix/join_globs.d.ts +3 -0
  101. package/esm/deps/deno.land/std@0.207.0/path/posix/join_globs.js +26 -0
  102. package/esm/deps/deno.land/std@0.207.0/path/posix/mod.d.ts +40 -0
  103. package/esm/deps/deno.land/std@0.207.0/path/posix/mod.js +44 -0
  104. package/esm/deps/deno.land/std@0.207.0/path/posix/normalize.d.ts +7 -0
  105. package/esm/deps/deno.land/std@0.207.0/path/posix/normalize.js +25 -0
  106. package/esm/deps/deno.land/std@0.207.0/path/posix/normalize_glob.d.ts +3 -0
  107. package/esm/deps/deno.land/std@0.207.0/path/posix/normalize_glob.js +16 -0
  108. package/esm/deps/deno.land/std@0.207.0/path/posix/parse.d.ts +6 -0
  109. package/esm/deps/deno.land/std@0.207.0/path/posix/parse.js +98 -0
  110. package/esm/deps/deno.land/std@0.207.0/path/posix/relative.d.ts +7 -0
  111. package/esm/deps/deno.land/std@0.207.0/path/posix/relative.js +94 -0
  112. package/esm/deps/deno.land/std@0.207.0/path/posix/resolve.d.ts +5 -0
  113. package/esm/deps/deno.land/std@0.207.0/path/posix/resolve.js +48 -0
  114. package/esm/deps/deno.land/std@0.207.0/path/posix/separator.d.ts +2 -0
  115. package/esm/deps/deno.land/std@0.207.0/path/posix/separator.js +4 -0
  116. package/esm/deps/deno.land/std@0.207.0/path/posix/to_file_url.d.ts +11 -0
  117. package/esm/deps/deno.land/std@0.207.0/path/posix/to_file_url.js +22 -0
  118. package/esm/deps/deno.land/std@0.207.0/path/posix/to_namespaced_path.d.ts +5 -0
  119. package/esm/deps/deno.land/std@0.207.0/path/posix/to_namespaced_path.js +10 -0
  120. package/esm/deps/deno.land/std@0.207.0/path/relative.d.ts +12 -0
  121. package/esm/deps/deno.land/std@0.207.0/path/relative.js +19 -0
  122. package/esm/deps/deno.land/std@0.207.0/path/resolve.d.ts +5 -0
  123. package/esm/deps/deno.land/std@0.207.0/path/resolve.js +14 -0
  124. package/esm/deps/deno.land/std@0.207.0/path/separator.d.ts +2 -0
  125. package/esm/deps/deno.land/std@0.207.0/path/separator.js +5 -0
  126. package/esm/deps/deno.land/std@0.207.0/path/to_file_url.d.ts +17 -0
  127. package/esm/deps/deno.land/std@0.207.0/path/to_file_url.js +24 -0
  128. package/esm/deps/deno.land/std@0.207.0/path/to_namespaced_path.d.ts +5 -0
  129. package/esm/deps/deno.land/std@0.207.0/path/to_namespaced_path.js +14 -0
  130. package/esm/deps/deno.land/std@0.207.0/path/windows/_util.d.ts +3 -0
  131. package/esm/deps/deno.land/std@0.207.0/path/windows/_util.js +15 -0
  132. package/esm/deps/deno.land/std@0.207.0/path/windows/basename.d.ts +8 -0
  133. package/esm/deps/deno.land/std@0.207.0/path/windows/basename.js +30 -0
  134. package/esm/deps/deno.land/std@0.207.0/path/windows/common.d.ts +13 -0
  135. package/esm/deps/deno.land/std@0.207.0/path/windows/common.js +19 -0
  136. package/esm/deps/deno.land/std@0.207.0/path/windows/dirname.d.ts +5 -0
  137. package/esm/deps/deno.land/std@0.207.0/path/windows/dirname.js +98 -0
  138. package/esm/deps/deno.land/std@0.207.0/path/windows/extname.d.ts +6 -0
  139. package/esm/deps/deno.land/std@0.207.0/path/windows/extname.js +68 -0
  140. package/esm/deps/deno.land/std@0.207.0/path/windows/format.d.ts +6 -0
  141. package/esm/deps/deno.land/std@0.207.0/path/windows/format.js +11 -0
  142. package/esm/deps/deno.land/std@0.207.0/path/windows/from_file_url.d.ts +13 -0
  143. package/esm/deps/deno.land/std@0.207.0/path/windows/from_file_url.js +26 -0
  144. package/esm/deps/deno.land/std@0.207.0/path/windows/glob_to_regexp.d.ts +57 -0
  145. package/esm/deps/deno.land/std@0.207.0/path/windows/glob_to_regexp.js +69 -0
  146. package/esm/deps/deno.land/std@0.207.0/path/windows/is_absolute.d.ts +5 -0
  147. package/esm/deps/deno.land/std@0.207.0/path/windows/is_absolute.js +27 -0
  148. package/esm/deps/deno.land/std@0.207.0/path/windows/is_glob.d.ts +1 -0
  149. package/esm/deps/deno.land/std@0.207.0/path/windows/is_glob.js +3 -0
  150. package/esm/deps/deno.land/std@0.207.0/path/windows/join.d.ts +5 -0
  151. package/esm/deps/deno.land/std@0.207.0/path/windows/join.js +72 -0
  152. package/esm/deps/deno.land/std@0.207.0/path/windows/join_globs.d.ts +3 -0
  153. package/esm/deps/deno.land/std@0.207.0/path/windows/join_globs.js +26 -0
  154. package/esm/deps/deno.land/std@0.207.0/path/windows/mod.d.ts +40 -0
  155. package/esm/deps/deno.land/std@0.207.0/path/windows/mod.js +44 -0
  156. package/esm/deps/deno.land/std@0.207.0/path/windows/normalize.d.ts +7 -0
  157. package/esm/deps/deno.land/std@0.207.0/path/windows/normalize.js +130 -0
  158. package/esm/deps/deno.land/std@0.207.0/path/windows/normalize_glob.d.ts +3 -0
  159. package/esm/deps/deno.land/std@0.207.0/path/windows/normalize_glob.js +16 -0
  160. package/esm/deps/deno.land/std@0.207.0/path/windows/parse.d.ts +6 -0
  161. package/esm/deps/deno.land/std@0.207.0/path/windows/parse.js +159 -0
  162. package/esm/deps/deno.land/std@0.207.0/path/windows/relative.d.ts +12 -0
  163. package/esm/deps/deno.land/std@0.207.0/path/windows/relative.js +121 -0
  164. package/esm/deps/deno.land/std@0.207.0/path/windows/resolve.d.ts +5 -0
  165. package/esm/deps/deno.land/std@0.207.0/path/windows/resolve.js +143 -0
  166. package/esm/deps/deno.land/std@0.207.0/path/windows/separator.d.ts +2 -0
  167. package/esm/deps/deno.land/std@0.207.0/path/windows/separator.js +4 -0
  168. package/esm/deps/deno.land/std@0.207.0/path/windows/to_file_url.d.ts +13 -0
  169. package/esm/deps/deno.land/std@0.207.0/path/windows/to_file_url.js +31 -0
  170. package/esm/deps/deno.land/std@0.207.0/path/windows/to_namespaced_path.d.ts +5 -0
  171. package/esm/deps/deno.land/std@0.207.0/path/windows/to_namespaced_path.js +38 -0
  172. package/esm/mod.d.ts +1 -1
  173. package/esm/mod.js +1 -1
  174. package/esm/types/1_chat.d.ts +2 -3
  175. package/esm/types/1_chat.js +4 -5
  176. package/esm/types/1_user.d.ts +2 -3
  177. package/esm/types/1_user.js +2 -3
  178. package/esm/utilities/0_color.d.ts +3 -0
  179. package/esm/utilities/0_color.js +55 -0
  180. package/package.json +1 -1
  181. package/script/0_deps.d.ts +3 -2
  182. package/script/0_deps.js +18 -5
  183. package/script/1_utilities.d.ts +1 -0
  184. package/script/1_utilities.js +1 -0
  185. package/script/3_types.d.ts +0 -1
  186. package/script/3_types.js +0 -1
  187. package/script/4_constants.d.ts +1 -1
  188. package/script/4_constants.js +1 -1
  189. package/script/client/0_utilities.d.ts +6 -0
  190. package/script/client/0_utilities.js +79 -1
  191. package/script/client/3_types.d.ts +56 -2
  192. package/script/client/5_client.d.ts +43 -5
  193. package/script/client/5_client.js +136 -3
  194. package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/base64.d.ts +2 -2
  195. package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/base64.js +2 -2
  196. package/{esm/deps/deno.land/std@0.204.0 → script/deps/deno.land/std@0.207.0}/fmt/colors.d.ts +1 -1
  197. package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/fmt/colors.js +1 -1
  198. package/script/deps/deno.land/std@0.207.0/path/_common/assert_path.d.ts +1 -0
  199. package/script/deps/deno.land/std@0.207.0/path/_common/assert_path.js +11 -0
  200. package/script/deps/deno.land/std@0.207.0/path/_common/basename.d.ts +3 -0
  201. package/script/deps/deno.land/std@0.207.0/path/_common/basename.js +46 -0
  202. package/script/deps/deno.land/std@0.207.0/path/_common/common.d.ts +1 -0
  203. package/script/deps/deno.land/std@0.207.0/path/_common/common.js +27 -0
  204. package/script/deps/deno.land/std@0.207.0/path/_common/constants.d.ts +39 -0
  205. package/script/deps/deno.land/std@0.207.0/path/_common/constants.js +49 -0
  206. package/script/deps/deno.land/std@0.207.0/path/_common/dirname.d.ts +1 -0
  207. package/script/deps/deno.land/std@0.207.0/path/_common/dirname.js +12 -0
  208. package/script/deps/deno.land/std@0.207.0/path/_common/format.d.ts +3 -0
  209. package/script/deps/deno.land/std@0.207.0/path/_common/format.js +24 -0
  210. package/script/deps/deno.land/std@0.207.0/path/_common/from_file_url.d.ts +1 -0
  211. package/script/deps/deno.land/std@0.207.0/path/_common/from_file_url.js +13 -0
  212. package/script/deps/deno.land/std@0.207.0/path/_common/glob_to_reg_exp.d.ts +27 -0
  213. package/script/deps/deno.land/std@0.207.0/path/_common/glob_to_reg_exp.js +239 -0
  214. package/script/deps/deno.land/std@0.207.0/path/_common/normalize.d.ts +1 -0
  215. package/script/deps/deno.land/std@0.207.0/path/_common/normalize.js +12 -0
  216. package/script/deps/deno.land/std@0.207.0/path/_common/normalize_string.d.ts +1 -0
  217. package/script/deps/deno.land/std@0.207.0/path/_common/normalize_string.js +81 -0
  218. package/script/deps/deno.land/std@0.207.0/path/_common/relative.d.ts +1 -0
  219. package/script/deps/deno.land/std@0.207.0/path/_common/relative.js +13 -0
  220. package/script/deps/deno.land/std@0.207.0/path/_common/strip_trailing_separators.d.ts +1 -0
  221. package/script/deps/deno.land/std@0.207.0/path/_common/strip_trailing_separators.js +23 -0
  222. package/script/deps/deno.land/std@0.207.0/path/_common/to_file_url.d.ts +1 -0
  223. package/script/deps/deno.land/std@0.207.0/path/_common/to_file_url.js +19 -0
  224. package/script/deps/deno.land/std@0.207.0/path/_interface.d.ts +26 -0
  225. package/script/deps/deno.land/std@0.207.0/path/_interface.js +4 -0
  226. package/script/deps/deno.land/std@0.207.0/path/_os.d.ts +3 -0
  227. package/script/deps/deno.land/std@0.207.0/path/_os.js +44 -0
  228. package/script/deps/deno.land/std@0.207.0/path/basename.d.ts +8 -0
  229. package/script/deps/deno.land/std@0.207.0/path/basename.js +21 -0
  230. package/script/deps/deno.land/std@0.207.0/path/common.d.ts +13 -0
  231. package/script/deps/deno.land/std@0.207.0/path/common.js +23 -0
  232. package/script/deps/deno.land/std@0.207.0/path/dirname.d.ts +5 -0
  233. package/script/deps/deno.land/std@0.207.0/path/dirname.js +16 -0
  234. package/script/deps/deno.land/std@0.207.0/path/extname.d.ts +6 -0
  235. package/script/deps/deno.land/std@0.207.0/path/extname.js +17 -0
  236. package/script/deps/deno.land/std@0.207.0/path/format.d.ts +6 -0
  237. package/script/deps/deno.land/std@0.207.0/path/format.js +16 -0
  238. package/script/deps/deno.land/std@0.207.0/path/from_file_url.d.ts +17 -0
  239. package/script/deps/deno.land/std@0.207.0/path/from_file_url.js +28 -0
  240. package/script/deps/deno.land/std@0.207.0/path/glob_to_regexp.d.ts +61 -0
  241. package/script/deps/deno.land/std@0.207.0/path/glob_to_regexp.js +69 -0
  242. package/script/deps/deno.land/std@0.207.0/path/is_absolute.d.ts +5 -0
  243. package/script/deps/deno.land/std@0.207.0/path/is_absolute.js +16 -0
  244. package/script/deps/deno.land/std@0.207.0/path/is_glob.d.ts +2 -0
  245. package/script/deps/deno.land/std@0.207.0/path/is_glob.js +32 -0
  246. package/script/deps/deno.land/std@0.207.0/path/join.d.ts +5 -0
  247. package/script/deps/deno.land/std@0.207.0/path/join.js +16 -0
  248. package/script/deps/deno.land/std@0.207.0/path/join_globs.d.ts +3 -0
  249. package/script/deps/deno.land/std@0.207.0/path/join_globs.js +15 -0
  250. package/script/deps/deno.land/std@0.207.0/path/mod.d.ts +28 -0
  251. package/script/deps/deno.land/std@0.207.0/path/mod.js +92 -0
  252. package/script/deps/deno.land/std@0.207.0/path/normalize.d.ts +7 -0
  253. package/script/deps/deno.land/std@0.207.0/path/normalize.js +18 -0
  254. package/script/deps/deno.land/std@0.207.0/path/normalize_glob.d.ts +3 -0
  255. package/script/deps/deno.land/std@0.207.0/path/normalize_glob.js +15 -0
  256. package/script/deps/deno.land/std@0.207.0/path/parse.d.ts +6 -0
  257. package/script/deps/deno.land/std@0.207.0/path/parse.js +16 -0
  258. package/script/deps/deno.land/std@0.207.0/path/posix/_util.d.ts +1 -0
  259. package/script/deps/deno.land/std@0.207.0/path/posix/_util.js +12 -0
  260. package/script/deps/deno.land/std@0.207.0/path/posix/basename.d.ts +8 -0
  261. package/script/deps/deno.land/std@0.207.0/path/posix/basename.js +22 -0
  262. package/script/deps/deno.land/std@0.207.0/path/posix/common.d.ts +13 -0
  263. package/script/deps/deno.land/std@0.207.0/path/posix/common.js +23 -0
  264. package/script/deps/deno.land/std@0.207.0/path/posix/dirname.d.ts +5 -0
  265. package/script/deps/deno.land/std@0.207.0/path/posix/dirname.js +40 -0
  266. package/script/deps/deno.land/std@0.207.0/path/posix/extname.d.ts +6 -0
  267. package/script/deps/deno.land/std@0.207.0/path/posix/extname.js +63 -0
  268. package/script/deps/deno.land/std@0.207.0/path/posix/format.d.ts +6 -0
  269. package/script/deps/deno.land/std@0.207.0/path/posix/format.js +15 -0
  270. package/script/deps/deno.land/std@0.207.0/path/posix/from_file_url.d.ts +11 -0
  271. package/script/deps/deno.land/std@0.207.0/path/posix/from_file_url.js +21 -0
  272. package/script/deps/deno.land/std@0.207.0/path/posix/glob_to_regexp.d.ts +57 -0
  273. package/script/deps/deno.land/std@0.207.0/path/posix/glob_to_regexp.js +73 -0
  274. package/script/deps/deno.land/std@0.207.0/path/posix/is_absolute.d.ts +5 -0
  275. package/script/deps/deno.land/std@0.207.0/path/posix/is_absolute.js +16 -0
  276. package/script/deps/deno.land/std@0.207.0/path/posix/is_glob.d.ts +1 -0
  277. package/script/deps/deno.land/std@0.207.0/path/posix/is_glob.js +7 -0
  278. package/script/deps/deno.land/std@0.207.0/path/posix/join.d.ts +5 -0
  279. package/script/deps/deno.land/std@0.207.0/path/posix/join.js +30 -0
  280. package/script/deps/deno.land/std@0.207.0/path/posix/join_globs.d.ts +3 -0
  281. package/script/deps/deno.land/std@0.207.0/path/posix/join_globs.js +30 -0
  282. package/script/deps/deno.land/std@0.207.0/path/posix/mod.d.ts +40 -0
  283. package/script/deps/deno.land/std@0.207.0/path/posix/mod.js +61 -0
  284. package/script/deps/deno.land/std@0.207.0/path/posix/normalize.d.ts +7 -0
  285. package/script/deps/deno.land/std@0.207.0/path/posix/normalize.js +29 -0
  286. package/script/deps/deno.land/std@0.207.0/path/posix/normalize_glob.d.ts +3 -0
  287. package/script/deps/deno.land/std@0.207.0/path/posix/normalize_glob.js +20 -0
  288. package/script/deps/deno.land/std@0.207.0/path/posix/parse.d.ts +6 -0
  289. package/script/deps/deno.land/std@0.207.0/path/posix/parse.js +102 -0
  290. package/script/deps/deno.land/std@0.207.0/path/posix/relative.d.ts +7 -0
  291. package/script/deps/deno.land/std@0.207.0/path/posix/relative.js +98 -0
  292. package/script/deps/deno.land/std@0.207.0/path/posix/resolve.d.ts +5 -0
  293. package/script/deps/deno.land/std@0.207.0/path/posix/resolve.js +75 -0
  294. package/script/deps/deno.land/std@0.207.0/path/posix/separator.d.ts +2 -0
  295. package/script/deps/deno.land/std@0.207.0/path/posix/separator.js +7 -0
  296. package/script/deps/deno.land/std@0.207.0/path/posix/to_file_url.d.ts +11 -0
  297. package/script/deps/deno.land/std@0.207.0/path/posix/to_file_url.js +26 -0
  298. package/script/deps/deno.land/std@0.207.0/path/posix/to_namespaced_path.d.ts +5 -0
  299. package/script/deps/deno.land/std@0.207.0/path/posix/to_namespaced_path.js +14 -0
  300. package/script/deps/deno.land/std@0.207.0/path/relative.d.ts +12 -0
  301. package/script/deps/deno.land/std@0.207.0/path/relative.js +23 -0
  302. package/script/deps/deno.land/std@0.207.0/path/resolve.d.ts +5 -0
  303. package/script/deps/deno.land/std@0.207.0/path/resolve.js +18 -0
  304. package/script/deps/deno.land/std@0.207.0/path/separator.d.ts +2 -0
  305. package/script/deps/deno.land/std@0.207.0/path/separator.js +8 -0
  306. package/script/deps/deno.land/std@0.207.0/path/to_file_url.d.ts +17 -0
  307. package/script/deps/deno.land/std@0.207.0/path/to_file_url.js +28 -0
  308. package/script/deps/deno.land/std@0.207.0/path/to_namespaced_path.d.ts +5 -0
  309. package/script/deps/deno.land/std@0.207.0/path/to_namespaced_path.js +18 -0
  310. package/script/deps/deno.land/std@0.207.0/path/windows/_util.d.ts +3 -0
  311. package/script/deps/deno.land/std@0.207.0/path/windows/_util.js +21 -0
  312. package/script/deps/deno.land/std@0.207.0/path/windows/basename.d.ts +8 -0
  313. package/script/deps/deno.land/std@0.207.0/path/windows/basename.js +34 -0
  314. package/script/deps/deno.land/std@0.207.0/path/windows/common.d.ts +13 -0
  315. package/script/deps/deno.land/std@0.207.0/path/windows/common.js +23 -0
  316. package/script/deps/deno.land/std@0.207.0/path/windows/dirname.d.ts +5 -0
  317. package/script/deps/deno.land/std@0.207.0/path/windows/dirname.js +102 -0
  318. package/script/deps/deno.land/std@0.207.0/path/windows/extname.d.ts +6 -0
  319. package/script/deps/deno.land/std@0.207.0/path/windows/extname.js +72 -0
  320. package/script/deps/deno.land/std@0.207.0/path/windows/format.d.ts +6 -0
  321. package/script/deps/deno.land/std@0.207.0/path/windows/format.js +15 -0
  322. package/script/deps/deno.land/std@0.207.0/path/windows/from_file_url.d.ts +13 -0
  323. package/script/deps/deno.land/std@0.207.0/path/windows/from_file_url.js +30 -0
  324. package/script/deps/deno.land/std@0.207.0/path/windows/glob_to_regexp.d.ts +57 -0
  325. package/script/deps/deno.land/std@0.207.0/path/windows/glob_to_regexp.js +73 -0
  326. package/script/deps/deno.land/std@0.207.0/path/windows/is_absolute.d.ts +5 -0
  327. package/script/deps/deno.land/std@0.207.0/path/windows/is_absolute.js +31 -0
  328. package/script/deps/deno.land/std@0.207.0/path/windows/is_glob.d.ts +1 -0
  329. package/script/deps/deno.land/std@0.207.0/path/windows/is_glob.js +7 -0
  330. package/script/deps/deno.land/std@0.207.0/path/windows/join.d.ts +5 -0
  331. package/script/deps/deno.land/std@0.207.0/path/windows/join.js +76 -0
  332. package/script/deps/deno.land/std@0.207.0/path/windows/join_globs.d.ts +3 -0
  333. package/script/deps/deno.land/std@0.207.0/path/windows/join_globs.js +30 -0
  334. package/script/deps/deno.land/std@0.207.0/path/windows/mod.d.ts +40 -0
  335. package/script/deps/deno.land/std@0.207.0/path/windows/mod.js +61 -0
  336. package/script/deps/deno.land/std@0.207.0/path/windows/normalize.d.ts +7 -0
  337. package/script/deps/deno.land/std@0.207.0/path/windows/normalize.js +134 -0
  338. package/script/deps/deno.land/std@0.207.0/path/windows/normalize_glob.d.ts +3 -0
  339. package/script/deps/deno.land/std@0.207.0/path/windows/normalize_glob.js +20 -0
  340. package/script/deps/deno.land/std@0.207.0/path/windows/parse.d.ts +6 -0
  341. package/script/deps/deno.land/std@0.207.0/path/windows/parse.js +163 -0
  342. package/script/deps/deno.land/std@0.207.0/path/windows/relative.d.ts +12 -0
  343. package/script/deps/deno.land/std@0.207.0/path/windows/relative.js +125 -0
  344. package/script/deps/deno.land/std@0.207.0/path/windows/resolve.d.ts +5 -0
  345. package/script/deps/deno.land/std@0.207.0/path/windows/resolve.js +170 -0
  346. package/script/deps/deno.land/std@0.207.0/path/windows/separator.d.ts +2 -0
  347. package/script/deps/deno.land/std@0.207.0/path/windows/separator.js +7 -0
  348. package/script/deps/deno.land/std@0.207.0/path/windows/to_file_url.d.ts +13 -0
  349. package/script/deps/deno.land/std@0.207.0/path/windows/to_file_url.js +35 -0
  350. package/script/deps/deno.land/std@0.207.0/path/windows/to_namespaced_path.d.ts +5 -0
  351. package/script/deps/deno.land/std@0.207.0/path/windows/to_namespaced_path.js +42 -0
  352. package/script/mod.d.ts +1 -1
  353. package/script/mod.js +3 -1
  354. package/script/types/1_chat.d.ts +2 -3
  355. package/script/types/1_chat.js +4 -5
  356. package/script/types/1_user.d.ts +2 -3
  357. package/script/types/1_user.js +1 -2
  358. package/script/utilities/0_color.d.ts +3 -0
  359. package/script/utilities/0_color.js +60 -0
  360. package/esm/types/0_color.d.ts +0 -3
  361. package/esm/types/0_color.js +0 -36
  362. package/script/types/0_color.d.ts +0 -3
  363. package/script/types/0_color.js +0 -41
  364. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_constants.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_constants.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_diff.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_diff.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_format.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_format.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_almost_equals.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_almost_equals.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_array_includes.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_array_includes.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_equals.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_equals.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_exists.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_exists.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_false.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_false.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater_or_equal.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater_or_equal.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_instance_of.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_instance_of.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_is_error.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_is_error.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less_or_equal.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less_or_equal.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_match.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_match.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_equals.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_equals.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_instance_of.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_instance_of.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_match.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_match.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_strict_equals.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_strict_equals.js +0 -0
  404. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_object_match.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_object_match.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_rejects.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_rejects.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_strict_equals.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_strict_equals.js +0 -0
  410. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_string_includes.d.ts +0 -0
  411. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_string_includes.js +0 -0
  412. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_throws.d.ts +0 -0
  413. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_throws.js +0 -0
  414. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assertion_error.d.ts +0 -0
  415. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assertion_error.js +0 -0
  416. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/equal.d.ts +0 -0
  417. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/equal.js +0 -0
  418. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/fail.d.ts +0 -0
  419. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/fail.js +0 -0
  420. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/mod.d.ts +0 -0
  421. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/mod.js +0 -0
  422. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unimplemented.d.ts +0 -0
  423. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unimplemented.js +0 -0
  424. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unreachable.d.ts +0 -0
  425. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unreachable.js +0 -0
  426. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/_util.d.ts +0 -0
  427. /package/esm/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/_util.js +0 -0
  428. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_constants.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_constants.js +0 -0
  430. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_diff.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_diff.js +0 -0
  432. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_format.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/_format.js +0 -0
  434. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert.js +0 -0
  436. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_almost_equals.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_almost_equals.js +0 -0
  438. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_array_includes.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_array_includes.js +0 -0
  440. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_equals.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_equals.js +0 -0
  442. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_exists.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_exists.js +0 -0
  444. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_false.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_false.js +0 -0
  446. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater.js +0 -0
  448. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater_or_equal.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_greater_or_equal.js +0 -0
  450. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_instance_of.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_instance_of.js +0 -0
  452. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_is_error.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_is_error.js +0 -0
  454. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less.js +0 -0
  456. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less_or_equal.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_less_or_equal.js +0 -0
  458. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_match.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_match.js +0 -0
  460. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_equals.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_equals.js +0 -0
  462. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_instance_of.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_instance_of.js +0 -0
  464. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_match.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_match.js +0 -0
  466. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_strict_equals.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_not_strict_equals.js +0 -0
  468. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_object_match.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_object_match.js +0 -0
  470. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_rejects.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_rejects.js +0 -0
  472. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_strict_equals.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_strict_equals.js +0 -0
  474. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_string_includes.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_string_includes.js +0 -0
  476. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_throws.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assert_throws.js +0 -0
  478. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assertion_error.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/assertion_error.js +0 -0
  480. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/equal.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/equal.js +0 -0
  482. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/fail.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/fail.js +0 -0
  484. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/mod.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/mod.js +0 -0
  486. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unimplemented.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unimplemented.js +0 -0
  488. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unreachable.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/assert/unreachable.js +0 -0
  490. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/_util.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.204.0 → std@0.207.0}/encoding/_util.js +0 -0
@@ -539,7 +539,7 @@ const ANSI_PATTERN = new RegExp([
539
539
  "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TXZcf-nq-uy=><~]))",
540
540
  ].join("|"), "g");
541
541
  /**
542
- * @deprecated (will be removed in 1.0.0) Use `stripAnsiCode` instead.
542
+ * @deprecated (will be removed in 1.0.0) Use {@linkcode stripAnsiCode} instead.
543
543
  *
544
544
  * Remove ANSI escape codes from the string.
545
545
  * @param string to remove ANSI escape codes from
@@ -0,0 +1 @@
1
+ export declare function assertPath(path: string): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // Copyright the Browserify authors. MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertPath = void 0;
6
+ function assertPath(path) {
7
+ if (typeof path !== "string") {
8
+ throw new TypeError(`Path must be a string. Received ${JSON.stringify(path)}`);
9
+ }
10
+ }
11
+ exports.assertPath = assertPath;
@@ -0,0 +1,3 @@
1
+ export declare function stripSuffix(name: string, suffix: string): string;
2
+ export declare function lastPathSegment(path: string, isSep: (char: number) => boolean, start?: number): string;
3
+ export declare function assertArgs(path: string, suffix: string): string | undefined;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArgs = exports.lastPathSegment = exports.stripSuffix = void 0;
6
+ const assert_path_js_1 = require("./assert_path.js");
7
+ function stripSuffix(name, suffix) {
8
+ if (suffix.length >= name.length) {
9
+ return name;
10
+ }
11
+ const lenDiff = name.length - suffix.length;
12
+ for (let i = suffix.length - 1; i >= 0; --i) {
13
+ if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
14
+ return name;
15
+ }
16
+ }
17
+ return name.slice(0, -suffix.length);
18
+ }
19
+ exports.stripSuffix = stripSuffix;
20
+ function lastPathSegment(path, isSep, start = 0) {
21
+ let matchedNonSeparator = false;
22
+ let end = path.length;
23
+ for (let i = path.length - 1; i >= start; --i) {
24
+ if (isSep(path.charCodeAt(i))) {
25
+ if (matchedNonSeparator) {
26
+ start = i + 1;
27
+ break;
28
+ }
29
+ }
30
+ else if (!matchedNonSeparator) {
31
+ matchedNonSeparator = true;
32
+ end = i + 1;
33
+ }
34
+ }
35
+ return path.slice(start, end);
36
+ }
37
+ exports.lastPathSegment = lastPathSegment;
38
+ function assertArgs(path, suffix) {
39
+ (0, assert_path_js_1.assertPath)(path);
40
+ if (path.length === 0)
41
+ return path;
42
+ if (typeof suffix !== "string") {
43
+ throw new TypeError(`Suffix must be a string. Received ${JSON.stringify(suffix)}`);
44
+ }
45
+ }
46
+ exports.assertArgs = assertArgs;
@@ -0,0 +1 @@
1
+ export declare function _common(paths: string[], sep: string): string;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports._common = void 0;
6
+ function _common(paths, sep) {
7
+ const [first = "", ...remaining] = paths;
8
+ if (first === "" || remaining.length === 0) {
9
+ return first.substring(0, first.lastIndexOf(sep) + 1);
10
+ }
11
+ const parts = first.split(sep);
12
+ let endOfPrefix = parts.length;
13
+ for (const path of remaining) {
14
+ const compare = path.split(sep);
15
+ for (let i = 0; i < endOfPrefix; i++) {
16
+ if (compare[i] !== parts[i]) {
17
+ endOfPrefix = i;
18
+ }
19
+ }
20
+ if (endOfPrefix === 0) {
21
+ return "";
22
+ }
23
+ }
24
+ const prefix = parts.slice(0, endOfPrefix).join(sep);
25
+ return prefix.endsWith(sep) ? prefix : `${prefix}${sep}`;
26
+ }
27
+ exports._common = _common;
@@ -0,0 +1,39 @@
1
+ export declare const CHAR_UPPERCASE_A = 65;
2
+ export declare const CHAR_LOWERCASE_A = 97;
3
+ export declare const CHAR_UPPERCASE_Z = 90;
4
+ export declare const CHAR_LOWERCASE_Z = 122;
5
+ export declare const CHAR_DOT = 46;
6
+ export declare const CHAR_FORWARD_SLASH = 47;
7
+ export declare const CHAR_BACKWARD_SLASH = 92;
8
+ export declare const CHAR_VERTICAL_LINE = 124;
9
+ export declare const CHAR_COLON = 58;
10
+ export declare const CHAR_QUESTION_MARK = 63;
11
+ export declare const CHAR_UNDERSCORE = 95;
12
+ export declare const CHAR_LINE_FEED = 10;
13
+ export declare const CHAR_CARRIAGE_RETURN = 13;
14
+ export declare const CHAR_TAB = 9;
15
+ export declare const CHAR_FORM_FEED = 12;
16
+ export declare const CHAR_EXCLAMATION_MARK = 33;
17
+ export declare const CHAR_HASH = 35;
18
+ export declare const CHAR_SPACE = 32;
19
+ export declare const CHAR_NO_BREAK_SPACE = 160;
20
+ export declare const CHAR_ZERO_WIDTH_NOBREAK_SPACE = 65279;
21
+ export declare const CHAR_LEFT_SQUARE_BRACKET = 91;
22
+ export declare const CHAR_RIGHT_SQUARE_BRACKET = 93;
23
+ export declare const CHAR_LEFT_ANGLE_BRACKET = 60;
24
+ export declare const CHAR_RIGHT_ANGLE_BRACKET = 62;
25
+ export declare const CHAR_LEFT_CURLY_BRACKET = 123;
26
+ export declare const CHAR_RIGHT_CURLY_BRACKET = 125;
27
+ export declare const CHAR_HYPHEN_MINUS = 45;
28
+ export declare const CHAR_PLUS = 43;
29
+ export declare const CHAR_DOUBLE_QUOTE = 34;
30
+ export declare const CHAR_SINGLE_QUOTE = 39;
31
+ export declare const CHAR_PERCENT = 37;
32
+ export declare const CHAR_SEMICOLON = 59;
33
+ export declare const CHAR_CIRCUMFLEX_ACCENT = 94;
34
+ export declare const CHAR_GRAVE_ACCENT = 96;
35
+ export declare const CHAR_AT = 64;
36
+ export declare const CHAR_AMPERSAND = 38;
37
+ export declare const CHAR_EQUAL = 61;
38
+ export declare const CHAR_0 = 48;
39
+ export declare const CHAR_9 = 57;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. 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.CHAR_9 = exports.CHAR_0 = exports.CHAR_EQUAL = exports.CHAR_AMPERSAND = exports.CHAR_AT = exports.CHAR_GRAVE_ACCENT = exports.CHAR_CIRCUMFLEX_ACCENT = exports.CHAR_SEMICOLON = exports.CHAR_PERCENT = exports.CHAR_SINGLE_QUOTE = exports.CHAR_DOUBLE_QUOTE = exports.CHAR_PLUS = exports.CHAR_HYPHEN_MINUS = exports.CHAR_RIGHT_CURLY_BRACKET = exports.CHAR_LEFT_CURLY_BRACKET = exports.CHAR_RIGHT_ANGLE_BRACKET = exports.CHAR_LEFT_ANGLE_BRACKET = exports.CHAR_RIGHT_SQUARE_BRACKET = exports.CHAR_LEFT_SQUARE_BRACKET = exports.CHAR_ZERO_WIDTH_NOBREAK_SPACE = exports.CHAR_NO_BREAK_SPACE = exports.CHAR_SPACE = exports.CHAR_HASH = exports.CHAR_EXCLAMATION_MARK = exports.CHAR_FORM_FEED = exports.CHAR_TAB = exports.CHAR_CARRIAGE_RETURN = exports.CHAR_LINE_FEED = exports.CHAR_UNDERSCORE = exports.CHAR_QUESTION_MARK = exports.CHAR_COLON = exports.CHAR_VERTICAL_LINE = exports.CHAR_BACKWARD_SLASH = exports.CHAR_FORWARD_SLASH = exports.CHAR_DOT = exports.CHAR_LOWERCASE_Z = exports.CHAR_UPPERCASE_Z = exports.CHAR_LOWERCASE_A = exports.CHAR_UPPERCASE_A = void 0;
8
+ // Alphabet chars.
9
+ exports.CHAR_UPPERCASE_A = 65; /* A */
10
+ exports.CHAR_LOWERCASE_A = 97; /* a */
11
+ exports.CHAR_UPPERCASE_Z = 90; /* Z */
12
+ exports.CHAR_LOWERCASE_Z = 122; /* z */
13
+ // Non-alphabetic chars.
14
+ exports.CHAR_DOT = 46; /* . */
15
+ exports.CHAR_FORWARD_SLASH = 47; /* / */
16
+ exports.CHAR_BACKWARD_SLASH = 92; /* \ */
17
+ exports.CHAR_VERTICAL_LINE = 124; /* | */
18
+ exports.CHAR_COLON = 58; /* : */
19
+ exports.CHAR_QUESTION_MARK = 63; /* ? */
20
+ exports.CHAR_UNDERSCORE = 95; /* _ */
21
+ exports.CHAR_LINE_FEED = 10; /* \n */
22
+ exports.CHAR_CARRIAGE_RETURN = 13; /* \r */
23
+ exports.CHAR_TAB = 9; /* \t */
24
+ exports.CHAR_FORM_FEED = 12; /* \f */
25
+ exports.CHAR_EXCLAMATION_MARK = 33; /* ! */
26
+ exports.CHAR_HASH = 35; /* # */
27
+ exports.CHAR_SPACE = 32; /* */
28
+ exports.CHAR_NO_BREAK_SPACE = 160; /* \u00A0 */
29
+ exports.CHAR_ZERO_WIDTH_NOBREAK_SPACE = 65279; /* \uFEFF */
30
+ exports.CHAR_LEFT_SQUARE_BRACKET = 91; /* [ */
31
+ exports.CHAR_RIGHT_SQUARE_BRACKET = 93; /* ] */
32
+ exports.CHAR_LEFT_ANGLE_BRACKET = 60; /* < */
33
+ exports.CHAR_RIGHT_ANGLE_BRACKET = 62; /* > */
34
+ exports.CHAR_LEFT_CURLY_BRACKET = 123; /* { */
35
+ exports.CHAR_RIGHT_CURLY_BRACKET = 125; /* } */
36
+ exports.CHAR_HYPHEN_MINUS = 45; /* - */
37
+ exports.CHAR_PLUS = 43; /* + */
38
+ exports.CHAR_DOUBLE_QUOTE = 34; /* " */
39
+ exports.CHAR_SINGLE_QUOTE = 39; /* ' */
40
+ exports.CHAR_PERCENT = 37; /* % */
41
+ exports.CHAR_SEMICOLON = 59; /* ; */
42
+ exports.CHAR_CIRCUMFLEX_ACCENT = 94; /* ^ */
43
+ exports.CHAR_GRAVE_ACCENT = 96; /* ` */
44
+ exports.CHAR_AT = 64; /* @ */
45
+ exports.CHAR_AMPERSAND = 38; /* & */
46
+ exports.CHAR_EQUAL = 61; /* = */
47
+ // Digits
48
+ exports.CHAR_0 = 48; /* 0 */
49
+ exports.CHAR_9 = 57; /* 9 */
@@ -0,0 +1 @@
1
+ export declare function assertArg(path: string): "." | undefined;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArg = void 0;
6
+ const assert_path_js_1 = require("./assert_path.js");
7
+ function assertArg(path) {
8
+ (0, assert_path_js_1.assertPath)(path);
9
+ if (path.length === 0)
10
+ return ".";
11
+ }
12
+ exports.assertArg = assertArg;
@@ -0,0 +1,3 @@
1
+ import type { FormatInputPathObject } from "../_interface.js";
2
+ export declare function _format(sep: string, pathObject: FormatInputPathObject): string;
3
+ export declare function assertArg(pathObject: FormatInputPathObject): void;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArg = exports._format = void 0;
6
+ function _format(sep, pathObject) {
7
+ const dir = pathObject.dir || pathObject.root;
8
+ const base = pathObject.base ||
9
+ (pathObject.name || "") + (pathObject.ext || "");
10
+ if (!dir)
11
+ return base;
12
+ if (base === sep)
13
+ return dir;
14
+ if (dir === pathObject.root)
15
+ return dir + base;
16
+ return dir + sep + base;
17
+ }
18
+ exports._format = _format;
19
+ function assertArg(pathObject) {
20
+ if (pathObject === null || typeof pathObject !== "object") {
21
+ throw new TypeError(`The "pathObject" argument must be of type Object. Received type ${typeof pathObject}`);
22
+ }
23
+ }
24
+ exports.assertArg = assertArg;
@@ -0,0 +1 @@
1
+ export declare function assertArg(url: URL | string): URL;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArg = void 0;
6
+ function assertArg(url) {
7
+ url = url instanceof URL ? url : new URL(url);
8
+ if (url.protocol !== "file:") {
9
+ throw new TypeError("Must be a file URL.");
10
+ }
11
+ return url;
12
+ }
13
+ exports.assertArg = assertArg;
@@ -0,0 +1,27 @@
1
+ export interface GlobOptions {
2
+ /** Extended glob syntax.
3
+ * See https://www.linuxjournal.com/content/bash-extended-globbing.
4
+ *
5
+ * @default {true}
6
+ */
7
+ extended?: boolean;
8
+ /** Globstar syntax.
9
+ * See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
10
+ * If false, `**` is treated like `*`.
11
+ *
12
+ * @default {true}
13
+ */
14
+ globstar?: boolean;
15
+ /** Whether globstar should be case-insensitive. */
16
+ caseInsensitive?: boolean;
17
+ }
18
+ export type GlobToRegExpOptions = GlobOptions;
19
+ export interface GlobConstants {
20
+ sep: string;
21
+ sepMaybe: string;
22
+ seps: string[];
23
+ globstar: string;
24
+ wildcard: string;
25
+ escapePrefix: string;
26
+ }
27
+ export declare function _globToRegExp(c: GlobConstants, glob: string, { extended, globstar: globstarOption, caseInsensitive, }?: GlobToRegExpOptions): RegExp;
@@ -0,0 +1,239 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports._globToRegExp = void 0;
6
+ const regExpEscapeChars = [
7
+ "!",
8
+ "$",
9
+ "(",
10
+ ")",
11
+ "*",
12
+ "+",
13
+ ".",
14
+ "=",
15
+ "?",
16
+ "[",
17
+ "\\",
18
+ "^",
19
+ "{",
20
+ "|",
21
+ ];
22
+ const rangeEscapeChars = ["-", "\\", "]"];
23
+ function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true,
24
+ // os = osType,
25
+ caseInsensitive = false, } = {}) {
26
+ if (glob === "") {
27
+ return /(?!)/;
28
+ }
29
+ // Remove trailing separators.
30
+ let newLength = glob.length;
31
+ for (; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--)
32
+ ;
33
+ glob = glob.slice(0, newLength);
34
+ let regExpString = "";
35
+ // Terminates correctly. Trust that `j` is incremented every iteration.
36
+ for (let j = 0; j < glob.length;) {
37
+ let segment = "";
38
+ const groupStack = [];
39
+ let inRange = false;
40
+ let inEscape = false;
41
+ let endsWithSep = false;
42
+ let i = j;
43
+ // Terminates with `i` at the non-inclusive end of the current segment.
44
+ for (; i < glob.length && !c.seps.includes(glob[i]); i++) {
45
+ if (inEscape) {
46
+ inEscape = false;
47
+ const escapeChars = inRange ? rangeEscapeChars : regExpEscapeChars;
48
+ segment += escapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
49
+ continue;
50
+ }
51
+ if (glob[i] === c.escapePrefix) {
52
+ inEscape = true;
53
+ continue;
54
+ }
55
+ if (glob[i] === "[") {
56
+ if (!inRange) {
57
+ inRange = true;
58
+ segment += "[";
59
+ if (glob[i + 1] === "!") {
60
+ i++;
61
+ segment += "^";
62
+ }
63
+ else if (glob[i + 1] === "^") {
64
+ i++;
65
+ segment += "\\^";
66
+ }
67
+ continue;
68
+ }
69
+ else if (glob[i + 1] === ":") {
70
+ let k = i + 1;
71
+ let value = "";
72
+ while (glob[k + 1] !== undefined && glob[k + 1] !== ":") {
73
+ value += glob[k + 1];
74
+ k++;
75
+ }
76
+ if (glob[k + 1] === ":" && glob[k + 2] === "]") {
77
+ i = k + 2;
78
+ if (value === "alnum")
79
+ segment += "\\dA-Za-z";
80
+ else if (value === "alpha")
81
+ segment += "A-Za-z";
82
+ else if (value === "ascii")
83
+ segment += "\x00-\x7F";
84
+ else if (value === "blank")
85
+ segment += "\t ";
86
+ else if (value === "cntrl")
87
+ segment += "\x00-\x1F\x7F";
88
+ else if (value === "digit")
89
+ segment += "\\d";
90
+ else if (value === "graph")
91
+ segment += "\x21-\x7E";
92
+ else if (value === "lower")
93
+ segment += "a-z";
94
+ else if (value === "print")
95
+ segment += "\x20-\x7E";
96
+ else if (value === "punct") {
97
+ segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
98
+ }
99
+ else if (value === "space")
100
+ segment += "\\s\v";
101
+ else if (value === "upper")
102
+ segment += "A-Z";
103
+ else if (value === "word")
104
+ segment += "\\w";
105
+ else if (value === "xdigit")
106
+ segment += "\\dA-Fa-f";
107
+ continue;
108
+ }
109
+ }
110
+ }
111
+ if (glob[i] === "]" && inRange) {
112
+ inRange = false;
113
+ segment += "]";
114
+ continue;
115
+ }
116
+ if (inRange) {
117
+ if (glob[i] === "\\") {
118
+ segment += `\\\\`;
119
+ }
120
+ else {
121
+ segment += glob[i];
122
+ }
123
+ continue;
124
+ }
125
+ if (glob[i] === ")" && groupStack.length > 0 &&
126
+ groupStack[groupStack.length - 1] !== "BRACE") {
127
+ segment += ")";
128
+ const type = groupStack.pop();
129
+ if (type === "!") {
130
+ segment += c.wildcard;
131
+ }
132
+ else if (type !== "@") {
133
+ segment += type;
134
+ }
135
+ continue;
136
+ }
137
+ if (glob[i] === "|" && groupStack.length > 0 &&
138
+ groupStack[groupStack.length - 1] !== "BRACE") {
139
+ segment += "|";
140
+ continue;
141
+ }
142
+ if (glob[i] === "+" && extended && glob[i + 1] === "(") {
143
+ i++;
144
+ groupStack.push("+");
145
+ segment += "(?:";
146
+ continue;
147
+ }
148
+ if (glob[i] === "@" && extended && glob[i + 1] === "(") {
149
+ i++;
150
+ groupStack.push("@");
151
+ segment += "(?:";
152
+ continue;
153
+ }
154
+ if (glob[i] === "?") {
155
+ if (extended && glob[i + 1] === "(") {
156
+ i++;
157
+ groupStack.push("?");
158
+ segment += "(?:";
159
+ }
160
+ else {
161
+ segment += ".";
162
+ }
163
+ continue;
164
+ }
165
+ if (glob[i] === "!" && extended && glob[i + 1] === "(") {
166
+ i++;
167
+ groupStack.push("!");
168
+ segment += "(?!";
169
+ continue;
170
+ }
171
+ if (glob[i] === "{") {
172
+ groupStack.push("BRACE");
173
+ segment += "(?:";
174
+ continue;
175
+ }
176
+ if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
177
+ groupStack.pop();
178
+ segment += ")";
179
+ continue;
180
+ }
181
+ if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
182
+ segment += "|";
183
+ continue;
184
+ }
185
+ if (glob[i] === "*") {
186
+ if (extended && glob[i + 1] === "(") {
187
+ i++;
188
+ groupStack.push("*");
189
+ segment += "(?:";
190
+ }
191
+ else {
192
+ const prevChar = glob[i - 1];
193
+ let numStars = 1;
194
+ while (glob[i + 1] === "*") {
195
+ i++;
196
+ numStars++;
197
+ }
198
+ const nextChar = glob[i + 1];
199
+ if (globstarOption && numStars === 2 &&
200
+ [...c.seps, undefined].includes(prevChar) &&
201
+ [...c.seps, undefined].includes(nextChar)) {
202
+ segment += c.globstar;
203
+ endsWithSep = true;
204
+ }
205
+ else {
206
+ segment += c.wildcard;
207
+ }
208
+ }
209
+ continue;
210
+ }
211
+ segment += regExpEscapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
212
+ }
213
+ // Check for unclosed groups or a dangling backslash.
214
+ if (groupStack.length > 0 || inRange || inEscape) {
215
+ // Parse failure. Take all characters from this segment literally.
216
+ segment = "";
217
+ for (const c of glob.slice(j, i)) {
218
+ segment += regExpEscapeChars.includes(c) ? `\\${c}` : c;
219
+ endsWithSep = false;
220
+ }
221
+ }
222
+ regExpString += segment;
223
+ if (!endsWithSep) {
224
+ regExpString += i < glob.length ? c.sep : c.sepMaybe;
225
+ endsWithSep = true;
226
+ }
227
+ // Terminates with `i` at the start of the next segment.
228
+ while (c.seps.includes(glob[i]))
229
+ i++;
230
+ // Check that the next value of `j` is indeed higher than the current value.
231
+ if (!(i > j)) {
232
+ throw new Error("Assertion failure: i > j (potential infinite loop)");
233
+ }
234
+ j = i;
235
+ }
236
+ regExpString = `^${regExpString}$`;
237
+ return new RegExp(regExpString, caseInsensitive ? "i" : "");
238
+ }
239
+ exports._globToRegExp = _globToRegExp;
@@ -0,0 +1 @@
1
+ export declare function assertArg(path: string): "." | undefined;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArg = void 0;
6
+ const assert_path_js_1 = require("./assert_path.js");
7
+ function assertArg(path) {
8
+ (0, assert_path_js_1.assertPath)(path);
9
+ if (path.length === 0)
10
+ return ".";
11
+ }
12
+ exports.assertArg = assertArg;
@@ -0,0 +1 @@
1
+ export declare function normalizeString(path: string, allowAboveRoot: boolean, separator: string, isPathSeparator: (code: number) => boolean): string;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. 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.normalizeString = void 0;
8
+ const constants_js_1 = require("./constants.js");
9
+ // Resolves . and .. elements in a path with directory names
10
+ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
11
+ let res = "";
12
+ let lastSegmentLength = 0;
13
+ let lastSlash = -1;
14
+ let dots = 0;
15
+ let code;
16
+ for (let i = 0, len = path.length; i <= len; ++i) {
17
+ if (i < len)
18
+ code = path.charCodeAt(i);
19
+ else if (isPathSeparator(code))
20
+ break;
21
+ else
22
+ code = constants_js_1.CHAR_FORWARD_SLASH;
23
+ if (isPathSeparator(code)) {
24
+ if (lastSlash === i - 1 || dots === 1) {
25
+ // NOOP
26
+ }
27
+ else if (lastSlash !== i - 1 && dots === 2) {
28
+ if (res.length < 2 ||
29
+ lastSegmentLength !== 2 ||
30
+ res.charCodeAt(res.length - 1) !== constants_js_1.CHAR_DOT ||
31
+ res.charCodeAt(res.length - 2) !== constants_js_1.CHAR_DOT) {
32
+ if (res.length > 2) {
33
+ const lastSlashIndex = res.lastIndexOf(separator);
34
+ if (lastSlashIndex === -1) {
35
+ res = "";
36
+ lastSegmentLength = 0;
37
+ }
38
+ else {
39
+ res = res.slice(0, lastSlashIndex);
40
+ lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);
41
+ }
42
+ lastSlash = i;
43
+ dots = 0;
44
+ continue;
45
+ }
46
+ else if (res.length === 2 || res.length === 1) {
47
+ res = "";
48
+ lastSegmentLength = 0;
49
+ lastSlash = i;
50
+ dots = 0;
51
+ continue;
52
+ }
53
+ }
54
+ if (allowAboveRoot) {
55
+ if (res.length > 0)
56
+ res += `${separator}..`;
57
+ else
58
+ res = "..";
59
+ lastSegmentLength = 2;
60
+ }
61
+ }
62
+ else {
63
+ if (res.length > 0)
64
+ res += separator + path.slice(lastSlash + 1, i);
65
+ else
66
+ res = path.slice(lastSlash + 1, i);
67
+ lastSegmentLength = i - lastSlash - 1;
68
+ }
69
+ lastSlash = i;
70
+ dots = 0;
71
+ }
72
+ else if (code === constants_js_1.CHAR_DOT && dots !== -1) {
73
+ ++dots;
74
+ }
75
+ else {
76
+ dots = -1;
77
+ }
78
+ }
79
+ return res;
80
+ }
81
+ exports.normalizeString = normalizeString;
@@ -0,0 +1 @@
1
+ export declare function assertArgs(from: string, to: string): "" | undefined;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.assertArgs = void 0;
6
+ const assert_path_js_1 = require("./assert_path.js");
7
+ function assertArgs(from, to) {
8
+ (0, assert_path_js_1.assertPath)(from);
9
+ (0, assert_path_js_1.assertPath)(to);
10
+ if (from === to)
11
+ return "";
12
+ }
13
+ exports.assertArgs = assertArgs;
@@ -0,0 +1 @@
1
+ export declare function stripTrailingSeparators(segment: string, isSep: (char: number) => boolean): string;