@mtkruto/node 0.1.170 → 0.1.190

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 (570) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +5 -5
  3. package/esm/4_constants.d.ts +1 -2
  4. package/esm/4_constants.js +2 -3
  5. package/esm/5_client.d.ts +2 -2
  6. package/esm/5_client.js +2 -2
  7. package/esm/client/0_client_abstract.d.ts +6 -4
  8. package/esm/client/0_client_abstract.js +11 -5
  9. package/esm/client/0_html.js +0 -6
  10. package/esm/client/0_markdown.d.ts +21 -0
  11. package/esm/client/0_markdown.js +321 -0
  12. package/esm/client/0_message.d.ts +1 -1
  13. package/esm/client/0_message.js +3 -6
  14. package/esm/client/0_params.d.ts +16 -0
  15. package/esm/client/1_client_encrypted.d.ts +34 -0
  16. package/esm/client/1_client_encrypted.js +239 -0
  17. package/esm/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
  18. package/esm/client/{2_client_plain.js → 1_client_plain.js} +4 -1
  19. package/esm/client/1_composer.d.ts +2 -3
  20. package/esm/client/2_message_manager.d.ts +8 -3
  21. package/esm/client/2_message_manager.js +101 -9
  22. package/esm/client/4_client.d.ts +98 -40
  23. package/esm/client/4_client.js +263 -414
  24. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.js +6 -3
  25. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.js +2 -1
  26. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.js +2 -2
  27. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.d.ts +13 -1
  28. package/{script/deps/deno.land/std@0.219.0 → esm/deps/deno.land/std@0.221.0}/path/basename.d.ts +9 -0
  29. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/basename.js +9 -0
  30. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.d.ts +3 -1
  31. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.js +3 -1
  32. package/esm/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  33. package/esm/deps/deno.land/std@0.221.0/path/parse.js +24 -0
  34. package/esm/deps/deno.land/std@0.221.0/path/posix/basename.d.ts +17 -0
  35. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/basename.js +9 -0
  36. package/esm/deps/deno.land/std@0.221.0/path/posix/dirname.d.ts +14 -0
  37. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/dirname.js +9 -0
  38. package/esm/deps/deno.land/std@0.221.0/path/posix/extname.d.ts +15 -0
  39. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/extname.js +9 -0
  40. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.js +1 -1
  41. package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/basename.d.ts +9 -0
  42. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/basename.js +9 -0
  43. package/esm/storage/0_storage.d.ts +10 -1
  44. package/esm/storage/0_storage.js +40 -5
  45. package/esm/tl/6_message.d.ts +3 -2
  46. package/esm/tl/6_message.js +1 -1
  47. package/esm/tl/7_message_container.d.ts +6 -4
  48. package/esm/tl/7_message_container.js +22 -7
  49. package/esm/types/0_message_entity.d.ts +1 -0
  50. package/esm/types/0_message_entity.js +34 -0
  51. package/esm/types/0_parse_mode.d.ts +1 -1
  52. package/esm/types/4_inline_query_result.d.ts +1 -1
  53. package/esm/types/4_inline_query_result.js +4 -0
  54. package/esm/utilities/0_bigint.d.ts +1 -0
  55. package/esm/utilities/0_bigint.js +1 -0
  56. package/package.json +1 -1
  57. package/script/0_deps.d.ts +4 -4
  58. package/script/0_deps.js +5 -5
  59. package/script/4_constants.d.ts +1 -2
  60. package/script/4_constants.js +3 -4
  61. package/script/5_client.d.ts +2 -2
  62. package/script/5_client.js +2 -2
  63. package/script/client/0_client_abstract.d.ts +6 -4
  64. package/script/client/0_client_abstract.js +11 -5
  65. package/script/client/0_html.js +0 -6
  66. package/script/client/0_markdown.d.ts +21 -0
  67. package/script/client/0_markdown.js +325 -0
  68. package/script/client/0_message.d.ts +1 -1
  69. package/script/client/0_message.js +3 -6
  70. package/script/client/0_params.d.ts +16 -0
  71. package/script/client/1_client_encrypted.d.ts +34 -0
  72. package/script/client/1_client_encrypted.js +243 -0
  73. package/script/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
  74. package/script/client/{2_client_plain.js → 1_client_plain.js} +4 -1
  75. package/script/client/1_composer.d.ts +2 -3
  76. package/script/client/2_message_manager.d.ts +8 -3
  77. package/script/client/2_message_manager.js +101 -9
  78. package/script/client/4_client.d.ts +98 -40
  79. package/script/client/4_client.js +259 -410
  80. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.js +6 -3
  81. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.js +2 -1
  82. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.js +2 -2
  83. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.d.ts +13 -1
  84. package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/basename.d.ts +9 -0
  85. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/basename.js +9 -0
  86. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.d.ts +3 -1
  87. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.js +3 -1
  88. package/script/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  89. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/parse.js +13 -1
  90. package/script/deps/deno.land/std@0.221.0/path/posix/basename.d.ts +17 -0
  91. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/basename.js +9 -0
  92. package/script/deps/deno.land/std@0.221.0/path/posix/dirname.d.ts +14 -0
  93. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/dirname.js +9 -0
  94. package/script/deps/deno.land/std@0.221.0/path/posix/extname.d.ts +15 -0
  95. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/extname.js +9 -0
  96. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.js +1 -1
  97. package/{esm/deps/deno.land/std@0.219.0/path → script/deps/deno.land/std@0.221.0/path/windows}/basename.d.ts +9 -0
  98. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/basename.js +9 -0
  99. package/script/storage/0_storage.d.ts +10 -1
  100. package/script/storage/0_storage.js +40 -5
  101. package/script/tl/6_message.d.ts +3 -2
  102. package/script/tl/6_message.js +1 -1
  103. package/script/tl/7_message_container.d.ts +6 -4
  104. package/script/tl/7_message_container.js +20 -5
  105. package/script/types/0_message_entity.d.ts +1 -0
  106. package/script/types/0_message_entity.js +36 -1
  107. package/script/types/0_parse_mode.d.ts +1 -1
  108. package/script/types/4_inline_query_result.d.ts +1 -1
  109. package/script/types/4_inline_query_result.js +4 -0
  110. package/script/utilities/0_bigint.d.ts +1 -0
  111. package/script/utilities/0_bigint.js +1 -0
  112. package/esm/client/5_composer.d.ts +0 -4
  113. package/esm/client/5_composer.js +0 -3
  114. package/esm/deps/deno.land/std@0.219.0/path/parse.d.ts +0 -6
  115. package/esm/deps/deno.land/std@0.219.0/path/parse.js +0 -12
  116. package/script/client/5_composer.d.ts +0 -4
  117. package/script/client/5_composer.js +0 -7
  118. package/script/deps/deno.land/std@0.219.0/path/parse.d.ts +0 -6
  119. package/script/deps/deno.land/std@0.219.0/path/posix/basename.d.ts +0 -8
  120. package/script/deps/deno.land/std@0.219.0/path/posix/dirname.d.ts +0 -5
  121. package/script/deps/deno.land/std@0.219.0/path/posix/extname.d.ts +0 -6
  122. package/script/deps/deno.land/std@0.219.0/path/windows/basename.d.ts +0 -8
  123. package/script/deps/deno.land/std@0.219.0/path/windows/dirname.d.ts +0 -5
  124. package/script/deps/deno.land/std@0.219.0/path/windows/extname.d.ts +0 -6
  125. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.d.ts +0 -0
  126. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.js +0 -0
  127. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.d.ts +0 -0
  128. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.d.ts +0 -0
  129. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.js +0 -0
  130. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.d.ts +0 -0
  131. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.js +0 -0
  132. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  133. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  134. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  135. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  136. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  137. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.js +0 -0
  138. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  139. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.js +0 -0
  140. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  141. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.js +0 -0
  142. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  143. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.js +0 -0
  144. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  145. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  146. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  147. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  148. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  149. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.js +0 -0
  150. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  151. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.js +0 -0
  152. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  153. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  154. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  155. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.js +0 -0
  156. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  157. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  158. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  159. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  160. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  161. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.js +0 -0
  162. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  163. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  164. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  165. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.js +0 -0
  166. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  167. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.js +0 -0
  168. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  169. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.js +0 -0
  174. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  175. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.js +0 -0
  229. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.js +0 -0
  237. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.d.ts +0 -0
  238. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.js +0 -0
  239. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.d.ts +0 -0
  240. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.js +0 -0
  241. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.d.ts +0 -0
  242. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.js +0 -0
  243. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.d.ts +0 -0
  244. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.js +0 -0
  245. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.d.ts +0 -0
  246. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.js +0 -0
  247. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  248. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.js +0 -0
  249. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  250. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  251. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  252. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.js +0 -0
  253. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.d.ts +0 -0
  254. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.js +0 -0
  255. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.d.ts +0 -0
  256. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.js +0 -0
  257. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.d.ts +0 -0
  258. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.js +0 -0
  259. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.d.ts +0 -0
  260. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.js +0 -0
  261. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.d.ts +0 -0
  262. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.js +0 -0
  263. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  264. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.js +0 -0
  265. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  266. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.d.ts +0 -0
  272. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.js +0 -0
  273. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  274. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  275. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/dirname.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/dirname.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/extname.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/extname.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
  348. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.d.ts +0 -0
  349. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.js +0 -0
  350. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.d.ts +0 -0
  351. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.d.ts +0 -0
  352. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.js +0 -0
  353. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.d.ts +0 -0
  354. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.js +0 -0
  355. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  356. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  357. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  358. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  359. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  360. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.js +0 -0
  361. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  362. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.js +0 -0
  363. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  364. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.js +0 -0
  365. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  366. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.js +0 -0
  367. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  368. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  369. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  370. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  371. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  372. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.js +0 -0
  373. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  374. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.js +0 -0
  375. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  376. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  377. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  378. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.js +0 -0
  379. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  380. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  381. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  382. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  383. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  384. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.js +0 -0
  385. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  386. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  387. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  388. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.js +0 -0
  389. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  390. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.js +0 -0
  391. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  392. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  393. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  394. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  395. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  396. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.js +0 -0
  397. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  398. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.js +0 -0
  399. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.d.ts +0 -0
  400. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.js +0 -0
  401. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.d.ts +0 -0
  402. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.js +0 -0
  403. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.d.ts +0 -0
  404. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.js +0 -0
  405. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.js +0 -0
  407. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.js +0 -0
  409. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.js +0 -0
  411. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.js +0 -0
  414. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.js +0 -0
  416. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.d.ts +0 -0
  417. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.js +0 -0
  418. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.js +0 -0
  420. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.js +0 -0
  422. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  424. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.js +0 -0
  426. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.js +0 -0
  428. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  430. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  432. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  434. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.js +0 -0
  436. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.js +0 -0
  438. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.js +0 -0
  440. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.js +0 -0
  442. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.js +0 -0
  444. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.js +0 -0
  446. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  448. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  450. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.js +0 -0
  452. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.js +0 -0
  455. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  457. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  459. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.js +0 -0
  460. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.js +0 -0
  462. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.js +0 -0
  464. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.js +0 -0
  466. /package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/dirname.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.js +0 -0
  468. /package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/extname.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.js +0 -0
  470. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.js +0 -0
  472. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  474. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.js +0 -0
  476. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.js +0 -0
  478. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.js +0 -0
  480. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.js +0 -0
  482. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.js +0 -0
  484. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.js +0 -0
  486. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.js +0 -0
  488. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.js +0 -0
  490. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.js +0 -0
  492. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.js +0 -0
  494. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.js +0 -0
  496. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  498. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  500. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  502. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.js +0 -0
  504. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.js +0 -0
  507. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.js +0 -0
  509. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.js +0 -0
  511. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  513. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.js +0 -0
  515. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.js +0 -0
  517. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.js +0 -0
  519. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  521. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  523. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.js +0 -0
  525. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.js +0 -0
  527. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.js +0 -0
  529. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  531. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.js +0 -0
  533. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.js +0 -0
  535. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.js +0 -0
  537. /package/script/deps/deno.land/{std@0.219.0/path → std@0.221.0/path/windows}/dirname.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/dirname.js +0 -0
  539. /package/script/deps/deno.land/{std@0.219.0/path → std@0.221.0/path/windows}/extname.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/extname.js +0 -0
  541. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.js +0 -0
  543. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  545. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  547. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  549. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.js +0 -0
  551. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.js +0 -0
  553. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.js +0 -0
  555. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.js +0 -0
  557. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  558. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.js +0 -0
  559. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  560. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  561. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.js +0 -0
  563. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.js +0 -0
  565. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.js +0 -0
  567. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  569. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
