@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
@@ -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 format_js_1 = require("../_common/format.js");
7
7
  /**
8
8
  * Generate a path from `ParsedPath` object.
@@ -29,4 +29,3 @@ function format(pathObject) {
29
29
  (0, format_js_1.assertArg)(pathObject);
30
30
  return (0, format_js_1._format)("/", pathObject);
31
31
  }
32
- 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 from_file_url_js_1 = require("../_common/from_file_url.js");
7
7
  /**
8
8
  * Converts a file URL to a path string.
@@ -22,4 +22,3 @@ function fromFileUrl(url) {
22
22
  url = (0, from_file_url_js_1.assertArg)(url);
23
23
  return decodeURIComponent(url.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
24
24
  }
25
- 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 glob_to_reg_exp_js_1 = require("../_common/glob_to_reg_exp.js");
7
7
  const constants = {
8
8
  sep: "/+",
@@ -83,4 +83,3 @@ const constants = {
83
83
  function globToRegExp(glob, options = {}) {
84
84
  return (0, glob_to_reg_exp_js_1._globToRegExp)(constants, glob, options);
85
85
  }
86
- 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 assert_path_js_1 = require("../_common/assert_path.js");
7
7
  const _util_js_1 = require("./_util.js");
8
8
  /**
@@ -24,4 +24,3 @@ function isAbsolute(path) {
24
24
  (0, assert_path_js_1.assertPath)(path);
25
25
  return path.length > 0 && (0, _util_js_1.isPosixPathSeparator)(path.charCodeAt(0));
26
26
  }
27
- 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.join = void 0;
5
+ exports.join = join;
6
6
  const assert_path_js_1 = require("../_common/assert_path.js");
7
7
  const normalize_js_1 = require("./normalize.js");
8
8
  /**
@@ -30,4 +30,3 @@ function join(...paths) {
30
30
  const joined = paths.filter((path) => path.length > 0).join("/");
31
31
  return joined === "" ? "." : (0, normalize_js_1.normalize)(joined);
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 join_js_1 = require("./join.js");
7
7
  const constants_js_1 = require("./constants.js");
8
8
  const normalize_glob_js_1 = require("./normalize_glob.js");
@@ -40,4 +40,3 @@ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
40
40
  return ".";
41
41
  return (0, normalize_glob_js_1.normalizeGlob)(joined, { extended, globstar });
42
42
  }
43
- 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 normalize_js_1 = require("../_common/normalize.js");
7
7
  const normalize_string_js_1 = require("../_common/normalize_string.js");
8
8
  const _util_js_1 = require("./_util.js");
@@ -40,4 +40,3 @@ function normalize(path) {
40
40
  return `/${path}`;
41
41
  return path;
42
42
  }
43
- 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 normalize_js_1 = require("./normalize.js");
7
7
  const constants_js_1 = require("./constants.js");
8
8
  /**
@@ -32,4 +32,3 @@ function normalizeGlob(glob, { globstar = false } = {}) {
32
32
  const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
33
33
  return (0, normalize_js_1.normalize)(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
34
34
  }
35
- 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 constants_js_1 = require("../_common/constants.js");
7
7
  const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
8
8
  const assert_path_js_1 = require("../_common/assert_path.js");
@@ -116,4 +116,3 @@ function parse(path) {
116
116
  ret.dir = "/";
117
117
  return ret;
118
118
  }
119
- exports.parse = parse;
@@ -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.relative = void 0;
5
+ exports.relative = relative;
6
6
  const _util_js_1 = require("./_util.js");
7
7
  const resolve_js_1 = require("./resolve.js");
8
8
  const relative_js_1 = require("../_common/relative.js");
@@ -107,4 +107,3 @@ function relative(from, to) {
107
107
  return to.slice(toStart);
108
108
  }
109
109
  }
110
- exports.relative = relative;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.resolve = void 0;
26
+ exports.resolve = resolve;
27
27
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
28
28
  // This module is browser compatible.
29
29
  const dntShim = __importStar(require("../../../../../../_dnt.shims.js"));
@@ -83,4 +83,3 @@ function resolve(...pathSegments) {
83
83
  else
84
84
  return ".";
85
85
  }
86
- exports.resolve = resolve;
@@ -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.toFileUrl = void 0;
5
+ exports.toFileUrl = toFileUrl;
6
6
  const to_file_url_js_1 = require("../_common/to_file_url.js");
7
7
  const is_absolute_js_1 = require("./is_absolute.js");
8
8
  /**
@@ -28,4 +28,3 @@ function toFileUrl(path) {
28
28
  url.pathname = (0, to_file_url_js_1.encodeWhitespace)(path.replace(/%/g, "%25").replace(/\\/g, "%5C"));
29
29
  return url;
30
30
  }
31
- exports.toFileUrl = toFileUrl;
@@ -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.toNamespacedPath = void 0;
5
+ exports.toNamespacedPath = toNamespacedPath;
6
6
  /**
7
7
  * Converts a path to a namespaced path. This function returns the path as is on posix.
8
8
  *
@@ -21,4 +21,3 @@ function toNamespacedPath(path) {
21
21
  // Non-op on posix systems
22
22
  return path;
23
23
  }
24
- exports.toNamespacedPath = toNamespacedPath;
@@ -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.relative = void 0;
5
+ exports.relative = relative;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const relative_js_1 = require("./posix/relative.js");
8
8
  const relative_js_2 = require("./windows/relative.js");
@@ -31,4 +31,3 @@ const relative_js_2 = require("./windows/relative.js");
31
31
  function relative(from, to) {
32
32
  return _os_js_1.isWindows ? (0, relative_js_2.relative)(from, to) : (0, relative_js_1.relative)(from, to);
33
33
  }
34
- exports.relative = relative;
@@ -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.resolve = void 0;
5
+ exports.resolve = resolve;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const resolve_js_1 = require("./posix/resolve.js");
8
8
  const resolve_js_2 = require("./windows/resolve.js");
@@ -31,4 +31,3 @@ function resolve(...pathSegments) {
31
31
  ? (0, resolve_js_2.resolve)(...pathSegments)
32
32
  : (0, resolve_js_1.resolve)(...pathSegments);
33
33
  }
34
- exports.resolve = resolve;
@@ -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.toFileUrl = void 0;
5
+ exports.toFileUrl = toFileUrl;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const to_file_url_js_1 = require("./posix/to_file_url.js");
8
8
  const to_file_url_js_2 = require("./windows/to_file_url.js");
@@ -29,4 +29,3 @@ const to_file_url_js_2 = require("./windows/to_file_url.js");
29
29
  function toFileUrl(path) {
30
30
  return _os_js_1.isWindows ? (0, to_file_url_js_2.toFileUrl)(path) : (0, to_file_url_js_1.toFileUrl)(path);
31
31
  }
32
- exports.toFileUrl = toFileUrl;
@@ -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.toNamespacedPath = void 0;
5
+ exports.toNamespacedPath = toNamespacedPath;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const to_namespaced_path_js_1 = require("./posix/to_namespaced_path.js");
8
8
  const to_namespaced_path_js_2 = require("./windows/to_namespaced_path.js");
@@ -30,4 +30,3 @@ function toNamespacedPath(path) {
30
30
  ? (0, to_namespaced_path_js_2.toNamespacedPath)(path)
31
31
  : (0, to_namespaced_path_js_1.toNamespacedPath)(path);
32
32
  }
33
- exports.toNamespacedPath = toNamespacedPath;
@@ -4,18 +4,17 @@
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.isWindowsDeviceRoot = exports.isPathSeparator = exports.isPosixPathSeparator = void 0;
7
+ exports.isPosixPathSeparator = isPosixPathSeparator;
8
+ exports.isPathSeparator = isPathSeparator;
9
+ exports.isWindowsDeviceRoot = isWindowsDeviceRoot;
8
10
  const constants_js_1 = require("../_common/constants.js");
9
11
  function isPosixPathSeparator(code) {
10
12
  return code === constants_js_1.CHAR_FORWARD_SLASH;
11
13
  }
12
- exports.isPosixPathSeparator = isPosixPathSeparator;
13
14
  function isPathSeparator(code) {
14
15
  return code === constants_js_1.CHAR_FORWARD_SLASH || code === constants_js_1.CHAR_BACKWARD_SLASH;
15
16
  }
16
- exports.isPathSeparator = isPathSeparator;
17
17
  function isWindowsDeviceRoot(code) {
18
18
  return ((code >= constants_js_1.CHAR_LOWERCASE_A && code <= constants_js_1.CHAR_LOWERCASE_Z) ||
19
19
  (code >= constants_js_1.CHAR_UPPERCASE_A && code <= constants_js_1.CHAR_UPPERCASE_Z));
20
20
  }
21
- exports.isWindowsDeviceRoot = isWindowsDeviceRoot;
@@ -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 constants_js_1 = require("../_common/constants.js");
8
8
  const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
@@ -45,4 +45,3 @@ function basename(path, suffix = "") {
45
45
  const strippedSegment = (0, strip_trailing_separators_js_1.stripTrailingSeparators)(lastSegment, _util_js_1.isPathSeparator);
46
46
  return suffix ? (0, basename_js_1.stripSuffix)(strippedSegment, suffix) : strippedSegment;
47
47
  }
48
- 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 constants_js_1 = require("../_common/constants.js");
8
8
  const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separators.js");
@@ -113,4 +113,3 @@ function dirname(path) {
113
113
  }
114
114
  return (0, strip_trailing_separators_js_1.stripTrailingSeparators)(path.slice(0, end), _util_js_1.isPosixPathSeparator);
115
115
  }
116
- 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");
@@ -82,4 +82,3 @@ function extname(path) {
82
82
  }
83
83
  return path.slice(startDot, end);
84
84
  }
85
- 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 format_js_1 = require("../_common/format.js");
7
7
  /**
8
8
  * Generate a path from `ParsedPath` object.
@@ -29,4 +29,3 @@ function format(pathObject) {
29
29
  (0, format_js_1.assertArg)(pathObject);
30
30
  return (0, format_js_1._format)("\\", pathObject);
31
31
  }
32
- 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 from_file_url_js_1 = require("../_common/from_file_url.js");
7
7
  /**
8
8
  * Converts a file URL to a path string.
@@ -31,4 +31,3 @@ function fromFileUrl(url) {
31
31
  }
32
32
  return path;
33
33
  }
34
- 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 glob_to_reg_exp_js_1 = require("../_common/glob_to_reg_exp.js");
7
7
  const constants = {
8
8
  sep: "(?:\\\\|/)+",
@@ -83,4 +83,3 @@ const constants = {
83
83
  function globToRegExp(glob, options = {}) {
84
84
  return (0, glob_to_reg_exp_js_1._globToRegExp)(constants, glob, options);
85
85
  }
86
- 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 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");
@@ -39,4 +39,3 @@ function isAbsolute(path) {
39
39
  }
40
40
  return false;
41
41
  }
42
- 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.join = void 0;
5
+ exports.join = join;
6
6
  const assert_path_js_1 = require("../_common/assert_path.js");
7
7
  const _util_js_1 = require("./_util.js");
8
8
  const normalize_js_1 = require("./normalize.js");
@@ -75,4 +75,3 @@ function join(...paths) {
75
75
  }
76
76
  return (0, normalize_js_1.normalize)(joined);
77
77
  }
78
- 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 join_js_1 = require("./join.js");
7
7
  const constants_js_1 = require("./constants.js");
8
8
  const normalize_glob_js_1 = require("./normalize_glob.js");
@@ -41,4 +41,3 @@ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
41
41
  return ".";
42
42
  return (0, normalize_glob_js_1.normalizeGlob)(joined, { extended, globstar });
43
43
  }
44
- 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 normalize_js_1 = require("../_common/normalize.js");
7
7
  const constants_js_1 = require("../_common/constants.js");
8
8
  const normalize_string_js_1 = require("../_common/normalize_string.js");
@@ -135,4 +135,3 @@ function normalize(path) {
135
135
  }
136
136
  return device + tail;
137
137
  }
138
- 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 normalize_js_1 = require("./normalize.js");
7
7
  const constants_js_1 = require("./constants.js");
8
8
  /**
@@ -32,4 +32,3 @@ function normalizeGlob(glob, { globstar = false } = {}) {
32
32
  const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
33
33
  return (0, normalize_js_1.normalize)(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
34
34
  }
35
- 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 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");
@@ -177,4 +177,3 @@ function parse(path) {
177
177
  ret.dir = ret.root;
178
178
  return ret;
179
179
  }
180
- exports.parse = parse;
@@ -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.relative = void 0;
5
+ exports.relative = relative;
6
6
  const constants_js_1 = require("../_common/constants.js");
7
7
  const resolve_js_1 = require("./resolve.js");
8
8
  const relative_js_1 = require("../_common/relative.js");
@@ -132,4 +132,3 @@ function relative(from, to) {
132
132
  return toOrig.slice(toStart, toEnd);
133
133
  }
134
134
  }
135
- exports.relative = relative;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.resolve = void 0;
26
+ exports.resolve = resolve;
27
27
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
28
28
  // This module is browser compatible.
29
29
  const dntShim = __importStar(require("../../../../../../_dnt.shims.js"));
@@ -178,4 +178,3 @@ function resolve(...pathSegments) {
178
178
  resolvedTail = (0, normalize_string_js_1.normalizeString)(resolvedTail, !resolvedAbsolute, "\\", _util_js_1.isPathSeparator);
179
179
  return resolvedDevice + (resolvedAbsolute ? "\\" : "") + resolvedTail || ".";
180
180
  }
181
- exports.resolve = resolve;
@@ -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.toFileUrl = void 0;
5
+ exports.toFileUrl = toFileUrl;
6
6
  const to_file_url_js_1 = require("../_common/to_file_url.js");
7
7
  const is_absolute_js_1 = require("./is_absolute.js");
8
8
  /**
@@ -35,4 +35,3 @@ function toFileUrl(path) {
35
35
  }
36
36
  return url;
37
37
  }
38
- exports.toFileUrl = toFileUrl;
@@ -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.toNamespacedPath = void 0;
5
+ exports.toNamespacedPath = toNamespacedPath;
6
6
  const constants_js_1 = require("../_common/constants.js");
7
7
  const _util_js_1 = require("./_util.js");
8
8
  const resolve_js_1 = require("./resolve.js");
@@ -50,4 +50,3 @@ function toNamespacedPath(path) {
50
50
  }
51
51
  return path;
52
52
  }
53
- exports.toNamespacedPath = toNamespacedPath;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.concatUint8Array = void 0;
3
+ exports.concatUint8Array = concatUint8Array;
4
4
  function concatUint8Array(arr) {
5
5
  const length = arr.reduce((pre, next) => pre + next.length, 0);
6
6
  const result = new Uint8Array(length);
@@ -11,4 +11,3 @@ function concatUint8Array(arr) {
11
11
  }
12
12
  return result;
13
13
  }
14
- exports.concatUint8Array = concatUint8Array;
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.gzip = exports.Deflate = void 0;
29
+ exports.Deflate = void 0;
30
+ exports.gzip = gzip;
30
31
  // from https://github.com/nodeca/pako
31
32
  const zlibDeflate = __importStar(require("./zlib/deflate.js"));
32
33
  const uint8_js_1 = require("../utils/uint8.js");
@@ -163,4 +164,3 @@ function gzip(input, options = {}) {
163
164
  options.gzip = true;
164
165
  return deflate(input, options);
165
166
  }
166
- exports.gzip = gzip;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = adler32;
3
4
  function adler32(adler, buf, len, pos) {
4
5
  let s1 = (adler & 0xffff) | 0;
5
6
  let s2 = ((adler >>> 16) & 0xffff) | 0;
@@ -19,4 +20,3 @@ function adler32(adler, buf, len, pos) {
19
20
  }
20
21
  return (s1 | (s2 << 16)) | 0;
21
22
  }
22
- exports.default = adler32;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crc32 = exports.makeTable = void 0;
3
+ exports.makeTable = makeTable;
4
+ exports.crc32 = crc32;
4
5
  function makeTable() {
5
6
  let c;
6
7
  const table = [];
@@ -14,7 +15,6 @@ function makeTable() {
14
15
  }
15
16
  return table;
16
17
  }
17
- exports.makeTable = makeTable;
18
18
  // Create table on load. Just 255 signed longs. Not a problem.
19
19
  const crcTable = makeTable();
20
20
  function crc32(crc, buf, len, pos) {
@@ -27,4 +27,3 @@ function crc32(crc, buf, len, pos) {
27
27
  }
28
28
  return (crc ^ (-1)); // >>> 0;
29
29
  }
30
- exports.crc32 = crc32;
@@ -26,7 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.deflateSetDictionary = exports.deflateEnd = exports.deflate = exports.deflateInit2 = exports.deflateSetHeader = exports.DeflateState = void 0;
29
+ exports.DeflateState = void 0;
30
+ exports.deflateSetHeader = deflateSetHeader;
31
+ exports.deflateInit2 = deflateInit2;
32
+ exports.deflate = deflate;
33
+ exports.deflateEnd = deflateEnd;
34
+ exports.deflateSetDictionary = deflateSetDictionary;
30
35
  const messages_js_1 = require("./messages.js");
31
36
  const trees = __importStar(require("./trees.js"));
32
37
  const adler32_js_1 = __importDefault(require("./adler32.js"));
@@ -1490,7 +1495,6 @@ function deflateSetHeader(strm, head) {
1490
1495
  strm.state.gzhead = head;
1491
1496
  return Z_OK;
1492
1497
  }
1493
- exports.deflateSetHeader = deflateSetHeader;
1494
1498
  function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
1495
1499
  if (!strm) { // === Z_NULL
1496
1500
  return status_js_1.default.Z_STREAM_ERROR;
@@ -1549,7 +1553,6 @@ function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
1549
1553
  s.method = method;
1550
1554
  return deflateReset(strm);
1551
1555
  }
1552
- exports.deflateInit2 = deflateInit2;
1553
1556
  function deflateInit(strm, level) {
1554
1557
  return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
1555
1558
  }
@@ -1874,7 +1877,6 @@ function deflate(strm, flush) {
1874
1877
  /* write the trailer only once! */
