@mtkruto/node 0.3.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/esm/0_deps.d.ts +1 -1
  2. package/esm/0_deps.js +1 -1
  3. package/esm/4_constants.d.ts +1 -1
  4. package/esm/4_constants.js +4 -4
  5. package/esm/client/0_params.d.ts +10 -3
  6. package/esm/client/0_params.d.ts.map +1 -1
  7. package/esm/client/0_password.js +2 -2
  8. package/esm/client/0_utilities.d.ts +4 -4
  9. package/esm/client/0_utilities.d.ts.map +1 -1
  10. package/esm/client/1_client_encrypted.d.ts.map +1 -1
  11. package/esm/client/2_update_manager.js +1 -1
  12. package/esm/client/3_message_manager.d.ts.map +1 -1
  13. package/esm/client/3_message_manager.js +16 -0
  14. package/esm/client/5_client.d.ts.map +1 -1
  15. package/esm/client/5_client.js +3 -3
  16. package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
  17. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
  18. package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
  19. package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
  20. package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
  21. package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
  22. package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
  23. package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
  24. package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
  25. package/{script/deps/jsr.io/@std/internal/1.0.4 → esm/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
  26. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  27. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  28. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  29. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  30. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  31. package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
  32. package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
  33. package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
  34. package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
  35. package/esm/tl/0_api.d.ts +199 -41
  36. package/esm/tl/0_api.d.ts.map +1 -1
  37. package/esm/tl/0_api.js +314 -75
  38. package/esm/transport/1_transport_abridged.d.ts.map +1 -1
  39. package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
  40. package/esm/transport/2_transport_provider.js +4 -4
  41. package/esm/types/2_inline_keyboard_button.d.ts +9 -1
  42. package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
  43. package/esm/types/2_inline_keyboard_button.js +6 -0
  44. package/esm/types/2_invite_link.d.ts +5 -1
  45. package/esm/types/2_invite_link.d.ts.map +1 -1
  46. package/esm/types/2_invite_link.js +2 -0
  47. package/esm/utilities/0_cache_map.d.ts.map +1 -1
  48. package/esm/utilities/0_units.js +3 -3
  49. package/esm/utilities/2_queue.d.ts.map +1 -1
  50. package/package.json +1 -1
  51. package/script/0_deps.d.ts +1 -1
  52. package/script/0_deps.js +3 -3
  53. package/script/4_constants.d.ts +1 -1
  54. package/script/4_constants.js +4 -4
  55. package/script/4_errors.js +2 -2
  56. package/script/client/0_filters.js +1 -2
  57. package/script/client/0_html.js +1 -2
  58. package/script/client/0_markdown.js +2 -2
  59. package/script/client/0_message.js +5 -6
  60. package/script/client/0_params.d.ts +10 -3
  61. package/script/client/0_params.d.ts.map +1 -1
  62. package/script/client/0_password.js +8 -8
  63. package/script/client/0_utilities.d.ts +4 -4
  64. package/script/client/0_utilities.d.ts.map +1 -1
  65. package/script/client/0_utilities.js +16 -16
  66. package/script/client/1_client_encrypted.d.ts.map +1 -1
  67. package/script/client/1_composer.js +4 -4
  68. package/script/client/2_update_manager.js +1 -1
  69. package/script/client/3_message_manager.d.ts.map +1 -1
  70. package/script/client/3_message_manager.js +16 -0
  71. package/script/client/5_client.d.ts.map +1 -1
  72. package/script/client/5_client.js +2 -2
  73. package/script/deps/deno.land/std@0.224.0/io/write_all.js +2 -3
  74. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +1 -1
  75. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +2 -2
  76. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +2 -2
  77. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +9 -9
  78. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +4 -4
  79. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +1 -1
  80. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +3 -3
  81. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +4 -4
  82. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +4 -4
  83. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +5 -6
  84. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +6 -7
  85. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +6 -7
  86. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +5 -6
  87. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +8 -9
  88. package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.js +10 -11
  89. package/script/deps/jsr.io/@std/assert/1.0.6/almost_equals.js +1 -2
  90. package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.js +2 -3
  91. package/script/deps/jsr.io/@std/assert/1.0.6/assert.js +1 -2
  92. package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +1 -2
  93. package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +5 -6
  94. package/script/deps/jsr.io/@std/assert/1.0.6/exists.js +1 -2
  95. package/script/deps/jsr.io/@std/assert/1.0.6/fail.js +1 -2
  96. package/script/deps/jsr.io/@std/assert/1.0.6/false.js +1 -2
  97. package/script/deps/jsr.io/@std/assert/1.0.6/greater.js +2 -3
  98. package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +2 -3
  99. package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.js +1 -2
  100. package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +2 -3
  101. package/script/deps/jsr.io/@std/assert/1.0.6/less.js +2 -3
  102. package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +2 -3
  103. package/script/deps/jsr.io/@std/assert/1.0.6/match.js +1 -2
  104. package/script/deps/jsr.io/@std/assert/1.0.6/not_equals.js +1 -2
  105. package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.js +1 -2
  106. package/script/deps/jsr.io/@std/assert/1.0.6/not_match.js +1 -2
  107. package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +2 -3
  108. package/script/deps/jsr.io/@std/assert/1.0.6/object_match.js +1 -2
  109. package/script/deps/jsr.io/@std/assert/1.0.6/rejects.js +1 -2
  110. package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +6 -7
  111. package/script/deps/jsr.io/@std/assert/1.0.6/string_includes.js +1 -2
  112. package/script/deps/jsr.io/@std/assert/1.0.6/throws.js +1 -2
  113. package/script/deps/jsr.io/@std/assert/1.0.6/unimplemented.js +1 -2
  114. package/script/deps/jsr.io/@std/assert/1.0.6/unreachable.js +1 -2
  115. package/script/deps/jsr.io/@std/bytes/1.0.2/concat.js +1 -2
  116. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +1 -2
  117. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.js +2 -3
  118. package/{esm/deps/jsr.io/@std/internal/1.0.4 → script/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
  119. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +3 -4
  120. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  121. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +5 -6
  122. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  123. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +4 -5
  124. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  125. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +1 -2
  126. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  127. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +10 -11
  128. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  129. package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
  130. package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
  131. package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
  132. package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +2 -3
  133. package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
  134. package/script/deps/jsr.io/@std/media-types/1.0.3/_util.js +8 -9
  135. package/script/deps/jsr.io/@std/media-types/1.0.3/all_extensions.js +1 -2
  136. package/script/deps/jsr.io/@std/media-types/1.0.3/content_type.js +1 -2
  137. package/script/deps/jsr.io/@std/media-types/1.0.3/extension.js +1 -2
  138. package/script/deps/jsr.io/@std/media-types/1.0.3/format_media_type.js +1 -2
  139. package/script/deps/jsr.io/@std/media-types/1.0.3/get_charset.js +1 -2
  140. package/script/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.js +1 -2
  141. package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.js +1 -2
  142. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +1 -2
  143. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +3 -4
  144. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +1 -2
  145. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +1 -2
  146. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +2 -3
  147. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +1 -2
  148. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +1 -2
  149. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +1 -2
  150. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +1 -2
  151. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +1 -2
  152. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +1 -2
  153. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +1 -2
  154. package/script/deps/jsr.io/@std/path/1.0.6/basename.js +1 -2
  155. package/script/deps/jsr.io/@std/path/1.0.6/common.js +1 -2
  156. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +1 -2
  157. package/script/deps/jsr.io/@std/path/1.0.6/extname.js +1 -2
  158. package/script/deps/jsr.io/@std/path/1.0.6/format.js +1 -2
  159. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +1 -2
  160. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +1 -2
  161. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +1 -2
  162. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +1 -2
  163. package/script/deps/jsr.io/@std/path/1.0.6/join.js +1 -2
  164. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +1 -2
  165. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +1 -2
  166. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +1 -2
  167. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +1 -2
  168. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +1 -2
  169. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +1 -2
  170. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +1 -2
  171. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +1 -2
  172. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +1 -2
  173. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +1 -2
  174. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +1 -2
  175. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +1 -2
  176. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +1 -2
  177. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +1 -2
  178. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +1 -2
  179. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +1 -2
  180. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +1 -2
  181. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +1 -2
  182. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +1 -2
  183. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +1 -2
  184. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +1 -2
  185. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +1 -2
  186. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +1 -2
  187. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +1 -2
  188. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +1 -2
  189. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +3 -4
  190. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +1 -2
  191. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +1 -2
  192. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +1 -2
  193. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +1 -2
  194. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +1 -2
  195. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +1 -2
  196. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +1 -2
  197. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +1 -2
  198. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +1 -2
  199. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +1 -2
  200. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +1 -2
  201. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +1 -2
  202. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +1 -2
  203. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +1 -2
  204. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +1 -2
  205. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +1 -2
  206. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +1 -2
  207. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +2 -2
  208. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +1 -1
  209. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +2 -3
  210. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +6 -6
  211. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +1 -1
  212. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +10 -10
  213. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +1 -1
  214. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +5 -6
  215. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +1 -2
  216. package/script/storage/1_utilities.js +7 -7
  217. package/script/tl/0_api.d.ts +199 -41
  218. package/script/tl/0_api.d.ts.map +1 -1
  219. package/script/tl/0_api.js +314 -75
  220. package/script/tl/1_utilities.js +9 -10
  221. package/script/tl/2_deserialize.js +1 -2
  222. package/script/tl/2_serialize.js +1 -2
  223. package/script/tl/3_utilities.js +6 -7
  224. package/script/tl/4_rpc_result.js +2 -2
  225. package/script/tl/5_message.js +6 -6
  226. package/script/transport/0_obfuscation.js +1 -2
  227. package/script/transport/1_transport_abridged.d.ts.map +1 -1
  228. package/script/transport/1_transport_intermediate.d.ts.map +1 -1
  229. package/script/transport/2_transport_provider.js +7 -8
  230. package/script/transport/3_transport_provider_tcp.js +1 -2
  231. package/script/types/0_birthday.js +1 -2
  232. package/script/types/0_callback_query_answer.js +1 -2
  233. package/script/types/0_callback_query_question.js +1 -2
  234. package/script/types/0_chat_administrator_rights.js +2 -3
  235. package/script/types/0_chat_member_rights.js +2 -3
  236. package/script/types/0_chat_photo.js +1 -2
  237. package/script/types/0_contact.js +1 -2
  238. package/script/types/0_dice.js +1 -2
  239. package/script/types/0_failed_invitation.js +1 -2
  240. package/script/types/0_giveaway_parameters.js +1 -2
  241. package/script/types/0_invoice.js +1 -2
  242. package/script/types/0_link_preview.js +1 -2
  243. package/script/types/0_live_stream_channel.js +1 -2
  244. package/script/types/0_location.js +1 -2
  245. package/script/types/0_mask_position.js +1 -2
  246. package/script/types/0_message_entity.js +3 -4
  247. package/script/types/0_message_search_filter.js +1 -2
  248. package/script/types/0_mini_app_info.js +1 -2
  249. package/script/types/0_opening_hours.js +1 -2
  250. package/script/types/0_reaction.js +3 -4
  251. package/script/types/0_refunded_payment.js +1 -2
  252. package/script/types/0_restriction_reason.js +1 -2
  253. package/script/types/0_self_destruct_option.js +1 -2
  254. package/script/types/0_shipping_address.js +1 -2
  255. package/script/types/0_thumbnail.js +1 -2
  256. package/script/types/0_video_chat.js +1 -2
  257. package/script/types/0_voice.js +1 -2
  258. package/script/types/1_animation.js +1 -2
  259. package/script/types/1_audio.js +1 -2
  260. package/script/types/1_bot_command_scope.js +1 -2
  261. package/script/types/1_chat_p.js +1 -2
  262. package/script/types/1_document.js +1 -2
  263. package/script/types/1_giveaway.js +1 -2
  264. package/script/types/1_keyboard_button.js +2 -3
  265. package/script/types/1_message_reaction.js +1 -2
  266. package/script/types/1_order_info.js +1 -2
  267. package/script/types/1_photo.js +2 -3
  268. package/script/types/1_poll_option.js +1 -2
  269. package/script/types/1_reaction_count.js +1 -2
  270. package/script/types/1_reply_quote.js +1 -2
  271. package/script/types/1_sticker.js +1 -2
  272. package/script/types/1_story_privacy.js +2 -3
  273. package/script/types/1_story_reaction.js +1 -2
  274. package/script/types/1_user.js +1 -2
  275. package/script/types/1_venue.js +1 -2
  276. package/script/types/1_video.js +1 -2
  277. package/script/types/1_video_note.js +1 -2
  278. package/script/types/2_business_connection.js +1 -2
  279. package/script/types/2_chat.js +1 -2
  280. package/script/types/2_chat_member.js +1 -2
  281. package/script/types/2_chosen_inline_result.js +1 -2
  282. package/script/types/2_forward_header.js +1 -2
  283. package/script/types/2_game.js +1 -2
  284. package/script/types/2_inactive_chat.js +1 -2
  285. package/script/types/2_inline_keyboard_button.d.ts +9 -1
  286. package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
  287. package/script/types/2_inline_keyboard_button.js +8 -3
  288. package/script/types/2_inline_query.js +1 -2
  289. package/script/types/2_invite_link.d.ts +5 -1
  290. package/script/types/2_invite_link.d.ts.map +1 -1
  291. package/script/types/2_invite_link.js +3 -2
  292. package/script/types/2_message_reaction_count.js +1 -2
  293. package/script/types/2_message_reactions.js +1 -2
  294. package/script/types/2_poll.js +1 -2
  295. package/script/types/2_pre_checkout_query.js +1 -2
  296. package/script/types/2_story_content.js +1 -2
  297. package/script/types/2_story_interactions.js +1 -2
  298. package/script/types/2_story_interactive_area.js +2 -3
  299. package/script/types/2_successful_payment.js +1 -2
  300. package/script/types/3_chat_member_updated.js +1 -2
  301. package/script/types/3_join_request.js +1 -2
  302. package/script/types/3_reply_markup.js +2 -3
  303. package/script/types/3_story.js +1 -2
  304. package/script/types/4_inline_query_result.js +2 -3
  305. package/script/types/4_message.js +2 -3
  306. package/script/types/5_callback_query.js +2 -3
  307. package/script/types/5_chat_list_item.js +5 -6
  308. package/script/types/5_inline_query_answer.js +1 -2
  309. package/script/types/_file_id.js +5 -5
  310. package/script/utilities/0_bigint.js +6 -7
  311. package/script/utilities/0_buffer.js +1 -2
  312. package/script/utilities/0_cache_map.d.ts.map +1 -1
  313. package/script/utilities/0_color.js +2 -3
  314. package/script/utilities/0_env.js +2 -3
  315. package/script/utilities/0_hash.js +2 -3
  316. package/script/utilities/0_object.js +1 -2
  317. package/script/utilities/0_rle.js +2 -3
  318. package/script/utilities/0_units.js +3 -3
  319. package/script/utilities/1_auth.js +1 -2
  320. package/script/utilities/1_base64.js +2 -3
  321. package/script/utilities/1_logger.js +5 -5
  322. package/script/utilities/1_math.js +1 -2
  323. package/script/utilities/1_misc.js +8 -8
  324. package/script/utilities/2_queue.d.ts.map +1 -1
  325. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  326. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
  327. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  328. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
  329. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  330. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
  331. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  332. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
  333. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  334. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
  335. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  336. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
  337. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
  338. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
  339. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +0 -0
  340. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
  341. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.js +0 -0
  342. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  343. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  344. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  345. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  346. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  347. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  348. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
  349. /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
  350. /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
  351. /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
  352. /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.js +0 -0
@@ -1,7 +1,14 @@
1
1
  "use strict";
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.needsEncoding = exports.isTSpecial = exports.isToken = exports.isIterator = exports.decode2331Encoding = exports.consumeMediaParam = exports.consumeValue = exports.consumeToken = void 0;
4
+ exports.consumeToken = consumeToken;
5
+ exports.consumeValue = consumeValue;
6
+ exports.consumeMediaParam = consumeMediaParam;
7
+ exports.decode2331Encoding = decode2331Encoding;
8
+ exports.isIterator = isIterator;
9
+ exports.isToken = isToken;
10
+ exports.isTSpecial = isTSpecial;
11
+ exports.needsEncoding = needsEncoding;
5
12
  function consumeToken(v) {
6
13
  const notPos = indexOf(v, isNotTokenChar);
7
14
  if (notPos === -1) {
@@ -12,7 +19,6 @@ function consumeToken(v) {
12
19
  }
13
20
  return [v.slice(0, notPos), v.slice(notPos)];
14
21
  }
15
- exports.consumeToken = consumeToken;
16
22
  function consumeValue(v) {
17
23
  if (!v) {
18
24
  return ["", v];
@@ -39,7 +45,6 @@ function consumeValue(v) {
39
45
  }
40
46
  return ["", v];
41
47
  }
42
- exports.consumeValue = consumeValue;
43
48
  function consumeMediaParam(v) {
44
49
  let rest = v.trimStart();
45
50
  if (!rest.startsWith(";")) {
@@ -62,7 +67,6 @@ function consumeMediaParam(v) {
62
67
  rest = rest2;
63
68
  return [param, value, rest];
64
69
  }
65
- exports.consumeMediaParam = consumeMediaParam;
66
70
  function decode2331Encoding(v) {
67
71
  const sv = v.split(`'`, 3);
68
72
  if (sv.length !== 3) {
@@ -82,7 +86,6 @@ function decode2331Encoding(v) {
82
86
  }
83
87
  return encv;
84
88
  }
85
- exports.decode2331Encoding = decode2331Encoding;
86
89
  function indexOf(s, fn) {
87
90
  let i = -1;
88
91
  for (const v of s) {
@@ -100,14 +103,12 @@ function isIterator(obj) {
100
103
  // deno-lint-ignore no-explicit-any
101
104
  return typeof obj[Symbol.iterator] === "function";
102
105
  }
103
- exports.isIterator = isIterator;
104
106
  function isToken(s) {
105
107
  if (!s) {
106
108
  return false;
107
109
  }
108
110
  return indexOf(s, isNotTokenChar) < 0;
109
111
  }
110
- exports.isToken = isToken;
111
112
  function isNotTokenChar(r) {
112
113
  return !isTokenChar(r);
113
114
  }
@@ -118,7 +119,6 @@ function isTokenChar(r) {
118
119
  function isTSpecial(r) {
119
120
  return r[0] ? `()<>@,;:\\"/[]?=`.includes(r[0]) : false;
120
121
  }
121
- exports.isTSpecial = isTSpecial;
122
122
  const CHAR_CODE_SPACE = " ".charCodeAt(0);
123
123
  const CHAR_CODE_TILDE = "~".charCodeAt(0);
124
124
  function needsEncoding(s) {
@@ -130,4 +130,3 @@ function needsEncoding(s) {
130
130
  }
131
131
  return false;
132
132
  }
133
- exports.needsEncoding = needsEncoding;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.allExtensions = void 0;
5
+ exports.allExtensions = allExtensions;
6
6
  const parse_media_type_js_1 = require("./parse_media_type.js");
7
7
  const _db_js_1 = require("./_db.js");
8
8
  /**
@@ -35,4 +35,3 @@ function allExtensions(type) {
35
35
  // just swallow errors, returning undefined
36
36
  }
37
37
  }
38
- exports.allExtensions = allExtensions;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.contentType = void 0;
5
+ exports.contentType = contentType;
6
6
  const parse_media_type_js_1 = require("./parse_media_type.js");
7
7
  const get_charset_js_1 = require("./get_charset.js");
8
8
  const format_media_type_js_1 = require("./format_media_type.js");
@@ -58,4 +58,3 @@ function contentType(extensionOrType) {
58
58
  }
59
59
  return undefined;
60
60
  }
61
- exports.contentType = contentType;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.extension = void 0;
5
+ exports.extension = extension;
6
6
  const all_extensions_js_1 = require("./all_extensions.js");
7
7
  /**
8
8
  * Returns the most relevant extension for the given media type, or `undefined`
@@ -29,4 +29,3 @@ const all_extensions_js_1 = require("./all_extensions.js");
29
29
  function extension(type) {
30
30
  return (0, all_extensions_js_1.allExtensions)(type)?.[0];
31
31
  }
32
- exports.extension = extension;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.formatMediaType = void 0;
5
+ exports.formatMediaType = formatMediaType;
6
6
  const _util_js_1 = require("./_util.js");
7
7
  /**
8
8
  * Serializes the media type and the optional parameters as a media type
@@ -78,4 +78,3 @@ function formatMediaType(type, param) {
78
78
  }
79
79
  return serializedMediaType;
80
80
  }
81
- exports.formatMediaType = formatMediaType;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getCharset = void 0;
5
+ exports.getCharset = getCharset;
6
6
  const parse_media_type_js_1 = require("./parse_media_type.js");
7
7
  const _db_js_1 = require("./_db.js");
8
8
  /**
@@ -44,4 +44,3 @@ function getCharset(type) {
44
44
  }
45
45
  return undefined;
46
46
  }
47
- exports.getCharset = getCharset;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.parseMediaType = void 0;
5
+ exports.parseMediaType = parseMediaType;
6
6
  const _util_js_1 = require("./_util.js");
7
7
  const SEMICOLON_REGEXP = /^\s*;\s*$/;
8
8
  /**
@@ -115,4 +115,3 @@ function parseMediaType(type) {
115
115
  }
116
116
  return [mediaType, Object.keys(params).length ? params : undefined];
117
117
  }
118
- exports.parseMediaType = parseMediaType;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.typeByExtension = void 0;
5
+ exports.typeByExtension = typeByExtension;
6
6
  const _db_js_1 = require("./_db.js");
7
7
  /**
8
8
  * Returns the media type associated with the file extension, or `undefined` if
@@ -32,4 +32,3 @@ function typeByExtension(extension) {
32
32
  // @ts-ignore Work around https://github.com/denoland/dnt/issues/148
33
33
  return _db_js_1.types.get(extension.toLowerCase());
34
34
  }
35
- exports.typeByExtension = typeByExtension;
@@ -2,10 +2,9 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // Copyright the Browserify authors. MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertPath = void 0;
5
+ exports.assertPath = assertPath;
6
6
  function assertPath(path) {
7
7
  if (typeof path !== "string") {
8
8
  throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
9
9
  }
10
10
  }
11
- exports.assertPath = assertPath;
@@ -2,7 +2,9 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArgs = exports.lastPathSegment = exports.stripSuffix = void 0;
5
+ exports.stripSuffix = stripSuffix;
6
+ exports.lastPathSegment = lastPathSegment;
7
+ exports.assertArgs = assertArgs;
6
8
  const assert_path_js_1 = require("./assert_path.js");
7
9
  function stripSuffix(name, suffix) {
8
10
  if (suffix.length >= name.length) {
@@ -16,7 +18,6 @@ function stripSuffix(name, suffix) {
16
18
  }
17
19
  return name.slice(0, -suffix.length);
18
20
  }
19
- exports.stripSuffix = stripSuffix;
20
21
  function lastPathSegment(path, isSep, start = 0) {
21
22
  let matchedNonSeparator = false;
22
23
  let end = path.length;
@@ -34,7 +35,6 @@ function lastPathSegment(path, isSep, start = 0) {
34
35
  }
35
36
  return path.slice(start, end);
36
37
  }
37
- exports.lastPathSegment = lastPathSegment;
38
38
  function assertArgs(path, suffix) {
39
39
  (0, assert_path_js_1.assertPath)(path);
40
40
  if (path.length === 0)
@@ -43,4 +43,3 @@ function assertArgs(path, suffix) {
43
43
  throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
44
44
  }
45
45
  }
46
- exports.assertArgs = assertArgs;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.common = void 0;
5
+ exports.common = common;
6
6
  function common(paths, sep) {
7
7
  const [first = "", ...remaining] = paths;
8
8
  const parts = first.split(sep);
@@ -24,4 +24,3 @@ function common(paths, sep) {
24
24
  }
25
25
  return parts.slice(0, endOfPrefix).join(sep) + append;
26
26
  }
27
- exports.common = common;
@@ -2,11 +2,10 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArg = void 0;
5
+ exports.assertArg = assertArg;
6
6
  const assert_path_js_1 = require("./assert_path.js");
7
7
  function assertArg(path) {
8
8
  (0, assert_path_js_1.assertPath)(path);
9
9
  if (path.length === 0)
10
10
  return ".";
11
11
  }
12
- exports.assertArg = assertArg;
@@ -2,7 +2,8 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArg = exports._format = void 0;
5
+ exports._format = _format;
6
+ exports.assertArg = assertArg;
6
7
  function _format(sep, pathObject) {
7
8
  const dir = pathObject.dir || pathObject.root;
8
9
  const base = pathObject.base ||
@@ -15,10 +16,8 @@ function _format(sep, pathObject) {
15
16
  return dir + base;
16
17
  return dir + sep + base;
17
18
  }
18
- exports._format = _format;
19
19
  function assertArg(pathObject) {
20
20
  if (pathObject === null || typeof pathObject !== "object") {
21
21
  throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
22
22
  }
23
23
  }
24
- exports.assertArg = assertArg;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArg = void 0;
5
+ exports.assertArg = assertArg;
6
6
  function assertArg(url) {
7
7
  url = url instanceof URL ? url : new URL(url);
8
8
  if (url.protocol !== "file:") {
@@ -10,4 +10,3 @@ function assertArg(url) {
10
10
  }
11
11
  return url;
12
12
  }
13
- exports.assertArg = assertArg;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports._globToRegExp = void 0;
5
+ exports._globToRegExp = _globToRegExp;
6
6
  const REG_EXP_ESCAPE_CHARS = [
7
7
  "!",
8
8
  "$",
@@ -235,4 +235,3 @@ caseInsensitive = false, } = {}) {
235
235
  regExpString = `^${regExpString}$`;
236
236
  return new RegExp(regExpString, caseInsensitive ? "i" : "");
237
237
  }
238
- exports._globToRegExp = _globToRegExp;
@@ -2,11 +2,10 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArg = void 0;
5
+ exports.assertArg = assertArg;
6
6
  const assert_path_js_1 = require("./assert_path.js");
7
7
  function assertArg(path) {
8
8
  (0, assert_path_js_1.assertPath)(path);
9
9
  if (path.length === 0)
10
10
  return ".";
11
11
  }
12
- exports.assertArg = assertArg;
@@ -4,7 +4,7 @@
4
4
  // Ported from https://github.com/browserify/path-browserify/
5
5
  // This module is browser compatible.
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.normalizeString = void 0;
7
+ exports.normalizeString = normalizeString;
8
8
  const constants_js_1 = require("./constants.js");
9
9
  // Resolves . and .. elements in a path with directory names
10
10
  function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
@@ -78,4 +78,3 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
78
78
  }
79
79
  return res;
80
80
  }
81
- exports.normalizeString = normalizeString;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.assertArgs = void 0;
5
+ exports.assertArgs = assertArgs;
6
6
  const assert_path_js_1 = require("./assert_path.js");
7
7
  function assertArgs(from, to) {
8
8
  (0, assert_path_js_1.assertPath)(from);
@@ -10,4 +10,3 @@ function assertArgs(from, to) {
10
10
  if (from === to)
11
11
  return "";
12
12
  }
13
- exports.assertArgs = assertArgs;
@@ -4,7 +4,7 @@
4
4
  // Ported from https://github.com/browserify/path-browserify/
5
5
  // This module is browser compatible.
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.stripTrailingSeparators = void 0;
7
+ exports.stripTrailingSeparators = stripTrailingSeparators;
8
8
  function stripTrailingSeparators(segment, isSep) {
9
9
  if (segment.length <= 1) {
10
10
  return segment;
@@ -20,4 +20,3 @@ function stripTrailingSeparators(segment, isSep) {
20
20
  }
21
21
  return segment.slice(0, end);
22
22
  }
23
- exports.stripTrailingSeparators = stripTrailingSeparators;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.encodeWhitespace = void 0;
5
+ exports.encodeWhitespace = encodeWhitespace;
6
6
  const WHITESPACE_ENCODINGS = {
7
7
  "\u0009": "%09",
8
8
  "\u000A": "%0A",
@@ -16,4 +16,3 @@ function encodeWhitespace(string) {
16
16
  return WHITESPACE_ENCODINGS[c] ?? c;
17
17
  });
18
18
  }
19
- exports.encodeWhitespace = encodeWhitespace;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.basename = void 0;
5
+ exports.basename = basename;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const basename_js_1 = require("./posix/basename.js");
8
8
  const basename_js_2 = require("./windows/basename.js");
@@ -37,4 +37,3 @@ function basename(path, suffix = "") {
37
37
  ? (0, basename_js_2.basename)(path, suffix)
38
38
  : (0, basename_js_1.basename)(path, suffix);
39
39
  }
40
- exports.basename = basename;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.common = void 0;
5
+ exports.common = common;
6
6
  const common_js_1 = require("./_common/common.js");
7
7
  const constants_js_1 = require("./constants.js");
8
8
  /**
@@ -34,4 +34,3 @@ const constants_js_1 = require("./constants.js");
34
34
  function common(paths) {
35
35
  return (0, common_js_1.common)(paths, constants_js_1.SEPARATOR);
36
36
  }
37
- exports.common = common;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.dirname = void 0;
5
+ exports.dirname = dirname;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const dirname_js_1 = require("./posix/dirname.js");
8
8
  const dirname_js_2 = require("./windows/dirname.js");
@@ -30,4 +30,3 @@ const dirname_js_2 = require("./windows/dirname.js");
30
30
  function dirname(path) {
31
31
  return _os_js_1.isWindows ? (0, dirname_js_2.dirname)(path) : (0, dirname_js_1.dirname)(path);
32
32
  }
33
- exports.dirname = dirname;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.extname = void 0;
5
+ exports.extname = extname;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const extname_js_1 = require("./posix/extname.js");
8
8
  const extname_js_2 = require("./windows/extname.js");
@@ -30,4 +30,3 @@ const extname_js_2 = require("./windows/extname.js");
30
30
  function extname(path) {
31
31
  return _os_js_1.isWindows ? (0, extname_js_2.extname)(path) : (0, extname_js_1.extname)(path);
32
32
  }
33
- exports.extname = extname;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.format = void 0;
5
+ exports.format = format;
6
6
  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");
@@ -28,4 +28,3 @@ const format_js_2 = require("./windows/format.js");
28
28
  function format(pathObject) {
29
29
  return _os_js_1.isWindows ? (0, format_js_2.format)(pathObject) : (0, format_js_1.format)(pathObject);
30
30
  }
31
- exports.format = format;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.fromFileUrl = void 0;
5
+ exports.fromFileUrl = fromFileUrl;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const from_file_url_js_1 = require("./posix/from_file_url.js");
8
8
  const from_file_url_js_2 = require("./windows/from_file_url.js");
@@ -29,4 +29,3 @@ const from_file_url_js_2 = require("./windows/from_file_url.js");
29
29
  function fromFileUrl(url) {
30
30
  return _os_js_1.isWindows ? (0, from_file_url_js_2.fromFileUrl)(url) : (0, from_file_url_js_1.fromFileUrl)(url);
31
31
  }
32
- exports.fromFileUrl = fromFileUrl;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.globToRegExp = void 0;
5
+ exports.globToRegExp = globToRegExp;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const glob_to_regexp_js_1 = require("./posix/glob_to_regexp.js");
8
8
  const glob_to_regexp_js_2 = require("./windows/glob_to_regexp.js");
@@ -84,4 +84,3 @@ function globToRegExp(glob, options = {}) {
84
84
  ? (0, glob_to_regexp_js_2.globToRegExp)(glob, options)
85
85
  : (0, glob_to_regexp_js_1.globToRegExp)(glob, options);
86
86
  }
87
- exports.globToRegExp = globToRegExp;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.isAbsolute = void 0;
5
+ exports.isAbsolute = isAbsolute;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const is_absolute_js_1 = require("./posix/is_absolute.js");
8
8
  const is_absolute_js_2 = require("./windows/is_absolute.js");
@@ -29,4 +29,3 @@ const is_absolute_js_2 = require("./windows/is_absolute.js");
29
29
  function isAbsolute(path) {
30
30
  return _os_js_1.isWindows ? (0, is_absolute_js_2.isAbsolute)(path) : (0, is_absolute_js_1.isAbsolute)(path);
31
31
  }
32
- exports.isAbsolute = isAbsolute;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.isGlob = void 0;
5
+ exports.isGlob = isGlob;
6
6
  /**
7
7
  * Test whether the given string is a glob.
8
8
  *
@@ -43,4 +43,3 @@ function isGlob(str) {
43
43
  }
44
44
  return false;
45
45
  }
46
- exports.isGlob = isGlob;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.join = void 0;
5
+ exports.join = join;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const join_js_1 = require("./posix/join.js");
8
8
  const join_js_2 = require("./windows/join.js");
@@ -30,4 +30,3 @@ const join_js_2 = require("./windows/join.js");
30
30
  function join(...paths) {
31
31
  return _os_js_1.isWindows ? (0, join_js_2.join)(...paths) : (0, join_js_1.join)(...paths);
32
32
  }
33
- exports.join = join;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.joinGlobs = void 0;
5
+ exports.joinGlobs = joinGlobs;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const join_globs_js_1 = require("./posix/join_globs.js");
8
8
  const join_globs_js_2 = require("./windows/join_globs.js");
@@ -35,4 +35,3 @@ function joinGlobs(globs, options = {}) {
35
35
  ? (0, join_globs_js_2.joinGlobs)(globs, options)
36
36
  : (0, join_globs_js_1.joinGlobs)(globs, options);
37
37
  }
38
- exports.joinGlobs = joinGlobs;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.normalize = void 0;
5
+ exports.normalize = normalize;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const normalize_js_1 = require("./posix/normalize.js");
8
8
  const normalize_js_2 = require("./windows/normalize.js");
@@ -34,4 +34,3 @@ const normalize_js_2 = require("./windows/normalize.js");
34
34
  function normalize(path) {
35
35
  return _os_js_1.isWindows ? (0, normalize_js_2.normalize)(path) : (0, normalize_js_1.normalize)(path);
36
36
  }
37
- exports.normalize = normalize;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.normalizeGlob = void 0;
5
+ exports.normalizeGlob = normalizeGlob;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const normalize_glob_js_1 = require("./posix/normalize_glob.js");
8
8
  const normalize_glob_js_2 = require("./windows/normalize_glob.js");
@@ -36,4 +36,3 @@ function normalizeGlob(glob, options = {}) {
36
36
  ? (0, normalize_glob_js_2.normalizeGlob)(glob, options)
37
37
  : (0, normalize_glob_js_1.normalizeGlob)(glob, options);
38
38
  }
39
- exports.normalizeGlob = normalizeGlob;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.parse = void 0;
5
+ exports.parse = parse;
6
6
  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");
@@ -40,4 +40,3 @@ const parse_js_2 = require("./windows/parse.js");
40
40
  function parse(path) {
41
41
  return _os_js_1.isWindows ? (0, parse_js_2.parse)(path) : (0, parse_js_1.parse)(path);
42
42
  }
43
- exports.parse = parse;
@@ -4,9 +4,8 @@
4
4
  // Ported from https://github.com/browserify/path-browserify/
5
5
  // This module is browser compatible.
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.isPosixPathSeparator = void 0;
7
+ exports.isPosixPathSeparator = isPosixPathSeparator;
8
8
  const constants_js_1 = require("../_common/constants.js");
9
9
  function isPosixPathSeparator(code) {
10
10
  return code === constants_js_1.CHAR_FORWARD_SLASH;
11
11
  }
12
- exports.isPosixPathSeparator = isPosixPathSeparator;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.basename = void 0;
5
+ exports.basename = basename;
6
6
  const basename_js_1 = require("../_common/basename.js");
7
7
  const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
8
8
  const _util_js_1 = require("./_util.js");
@@ -33,4 +33,3 @@ function basename(path, suffix = "") {
33
33
  const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPosixPathSeparator);
34
34
  return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
35
35
  }
36
- exports.basename = basename;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.dirname = void 0;
5
+ exports.dirname = dirname;
6
6
  const dirname_js_1 = require("../_common/dirname.js");
7
7
  const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
8
8
  const _util_js_1 = require("./_util.js");
@@ -51,4 +51,3 @@ function dirname(path) {
51
51
  }
52
52
  return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
53
53
  }
54
- exports.dirname = dirname;
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.extname = void 0;
5
+ exports.extname = extname;
6
6
  const constants_js_1 = require("../_common/constants.js");
7
7
  const assert_path_js_1 = require("../_common/assert_path.js");
8
8
  const _util_js_1 = require("./_util.js");
@@ -74,4 +74,3 @@ function extname(path) {
74
74
  }
75
75
  return path.slice(startDot, end);
76
76
  }
77
- exports.extname = extname;