@mtkruto/node 0.2.51 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +3 -3
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +3 -3
- package/esm/client/0_params.d.ts +3 -1
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_storage_operations.d.ts +8 -0
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +22 -13
- package/esm/client/0_utilities.d.ts +5 -0
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +33 -1
- package/esm/client/1_types.d.ts +3 -3
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +11 -10
- package/esm/client/2_update_manager.d.ts +2 -2
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +100 -14
- package/esm/client/3_message_manager.d.ts +2 -2
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +66 -31
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +2 -1
- package/esm/client/4_chat_list_manager.js +11 -11
- package/esm/client/5_client.d.ts +6 -6
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +49 -18
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/almost_equals.d.ts +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/almost_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/almost_equals.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/array_includes.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/array_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/array_includes.js +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/equal.d.ts +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equal.js +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.js +5 -5
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/exists.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/exists.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/fail.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/fail.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/fail.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/false.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/false.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/greater_or_equal.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater_or_equal.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/instance_of.d.ts +3 -3
- package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/is_error.d.ts +2 -2
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/is_error.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/less.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/less_or_equal.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less_or_equal.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/match.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/not_instance_of.d.ts +2 -2
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/not_strict_equals.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_strict_equals.js +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.d.ts +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/rejects.d.ts +3 -3
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/rejects.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/rejects.js +2 -3
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/strict_equals.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/strict_equals.js +6 -6
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/string_includes.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/string_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/string_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.d.ts +3 -3
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.js +2 -3
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/unreachable.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unreachable.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{0.224.0 → 1.0.2}/concat.d.ts +3 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/{0.224.0 → 1.0.2}/concat.js +3 -2
- package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/internal/1.0.3 → esm/deps/jsr.io/@std/internal/1.0.4}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts.map +1 -1
- package/esm/tl/3_utilities.js +2 -2
- package/esm/types/0_id.d.ts +1 -1
- package/esm/types/1_bot_command_scope.js +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +3 -3
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +3 -3
- package/script/client/0_params.d.ts +3 -1
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_storage_operations.d.ts +8 -0
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +21 -12
- package/script/client/0_utilities.d.ts +5 -0
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +37 -1
- package/script/client/1_types.d.ts +3 -3
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +11 -10
- package/script/client/2_update_manager.d.ts +2 -2
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +100 -14
- package/script/client/3_message_manager.d.ts +2 -2
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +74 -39
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +2 -1
- package/script/client/4_chat_list_manager.js +10 -10
- package/script/client/5_client.d.ts +6 -6
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +47 -16
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/almost_equals.d.ts +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/almost_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/almost_equals.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/array_includes.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/array_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/array_includes.js +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assert.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/assertion_error.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/equal.d.ts +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equal.js +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/equals.js +5 -5
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/exists.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/exists.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/fail.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/fail.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/fail.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/false.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/false.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/greater_or_equal.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/greater_or_equal.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/instance_of.d.ts +3 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/is_error.d.ts +2 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/is_error.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/less.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/less_or_equal.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/less_or_equal.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/match.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/match.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/mod.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_equals.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/not_instance_of.d.ts +2 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_match.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/not_strict_equals.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/not_strict_equals.js +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.d.ts +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/object_match.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/rejects.d.ts +3 -3
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/rejects.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/rejects.js +2 -3
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/strict_equals.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/strict_equals.js +6 -6
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/string_includes.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/string_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/string_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.d.ts +3 -3
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/throws.js +2 -3
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unimplemented.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.5 → script/deps/jsr.io/@std/assert/1.0.6}/unreachable.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.5 → 1.0.6}/unreachable.js +1 -1
- package/script/deps/jsr.io/@std/bytes/{0.224.0 → 1.0.2}/concat.d.ts +3 -2
- package/script/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/{0.224.0 → 1.0.2}/concat.js +3 -2
- package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/internal/1.0.3 → script/deps/jsr.io/@std/internal/1.0.4}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts.map +1 -1
- package/script/tl/3_utilities.js +2 -2
- package/script/types/0_id.d.ts +1 -1
- package/script/types/1_bot_command_scope.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.5/instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.5/is_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.5/not_instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/0.224.0/concat.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.5/instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.5/is_error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.5/not_instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/0.224.0/concat.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/build_message.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.3 → 1.0.4}/types.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/iterate_reader.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.js +0 -0
package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/false.d.ts
RENAMED
|
@@ -4,7 +4,7 @@ export type Falsy = false | 0 | 0n | "" | null | undefined;
|
|
|
4
4
|
* Make an assertion, error will be thrown if `expr` have truthy value.
|
|
5
5
|
*
|
|
6
6
|
* @example Usage
|
|
7
|
-
* ```ts
|
|
7
|
+
* ```ts ignore
|
|
8
8
|
* import { assertFalse } from "@std/assert";
|
|
9
9
|
*
|
|
10
10
|
* assertFalse(false); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"false.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"false.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/false.ts"],"names":[],"mappings":"AAIA,uDAAuD;AACvD,MAAM,MAAM,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3D;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,IAAI,KAAK,CAI1E"}
|
|
@@ -5,7 +5,7 @@ import { AssertionError } from "./assertion_error.js";
|
|
|
5
5
|
* Make an assertion, error will be thrown if `expr` have truthy value.
|
|
6
6
|
*
|
|
7
7
|
* @example Usage
|
|
8
|
-
* ```ts
|
|
8
|
+
* ```ts ignore
|
|
9
9
|
* import { assertFalse } from "@std/assert";
|
|
10
10
|
*
|
|
11
11
|
* assertFalse(false); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greater.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"greater.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/greater.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMpE"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { format } from "../../internal/1.0.
|
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
4
4
|
import { AssertionError } from "./assertion_error.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `actual` is greater than `expected`.
|
|
7
7
|
* If not then throw.
|
|
8
8
|
*
|
|
9
9
|
* @example Usage
|
|
10
|
-
* ```ts
|
|
10
|
+
* ```ts ignore
|
|
11
11
|
* import { assertGreater } from "@std/assert";
|
|
12
12
|
*
|
|
13
13
|
* assertGreater(2, 1); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { format } from "../../internal/1.0.
|
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
4
4
|
import { AssertionError } from "./assertion_error.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `actual` is greater than or equal to `expected`.
|
|
7
7
|
* If not then throw.
|
|
8
8
|
*
|
|
9
9
|
* @example Usage
|
|
10
|
-
* ```ts
|
|
10
|
+
* ```ts ignore
|
|
11
11
|
* import { assertGreaterOrEqual } from "@std/assert";
|
|
12
12
|
*
|
|
13
13
|
* assertGreaterOrEqual(2, 1); // Doesn't throw
|
package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/instance_of.d.ts
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** Any constructor */
|
|
2
2
|
export type AnyConstructor = new (...args: any[]) => any;
|
|
3
3
|
/** Gets constructor type */
|
|
4
|
-
export type GetConstructorType<T extends AnyConstructor> = T
|
|
4
|
+
export type GetConstructorType<T extends AnyConstructor> = InstanceType<T>;
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `obj` is an instance of `type`.
|
|
7
7
|
* If not then throw.
|
|
8
8
|
*
|
|
9
9
|
* @example Usage
|
|
10
|
-
* ```ts
|
|
10
|
+
* ```ts ignore
|
|
11
11
|
* import { assertInstanceOf } from "@std/assert";
|
|
12
12
|
*
|
|
13
13
|
* assertInstanceOf(new Date(), Date); // Doesn't throw
|
|
@@ -19,5 +19,5 @@ export type GetConstructorType<T extends AnyConstructor> = T extends new (...arg
|
|
|
19
19
|
* @param expectedType The expected class constructor.
|
|
20
20
|
* @param msg The optional message to display if the assertion fails.
|
|
21
21
|
*/
|
|
22
|
-
export declare function assertInstanceOf<T extends
|
|
22
|
+
export declare function assertInstanceOf<T extends abstract new (...args: any[]) => any>(actual: unknown, expectedType: T, msg?: string): asserts actual is InstanceType<T>;
|
|
23
23
|
//# sourceMappingURL=instance_of.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/instance_of.ts"],"names":[],"mappings":"AAIA,sBAAsB;AAEtB,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AACzD,4BAA4B;AAC5B,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAE9B,CAAC,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAE9C,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,CAAC,EACf,GAAG,SAAK,GACP,OAAO,CAAC,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,CA6BnC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* error message can also be asserted.
|
|
6
6
|
*
|
|
7
7
|
* @example Usage
|
|
8
|
-
* ```ts
|
|
8
|
+
* ```ts ignore
|
|
9
9
|
* import { assertIsError } from "@std/assert";
|
|
10
10
|
*
|
|
11
11
|
* assertIsError(null); // Throws
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* @param msgMatches The optional string or RegExp to assert in the error message.
|
|
22
22
|
* @param msg The optional message to display if the assertion fails.
|
|
23
23
|
*/
|
|
24
|
-
export declare function assertIsError<E extends Error = Error>(error: unknown, ErrorClass?: new (...args: any[]) => E, msgMatches?: string | RegExp, msg?: string): asserts error is E;
|
|
24
|
+
export declare function assertIsError<E extends Error = Error>(error: unknown, ErrorClass?: abstract new (...args: any[]) => E, msgMatches?: string | RegExp, msg?: string): asserts error is E;
|
|
25
25
|
//# sourceMappingURL=is_error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/is_error.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,KAAK,EAAE,OAAO,EAEd,UAAU,CAAC,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAC5B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,KAAK,IAAI,CAAC,CA8BpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { AssertionError } from "./assertion_error.js";
|
|
4
|
-
import { stripAnsiCode } from "../../internal/1.0.
|
|
4
|
+
import { stripAnsiCode } from "../../internal/1.0.4/styles.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `error` is an `Error`.
|
|
7
7
|
* If not then an error will be thrown.
|
|
@@ -9,7 +9,7 @@ import { stripAnsiCode } from "../../internal/1.0.3/styles.js";
|
|
|
9
9
|
* error message can also be asserted.
|
|
10
10
|
*
|
|
11
11
|
* @example Usage
|
|
12
|
-
* ```ts
|
|
12
|
+
* ```ts ignore
|
|
13
13
|
* import { assertIsError } from "@std/assert";
|
|
14
14
|
*
|
|
15
15
|
* assertIsError(null); // Throws
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"less.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"less.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/less.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMjE"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { format } from "../../internal/1.0.
|
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
4
4
|
import { AssertionError } from "./assertion_error.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `actual` is less than `expected`.
|
|
7
7
|
* If not then throw.
|
|
8
8
|
*
|
|
9
9
|
* @example Usage
|
|
10
|
-
* ```ts
|
|
10
|
+
* ```ts ignore
|
|
11
11
|
* import { assertLess } from "@std/assert";
|
|
12
12
|
*
|
|
13
13
|
* assertLess(1, 2); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/less_or_equal.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { format } from "../../internal/1.0.
|
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
4
4
|
import { AssertionError } from "./assertion_error.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `actual` is less than or equal to `expected`.
|
|
7
7
|
* If not then throw.
|
|
8
8
|
*
|
|
9
9
|
* @example Usage
|
|
10
|
-
* ```ts
|
|
10
|
+
* ```ts ignore
|
|
11
11
|
* import { assertLessOrEqual } from "@std/assert";
|
|
12
12
|
*
|
|
13
13
|
* assertLessOrEqual(1, 2); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/not_equals.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAUtE"}
|
|
@@ -9,7 +9,7 @@ import { AssertionError } from "./assertion_error.js";
|
|
|
9
9
|
* Type parameter can be specified to ensure values under comparison have the same type.
|
|
10
10
|
*
|
|
11
11
|
* @example Usage
|
|
12
|
-
* ```ts
|
|
12
|
+
* ```ts ignore
|
|
13
13
|
* import { assertNotEquals } from "@std/assert";
|
|
14
14
|
*
|
|
15
15
|
* assertNotEquals(1, 2); // Doesn't throw
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* If so, then throw.
|
|
4
4
|
*
|
|
5
5
|
* @example Usage
|
|
6
|
-
* ```ts
|
|
6
|
+
* ```ts ignore
|
|
7
7
|
* import { assertNotInstanceOf } from "@std/assert";
|
|
8
8
|
*
|
|
9
9
|
* assertNotInstanceOf(new Date(), Number); // Doesn't throw
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
* @param unexpectedType The class constructor to check against.
|
|
17
17
|
* @param msg The optional message to display if the assertion fails.
|
|
18
18
|
*/
|
|
19
|
-
export declare function assertNotInstanceOf<A, T>(actual: A, unexpectedType: new (...args: any[]) => T, msg?: string): asserts actual is Exclude<A, T>;
|
|
19
|
+
export declare function assertNotInstanceOf<A, T>(actual: A, unexpectedType: abstract new (...args: any[]) => T, msg?: string): asserts actual is Exclude<A, T>;
|
|
20
20
|
//# sourceMappingURL=not_instance_of.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"not_instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/not_instance_of.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,CAAC,EAET,cAAc,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAClD,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAKjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/not_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAYb"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { AssertionError } from "./assertion_error.js";
|
|
4
|
-
import { format } from "../../internal/1.0.
|
|
4
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
5
5
|
/**
|
|
6
6
|
* Make an assertion that `actual` and `expected` are not strictly equal, using
|
|
7
7
|
* {@linkcode Object.is} for equality comparison. If the values are strictly
|
|
8
8
|
* equal then throw.
|
|
9
9
|
*
|
|
10
10
|
* @example Usage
|
|
11
|
-
* ```ts
|
|
11
|
+
* ```ts ignore
|
|
12
12
|
* import { assertNotStrictEquals } from "@std/assert";
|
|
13
13
|
*
|
|
14
14
|
* assertNotStrictEquals(1, 1); // Throws
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* deeply. If not, then throw.
|
|
4
4
|
*
|
|
5
5
|
* @example Usage
|
|
6
|
-
* ```ts
|
|
6
|
+
* ```ts ignore
|
|
7
7
|
* import { assertObjectMatch } from "@std/assert";
|
|
8
8
|
*
|
|
9
9
|
* assertObjectMatch({ foo: "bar" }, { foo: "bar" }); // Doesn't throw
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
15
15
|
* @example Usage with nested objects
|
|
16
|
-
* ```ts
|
|
16
|
+
* ```ts ignore
|
|
17
17
|
* import { assertObjectMatch } from "@std/assert";
|
|
18
18
|
*
|
|
19
19
|
* assertObjectMatch({ foo: { bar: 3, baz: 4 } }, { foo: { bar: 3 } }); // Doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/object_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAE/B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACtC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAUN"}
|
|
@@ -6,7 +6,7 @@ import { assertEquals } from "./equals.js";
|
|
|
6
6
|
* deeply. If not, then throw.
|
|
7
7
|
*
|
|
8
8
|
* @example Usage
|
|
9
|
-
* ```ts
|
|
9
|
+
* ```ts ignore
|
|
10
10
|
* import { assertObjectMatch } from "@std/assert";
|
|
11
11
|
*
|
|
12
12
|
* assertObjectMatch({ foo: "bar" }, { foo: "bar" }); // Doesn't throw
|
|
@@ -16,7 +16,7 @@ import { assertEquals } from "./equals.js";
|
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* @example Usage with nested objects
|
|
19
|
-
* ```ts
|
|
19
|
+
* ```ts ignore
|
|
20
20
|
* import { assertObjectMatch } from "@std/assert";
|
|
21
21
|
*
|
|
22
22
|
* assertObjectMatch({ foo: { bar: 3, baz: 4 } }, { foo: { bar: 3 } }); // Doesn't throw
|
package/{script/deps/jsr.io/@std/assert/1.0.5 → esm/deps/jsr.io/@std/assert/1.0.6}/rejects.d.ts
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* To assert that a synchronous function throws, use {@linkcode assertThrows}.
|
|
5
5
|
*
|
|
6
6
|
* @example Usage
|
|
7
|
-
* ```ts
|
|
7
|
+
* ```ts ignore
|
|
8
8
|
* import { assertRejects } from "@std/assert";
|
|
9
9
|
*
|
|
10
10
|
* await assertRejects(async () => Promise.reject(new Error())); // Doesn't throw
|
|
@@ -24,7 +24,7 @@ export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: stri
|
|
|
24
24
|
* To assert that a synchronous function throws, use {@linkcode assertThrows}.
|
|
25
25
|
*
|
|
26
26
|
* @example Usage
|
|
27
|
-
* ```ts
|
|
27
|
+
* ```ts ignore
|
|
28
28
|
* import { assertRejects } from "@std/assert";
|
|
29
29
|
*
|
|
30
30
|
* await assertRejects(async () => Promise.reject(new Error()), Error); // Doesn't throw
|
|
@@ -38,5 +38,5 @@ export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: stri
|
|
|
38
38
|
* @param msg The optional message to display if the assertion fails.
|
|
39
39
|
* @returns The promise which resolves to the thrown error.
|
|
40
40
|
*/
|
|
41
|
-
export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
|
|
41
|
+
export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
|
|
42
42
|
//# sourceMappingURL=rejects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/rejects.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAAC;AACpB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAE9B,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -4,14 +4,13 @@ import { AssertionError } from "./assertion_error.js";
|
|
|
4
4
|
import { assertIsError } from "./is_error.js";
|
|
5
5
|
export async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
|
6
6
|
// deno-lint-ignore no-explicit-any
|
|
7
|
-
let ErrorClass
|
|
8
|
-
let msgIncludes
|
|
7
|
+
let ErrorClass;
|
|
8
|
+
let msgIncludes;
|
|
9
9
|
let err;
|
|
10
10
|
if (typeof errorClassOrMsg !== "string") {
|
|
11
11
|
if (errorClassOrMsg === undefined ||
|
|
12
12
|
errorClassOrMsg.prototype instanceof Error ||
|
|
13
13
|
errorClassOrMsg.prototype === Error.prototype) {
|
|
14
|
-
// deno-lint-ignore no-explicit-any
|
|
15
14
|
ErrorClass = errorClassOrMsg;
|
|
16
15
|
msgIncludes = msgIncludesOrMsg;
|
|
17
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/strict_equals.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,CAAC,CA+BrB"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { buildMessage } from "../../internal/1.0.
|
|
4
|
-
import { diff } from "../../internal/1.0.
|
|
5
|
-
import { diffStr } from "../../internal/1.0.
|
|
6
|
-
import { format } from "../../internal/1.0.
|
|
7
|
-
import { red } from "../../internal/1.0.
|
|
3
|
+
import { buildMessage } from "../../internal/1.0.4/build_message.js";
|
|
4
|
+
import { diff } from "../../internal/1.0.4/diff.js";
|
|
5
|
+
import { diffStr } from "../../internal/1.0.4/diff_str.js";
|
|
6
|
+
import { format } from "../../internal/1.0.4/format.js";
|
|
7
|
+
import { red } from "../../internal/1.0.4/styles.js";
|
|
8
8
|
import { AssertionError } from "./assertion_error.js";
|
|
9
9
|
/**
|
|
10
10
|
* Make an assertion that `actual` and `expected` are strictly equal, using
|
|
11
11
|
* {@linkcode Object.is} for equality comparison. If not, then throw.
|
|
12
12
|
*
|
|
13
13
|
* @example Usage
|
|
14
|
-
* ```ts
|
|
14
|
+
* ```ts ignore
|
|
15
15
|
* import { assertStrictEquals } from "@std/assert";
|
|
16
16
|
*
|
|
17
17
|
* const a = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/string_includes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* {@linkcode assertRejects}.
|
|
7
7
|
*
|
|
8
8
|
* @example Usage
|
|
9
|
-
* ```ts
|
|
9
|
+
* ```ts ignore
|
|
10
10
|
* import { assertThrows } from "@std/assert";
|
|
11
11
|
*
|
|
12
12
|
* assertThrows(() => { throw new TypeError("hello world!"); }); // Doesn't throw
|
|
@@ -27,7 +27,7 @@ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
|
|
|
27
27
|
* {@linkcode assertRejects}.
|
|
28
28
|
*
|
|
29
29
|
* @example Usage
|
|
30
|
-
* ```ts
|
|
30
|
+
* ```ts ignore
|
|
31
31
|
* import { assertThrows } from "@std/assert";
|
|
32
32
|
*
|
|
33
33
|
* assertThrows(() => { throw new TypeError("hello world!"); }, TypeError); // Doesn't throw
|
|
@@ -41,5 +41,5 @@ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
|
|
|
41
41
|
* @param msg The optional message to display if the assertion fails.
|
|
42
42
|
* @returns The error that was thrown.
|
|
43
43
|
*/
|
|
44
|
-
export declare function assertThrows<E extends Error = Error>(fn: () => unknown, ErrorClass: new (...args: any[]) => E, msgIncludes?: string, msg?: string): E;
|
|
44
|
+
export declare function assertThrows<E extends Error = Error>(fn: () => unknown, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): E;
|
|
45
45
|
//# sourceMappingURL=throws.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/throws.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAC1B,EAAE,EAAE,MAAM,OAAO,EACjB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC;AACX;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAClD,EAAE,EAAE,MAAM,OAAO,EAEjB,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,CAAC,CAAC"}
|
|
@@ -4,14 +4,13 @@ import { assertIsError } from "./is_error.js";
|
|
|
4
4
|
import { AssertionError } from "./assertion_error.js";
|
|
5
5
|
export function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
|
|
6
6
|
// deno-lint-ignore no-explicit-any
|
|
7
|
-
let ErrorClass
|
|
8
|
-
let msgIncludes
|
|
7
|
+
let ErrorClass;
|
|
8
|
+
let msgIncludes;
|
|
9
9
|
let err;
|
|
10
10
|
if (typeof errorClassOrMsg !== "string") {
|
|
11
11
|
if (errorClassOrMsg === undefined ||
|
|
12
12
|
errorClassOrMsg?.prototype instanceof Error ||
|
|
13
13
|
errorClassOrMsg?.prototype === Error.prototype) {
|
|
14
|
-
// deno-lint-ignore no-explicit-any
|
|
15
14
|
ErrorClass = errorClassOrMsg;
|
|
16
15
|
msgIncludes = msgIncludesOrMsg;
|
|
17
16
|
}
|