@mtkruto/node 0.1.303 → 0.1.400
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 +6 -5
- package/esm/0_deps.js +7 -6
- package/esm/1_utilities.d.ts +2 -0
- package/esm/1_utilities.js +2 -0
- package/esm/3_types.d.ts +2 -0
- package/esm/3_types.js +2 -0
- package/esm/client/0_message.js +11 -11
- package/esm/client/0_params.d.ts +8 -1
- package/esm/client/0_password.js +14 -6
- package/esm/client/0_types.d.ts +18 -7
- package/esm/client/0_utilities.d.ts +19 -2
- package/esm/client/0_utilities.js +1 -44
- package/esm/client/1_client_plain.js +6 -6
- package/esm/client/1_file_manager.d.ts +3 -21
- package/esm/client/1_file_manager.js +244 -104
- package/esm/client/2_message_manager.d.ts +4 -1
- package/esm/client/2_message_manager.js +166 -23
- package/esm/client/3_story_manager.js +4 -6
- package/esm/client/4_client.d.ts +20 -2
- package/esm/client/4_client.js +97 -49
- package/esm/connection/1_connection_web_socket.js +3 -3
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_almost_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_array_includes.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_exists.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_false.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater_or_equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_instance_of.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_is_error.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less_or_equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_instance_of.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_strict_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_object_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_rejects.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_strict_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_string_includes.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_throws.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assertion_error.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/fail.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/mod.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unimplemented.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unreachable.js +1 -0
- package/esm/deps/deno.land/std@0.222.1/bytes/concat.d.ts +13 -0
- package/esm/deps/deno.land/std@0.222.1/bytes/concat.js +27 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/base64.d.ts +8 -2
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/base64.js +19 -2
- package/{script/deps/deno.land/std@0.221.0 → esm/deps/deno.land/std@0.222.1}/media_types/_util.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_util.js +1 -1
- package/{script/deps/deno.land/x/tgcrypto@0.4.0 → esm/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
- package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +56 -42
- package/esm/tl/0_tl_raw_writer.js +3 -2
- package/esm/transport/0_obfuscation.js +4 -3
- package/esm/transport/0_transport.d.ts +1 -1
- package/esm/transport/0_transport.js +7 -0
- package/esm/transport/1_transport_abridged.js +4 -2
- package/esm/transport/1_transport_intermediate.js +4 -2
- package/esm/types/0_file_source.d.ts +2 -2
- package/esm/types/0_self_destruct_option.d.ts +25 -0
- package/esm/types/0_self_destruct_option.js +39 -0
- package/esm/types/1_input_media.d.ts +108 -0
- package/esm/types/1_input_media.js +20 -0
- package/esm/utilities/0_buffer.d.ts +0 -1
- package/esm/utilities/0_buffer.js +0 -13
- package/esm/utilities/0_crypto.d.ts +3 -3
- package/esm/utilities/0_crypto.js +23 -20
- package/esm/utilities/0_part_stream.d.ts +29 -0
- package/esm/utilities/0_part_stream.js +65 -0
- package/esm/utilities/0_units.d.ts +25 -0
- package/esm/utilities/0_units.js +25 -0
- package/esm/utilities/1_auth.js +5 -5
- package/esm/utilities/1_misc.d.ts +1 -0
- package/esm/utilities/1_misc.js +17 -2
- package/package.json +1 -1
- package/script/0_deps.d.ts +6 -5
- package/script/0_deps.js +11 -7
- package/script/1_utilities.d.ts +2 -0
- package/script/1_utilities.js +2 -0
- package/script/3_types.d.ts +2 -0
- package/script/3_types.js +2 -0
- package/script/client/0_message.js +9 -9
- package/script/client/0_params.d.ts +8 -1
- package/script/client/0_password.js +13 -5
- package/script/client/0_types.d.ts +18 -7
- package/script/client/0_utilities.d.ts +19 -2
- package/script/client/0_utilities.js +2 -69
- package/script/client/1_client_plain.js +4 -4
- package/script/client/1_file_manager.d.ts +3 -21
- package/script/client/1_file_manager.js +266 -103
- package/script/client/2_message_manager.d.ts +4 -1
- package/script/client/2_message_manager.js +164 -21
- package/script/client/3_story_manager.js +3 -5
- package/script/client/4_client.d.ts +20 -2
- package/script/client/4_client.js +96 -48
- package/script/connection/1_connection_web_socket.js +1 -1
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_almost_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_array_includes.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_exists.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_false.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater_or_equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_instance_of.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_is_error.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less_or_equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_instance_of.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_strict_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_object_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_rejects.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_strict_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_string_includes.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_throws.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assertion_error.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/fail.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/mod.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unimplemented.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unreachable.js +1 -0
- package/script/deps/deno.land/std@0.222.1/bytes/concat.d.ts +13 -0
- package/script/deps/deno.land/std@0.222.1/bytes/concat.js +31 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/base64.d.ts +8 -2
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/base64.js +19 -2
- package/{esm/deps/deno.land/std@0.221.0 → script/deps/deno.land/std@0.222.1}/media_types/_util.d.ts +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_util.js +2 -1
- package/{esm/deps/deno.land/x/tgcrypto@0.4.0 → script/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
- package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +61 -43
- package/script/tl/0_tl_raw_writer.js +2 -1
- package/script/transport/0_obfuscation.js +3 -2
- package/script/transport/0_transport.d.ts +1 -1
- package/script/transport/0_transport.js +7 -0
- package/script/transport/1_transport_abridged.js +3 -1
- package/script/transport/1_transport_intermediate.js +3 -1
- package/script/types/0_file_source.d.ts +2 -2
- package/script/types/0_self_destruct_option.d.ts +25 -0
- package/script/types/0_self_destruct_option.js +43 -0
- package/script/types/1_input_media.d.ts +108 -0
- package/script/types/1_input_media.js +21 -0
- package/script/utilities/0_buffer.d.ts +0 -1
- package/script/utilities/0_buffer.js +1 -15
- package/script/utilities/0_crypto.d.ts +3 -3
- package/script/utilities/0_crypto.js +22 -19
- package/script/utilities/0_part_stream.d.ts +29 -0
- package/script/utilities/0_part_stream.js +69 -0
- package/script/utilities/0_units.d.ts +25 -0
- package/script/utilities/0_units.js +28 -0
- package/script/utilities/1_auth.js +3 -3
- package/script/utilities/1_misc.d.ts +1 -0
- package/script/utilities/1_misc.js +19 -3
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
- /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
- /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertLessOrEqual = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const _format_js_1 = require("./_format.js");
|
|
6
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
8
|
/**
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertMatch = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
/**
|
|
7
8
|
* Make an assertion that `actual` match RegExp `expected`. If not
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
3
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
5
|
exports.assertNotEquals = void 0;
|
|
5
6
|
const _constants_js_1 = require("./_constants.js");
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotInstanceOf = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assert_false_js_1 = require("./assert_false.js");
|
|
6
7
|
/**
|
|
7
8
|
* Make an assertion that `obj` is not an instance of `type`.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotMatch = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
/**
|
|
7
8
|
* Make an assertion that `actual` not match RegExp `expected`. If match
|
package/script/deps/deno.land/{std@0.221.0 → std@0.222.1}/assert/assert_not_strict_equals.js
RENAMED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotStrictEquals = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
const _format_js_1 = require("./_format.js");
|
|
7
8
|
/**
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertObjectMatch = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assert_equals_js_1 = require("./assert_equals.js");
|
|
6
7
|
/**
|
|
7
8
|
* Make an assertion that `actual` object is a subset of `expected` object,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertRejects = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
const assert_is_error_js_1 = require("./assert_is_error.js");
|
|
7
8
|
async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertStrictEquals = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const _format_js_1 = require("./_format.js");
|
|
6
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
8
|
const _diff_js_1 = require("./_diff.js");
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertStringIncludes = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
/**
|
|
7
8
|
* Make an assertion that actual includes expected. If not
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertThrows = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assert_is_error_js_1 = require("./assert_is_error.js");
|
|
6
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
8
|
function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.equal = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
function isKeyedCollection(x) {
|
|
6
7
|
return [Symbol.iterator, "size"].every((k) => k in x);
|
|
7
8
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fail = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assert_js_1 = require("./assert.js");
|
|
6
7
|
/**
|
|
7
8
|
* Forcefully throws a failed assertion.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
3
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
5
|
if (k2 === undefined) k2 = k;
|
|
5
6
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unimplemented = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
/**
|
|
7
8
|
* Use this to stub out methods that will throw when invoked.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unreachable = void 0;
|
|
4
4
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
// This module is browser compatible.
|
|
5
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
7
|
/**
|
|
7
8
|
* Use this to assert unreachable code.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Concatenate an array of {@linkcode Uint8Array}s.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { concat } from "https://deno.land/std@$STD_VERSION/bytes/concat.ts";
|
|
7
|
+
*
|
|
8
|
+
* const a = new Uint8Array([0, 1, 2]);
|
|
9
|
+
* const b = new Uint8Array([3, 4, 5]);
|
|
10
|
+
* concat([a, b]); // Uint8Array(6) [ 0, 1, 2, 3, 4, 5 ]
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function concat(buf: Uint8Array[]): Uint8Array;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.concat = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* Concatenate an array of {@linkcode Uint8Array}s.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { concat } from "https://deno.land/std@$STD_VERSION/bytes/concat.ts";
|
|
12
|
+
*
|
|
13
|
+
* const a = new Uint8Array([0, 1, 2]);
|
|
14
|
+
* const b = new Uint8Array([3, 4, 5]);
|
|
15
|
+
* concat([a, b]); // Uint8Array(6) [ 0, 1, 2, 3, 4, 5 ]
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
function concat(buf) {
|
|
19
|
+
let length = 0;
|
|
20
|
+
for (const b of buf) {
|
|
21
|
+
length += b.length;
|
|
22
|
+
}
|
|
23
|
+
const output = new Uint8Array(length);
|
|
24
|
+
let index = 0;
|
|
25
|
+
for (const b of buf) {
|
|
26
|
+
output.set(b, index);
|
|
27
|
+
index += b.length;
|
|
28
|
+
}
|
|
29
|
+
return output;
|
|
30
|
+
}
|
|
31
|
+
exports.concat = concat;
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
5
5
|
*
|
|
6
|
+
* @param data The data to encode.
|
|
7
|
+
* @returns The base64-encoded string.
|
|
8
|
+
*
|
|
6
9
|
* @example
|
|
7
10
|
* ```ts
|
|
8
11
|
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
@@ -16,11 +19,14 @@ export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): s
|
|
|
16
19
|
*
|
|
17
20
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
18
21
|
*
|
|
22
|
+
* @param b64 The base64-encoded string to decode.
|
|
23
|
+
* @returns The decoded data.
|
|
24
|
+
*
|
|
19
25
|
* @example
|
|
20
26
|
* ```ts
|
|
21
|
-
* import {
|
|
27
|
+
* import { decodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
22
28
|
*
|
|
23
|
-
*
|
|
29
|
+
* decodeBase64("Zm9vYmFy"); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
|
|
24
30
|
* ```
|
|
25
31
|
*/
|
|
26
32
|
export declare function decodeBase64(b64: string): Uint8Array;
|
|
@@ -10,6 +10,17 @@ exports.decodeBase64 = exports.encodeBase64 = void 0;
|
|
|
10
10
|
*
|
|
11
11
|
* This module is browser compatible.
|
|
12
12
|
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* import {
|
|
15
|
+
* encodeBase64,
|
|
16
|
+
* decodeBase64,
|
|
17
|
+
* } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
18
|
+
*
|
|
19
|
+
* const encoded = encodeBase64("foobar"); // "Zm9vYmFy"
|
|
20
|
+
*
|
|
21
|
+
* decodeBase64(encoded); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
13
24
|
* @module
|
|
14
25
|
*/
|
|
15
26
|
const _util_js_1 = require("./_util.js");
|
|
@@ -84,6 +95,9 @@ const base64abc = [
|
|
|
84
95
|
*
|
|
85
96
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
86
97
|
*
|
|
98
|
+
* @param data The data to encode.
|
|
99
|
+
* @returns The base64-encoded string.
|
|
100
|
+
*
|
|
87
101
|
* @example
|
|
88
102
|
* ```ts
|
|
89
103
|
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
@@ -127,11 +141,14 @@ exports.encodeBase64 = encodeBase64;
|
|
|
127
141
|
*
|
|
128
142
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
129
143
|
*
|
|
144
|
+
* @param b64 The base64-encoded string to decode.
|
|
145
|
+
* @returns The decoded data.
|
|
146
|
+
*
|
|
130
147
|
* @example
|
|
131
148
|
* ```ts
|
|
132
|
-
* import {
|
|
149
|
+
* import { decodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
133
150
|
*
|
|
134
|
-
*
|
|
151
|
+
* decodeBase64("Zm9vYmFy"); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
|
|
135
152
|
* ```
|
|
136
153
|
*/
|
|
137
154
|
function decodeBase64(b64) {
|
package/{esm/deps/deno.land/std@0.221.0 → script/deps/deno.land/std@0.222.1}/media_types/_util.d.ts
RENAMED
|
@@ -16,4 +16,5 @@ export declare function consumeMediaParam(v: string): [key: string, value: strin
|
|
|
16
16
|
export declare function decode2331Encoding(v: string): string | undefined;
|
|
17
17
|
export declare function isIterator<T>(obj: unknown): obj is Iterable<T>;
|
|
18
18
|
export declare function isToken(s: string): boolean;
|
|
19
|
+
export declare function isTSpecial(r: string): boolean;
|
|
19
20
|
export declare function needsEncoding(s: string): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.needsEncoding = exports.isToken = exports.isIterator = exports.decode2331Encoding = exports.consumeMediaParam = exports.consumeValue = exports.consumeToken = void 0;
|
|
4
|
+
exports.needsEncoding = exports.isTSpecial = exports.isToken = exports.isIterator = exports.decode2331Encoding = exports.consumeMediaParam = exports.consumeValue = exports.consumeToken = void 0;
|
|
5
5
|
function consumeToken(v) {
|
|
6
6
|
const notPos = indexOf(v, isNotTokenChar);
|
|
7
7
|
if (notPos === -1) {
|
|
@@ -118,6 +118,7 @@ function isTokenChar(r) {
|
|
|
118
118
|
function isTSpecial(r) {
|
|
119
119
|
return r[0] ? `()<>@,;:\\"/[]?=`.includes(r[0]) : false;
|
|
120
120
|
}
|
|
121
|
+
exports.isTSpecial = isTSpecial;
|
|
121
122
|
const CHAR_CODE_SPACE = " ".charCodeAt(0);
|
|
122
123
|
const CHAR_CODE_TILDE = "~".charCodeAt(0);
|
|
123
124
|
function needsEncoding(s) {
|
package/{esm/deps/deno.land/x/tgcrypto@0.4.0 → script/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts
RENAMED
|
@@ -15,15 +15,27 @@ export declare function ige256Encrypt(data: Uint8Array, key: Uint8Array, iv: Uin
|
|
|
15
15
|
* @param iv 32-byte initialization vector
|
|
16
16
|
*/
|
|
17
17
|
export declare function ige256Decrypt(data: Uint8Array, key: Uint8Array, iv: Uint8Array): Uint8Array;
|
|
18
|
+
export interface Ctr256State {
|
|
19
|
+
statep: number;
|
|
20
|
+
ivp: number;
|
|
21
|
+
}
|
|
22
|
+
export declare function createCtr256State(iv: Uint8Array): Ctr256State;
|
|
23
|
+
export declare function destroyCtr256State(state: Ctr256State): void;
|
|
24
|
+
export interface __Ctr256StateValues {
|
|
25
|
+
iv: Uint8Array;
|
|
26
|
+
state: Uint8Array;
|
|
27
|
+
}
|
|
28
|
+
export declare function __getCtr256StateValues(state: Ctr256State): __Ctr256StateValues;
|
|
29
|
+
export declare function __settCtr256StateState(state: Ctr256State, state_: Uint8Array): void;
|
|
18
30
|
/**
|
|
19
31
|
* Performs CTR-256 encryption/decryption.
|
|
20
32
|
*
|
|
21
33
|
* @param data The data, larger than a byte
|
|
22
34
|
* @param key 32-byte encryption key
|
|
23
35
|
* @param iv 16-byte initialization vector
|
|
24
|
-
* @param state
|
|
36
|
+
* @param state Result of `createCtr256State()`
|
|
25
37
|
*/
|
|
26
|
-
export declare function ctr256(data: Uint8Array, key: Uint8Array,
|
|
38
|
+
export declare function ctr256(data: Uint8Array, key: Uint8Array, state: Ctr256State): void;
|
|
27
39
|
/**
|
|
28
40
|
* Performs CBC-256 encryption.
|
|
29
41
|
*
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.cbc256Decrypt = exports.cbc256Encrypt = exports.ctr256 = exports.ige256Decrypt = exports.ige256Encrypt = exports.init = void 0;
|
|
6
|
+
exports.cbc256Decrypt = exports.cbc256Encrypt = exports.ctr256 = exports.__settCtr256StateState = exports.__getCtr256StateValues = exports.destroyCtr256State = exports.createCtr256State = exports.ige256Decrypt = exports.ige256Encrypt = exports.init = void 0;
|
|
7
7
|
const tgcrypto_js_1 = __importDefault(require("./tgcrypto.js"));
|
|
8
8
|
// deno-lint-ignore no-explicit-any
|
|
9
9
|
let module_;
|
|
@@ -13,16 +13,16 @@ async function init() {
|
|
|
13
13
|
}
|
|
14
14
|
exports.init = init;
|
|
15
15
|
function checkIgeParams(data, key, iv) {
|
|
16
|
-
if (data.
|
|
16
|
+
if (data.byteLength == 0) {
|
|
17
17
|
throw new TypeError("data must not be empty");
|
|
18
18
|
}
|
|
19
|
-
else if (data.
|
|
19
|
+
else if (data.byteLength % 16 != 0) {
|
|
20
20
|
throw new TypeError("data must consist of a number of bytes that is divisible by 16");
|
|
21
21
|
}
|
|
22
|
-
else if (key.
|
|
22
|
+
else if (key.byteLength != 32) {
|
|
23
23
|
throw new TypeError("key must be 32 bytes");
|
|
24
24
|
}
|
|
25
|
-
else if (iv.
|
|
25
|
+
else if (iv.byteLength != 32) {
|
|
26
26
|
throw new TypeError("iv must be 32 bytes");
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -35,12 +35,12 @@ function checkIgeParams(data, key, iv) {
|
|
|
35
35
|
*/
|
|
36
36
|
function ige256Encrypt(data, key, iv) {
|
|
37
37
|
checkIgeParams(data, key, iv);
|
|
38
|
-
const out = module_._malloc(data.
|
|
39
|
-
const datap = module_._malloc(data.
|
|
38
|
+
const out = module_._malloc(data.byteLength);
|
|
39
|
+
const datap = module_._malloc(data.byteLength);
|
|
40
40
|
module_.HEAPU8.set(data, datap);
|
|
41
|
-
module_.ccall("ige256_encrypt", "void", ["pointer", "pointer", "number", "array", "array"], [datap, out, data.
|
|
41
|
+
module_.ccall("ige256_encrypt", "void", ["pointer", "pointer", "number", "array", "array"], [datap, out, data.byteLength, key, iv]);
|
|
42
42
|
try {
|
|
43
|
-
return module_.HEAPU8.slice(out, out + data.
|
|
43
|
+
return module_.HEAPU8.slice(out, out + data.byteLength);
|
|
44
44
|
}
|
|
45
45
|
finally {
|
|
46
46
|
module_._free(out);
|
|
@@ -57,12 +57,12 @@ exports.ige256Encrypt = ige256Encrypt;
|
|
|
57
57
|
*/
|
|
58
58
|
function ige256Decrypt(data, key, iv) {
|
|
59
59
|
checkIgeParams(data, key, iv);
|
|
60
|
-
const out = module_._malloc(data.
|
|
61
|
-
const datap = module_._malloc(data.
|
|
60
|
+
const out = module_._malloc(data.byteLength);
|
|
61
|
+
const datap = module_._malloc(data.byteLength);
|
|
62
62
|
module_.HEAPU8.set(data, datap);
|
|
63
|
-
module_.ccall("ige256_decrypt", "void", ["pointer", "pointer", "number", "array", "array"], [datap, out, data.
|
|
63
|
+
module_.ccall("ige256_decrypt", "void", ["pointer", "pointer", "number", "array", "array"], [datap, out, data.byteLength, key, iv]);
|
|
64
64
|
try {
|
|
65
|
-
return module_.HEAPU8.slice(out, out + data.
|
|
65
|
+
return module_.HEAPU8.slice(out, out + data.byteLength);
|
|
66
66
|
}
|
|
67
67
|
finally {
|
|
68
68
|
module_._free(out);
|
|
@@ -70,56 +70,74 @@ function ige256Decrypt(data, key, iv) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
exports.ige256Decrypt = ige256Decrypt;
|
|
73
|
-
function checkCtrParams(data, key
|
|
74
|
-
if (data.
|
|
73
|
+
function checkCtrParams(data, key) {
|
|
74
|
+
if (data.byteLength == 0) {
|
|
75
75
|
throw new TypeError("data must not be empty");
|
|
76
76
|
}
|
|
77
|
-
else if (key.
|
|
77
|
+
else if (key.byteLength != 32) {
|
|
78
78
|
throw new TypeError("key must be 32 bytes");
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
}
|
|
81
|
+
function createCtr256State(iv) {
|
|
82
|
+
if (iv.byteLength != 16) {
|
|
81
83
|
throw new TypeError("iv must be 16 bytes");
|
|
82
84
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
const state = {
|
|
86
|
+
ivp: module_._malloc(16),
|
|
87
|
+
statep: module_._malloc(1),
|
|
88
|
+
};
|
|
89
|
+
module_.HEAPU8.set(iv, state.ivp);
|
|
90
|
+
module_.HEAPU8[state.statep] = 0;
|
|
91
|
+
return state;
|
|
92
|
+
}
|
|
93
|
+
exports.createCtr256State = createCtr256State;
|
|
94
|
+
function destroyCtr256State(state) {
|
|
95
|
+
module_._free(state.ivp);
|
|
96
|
+
module_._free(state.statep);
|
|
97
|
+
}
|
|
98
|
+
exports.destroyCtr256State = destroyCtr256State;
|
|
99
|
+
function __getCtr256StateValues(state) {
|
|
100
|
+
return {
|
|
101
|
+
iv: module_.HEAPU8.slice(state.ivp, state.ivp + 16),
|
|
102
|
+
state: module_.HEAPU8.slice(state.statep, state.statep + 1),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
exports.__getCtr256StateValues = __getCtr256StateValues;
|
|
106
|
+
function __settCtr256StateState(state, state_) {
|
|
107
|
+
if (state_.byteLength != 1) {
|
|
108
|
+
throw new Error("state_ must be 1 byte");
|
|
85
109
|
}
|
|
110
|
+
module_.HEAPU8.set(state_, state.statep);
|
|
86
111
|
}
|
|
112
|
+
exports.__settCtr256StateState = __settCtr256StateState;
|
|
87
113
|
/**
|
|
88
114
|
* Performs CTR-256 encryption/decryption.
|
|
89
115
|
*
|
|
90
116
|
* @param data The data, larger than a byte
|
|
91
117
|
* @param key 32-byte encryption key
|
|
92
118
|
* @param iv 16-byte initialization vector
|
|
93
|
-
* @param state
|
|
119
|
+
* @param state Result of `createCtr256State()`
|
|
94
120
|
*/
|
|
95
|
-
function ctr256(data, key,
|
|
96
|
-
checkCtrParams(data, key
|
|
97
|
-
const datap = module_._malloc(data.
|
|
121
|
+
function ctr256(data, key, state) {
|
|
122
|
+
checkCtrParams(data, key);
|
|
123
|
+
const datap = module_._malloc(data.byteLength);
|
|
98
124
|
module_.HEAPU8.set(data, datap);
|
|
99
|
-
|
|
100
|
-
module_.HEAPU8.
|
|
101
|
-
const statep = module_._malloc(state.length);
|
|
102
|
-
module_.HEAPU8.set(state, statep);
|
|
103
|
-
module_.ccall("ctr256", "void", ["pointer", "number", "array", "pointer", "pointer"], [datap, data.length, key, ivp, statep]);
|
|
104
|
-
data.set(module_.HEAPU8.slice(datap, datap + data.length));
|
|
105
|
-
iv.set(module_.HEAPU8.slice(ivp, ivp + iv.length));
|
|
106
|
-
state.set(module_.HEAPU8.slice(statep, statep + state.length));
|
|
125
|
+
module_.ccall("ctr256", "void", ["pointer", "number", "array", "pointer", "pointer"], [datap, data.byteLength, key, state.ivp, state.statep]);
|
|
126
|
+
data.set(module_.HEAPU8.slice(datap, datap + data.byteLength));
|
|
107
127
|
module_._free(datap);
|
|
108
|
-
module_._free(ivp);
|
|
109
|
-
module_._free(statep);
|
|
110
128
|
}
|
|
111
129
|
exports.ctr256 = ctr256;
|
|
112
130
|
function checkCbcParams(data, key, iv) {
|
|
113
|
-
if (data.
|
|
131
|
+
if (data.byteLength == 0) {
|
|
114
132
|
throw new TypeError("data must not be empty");
|
|
115
133
|
}
|
|
116
|
-
else if (data.
|
|
134
|
+
else if (data.byteLength % 16 != 0) {
|
|
117
135
|
throw new TypeError("data must consist of a number of bytes that is divisible by 16");
|
|
118
136
|
}
|
|
119
|
-
else if (key.
|
|
137
|
+
else if (key.byteLength != 32) {
|
|
120
138
|
throw new TypeError("key must be 32 bytes");
|
|
121
139
|
}
|
|
122
|
-
else if (iv.
|
|
140
|
+
else if (iv.byteLength != 16) {
|
|
123
141
|
throw new TypeError("iv must be 16 bytes");
|
|
124
142
|
}
|
|
125
143
|
}
|
|
@@ -132,11 +150,11 @@ function checkCbcParams(data, key, iv) {
|
|
|
132
150
|
*/
|
|
133
151
|
function cbc256Encrypt(data, key, iv) {
|
|
134
152
|
checkCbcParams(data, key, iv);
|
|
135
|
-
const datap = module_._malloc(data.
|
|
153
|
+
const datap = module_._malloc(data.byteLength);
|
|
136
154
|
module_.HEAPU8.set(data, datap);
|
|
137
|
-
module_.ccall("cbc256_encrypt", "void", ["pointer", "number", "array", "array"], [datap, data.
|
|
155
|
+
module_.ccall("cbc256_encrypt", "void", ["pointer", "number", "array", "array"], [datap, data.byteLength, key, iv]);
|
|
138
156
|
try {
|
|
139
|
-
return module_.HEAPU8.slice(datap, datap + data.
|
|
157
|
+
return module_.HEAPU8.slice(datap, datap + data.byteLength);
|
|
140
158
|
}
|
|
141
159
|
finally {
|
|
142
160
|
module_._free(datap);
|
|
@@ -152,11 +170,11 @@ exports.cbc256Encrypt = cbc256Encrypt;
|
|
|
152
170
|
*/
|
|
153
171
|
function cbc256Decrypt(data, key, iv) {
|
|
154
172
|
checkCbcParams(data, key, iv);
|
|
155
|
-
const datap = module_._malloc(data.
|
|
173
|
+
const datap = module_._malloc(data.byteLength);
|
|
156
174
|
module_.HEAPU8.set(data, datap);
|
|
157
|
-
module_.ccall("cbc256_decrypt", "void", ["pointer", "number", "array", "array"], [datap, data.
|
|
175
|
+
module_.ccall("cbc256_decrypt", "void", ["pointer", "number", "array", "array"], [datap, data.byteLength, key, iv]);
|
|
158
176
|
try {
|
|
159
|
-
return module_.HEAPU8.slice(datap, datap + data.
|
|
177
|
+
return module_.HEAPU8.slice(datap, datap + data.byteLength);
|
|
160
178
|
}
|
|
161
179
|
finally {
|
|
162
180
|
module_._free(datap);
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.TLRawWriter = void 0;
|
|
23
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
23
24
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
24
25
|
class TLRawWriter {
|
|
25
26
|
constructor() {
|
|
@@ -34,7 +35,7 @@ class TLRawWriter {
|
|
|
34
35
|
return this._buffer;
|
|
35
36
|
}
|
|
36
37
|
write(buffer) {
|
|
37
|
-
this._buffer = (0,
|
|
38
|
+
this._buffer = (0, _0_deps_js_1.concat)([this._buffer, buffer]);
|
|
38
39
|
return this;
|
|
39
40
|
}
|
|
40
41
|
writeInt24(int, signed = true) {
|
|
@@ -44,11 +44,12 @@ exports.getObfuscationParameters = void 0;
|
|
|
44
44
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
45
45
|
*/
|
|
46
46
|
const dntShim = __importStar(require("../_dnt.shims.js"));
|
|
47
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
47
48
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
48
49
|
async function getObfuscationParameters(protocol, connection) {
|
|
49
50
|
let init;
|
|
50
51
|
while (true) {
|
|
51
|
-
init = (0,
|
|
52
|
+
init = (0, _0_deps_js_1.concat)([dntShim.crypto.getRandomValues(new Uint8Array(56)), (0, _1_utilities_js_1.bufferFromBigInt)(protocol, 4, false), dntShim.crypto.getRandomValues(new Uint8Array(4))]);
|
|
52
53
|
if (init[0] == 0xEF) {
|
|
53
54
|
continue;
|
|
54
55
|
}
|
|
@@ -72,7 +73,7 @@ async function getObfuscationParameters(protocol, connection) {
|
|
|
72
73
|
const decryptKey = initRev.slice(8, 8 + 32);
|
|
73
74
|
const decryptIv = initRev.slice(40, 40 + 16);
|
|
74
75
|
const decryptionCTR = new _1_utilities_js_1.CTR(decryptKey, decryptIv);
|
|
75
|
-
await connection.write((0,
|
|
76
|
+
await connection.write((0, _0_deps_js_1.concat)([init.subarray(0, 56), encryptedInit.subarray(56, 56 + 8)]));
|
|
76
77
|
return { encryptionCTR, decryptionCTR };
|
|
77
78
|
}
|
|
78
79
|
exports.getObfuscationParameters = getObfuscationParameters;
|
|
@@ -29,5 +29,5 @@ export declare abstract class Transport {
|
|
|
29
29
|
abstract initialize(): MaybePromise<void>;
|
|
30
30
|
abstract receive(): MaybePromise<Uint8Array>;
|
|
31
31
|
abstract send(buffer: Uint8Array): MaybePromise<void>;
|
|
32
|
-
|
|
32
|
+
deinitialize(): MaybePromise<void>;
|
|
33
33
|
}
|
|
@@ -39,5 +39,12 @@ class Transport {
|
|
|
39
39
|
this.obfuscationParameters.decryptionCTR.call(buffer);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
deinitialize() {
|
|
43
|
+
if (this.obfuscationParameters) {
|
|
44
|
+
this.obfuscationParameters.encryptionCTR.destroy();
|
|
45
|
+
this.obfuscationParameters.decryptionCTR.destroy();
|
|
46
|
+
this.obfuscationParameters = null;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
42
49
|
}
|
|
43
50
|
exports.Transport = Transport;
|
|
@@ -32,6 +32,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
32
32
|
var _TransportAbridged_initialized, _TransportAbridged_connection, _TransportAbridged_obfuscated;
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
34
|
exports.TransportAbridged = void 0;
|
|
35
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
35
36
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
36
37
|
const _0_obfuscation_js_1 = require("./0_obfuscation.js");
|
|
37
38
|
const _0_transport_js_1 = require("./0_transport.js");
|
|
@@ -88,11 +89,12 @@ class TransportAbridged extends _0_transport_js_1.Transport {
|
|
|
88
89
|
const bufferLength = buffer.length / 4;
|
|
89
90
|
const header = new Uint8Array([bufferLength >= 0x7F ? 0x7F : bufferLength]);
|
|
90
91
|
const length = bufferLength >= 0x7F ? (0, _1_utilities_js_1.bufferFromBigInt)(bufferLength, 3) : new Uint8Array();
|
|
91
|
-
const data = (0,
|
|
92
|
+
const data = (0, _0_deps_js_1.concat)([header, length, buffer]);
|
|
92
93
|
this.encrypt(data);
|
|
93
94
|
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").write(data);
|
|
94
95
|
}
|
|
95
96
|
deinitialize() {
|
|
97
|
+
super.deinitialize();
|
|
96
98
|
__classPrivateFieldSet(this, _TransportAbridged_initialized, false, "f");
|
|
97
99
|
}
|
|
98
100
|
get initialized() {
|
|
@@ -32,6 +32,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
32
32
|
var _TransportIntermediate_connection, _TransportIntermediate_initialized, _TransportIntermediate_obfuscated;
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
34
|
exports.TransportIntermediate = void 0;
|
|
35
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
35
36
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
36
37
|
const _0_obfuscation_js_1 = require("./0_obfuscation.js");
|
|
37
38
|
const _0_transport_js_1 = require("./0_transport.js");
|
|
@@ -77,11 +78,12 @@ class TransportIntermediate extends _0_transport_js_1.Transport {
|
|
|
77
78
|
throw new Error("Transport not initialized");
|
|
78
79
|
}
|
|
79
80
|
const length = (0, _1_utilities_js_1.bufferFromBigInt)(buffer.length, 4);
|
|
80
|
-
const data = (0,
|
|
81
|
+
const data = (0, _0_deps_js_1.concat)([length, buffer]);
|
|
81
82
|
this.encrypt(data);
|
|
82
83
|
await __classPrivateFieldGet(this, _TransportIntermediate_connection, "f").write(data);
|
|
83
84
|
}
|
|
84
85
|
deinitialize() {
|
|
86
|
+
super.deinitialize();
|
|
85
87
|
__classPrivateFieldSet(this, _TransportIntermediate_initialized, false, "f");
|
|
86
88
|
}
|
|
87
89
|
get initialized() {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
|
-
* Source to a file. Can be a file ID, a file path, URL, or a `Uint8Array`, unless otherwise noted.
|
|
21
|
+
* Source to a file. Can be a file ID, a file path, URL, a `Uint8Array`, a potentially async `Uint8Array` iterator, or a readable stream of `Uint8Array`, unless otherwise noted.
|
|
22
22
|
* @unlisted
|
|
23
23
|
*/
|
|
24
|
-
export type FileSource = string | URL | Uint8Array
|
|
24
|
+
export type FileSource = string | URL | Uint8Array | Iterable<Uint8Array> | AsyncIterable<Uint8Array> | ReadableStream<Uint8Array>;
|