1875
1878
  return s.pending !== 0 ? Z_OK : Z_STREAM_END;
1876
1879
  }
1877
- exports.deflate = deflate;
1878
1880
  function deflateEnd(strm) {
1879
1881
  let status;
1880
1882
  if (!strm /*== Z_NULL*/ || !strm.state /*== Z_NULL*/) {
@@ -1893,7 +1895,6 @@ function deflateEnd(strm) {
1893
1895
  strm.state = null;
1894
1896
  return status === BUSY_STATE ? err(strm, status_js_1.default.Z_DATA_ERROR) : Z_OK;
1895
1897
  }
1896
- exports.deflateEnd = deflateEnd;
1897
1898
  /* =========================================================================
1898
1899
  * Initializes the compression dictionary from the given byte
1899
1900
  * sequence without producing any compressed output.
@@ -1973,4 +1974,3 @@ function deflateSetDictionary(strm, dictionary) {
1973
1974
  s.wrap = wrap;
1974
1975
  return Z_OK;
1975
1976
  }
1976
- exports.deflateSetDictionary = deflateSetDictionary;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = inflate_fast;
3
4
  // See state defs from inflate.js
4
5
  const BAD = 30; /* got a data error -- remain here until reset */
5
6
  const TYPE = 12; /* i: waiting for type bits, including last-flag bit */
@@ -321,4 +322,3 @@ function inflate_fast(strm, start) {
321
322
  state.bits = bits;
322
323
  return;
323
324
  }
324
- exports.default = inflate_fast;