@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.
- package/esm/0_deps.d.ts +1 -1
- package/esm/0_deps.js +1 -1
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +4 -4
- package/esm/client/0_params.d.ts +10 -3
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_password.js +2 -2
- package/esm/client/0_utilities.d.ts +4 -4
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +16 -0
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +3 -3
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
- 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
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
- package/esm/tl/0_api.d.ts +199 -41
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +314 -75
- package/esm/transport/1_transport_abridged.d.ts.map +1 -1
- package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
- package/esm/transport/2_transport_provider.js +4 -4
- package/esm/types/2_inline_keyboard_button.d.ts +9 -1
- package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.js +6 -0
- package/esm/types/2_invite_link.d.ts +5 -1
- package/esm/types/2_invite_link.d.ts.map +1 -1
- package/esm/types/2_invite_link.js +2 -0
- package/esm/utilities/0_cache_map.d.ts.map +1 -1
- package/esm/utilities/0_units.js +3 -3
- package/esm/utilities/2_queue.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +1 -1
- package/script/0_deps.js +3 -3
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +4 -4
- package/script/4_errors.js +2 -2
- package/script/client/0_filters.js +1 -2
- package/script/client/0_html.js +1 -2
- package/script/client/0_markdown.js +2 -2
- package/script/client/0_message.js +5 -6
- package/script/client/0_params.d.ts +10 -3
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_password.js +8 -8
- package/script/client/0_utilities.d.ts +4 -4
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +16 -16
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/1_composer.js +4 -4
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +16 -0
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +2 -2
- package/script/deps/deno.land/std@0.224.0/io/write_all.js +2 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +2 -2
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +2 -2
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +9 -9
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +3 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +5 -6
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +6 -7
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +6 -7
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +5 -6
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +8 -9
- package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.js +10 -11
- package/script/deps/jsr.io/@std/assert/1.0.6/almost_equals.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/assert.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +5 -6
- package/script/deps/jsr.io/@std/assert/1.0.6/exists.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/fail.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/false.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/greater.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/less.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_equals.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/object_match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/rejects.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +6 -7
- package/script/deps/jsr.io/@std/assert/1.0.6/string_includes.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/throws.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/unimplemented.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/unreachable.js +1 -2
- package/script/deps/jsr.io/@std/bytes/1.0.2/concat.js +1 -2
- package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +1 -2
- package/script/deps/jsr.io/@std/encoding/1.0.5/base64.js +2 -3
- 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
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +3 -4
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +5 -6
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +4 -5
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +1 -2
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +10 -11
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +2 -3
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/1.0.3/_util.js +8 -9
- package/script/deps/jsr.io/@std/media-types/1.0.3/all_extensions.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/content_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/extension.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/format_media_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/get_charset.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +2 -3
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +1 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +1 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +2 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +2 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +6 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +10 -10
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +5 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +1 -2
- package/script/storage/1_utilities.js +7 -7
- package/script/tl/0_api.d.ts +199 -41
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +314 -75
- package/script/tl/1_utilities.js +9 -10
- package/script/tl/2_deserialize.js +1 -2
- package/script/tl/2_serialize.js +1 -2
- package/script/tl/3_utilities.js +6 -7
- package/script/tl/4_rpc_result.js +2 -2
- package/script/tl/5_message.js +6 -6
- package/script/transport/0_obfuscation.js +1 -2
- package/script/transport/1_transport_abridged.d.ts.map +1 -1
- package/script/transport/1_transport_intermediate.d.ts.map +1 -1
- package/script/transport/2_transport_provider.js +7 -8
- package/script/transport/3_transport_provider_tcp.js +1 -2
- package/script/types/0_birthday.js +1 -2
- package/script/types/0_callback_query_answer.js +1 -2
- package/script/types/0_callback_query_question.js +1 -2
- package/script/types/0_chat_administrator_rights.js +2 -3
- package/script/types/0_chat_member_rights.js +2 -3
- package/script/types/0_chat_photo.js +1 -2
- package/script/types/0_contact.js +1 -2
- package/script/types/0_dice.js +1 -2
- package/script/types/0_failed_invitation.js +1 -2
- package/script/types/0_giveaway_parameters.js +1 -2
- package/script/types/0_invoice.js +1 -2
- package/script/types/0_link_preview.js +1 -2
- package/script/types/0_live_stream_channel.js +1 -2
- package/script/types/0_location.js +1 -2
- package/script/types/0_mask_position.js +1 -2
- package/script/types/0_message_entity.js +3 -4
- package/script/types/0_message_search_filter.js +1 -2
- package/script/types/0_mini_app_info.js +1 -2
- package/script/types/0_opening_hours.js +1 -2
- package/script/types/0_reaction.js +3 -4
- package/script/types/0_refunded_payment.js +1 -2
- package/script/types/0_restriction_reason.js +1 -2
- package/script/types/0_self_destruct_option.js +1 -2
- package/script/types/0_shipping_address.js +1 -2
- package/script/types/0_thumbnail.js +1 -2
- package/script/types/0_video_chat.js +1 -2
- package/script/types/0_voice.js +1 -2
- package/script/types/1_animation.js +1 -2
- package/script/types/1_audio.js +1 -2
- package/script/types/1_bot_command_scope.js +1 -2
- package/script/types/1_chat_p.js +1 -2
- package/script/types/1_document.js +1 -2
- package/script/types/1_giveaway.js +1 -2
- package/script/types/1_keyboard_button.js +2 -3
- package/script/types/1_message_reaction.js +1 -2
- package/script/types/1_order_info.js +1 -2
- package/script/types/1_photo.js +2 -3
- package/script/types/1_poll_option.js +1 -2
- package/script/types/1_reaction_count.js +1 -2
- package/script/types/1_reply_quote.js +1 -2
- package/script/types/1_sticker.js +1 -2
- package/script/types/1_story_privacy.js +2 -3
- package/script/types/1_story_reaction.js +1 -2
- package/script/types/1_user.js +1 -2
- package/script/types/1_venue.js +1 -2
- package/script/types/1_video.js +1 -2
- package/script/types/1_video_note.js +1 -2
- package/script/types/2_business_connection.js +1 -2
- package/script/types/2_chat.js +1 -2
- package/script/types/2_chat_member.js +1 -2
- package/script/types/2_chosen_inline_result.js +1 -2
- package/script/types/2_forward_header.js +1 -2
- package/script/types/2_game.js +1 -2
- package/script/types/2_inactive_chat.js +1 -2
- package/script/types/2_inline_keyboard_button.d.ts +9 -1
- package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.js +8 -3
- package/script/types/2_inline_query.js +1 -2
- package/script/types/2_invite_link.d.ts +5 -1
- package/script/types/2_invite_link.d.ts.map +1 -1
- package/script/types/2_invite_link.js +3 -2
- package/script/types/2_message_reaction_count.js +1 -2
- package/script/types/2_message_reactions.js +1 -2
- package/script/types/2_poll.js +1 -2
- package/script/types/2_pre_checkout_query.js +1 -2
- package/script/types/2_story_content.js +1 -2
- package/script/types/2_story_interactions.js +1 -2
- package/script/types/2_story_interactive_area.js +2 -3
- package/script/types/2_successful_payment.js +1 -2
- package/script/types/3_chat_member_updated.js +1 -2
- package/script/types/3_join_request.js +1 -2
- package/script/types/3_reply_markup.js +2 -3
- package/script/types/3_story.js +1 -2
- package/script/types/4_inline_query_result.js +2 -3
- package/script/types/4_message.js +2 -3
- package/script/types/5_callback_query.js +2 -3
- package/script/types/5_chat_list_item.js +5 -6
- package/script/types/5_inline_query_answer.js +1 -2
- package/script/types/_file_id.js +5 -5
- package/script/utilities/0_bigint.js +6 -7
- package/script/utilities/0_buffer.js +1 -2
- package/script/utilities/0_cache_map.d.ts.map +1 -1
- package/script/utilities/0_color.js +2 -3
- package/script/utilities/0_env.js +2 -3
- package/script/utilities/0_hash.js +2 -3
- package/script/utilities/0_object.js +1 -2
- package/script/utilities/0_rle.js +2 -3
- package/script/utilities/0_units.js +3 -3
- package/script/utilities/1_auth.js +1 -2
- package/script/utilities/1_base64.js +2 -3
- package/script/utilities/1_logger.js +5 -5
- package/script/utilities/1_math.js +1 -2
- package/script/utilities/1_misc.js +8 -8
- package/script/utilities/2_queue.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
- /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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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.
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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;
|