@@ -253,7 +253,8 @@ function diffstr(A, B) {
253
253
  }
254
254
  // Compute multi-line diff
255
255
  const diffResult = diff(tokenize(`${unescape(A)}\n`), tokenize(`${unescape(B)}\n`));
256
- const added = [], removed = [];
256
+ const added = [];
257
+ const removed = [];
257
258
  for (const result of diffResult) {
258
259
  if (result.type === exports.DiffType.added) {
259
260
  added.push(result);
@@ -267,7 +268,8 @@ function diffstr(A, B) {
267
268
  const aLines = hasMoreRemovedLines ? added : removed;
268
269
  const bLines = hasMoreRemovedLines ? removed : added;
269
270
  for (const a of aLines) {
270
- let tokens = [], b;
271
+ let tokens = [];
272
+ let b;
271
273
  // Search another diff line with at least one common token
272
274
  while (bLines.length) {
273
275
  b = bLines.shift();
@@ -324,7 +326,8 @@ function createSign(diffType) {
324
326
  }
325
327
  }
326
328
  function buildMessage(diffResult, { stringDiff = false } = {}) {
327
- const messages = [], diffMessages = [];
329
+ const messages = [];
330
+ const diffMessages = [];
328
331
  messages.push("");
329
332
  messages.push("");
330
333
  messages.push(` ${(0, colors_js_1.gray)((0, colors_js_1.bold)("[Diff]"))} ${(0, colors_js_1.red)((0, colors_js_1.bold)("Actual"))} / ${(0, colors_js_1.green)((0, colors_js_1.bold)("Expected"))}`);
@@ -94,7 +94,8 @@ const base64abc = [
94
94
  function encodeBase64(data) {
95
95
  // CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
96
96
  const uint8 = (0, _util_js_1.validateBinaryLike)(data);
97
- let result = "", i;
97
+ let result = "";
98
+ let i;
98
99
  const l = uint8.length;
99
100
  for (i = 2; i < l; i += 3) {
100
101
  result += base64abc[(uint8[i - 2]) >> 2];
@@ -13,8 +13,8 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
13
13
  let lastSlash = -1;
14
14
  let dots = 0;
15
15
  let code;
16
- for (let i = 0, len = path.length; i <= len; ++i) {
17
- if (i < len)
16
+ for (let i = 0; i <= path.length; ++i) {
17
+ if (i < path.length)
18
18
  code = path.charCodeAt(i);
19
19
  else if (isPathSeparator(code))
20
20
  break;
@@ -1,5 +1,17 @@
1
1
  /**
2
2
  * A parsed path object generated by path.parse() or consumed by path.format().
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
7
+ *
8
+ * const parsedPathObj = parse("c:\\path\\dir\\index.html");
9
+ * parsedPathObj.root; // "c:\\"
10
+ * parsedPathObj.dir; // "c:\\path\\dir"
11
+ * parsedPathObj.base; // "index.html"
12
+ * parsedPathObj.ext; // ".html"
13
+ * parsedPathObj.name; // "index"
14
+ * ```
3
15
  */
4
16
  export interface ParsedPath {
5
17
  /**
@@ -7,7 +19,7 @@ export interface ParsedPath {
7
19
  */
8
20
  root: string;
9
21
  /**
10
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
22
+ * The full directory path of the parent such as '/home/user/dir' or 'c:\path\dir'
11
23
  */
12
24
  dir: string;
13
25
  /**
@@ -2,6 +2,15 @@
2
2
  * Return the last portion of a `path`.
3
3
  * Trailing directory separators are ignored, and optional suffix is removed.
4
4
  *
5
+ * @example
6
+ * ```ts
7
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
8
+ *
9
+ * basename("/home/user/Documents/"); // "Documents"
10
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
11
+ * basename("/home/user/Documents/image.png", ".png"); // "image"
12
+ * ```
13
+ *
5
14
  * @param path - path to extract the name from.
6
15
  * @param [suffix] - suffix to remove from extracted name.
7
16
  */
@@ -10,6 +10,15 @@ const basename_js_2 = require("./windows/basename.js");
10
10
  * Return the last portion of a `path`.
11
11
  * Trailing directory separators are ignored, and optional suffix is removed.
12
12
  *
13
+ * @example
14
+ * ```ts
15
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
16
+ *
17
+ * basename("/home/user/Documents/"); // "Documents"
18
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
19
+ * basename("/home/user/Documents/image.png", ".png"); // "image"
20
+ * ```
21
+ *
13
22
  * @param path - path to extract the name from.
14
23
  * @param [suffix] - suffix to remove from extracted name.
15
24
  */
@@ -1,6 +1,8 @@
1
1
  import type { FormatInputPathObject } from "./_interface.js";
2
2
  /**
3
- * Generate a path from `FormatInputPathObject` object.
3
+ * Generate a path from `FormatInputPathObject` object. It does the opposite
4
+ * of `parse`.
5
+ *
4
6
  * @param pathObject with path
5
7
  */
6
8
  export declare function format(pathObject: FormatInputPathObject): string;
@@ -7,7 +7,9 @@ const _os_js_1 = require("./_os.js");
7
7
  const format_js_1 = require("./posix/format.js");
8
8
  const format_js_2 = require("./windows/format.js");
9
9
  /**
10
- * Generate a path from `FormatInputPathObject` object.
10
+ * Generate a path from `FormatInputPathObject` object. It does the opposite
11
+ * of `parse`.
12
+ *
11
13
  * @param pathObject with path
12
14
  */
13
15
  function format(pathObject) {
@@ -0,0 +1,18 @@
1
+ import type { ParsedPath } from "./_interface.js";
2
+ /**
3
+ * Return a `ParsedPath` object of the `path`. Use `format` to reverse the result.
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
8
+ *
9
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
10
+ * parsedPathObj.root; // "/"
11
+ * parsedPathObj.dir; // "/path/to/dir"
12
+ * parsedPathObj.base; // "script.ts"
13
+ * parsedPathObj.ext; // ".ts"
14
+ * parsedPathObj.name; // "script"
15
+ * ```
16
+ * @param path to process
17
+ */
18
+ export declare function parse(path: string): ParsedPath;
@@ -7,7 +7,19 @@ const _os_js_1 = require("./_os.js");
7
7
  const parse_js_1 = require("./posix/parse.js");
8
8
  const parse_js_2 = require("./windows/parse.js");
9
9
  /**
10
- * Return a `ParsedPath` object of the `path`.
10
+ * Return a `ParsedPath` object of the `path`. Use `format` to reverse the result.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
15
+ *
16
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
17
+ * parsedPathObj.root; // "/"
18
+ * parsedPathObj.dir; // "/path/to/dir"
19
+ * parsedPathObj.base; // "script.ts"
20
+ * parsedPathObj.ext; // ".ts"
21
+ * parsedPathObj.name; // "script"
22
+ * ```
11
23
  * @param path to process
12
24
  */
13
25
  function parse(path) {
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Return the last portion of a `path`.
3
+ * Trailing directory separators are ignored, and optional suffix is removed.
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
8
+ *
9
+ * console.log(basename("/home/user/Documents/")); // "Documents"
10
+ * console.log(basename("/home/user/Documents/image.png")); // "image.png"
11
+ * console.log(basename("/home/user/Documents/image.png", ".png")); // "image"
12
+ * ```
13
+ *
14
+ * @param path - path to extract the name from.
15
+ * @param [suffix] - suffix to remove from extracted name.
16
+ */
17
+ export declare function basename(path: string, suffix?: string): string;
@@ -10,6 +10,15 @@ const _util_js_1 = require("./_util.js");
10
10
  * Return the last portion of a `path`.
11
11
  * Trailing directory separators are ignored, and optional suffix is removed.
12
12
  *
13
+ * @example
14
+ * ```ts
15
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
16
+ *
17
+ * console.log(basename("/home/user/Documents/")); // "Documents"
18
+ * console.log(basename("/home/user/Documents/image.png")); // "image.png"
19
+ * console.log(basename("/home/user/Documents/image.png", ".png")); // "image"
20
+ * ```
21
+ *
13
22
  * @param path - path to extract the name from.
14
23
  * @param [suffix] - suffix to remove from extracted name.
15
24
  */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Return the directory path of a `path`.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { dirname } from "https://deno.land/std@$STD_VERSION/path/dirname.ts";
7
+ *
8
+ * console.log(dirname("/home/user/Documents/")); // "/home/user"
9
+ * console.log(dirname("/home/user/Documents/image.png")); // "/home/user/Documents"
10
+ * ```
11
+ *
12
+ * @param path - path to extract the directory from.
13
+ */
14
+ export declare function dirname(path: string): string;
@@ -8,6 +8,15 @@ const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separa
8
8
  const _util_js_1 = require("./_util.js");
9
9
  /**
10
10
  * Return the directory path of a `path`.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { dirname } from "https://deno.land/std@$STD_VERSION/path/dirname.ts";
15
+ *
16
+ * console.log(dirname("/home/user/Documents/")); // "/home/user"
17
+ * console.log(dirname("/home/user/Documents/image.png")); // "/home/user/Documents"
18
+ * ```
19
+ *
11
20
  * @param path - path to extract the directory from.
12
21
  */
13
22
  function dirname(path) {
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Return the extension of the `path` with leading period.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { extname } from "https://deno.land/std@$STD_VERSION/path/extname.ts";
7
+ *
8
+ * console.log(extname("/home/user/Documents/")); // ""
9
+ * console.log(extname("/home/user/Documents/image.png")); // ".png"
10
+ * ```
11
+ *
12
+ * @param path with extension
13
+ * @returns extension (ex. for `file.ts` returns `.ts`)
14
+ */
15
+ export declare function extname(path: string): string;
@@ -8,6 +8,15 @@ const assert_path_js_1 = require("../_common/assert_path.js");
8
8
  const _util_js_1 = require("./_util.js");
9
9
  /**
10
10
  * Return the extension of the `path` with leading period.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { extname } from "https://deno.land/std@$STD_VERSION/path/extname.ts";
15
+ *
16
+ * console.log(extname("/home/user/Documents/")); // ""
17
+ * console.log(extname("/home/user/Documents/image.png")); // ".png"
18
+ * ```
19
+ *
11
20
  * @param path with extension
12
21
  * @returns extension (ex. for `file.ts` returns `.ts`)
13
22
  */
@@ -13,7 +13,7 @@ function join(...paths) {
13
13
  if (paths.length === 0)
14
14
  return ".";
15
15
  let joined;
16
- for (let i = 0, len = paths.length; i < len; ++i) {
16
+ for (let i = 0; i < paths.length; ++i) {
17
17
  const path = paths[i];
18
18
  (0, assert_path_js_1.assertPath)(path);
19
19
  if (path.length > 0) {
@@ -2,6 +2,15 @@
2
2
  * Return the last portion of a `path`.
3
3
  * Trailing directory separators are ignored, and optional suffix is removed.
4
4
  *
5
+ * @example
6
+ * ```ts
7
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
8
+ *
9
+ * basename("C:\\user\\Documents\\"); // "Documents"
10
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
11
+ * basename("C:\\user\\Documents\\image.png", ".png"); // "image"
12
+ * ```
13
+ *
5
14
  * @param path - path to extract the name from.
6
15
  * @param [suffix] - suffix to remove from extracted name.
7
16
  */
@@ -11,6 +11,15 @@ const _util_js_1 = require("./_util.js");
11
11
  * Return the last portion of a `path`.
12
12
  * Trailing directory separators are ignored, and optional suffix is removed.
13
13
  *
14
+ * @example
15
+ * ```ts
16
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
17
+ *
18
+ * basename("C:\\user\\Documents\\"); // "Documents"
19
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
20
+ * basename("C:\\user\\Documents\\image.png", ".png"); // "image"
21
+ * ```
22
+ *
14
23
  * @param path - path to extract the name from.
15
24
  * @param [suffix] - suffix to remove from extracted name.
16
25
  */
@@ -2,6 +2,10 @@ import { MaybePromise } from "../1_utilities.js";
2
2
  import { AnyEntity, enums, ReadObject, TLObject, types } from "../2_tl.js";
3
3
  import { DC } from "../3_transport.js";
4
4
  export declare const K: {
5
+ connection: {
6
+ P: (string: string) => string;
7
+ apiId: () => StorageKeyPart[];
8
+ };
5
9
  session: {
6
10
  P: (string: string) => string;
7
11
  serverSalt: () => StorageKeyPart[];
@@ -10,6 +14,7 @@ export declare const K: {
10
14
  P: (string: string) => string;
11
15
  dc: () => StorageKeyPart[];
12
16
  key: () => StorageKeyPart[];
17
+ accountId: () => StorageKeyPart[];
13
18
  accountType: () => StorageKeyPart[];
14
19
  };
15
20
  updates: {
@@ -75,7 +80,7 @@ export declare abstract class Storage {
75
80
  getAuthKey(): Promise<Uint8Array | null>;
76
81
  setAuthKey(authKey: Uint8Array | null): Promise<void>;
77
82
  get authKeyId(): bigint | null;
78
- exportAuthString(): Promise<string>;
83
+ exportAuthString(apiId_?: number | null): Promise<string>;
79
84
  importAuthString(string: string): Promise<void>;
80
85
  getChannelAccessHash(id: number): Promise<bigint | null>;
81
86
  getUserAccessHash(id: number): Promise<bigint | null>;
@@ -94,6 +99,8 @@ export declare abstract class Storage {
94
99
  getChannelPts(channelId: bigint): MaybePromise<number | null>;
95
100
  setEntity(entity: AnyEntity): Promise<void>;
96
101
  getEntity(key: number): Promise<ReadObject | null>;
102
+ setAccountId(accountId: number): Promise<void>;
103
+ getAccountId(): Promise<number | null>;
97
104
  setAccountType(type: "user" | "bot"): Promise<void>;
98
105
  getAccountType(): Promise<"user" | "bot" | null>;
99
106
  updateStickerSetName(id: bigint, accessHash: bigint, name: string): Promise<void>;
@@ -130,4 +137,6 @@ export declare abstract class Storage {
130
137
  deletePeers(): Promise<void>;
131
138
  deleteUsernames(): Promise<void>;
132
139
  clear(): Promise<void>;
140
+ setApiId(apiId: number): Promise<void>;
141
+ getApiId(): Promise<number | null>;
133
142
  }
@@ -10,13 +10,17 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Storage_instances, _Storage_authKeyId, _Storage_resetAuthKeyId, _Storage_accountType, _Storage_getUpdateId;
13
+ var _Storage_instances, _Storage_authKeyId, _Storage_resetAuthKeyId, _Storage_accountId, _Storage_accountType, _Storage_getUpdateId;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Storage = exports.K = void 0;
16
16
  const _1_utilities_js_1 = require("../1_utilities.js");
17
17
  const _2_tl_js_1 = require("../2_tl.js");
18
18
  // key parts
19
19
  exports.K = {
20
+ connection: {
21
+ P: (string) => `connection.${string}`,
22
+ apiId: () => [exports.K.connection.P("apiId")],
23
+ },
20
24
  session: {
21
25
  P: (string) => `session.${string}`,
22
26
  serverSalt: () => [exports.K.session.P("serverSalt")],
@@ -25,6 +29,7 @@ exports.K = {
25
29
  P: (string) => `auth.${string}`,
26
30
  dc: () => [exports.K.auth.P("dc")],
27
31
  key: () => [exports.K.auth.P("key")],
32
+ accountId: () => [exports.K.auth.P("accountId")],
28
33
  accountType: () => [exports.K.auth.P("accountType")],
29
34
  },
30
35
  updates: {
@@ -69,6 +74,7 @@ class Storage {
69
74
  constructor() {
70
75
  _Storage_instances.add(this);
71
76
  _Storage_authKeyId.set(this, null);
77
+ _Storage_accountId.set(this, null);
72
78
  _Storage_accountType.set(this, null);
73
79
  }
74
80
  get isMemoryStorage() {
@@ -92,14 +98,20 @@ class Storage {
92
98
  get authKeyId() {
93
99
  return __classPrivateFieldGet(this, _Storage_authKeyId, "f");
94
100
  }
95
- async exportAuthString() {
96
- const [dc, authKey] = await Promise.all([this.getDc(), this.getAuthKey()]);
97
- if (dc == null || authKey == null) {
101
+ async exportAuthString(apiId_) {
102
+ if (typeof apiId_ === "number") {
103
+ await this.setApiId(apiId_);
104
+ }
105
+ const [dc, authKey, apiId, accountId, accountType] = await Promise.all([this.getDc(), this.getAuthKey(), this.getApiId(), this.getAccountId(), this.getAccountType()]);
106
+ if (dc == null || authKey == null || apiId == null || accountId == null || accountType == null) {
98
107
  throw new Error("Not authorized");
99
108
  }
100
109
  const writer = new _2_tl_js_1.TLWriter();
101
110
  writer.writeString(dc);
102
111
  writer.writeBytes(authKey);
112
+ writer.writeInt32(apiId);
113
+ writer.write(new Uint8Array([accountType == "bot" ? 1 : 0]));
114
+ writer.writeInt64(BigInt(accountId));
103
115
  const data = (0, _1_utilities_js_1.rleEncode)(writer.buffer);
104
116
  return (0, _1_utilities_js_1.base64EncodeUrlSafe)(data);
105
117
  }
@@ -108,6 +120,12 @@ class Storage {
108
120
  const reader = new _2_tl_js_1.TLReader(data);
109
121
  const dc = reader.readString();
110
122
  const authKey = reader.readBytes();
123
+ const apiId = reader.readInt32();
124
+ const isBot = reader.read(1)[0];
125
+ const accountId = Number(reader.readInt64());
126
+ await this.setAccountId(accountId);
127
+ await this.setAccountType(isBot ? "bot" : "user");
128
+ await this.setApiId(apiId);
111
129
  await this.setDc(dc);
112
130
  await this.setAuthKey(authKey);
113
131
  }
@@ -217,6 +235,17 @@ class Storage {
217
235
  return null;
218
236
  }
219
237
  }
238
+ async setAccountId(accountId) {
239
+ await this.set(exports.K.auth.accountId(), accountId);
240
+ }
241
+ async getAccountId() {
242
+ if (__classPrivateFieldGet(this, _Storage_accountId, "f") != null) {
243
+ return __classPrivateFieldGet(this, _Storage_accountId, "f");
244
+ }
245
+ else {
246
+ return (__classPrivateFieldSet(this, _Storage_accountId, await this.get(exports.K.auth.accountId()), "f"));
247
+ }
248
+ }
220
249
  async setAccountType(type) {
221
250
  try {
222
251
  await this.getAccountType();
@@ -411,9 +440,15 @@ class Storage {
411
440
  this.deleteUsernames(),
412
441
  ]);
413
442
  }
443
+ async setApiId(apiId) {
444
+ await this.set(exports.K.connection.apiId(), apiId);
445
+ }
446
+ async getApiId() {
447
+ return await this.get(exports.K.connection.apiId());
448
+ }
414
449
  }
415
450
  exports.Storage = Storage;
416
- _Storage_authKeyId = new WeakMap(), _Storage_accountType = new WeakMap(), _Storage_instances = new WeakSet(), _Storage_resetAuthKeyId = async function _Storage_resetAuthKeyId(authKey) {
451
+ _Storage_authKeyId = new WeakMap(), _Storage_accountId = new WeakMap(), _Storage_accountType = new WeakMap(), _Storage_instances = new WeakSet(), _Storage_resetAuthKeyId = async function _Storage_resetAuthKeyId(authKey) {
417
452
  if (authKey != null) {
418
453
  __classPrivateFieldSet(this, _Storage_authKeyId, await (0, _1_utilities_js_1.sha1)(authKey).then((hash) => (0, _1_utilities_js_1.bigIntFromBuffer)(hash.subarray(-8), true, false)), "f");
419
454
  }
@@ -1,11 +1,12 @@
1
+ import { serialize } from "./1_tl_object.js";
1
2
  import { ReadObject, TLReader } from "./3_tl_reader.js";
2
3
  import { RPCResult } from "./4_rpc_result.js";
3
- export declare function calculateLength(object: ReadObject): number;
4
+ export declare function calculateLength(object: Message_ | ReadObject): number;
4
5
  export declare class Message_ {
5
6
  readonly id: bigint;
6
7
  readonly seqNo: number;
7
8
  readonly body: ReadObject | RPCResult;
8
9
  constructor(id: bigint, seqNo: number, body: ReadObject | RPCResult);
9
- serialize(): Uint8Array;
10
+ [serialize](): Uint8Array;
10
11
  static deserialize(reader: TLReader): Message_;
11
12
  }
@@ -44,7 +44,7 @@ class Message_ {
44
44
  value: body
45
45
  });
46
46
  }
47
- serialize() {
47
+ [_1_tl_object_js_1.serialize]() {
48
48
  if (this.body instanceof _4_rpc_result_js_1.RPCResult) {
49
49
  throw new Error("Not applicable");
50
50
  }
@@ -1,10 +1,12 @@
1
- import { id, name } from "./1_tl_object.js";
1
+ import { id, name, serialize } from "./1_tl_object.js";
2
2
  import { Message_ } from "./6_message.js";
3
3
  export declare class MessageContainer {
4
+ readonly id: bigint;
5
+ readonly seqNo: number;
4
6
  messages: Message_[];
5
7
  static get [id](): number;
6
8
  get [name](): string;
7
- constructor(messages: Message_[]);
8
- serialize(): Uint8Array;
9
- static deserialize(buffer: Uint8Array): MessageContainer;
9
+ constructor(id: bigint, seqNo: number, messages: Message_[]);
10
+ [serialize](): Uint8Array;
11
+ static deserialize(buffer: Uint8Array): Message_[];
10
12
  }
@@ -12,7 +12,19 @@ class MessageContainer {
12
12
  get [_1_tl_object_js_1.name]() {
13
13
  return "msg_container";
14
14
  }
15
- constructor(messages) {
15
+ constructor(id, seqNo, messages) {
16
+ Object.defineProperty(this, "id", {
17
+ enumerable: true,
18
+ configurable: true,
19
+ writable: true,
20
+ value: id
21
+ });
22
+ Object.defineProperty(this, "seqNo", {
23
+ enumerable: true,
24
+ configurable: true,
25
+ writable: true,
26
+ value: seqNo
27
+ });
16
28
  Object.defineProperty(this, "messages", {
17
29
  enumerable: true,
18
30
  configurable: true,
@@ -20,12 +32,15 @@ class MessageContainer {
20
32
  value: messages
21
33
  });
22
34
  }
23
- serialize() {
35
+ [_1_tl_object_js_1.serialize]() {
24
36
  const writer = new _4_tl_writer_js_1.TLWriter();
25
- writer.writeInt32(MessageContainer[_1_tl_object_js_1.id]);
37
+ writer.writeInt64(this.id);
38
+ writer.writeInt32(this.seqNo);
39
+ writer.writeInt32(8 + this.messages.map(_6_message_js_1.calculateLength).reduce((a, b) => a + b));
40
+ writer.writeInt32(MessageContainer[_1_tl_object_js_1.id], false);
26
41
  writer.writeInt32(this.messages.length);
27
42
  for (const message of this.messages) {
28
- writer.write(message.serialize());
43
+ writer.write(message[_1_tl_object_js_1.serialize]());
29
44
  }
30
45
  return writer.buffer;
31
46
  }
@@ -36,7 +51,7 @@ class MessageContainer {
36
51
  for (let i = 0; i < length; i++) {
37
52
  messages.push(_6_message_js_1.Message_.deserialize(reader));
38
53
  }
39
- return new MessageContainer(messages);
54
+ return messages;
40
55
  }
41
56
  }
42
57
  exports.MessageContainer = MessageContainer;
@@ -96,3 +96,4 @@ export interface MessageEntityCustomEmoji extends _MessageEntityBase {
96
96
  export type MessageEntity = MessageEntityMention | MessageEntityHashtag | MessageEntityBotCommand | MessageEntityURL | MessageEntityEmailAddress | MessageEntityBold | MessageEntityItalic | MessageEntityCode | MessageEntityPre | MessageEntityTextLink | MessageEntityTextMention | MessageEntityCashtag | MessageEntityPhoneNumber | MessageEntityUnderline | MessageEntityStrikethrough | MessageEntityBlockquote | MessageEntityBankCard | MessageEntitySpoiler | MessageEntityCustomEmoji;
97
97
  export declare function constructMessageEntity(obj: enums.MessageEntity): MessageEntity | null;
98
98
  export declare function messageEntityToTlObject(entity: MessageEntity, getEntity: EntityGetter): Promise<enums.MessageEntity>;
99
+ export declare function sortMessageEntities(entities: MessageEntity[]): MessageEntity[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.messageEntityToTlObject = exports.constructMessageEntity = void 0;
3
+ exports.sortMessageEntities = exports.messageEntityToTlObject = exports.constructMessageEntity = void 0;
4
4
  const _1_utilities_js_1 = require("../1_utilities.js");
5
5
  const _2_tl_js_1 = require("../2_tl.js");
6
6
  function constructMessageEntity(obj) {
@@ -132,3 +132,38 @@ async function messageEntityToTlObject(entity, getEntity) {
132
132
  }
133
133
  }
134
134
  exports.messageEntityToTlObject = messageEntityToTlObject;
135
+ const priorities = {
136
+ "mention": 50,
137
+ "hashtag": 50,
138
+ "botCommand": 50,
139
+ "url": 50,
140
+ "email": 50,
141
+ "bold": 90,
142
+ "italic": 91,
143
+ "code": 20,
144
+ "pre": 11,
145
+ "textLink": 49,
146
+ "textMention": 49,
147
+ "cashtag": 50,
148
+ "phoneNumber": 50,
149
+ "underline": 92,
150
+ "strikethrough": 93,
151
+ "blockquote": 0,
152
+ "bankCard": 50,
153
+ "spoiler": 94,
154
+ "customEmoji": 99,
155
+ };
156
+ function sortMessageEntities(entities) {
157
+ return entities.sort(({ offset, type, length }, other) => {
158
+ if (offset !== other.offset) {
159
+ return offset < other.offset ? -1 : 1;
160
+ }
161
+ if (length !== other.length) {
162
+ return length > other.length ? -1 : 1;
163
+ }
164
+ const priority = priorities[type];
165
+ const otherPriority = priorities[other.type];
166
+ return priority < otherPriority ? -1 : 1;
167
+ });
168
+ }
169
+ exports.sortMessageEntities = sortMessageEntities;
@@ -1,2 +1,2 @@
1
1
  /** Message parse mode. */
2
- export type ParseMode = "HTML" | null;
2
+ export type ParseMode = "HTML" | "Markdown" | null;
@@ -29,7 +29,7 @@ export interface _InlineQueryResultThumbnailCommon {
29
29
  thumbnailHeight?: string;
30
30
  }
31
31
  /** @unlisted */
32
- export interface InlineQueryResultArticle extends _InlineQueryResultBase {
32
+ export interface InlineQueryResultArticle extends _InlineQueryResultBase, _InlineQueryResultThumbnailCommon {
33
33
  type: "article";
34
34
  title: string;
35
35
  inputMessageContent: InputMessageContent;