@mtkruto/node 0.1.162 → 0.1.183
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 +4 -4
- package/esm/0_deps.js +5 -5
- package/esm/4_constants.d.ts +1 -2
- package/esm/4_constants.js +2 -3
- package/esm/5_client.d.ts +2 -2
- package/esm/5_client.js +2 -2
- package/esm/client/0_client_abstract.d.ts +6 -4
- package/esm/client/0_client_abstract.js +11 -5
- package/esm/client/0_message.d.ts +1 -1
- package/esm/client/0_message.js +3 -6
- package/esm/client/1_client_encrypted.d.ts +34 -0
- package/esm/client/1_client_encrypted.js +237 -0
- package/esm/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
- package/esm/client/{2_client_plain.js → 1_client_plain.js} +4 -1
- package/esm/client/1_composer.d.ts +2 -3
- package/esm/client/1_file_manager.d.ts +4 -2
- package/esm/client/1_file_manager.js +35 -11
- package/esm/client/2_message_manager.d.ts +4 -2
- package/esm/client/2_message_manager.js +31 -16
- package/esm/client/3_chat_list_manager.d.ts +2 -0
- package/esm/client/3_chat_list_manager.js +1 -1
- package/esm/client/4_client.d.ts +131 -94
- package/esm/client/4_client.js +197 -382
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_diff.js +6 -3
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/mod.d.ts +7 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/mod.js +7 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/base64.js +2 -1
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/common.js +8 -8
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize_string.js +2 -2
- package/esm/deps/deno.land/std@0.220.1/path/posix/basename.d.ts +17 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/basename.js +9 -0
- package/esm/deps/deno.land/std@0.220.1/path/posix/dirname.d.ts +14 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/dirname.js +9 -0
- package/esm/deps/deno.land/std@0.220.1/path/posix/extname.d.ts +15 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/extname.js +9 -0
- package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join.js +1 -1
- package/esm/storage/0_storage.d.ts +7 -1
- package/esm/storage/0_storage.js +22 -2
- package/esm/tl/6_message.d.ts +3 -2
- package/esm/tl/6_message.js +1 -1
- package/esm/tl/7_message_container.d.ts +6 -4
- package/esm/tl/7_message_container.js +22 -7
- package/esm/types/0_thumbnail.js +7 -13
- package/esm/types/1_sticker.d.ts +1 -1
- package/esm/types/1_sticker.js +6 -6
- package/esm/types/4_inline_query_result.d.ts +1 -1
- package/esm/types/4_inline_query_result.js +4 -0
- package/esm/utilities/0_bigint.d.ts +1 -0
- package/esm/utilities/0_bigint.js +1 -0
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +5 -5
- package/script/4_constants.d.ts +1 -2
- package/script/4_constants.js +3 -4
- package/script/5_client.d.ts +2 -2
- package/script/5_client.js +2 -2
- package/script/client/0_client_abstract.d.ts +6 -4
- package/script/client/0_client_abstract.js +11 -5
- package/script/client/0_message.d.ts +1 -1
- package/script/client/0_message.js +3 -6
- package/script/client/1_client_encrypted.d.ts +34 -0
- package/script/client/1_client_encrypted.js +241 -0
- package/script/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
- package/script/client/{2_client_plain.js → 1_client_plain.js} +4 -1
- package/script/client/1_composer.d.ts +2 -3
- package/script/client/1_file_manager.d.ts +4 -2
- package/script/client/1_file_manager.js +34 -10
- package/script/client/2_message_manager.d.ts +4 -2
- package/script/client/2_message_manager.js +31 -16
- package/script/client/3_chat_list_manager.d.ts +2 -0
- package/script/client/3_chat_list_manager.js +1 -1
- package/script/client/4_client.d.ts +131 -94
- package/script/client/4_client.js +193 -378
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_diff.js +6 -3
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/mod.d.ts +7 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/mod.js +7 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/base64.js +2 -1
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/common.js +8 -8
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize_string.js +2 -2
- package/script/deps/deno.land/std@0.220.1/path/posix/basename.d.ts +17 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/basename.js +9 -0
- package/script/deps/deno.land/std@0.220.1/path/posix/dirname.d.ts +14 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/dirname.js +9 -0
- package/script/deps/deno.land/std@0.220.1/path/posix/extname.d.ts +15 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/extname.js +9 -0
- package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join.js +1 -1
- package/script/storage/0_storage.d.ts +7 -1
- package/script/storage/0_storage.js +22 -2
- package/script/tl/6_message.d.ts +3 -2
- package/script/tl/6_message.js +1 -1
- package/script/tl/7_message_container.d.ts +6 -4
- package/script/tl/7_message_container.js +20 -5
- package/script/types/0_thumbnail.js +7 -13
- package/script/types/1_sticker.d.ts +1 -1
- package/script/types/1_sticker.js +6 -6
- package/script/types/4_inline_query_result.d.ts +1 -1
- package/script/types/4_inline_query_result.js +4 -0
- package/script/utilities/0_bigint.d.ts +1 -0
- package/script/utilities/0_bigint.js +1 -0
- package/esm/client/5_composer.d.ts +0 -4
- package/esm/client/5_composer.js +0 -3
- package/script/client/5_composer.d.ts +0 -4
- package/script/client/5_composer.js +0 -7
- package/script/deps/deno.land/std@0.218.0/path/posix/basename.d.ts +0 -8
- package/script/deps/deno.land/std@0.218.0/path/posix/dirname.d.ts +0 -5
- package/script/deps/deno.land/std@0.218.0/path/posix/extname.d.ts +0 -6
- package/script/deps/deno.land/std@0.218.0/path/windows/basename.d.ts +0 -8
- package/script/deps/deno.land/std@0.218.0/path/windows/dirname.d.ts +0 -5
- package/script/deps/deno.land/std@0.218.0/path/windows/extname.d.ts +0 -6
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0/path/posix → std@0.220.1/path/windows}/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0/path/posix → std@0.220.1/path/windows}/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0/path/posix → std@0.220.1/path/windows}/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/_os.js +0 -0
- /package/{esm/deps/deno.land/std@0.218.0/path/windows → script/deps/deno.land/std@0.220.1/path}/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/constants.js +0 -0
- /package/{esm/deps/deno.land/std@0.218.0/path/windows → script/deps/deno.land/std@0.220.1/path}/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/dirname.js +0 -0
- /package/{esm/deps/deno.land/std@0.218.0/path/windows → script/deps/deno.land/std@0.220.1/path}/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0/path → std@0.220.1/path/windows}/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0/path → std@0.220.1/path/windows}/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0/path → std@0.220.1/path/windows}/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.218.0 → std@0.220.1}/path/windows/to_namespaced_path.js +0 -0
|
@@ -253,7 +253,8 @@ function diffstr(A, B) {
|
|
|
253
253
|
}
|
|
254
254
|
// Compute multi-line diff
|
|
255
255
|
const diffResult = diff(tokenize(`${unescape(A)}\n`), tokenize(`${unescape(B)}\n`));
|
|
256
|
-
const added = []
|
|
256
|
+
const added = [];
|
|
257
|
+
const removed = [];
|
|
257
258
|
for (const result of diffResult) {
|
|
258
259
|
if (result.type === exports.DiffType.added) {
|
|
259
260
|
added.push(result);
|
|
@@ -267,7 +268,8 @@ function diffstr(A, B) {
|
|
|
267
268
|
const aLines = hasMoreRemovedLines ? added : removed;
|
|
268
269
|
const bLines = hasMoreRemovedLines ? removed : added;
|
|
269
270
|
for (const a of aLines) {
|
|
270
|
-
let tokens = []
|
|
271
|
+
let tokens = [];
|
|
272
|
+
let b;
|
|
271
273
|
// Search another diff line with at least one common token
|
|
272
274
|
while (bLines.length) {
|
|
273
275
|
b = bLines.shift();
|
|
@@ -324,7 +326,8 @@ function createSign(diffType) {
|
|
|
324
326
|
}
|
|
325
327
|
}
|
|
326
328
|
function buildMessage(diffResult, { stringDiff = false } = {}) {
|
|
327
|
-
const messages = []
|
|
329
|
+
const messages = [];
|
|
330
|
+
const diffMessages = [];
|
|
328
331
|
messages.push("");
|
|
329
332
|
messages.push("");
|
|
330
333
|
messages.push(` ${(0, colors_js_1.gray)((0, colors_js_1.bold)("[Diff]"))} ${(0, colors_js_1.red)((0, colors_js_1.bold)("Actual"))} / ${(0, colors_js_1.green)((0, colors_js_1.bold)("Expected"))}`);
|
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
* This module is browser compatible, but do not rely on good formatting of
|
|
6
6
|
* values for AssertionError messages in browsers.
|
|
7
7
|
*
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { assert } from "https://deno.land/std@$STD_VERSION/assert/assert.ts";
|
|
10
|
+
*
|
|
11
|
+
* assert("I am truthy"); // Doesn't throw
|
|
12
|
+
* assert(false); // Throws `AssertionError`
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
8
15
|
* @module
|
|
9
16
|
*/
|
|
10
17
|
export * from "./assert_almost_equals.js";
|
|
@@ -22,6 +22,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
22
22
|
* This module is browser compatible, but do not rely on good formatting of
|
|
23
23
|
* values for AssertionError messages in browsers.
|
|
24
24
|
*
|
|
25
|
+
* ```ts
|
|
26
|
+
* import { assert } from "https://deno.land/std@$STD_VERSION/assert/assert.ts";
|
|
27
|
+
*
|
|
28
|
+
* assert("I am truthy"); // Doesn't throw
|
|
29
|
+
* assert(false); // Throws `AssertionError`
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
25
32
|
* @module
|
|
26
33
|
*/
|
|
27
34
|
__exportStar(require("./assert_almost_equals.js"), exports);
|
|
@@ -94,7 +94,8 @@ const base64abc = [
|
|
|
94
94
|
function encodeBase64(data) {
|
|
95
95
|
// CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
96
96
|
const uint8 = (0, _util_js_1.validateBinaryLike)(data);
|
|
97
|
-
let result = ""
|
|
97
|
+
let result = "";
|
|
98
|
+
let i;
|
|
98
99
|
const l = uint8.length;
|
|
99
100
|
for (i = 2; i < l; i += 3) {
|
|
100
101
|
result += base64abc[(uint8[i - 2]) >> 2];
|
|
@@ -5,23 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports._common = void 0;
|
|
6
6
|
function _common(paths, sep) {
|
|
7
7
|
const [first = "", ...remaining] = paths;
|
|
8
|
-
if (first === "" || remaining.length === 0) {
|
|
9
|
-
return first.substring(0, first.lastIndexOf(sep) + 1);
|
|
10
|
-
}
|
|
11
8
|
const parts = first.split(sep);
|
|
12
9
|
let endOfPrefix = parts.length;
|
|
10
|
+
let append = "";
|
|
13
11
|
for (const path of remaining) {
|
|
14
12
|
const compare = path.split(sep);
|
|
13
|
+
if (compare.length <= endOfPrefix) {
|
|
14
|
+
endOfPrefix = compare.length;
|
|
15
|
+
append = "";
|
|
16
|
+
}
|
|
15
17
|
for (let i = 0; i < endOfPrefix; i++) {
|
|
16
18
|
if (compare[i] !== parts[i]) {
|
|
17
19
|
endOfPrefix = i;
|
|
20
|
+
append = i === 0 ? "" : sep;
|
|
21
|
+
break;
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
|
-
if (endOfPrefix === 0) {
|
|
21
|
-
return "";
|
|
22
|
-
}
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
return prefix.endsWith(sep) ? prefix : `${prefix}${sep}`;
|
|
25
|
+
return parts.slice(0, endOfPrefix).join(sep) + append;
|
|
26
26
|
}
|
|
27
27
|
exports._common = _common;
|
|
@@ -13,8 +13,8 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
|
|
|
13
13
|
let lastSlash = -1;
|
|
14
14
|
let dots = 0;
|
|
15
15
|
let code;
|
|
16
|
-
for (let i = 0
|
|
17
|
-
if (i <
|
|
16
|
+
for (let i = 0; i <= path.length; ++i) {
|
|
17
|
+
if (i < path.length)
|
|
18
18
|
code = path.charCodeAt(i);
|
|
19
19
|
else if (isPathSeparator(code))
|
|
20
20
|
break;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return the last portion of a `path`.
|
|
3
|
+
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
|
|
8
|
+
*
|
|
9
|
+
* console.log(basename("/home/user/Documents/")); // "Documents"
|
|
10
|
+
* console.log(basename("/home/user/Documents/image.png")); // "image.png"
|
|
11
|
+
* console.log(basename("/home/user/Documents/image.png", ".png")); // "image"
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @param path - path to extract the name from.
|
|
15
|
+
* @param [suffix] - suffix to remove from extracted name.
|
|
16
|
+
*/
|
|
17
|
+
export declare function basename(path: string, suffix?: string): string;
|
|
@@ -10,6 +10,15 @@ const _util_js_1 = require("./_util.js");
|
|
|
10
10
|
* Return the last portion of a `path`.
|
|
11
11
|
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
12
12
|
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
|
|
16
|
+
*
|
|
17
|
+
* console.log(basename("/home/user/Documents/")); // "Documents"
|
|
18
|
+
* console.log(basename("/home/user/Documents/image.png")); // "image.png"
|
|
19
|
+
* console.log(basename("/home/user/Documents/image.png", ".png")); // "image"
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
13
22
|
* @param path - path to extract the name from.
|
|
14
23
|
* @param [suffix] - suffix to remove from extracted name.
|
|
15
24
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return the directory path of a `path`.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { dirname } from "https://deno.land/std@$STD_VERSION/path/dirname.ts";
|
|
7
|
+
*
|
|
8
|
+
* console.log(dirname("/home/user/Documents/")); // "/home/user"
|
|
9
|
+
* console.log(dirname("/home/user/Documents/image.png")); // "/home/user/Documents"
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* @param path - path to extract the directory from.
|
|
13
|
+
*/
|
|
14
|
+
export declare function dirname(path: string): string;
|
|
@@ -8,6 +8,15 @@ const strip_trailing_separators_js_1 = require("../_common/strip_trailing_separa
|
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
9
9
|
/**
|
|
10
10
|
* Return the directory path of a `path`.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { dirname } from "https://deno.land/std@$STD_VERSION/path/dirname.ts";
|
|
15
|
+
*
|
|
16
|
+
* console.log(dirname("/home/user/Documents/")); // "/home/user"
|
|
17
|
+
* console.log(dirname("/home/user/Documents/image.png")); // "/home/user/Documents"
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
11
20
|
* @param path - path to extract the directory from.
|
|
12
21
|
*/
|
|
13
22
|
function dirname(path) {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return the extension of the `path` with leading period.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { extname } from "https://deno.land/std@$STD_VERSION/path/extname.ts";
|
|
7
|
+
*
|
|
8
|
+
* console.log(extname("/home/user/Documents/")); // ""
|
|
9
|
+
* console.log(extname("/home/user/Documents/image.png")); // ".png"
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* @param path with extension
|
|
13
|
+
* @returns extension (ex. for `file.ts` returns `.ts`)
|
|
14
|
+
*/
|
|
15
|
+
export declare function extname(path: string): string;
|
|
@@ -8,6 +8,15 @@ const assert_path_js_1 = require("../_common/assert_path.js");
|
|
|
8
8
|
const _util_js_1 = require("./_util.js");
|
|
9
9
|
/**
|
|
10
10
|
* Return the extension of the `path` with leading period.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { extname } from "https://deno.land/std@$STD_VERSION/path/extname.ts";
|
|
15
|
+
*
|
|
16
|
+
* console.log(extname("/home/user/Documents/")); // ""
|
|
17
|
+
* console.log(extname("/home/user/Documents/image.png")); // ".png"
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
11
20
|
* @param path with extension
|
|
12
21
|
* @returns extension (ex. for `file.ts` returns `.ts`)
|
|
13
22
|
*/
|
|
@@ -13,7 +13,7 @@ function join(...paths) {
|
|
|
13
13
|
if (paths.length === 0)
|
|
14
14
|
return ".";
|
|
15
15
|
let joined;
|
|
16
|
-
for (let i = 0
|
|
16
|
+
for (let i = 0; i < paths.length; ++i) {
|
|
17
17
|
const path = paths[i];
|
|
18
18
|
(0, assert_path_js_1.assertPath)(path);
|
|
19
19
|
if (path.length > 0) {
|
|
@@ -2,6 +2,10 @@ import { MaybePromise } from "../1_utilities.js";
|
|
|
2
2
|
import { AnyEntity, enums, ReadObject, TLObject, types } from "../2_tl.js";
|
|
3
3
|
import { DC } from "../3_transport.js";
|
|
4
4
|
export declare const K: {
|
|
5
|
+
connection: {
|
|
6
|
+
P: (string: string) => string;
|
|
7
|
+
apiId: () => StorageKeyPart[];
|
|
8
|
+
};
|
|
5
9
|
session: {
|
|
6
10
|
P: (string: string) => string;
|
|
7
11
|
serverSalt: () => StorageKeyPart[];
|
|
@@ -75,7 +79,7 @@ export declare abstract class Storage {
|
|
|
75
79
|
getAuthKey(): Promise<Uint8Array | null>;
|
|
76
80
|
setAuthKey(authKey: Uint8Array | null): Promise<void>;
|
|
77
81
|
get authKeyId(): bigint | null;
|
|
78
|
-
exportAuthString(): Promise<string>;
|
|
82
|
+
exportAuthString(apiId_?: number | null): Promise<string>;
|
|
79
83
|
importAuthString(string: string): Promise<void>;
|
|
80
84
|
getChannelAccessHash(id: number): Promise<bigint | null>;
|
|
81
85
|
getUserAccessHash(id: number): Promise<bigint | null>;
|
|
@@ -130,4 +134,6 @@ export declare abstract class Storage {
|
|
|
130
134
|
deletePeers(): Promise<void>;
|
|
131
135
|
deleteUsernames(): Promise<void>;
|
|
132
136
|
clear(): Promise<void>;
|
|
137
|
+
setApiId(apiId: number): Promise<void>;
|
|
138
|
+
getApiId(): Promise<number | null>;
|
|
133
139
|
}
|
|
@@ -17,6 +17,10 @@ const _1_utilities_js_1 = require("../1_utilities.js");
|
|
|
17
17
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
18
18
|
// key parts
|
|
19
19
|
exports.K = {
|
|
20
|
+
connection: {
|
|
21
|
+
P: (string) => `connection.${string}`,
|
|
22
|
+
apiId: () => [exports.K.connection.P("apiId")],
|
|
23
|
+
},
|
|
20
24
|
session: {
|
|
21
25
|
P: (string) => `session.${string}`,
|
|
22
26
|
serverSalt: () => [exports.K.session.P("serverSalt")],
|
|
@@ -92,14 +96,20 @@ class Storage {
|
|
|
92
96
|
get authKeyId() {
|
|
93
97
|
return __classPrivateFieldGet(this, _Storage_authKeyId, "f");
|
|
94
98
|
}
|
|
95
|
-
async exportAuthString() {
|
|
96
|
-
|
|
99
|
+
async exportAuthString(apiId_) {
|
|
100
|
+
if (typeof apiId_ === "number") {
|
|
101
|
+
await this.setApiId(apiId_);
|
|
102
|
+
}
|
|
103
|
+
const [dc, authKey, apiId] = await Promise.all([this.getDc(), this.getAuthKey(), this.getApiId()]);
|
|
97
104
|
if (dc == null || authKey == null) {
|
|
98
105
|
throw new Error("Not authorized");
|
|
99
106
|
}
|
|
100
107
|
const writer = new _2_tl_js_1.TLWriter();
|
|
101
108
|
writer.writeString(dc);
|
|
102
109
|
writer.writeBytes(authKey);
|
|
110
|
+
if (apiId) {
|
|
111
|
+
writer.writeInt32(apiId);
|
|
112
|
+
}
|
|
103
113
|
const data = (0, _1_utilities_js_1.rleEncode)(writer.buffer);
|
|
104
114
|
return (0, _1_utilities_js_1.base64EncodeUrlSafe)(data);
|
|
105
115
|
}
|
|
@@ -108,6 +118,10 @@ class Storage {
|
|
|
108
118
|
const reader = new _2_tl_js_1.TLReader(data);
|
|
109
119
|
const dc = reader.readString();
|
|
110
120
|
const authKey = reader.readBytes();
|
|
121
|
+
if (reader.buffer.length) {
|
|
122
|
+
const apiId = reader.readInt32();
|
|
123
|
+
await this.setApiId(apiId);
|
|
124
|
+
}
|
|
111
125
|
await this.setDc(dc);
|
|
112
126
|
await this.setAuthKey(authKey);
|
|
113
127
|
}
|
|
@@ -411,6 +425,12 @@ class Storage {
|
|
|
411
425
|
this.deleteUsernames(),
|
|
412
426
|
]);
|
|
413
427
|
}
|
|
428
|
+
async setApiId(apiId) {
|
|
429
|
+
await this.set(exports.K.connection.apiId(), apiId);
|
|
430
|
+
}
|
|
431
|
+
async getApiId() {
|
|
432
|
+
return await this.get(exports.K.connection.apiId());
|
|
433
|
+
}
|
|
414
434
|
}
|
|
415
435
|
exports.Storage = Storage;
|
|
416
436
|
_Storage_authKeyId = new WeakMap(), _Storage_accountType = new WeakMap(), _Storage_instances = new WeakSet(), _Storage_resetAuthKeyId = async function _Storage_resetAuthKeyId(authKey) {
|
package/script/tl/6_message.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { serialize } from "./1_tl_object.js";
|
|
1
2
|
import { ReadObject, TLReader } from "./3_tl_reader.js";
|
|
2
3
|
import { RPCResult } from "./4_rpc_result.js";
|
|
3
|
-
export declare function calculateLength(object: ReadObject): number;
|
|
4
|
+
export declare function calculateLength(object: Message_ | ReadObject): number;
|
|
4
5
|
export declare class Message_ {
|
|
5
6
|
readonly id: bigint;
|
|
6
7
|
readonly seqNo: number;
|
|
7
8
|
readonly body: ReadObject | RPCResult;
|
|
8
9
|
constructor(id: bigint, seqNo: number, body: ReadObject | RPCResult);
|
|
9
|
-
serialize(): Uint8Array;
|
|
10
|
+
[serialize](): Uint8Array;
|
|
10
11
|
static deserialize(reader: TLReader): Message_;
|
|
11
12
|
}
|
package/script/tl/6_message.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { id, name } from "./1_tl_object.js";
|
|
1
|
+
import { id, name, serialize } from "./1_tl_object.js";
|
|
2
2
|
import { Message_ } from "./6_message.js";
|
|
3
3
|
export declare class MessageContainer {
|
|
4
|
+
readonly id: bigint;
|
|
5
|
+
readonly seqNo: number;
|
|
4
6
|
messages: Message_[];
|
|
5
7
|
static get [id](): number;
|
|
6
8
|
get [name](): string;
|
|
7
|
-
constructor(messages: Message_[]);
|
|
8
|
-
serialize(): Uint8Array;
|
|
9
|
-
static deserialize(buffer: Uint8Array):
|
|
9
|
+
constructor(id: bigint, seqNo: number, messages: Message_[]);
|
|
10
|
+
[serialize](): Uint8Array;
|
|
11
|
+
static deserialize(buffer: Uint8Array): Message_[];
|
|
10
12
|
}
|
|
@@ -12,7 +12,19 @@ class MessageContainer {
|
|
|
12
12
|
get [_1_tl_object_js_1.name]() {
|
|
13
13
|
return "msg_container";
|
|
14
14
|
}
|
|
15
|
-
constructor(messages) {
|
|
15
|
+
constructor(id, seqNo, messages) {
|
|
16
|
+
Object.defineProperty(this, "id", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: id
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(this, "seqNo", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
value: seqNo
|
|
27
|
+
});
|
|
16
28
|
Object.defineProperty(this, "messages", {
|
|
17
29
|
enumerable: true,
|
|
18
30
|
configurable: true,
|
|
@@ -20,12 +32,15 @@ class MessageContainer {
|
|
|
20
32
|
value: messages
|
|
21
33
|
});
|
|
22
34
|
}
|
|
23
|
-
serialize() {
|
|
35
|
+
[_1_tl_object_js_1.serialize]() {
|
|
24
36
|
const writer = new _4_tl_writer_js_1.TLWriter();
|
|
25
|
-
writer.
|
|
37
|
+
writer.writeInt64(this.id);
|
|
38
|
+
writer.writeInt32(this.seqNo);
|
|
39
|
+
writer.writeInt32(8 + this.messages.map(_6_message_js_1.calculateLength).reduce((a, b) => a + b));
|
|
40
|
+
writer.writeInt32(MessageContainer[_1_tl_object_js_1.id], false);
|
|
26
41
|
writer.writeInt32(this.messages.length);
|
|
27
42
|
for (const message of this.messages) {
|
|
28
|
-
writer.write(message.serialize());
|
|
43
|
+
writer.write(message[_1_tl_object_js_1.serialize]());
|
|
29
44
|
}
|
|
30
45
|
return writer.buffer;
|
|
31
46
|
}
|
|
@@ -36,7 +51,7 @@ class MessageContainer {
|
|
|
36
51
|
for (let i = 0; i < length; i++) {
|
|
37
52
|
messages.push(_6_message_js_1.Message_.deserialize(reader));
|
|
38
53
|
}
|
|
39
|
-
return
|
|
54
|
+
return messages;
|
|
40
55
|
}
|
|
41
56
|
}
|
|
42
57
|
exports.MessageContainer = MessageContainer;
|
|
@@ -4,20 +4,14 @@ exports.constructThumbnail = void 0;
|
|
|
4
4
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
5
5
|
const _0__file_id_js_1 = require("./0__file_id.js");
|
|
6
6
|
function constructThumbnail(size, file) {
|
|
7
|
+
const type = file instanceof _2_tl_js_1.types.Photo ? _0__file_id_js_1.FileType.Photo : _0__file_id_js_1.FileType.Thumbnail;
|
|
7
8
|
const fileType = file instanceof _2_tl_js_1.types.Photo ? _0__file_id_js_1.FileType.Photo : _0__file_id_js_1.FileType.Document;
|
|
8
|
-
const fileId_ =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
: {
|
|
16
|
-
type: _0__file_id_js_1.FileType.Photo,
|
|
17
|
-
dcId: file.dc_id,
|
|
18
|
-
fileReference: file.file_reference,
|
|
19
|
-
location: { type: "common", id: file.id, accessHash: file.access_hash },
|
|
20
|
-
};
|
|
9
|
+
const fileId_ = {
|
|
10
|
+
type,
|
|
11
|
+
dcId: file.dc_id,
|
|
12
|
+
fileReference: file.file_reference,
|
|
13
|
+
location: { type: "photo", id: file.id, accessHash: file.access_hash, source: { type: _0__file_id_js_1.PhotoSourceType.Thumbnail, fileType, thumbnailType: size.type.charCodeAt(0) } },
|
|
14
|
+
};
|
|
21
15
|
return {
|
|
22
16
|
fileId: (0, _0__file_id_js_1.serializeFileId)(fileId_),
|
|
23
17
|
fileUniqueId: (0, _0__file_id_js_1.toUniqueFileId)(fileId_),
|
|
@@ -37,4 +37,4 @@ export interface Sticker {
|
|
|
37
37
|
}
|
|
38
38
|
/** @unlisted */
|
|
39
39
|
export type StickerSetNameGetter = (inputStickerSet: types.InputStickerSetID) => MaybePromise<string>;
|
|
40
|
-
export declare function constructSticker(document: types.Document, fileId: string, fileUniqueId: string, getStickerSetName: StickerSetNameGetter): Promise<Sticker>;
|
|
40
|
+
export declare function constructSticker(document: types.Document, fileId: string, fileUniqueId: string, getStickerSetName: StickerSetNameGetter, customEmojiId?: string): Promise<Sticker>;
|
|
@@ -5,27 +5,27 @@ const _1_utilities_js_1 = require("../1_utilities.js");
|
|
|
5
5
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
6
6
|
const _0_mask_position_js_1 = require("./0_mask_position.js");
|
|
7
7
|
const _0_thumbnail_js_1 = require("./0_thumbnail.js");
|
|
8
|
-
async function constructSticker(document, fileId, fileUniqueId, getStickerSetName) {
|
|
8
|
+
async function constructSticker(document, fileId, fileUniqueId, getStickerSetName, customEmojiId = "") {
|
|
9
9
|
const stickerAttribute = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeSticker);
|
|
10
10
|
const imageSizeAttribute = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeImageSize);
|
|
11
|
+
const customEmojiAttribute = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeCustomEmoji);
|
|
11
12
|
const videoAttribute = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
|
|
12
13
|
const setName = stickerAttribute.stickerset instanceof _2_tl_js_1.types.InputStickerSetID ? await getStickerSetName(stickerAttribute.stickerset) : undefined;
|
|
13
14
|
return (0, _1_utilities_js_1.cleanObject)({
|
|
14
15
|
fileId,
|
|
15
16
|
fileUniqueId,
|
|
16
|
-
|
|
17
|
-
type: stickerAttribute.mask ? "mask" : "regular",
|
|
17
|
+
type: customEmojiAttribute ? "customEmoji" : stickerAttribute.mask ? "mask" : "regular",
|
|
18
18
|
width: imageSizeAttribute ? imageSizeAttribute.w : videoAttribute ? videoAttribute.w : 512,
|
|
19
19
|
height: imageSizeAttribute ? imageSizeAttribute.h : videoAttribute ? videoAttribute.h : 512,
|
|
20
20
|
isAnimated: document.mime_type == "application/x-tgsticker",
|
|
21
21
|
isVideo: document.mime_type == "video/webm",
|
|
22
22
|
thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof _2_tl_js_1.types.PhotoSize ? (0, _0_thumbnail_js_1.constructThumbnail)(v, document) : null).filter((v) => v) : [],
|
|
23
|
-
emoji: stickerAttribute.alt || undefined,
|
|
23
|
+
emoji: (customEmojiAttribute ? customEmojiAttribute.alt : stickerAttribute.alt) || undefined,
|
|
24
24
|
setName,
|
|
25
25
|
premiumAnimation: undefined,
|
|
26
26
|
maskPosition: stickerAttribute.mask_coords ? (0, _0_mask_position_js_1.constructMaskPosition)(stickerAttribute.mask_coords) : undefined,
|
|
27
|
-
customEmojiId: undefined,
|
|
28
|
-
needsRepainting: undefined,
|
|
27
|
+
customEmojiId: customEmojiAttribute ? customEmojiId : undefined,
|
|
28
|
+
needsRepainting: customEmojiAttribute ? Boolean(customEmojiAttribute.text_color) : undefined,
|
|
29
29
|
fileSize: Number(document.size),
|
|
30
30
|
});
|
|
31
31
|
}
|
|
@@ -29,7 +29,7 @@ export interface _InlineQueryResultThumbnailCommon {
|
|
|
29
29
|
thumbnailHeight?: string;
|
|
30
30
|
}
|
|
31
31
|
/** @unlisted */
|
|
32
|
-
export interface InlineQueryResultArticle extends _InlineQueryResultBase {
|
|
32
|
+
export interface InlineQueryResultArticle extends _InlineQueryResultBase, _InlineQueryResultThumbnailCommon {
|
|
33
33
|
type: "article";
|
|
34
34
|
title: string;
|
|
35
35
|
inputMessageContent: InputMessageContent;
|
|
@@ -198,6 +198,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
198
198
|
type,
|
|
199
199
|
title,
|
|
200
200
|
description,
|
|
201
|
+
thumb: thumb == null ? undefined : thumb,
|
|
201
202
|
send_message: new _2_tl_js_1.types.InputBotInlineMessageMediaGeo({
|
|
202
203
|
geo_point: new _2_tl_js_1.types.InputGeoPoint({
|
|
203
204
|
lat: result_.latitude,
|
|
@@ -217,6 +218,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
217
218
|
type,
|
|
218
219
|
title,
|
|
219
220
|
description,
|
|
221
|
+
thumb: thumb == null ? undefined : thumb,
|
|
220
222
|
send_message: new _2_tl_js_1.types.InputBotInlineMessageGame({
|
|
221
223
|
reply_markup: replyMarkup,
|
|
222
224
|
}),
|
|
@@ -256,6 +258,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
256
258
|
type,
|
|
257
259
|
title,
|
|
258
260
|
description,
|
|
261
|
+
thumb: thumb == null ? undefined : thumb,
|
|
259
262
|
send_message: sendMessage,
|
|
260
263
|
});
|
|
261
264
|
}
|
|
@@ -268,6 +271,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
268
271
|
type,
|
|
269
272
|
title,
|
|
270
273
|
description,
|
|
274
|
+
thumb: thumb == null ? undefined : thumb,
|
|
271
275
|
send_message: new _2_tl_js_1.types.InputBotInlineMessageMediaVenue({
|
|
272
276
|
geo_point: new _2_tl_js_1.types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
|
|
273
277
|
address: result_.address,
|
|
@@ -3,4 +3,5 @@ export declare function mod(n: bigint, m: bigint): bigint;
|
|
|
3
3
|
export declare function mod(n: number, m: number): number;
|
|
4
4
|
export declare function bigIntFromBuffer(buffer: Uint8Array, little?: boolean, signed?: boolean): bigint;
|
|
5
5
|
export declare function getRandomBigInt(byteLength: number, little?: boolean, signed?: boolean): bigint;
|
|
6
|
+
/** Get a random ID. Useful when calling API functions directly. */
|
|
6
7
|
export declare function getRandomId(): bigint;
|
|
@@ -67,6 +67,7 @@ function getRandomBigInt(byteLength, little, signed) {
|
|
|
67
67
|
return bigIntFromBuffer(randomBytes, little, signed);
|
|
68
68
|
}
|
|
69
69
|
exports.getRandomBigInt = getRandomBigInt;
|
|
70
|
+
/** Get a random ID. Useful when calling API functions directly. */
|
|
70
71
|
function getRandomId() {
|
|
71
72
|
return getRandomBigInt(8, true, true);
|
|
72
73
|
}
|
package/esm/client/5_composer.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return the last portion of a `path`.
|
|
3
|
-
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
4
|
-
*
|
|
5
|
-
* @param path - path to extract the name from.
|
|
6
|
-
* @param [suffix] - suffix to remove from extracted name.
|
|
7
|
-
*/
|
|
8
|
-
export declare function basename(path: string, suffix?: string): string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return the last portion of a `path`.
|
|
3
|
-
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
4
|
-
*
|
|
5
|
-
* @param path - path to extract the name from.
|
|
6
|
-
* @param [suffix] - suffix to remove from extracted name.
|
|
7
|
-
*/
|
|
8
|
-
export declare function basename(path: string, suffix?: string): string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|