structured-outputs 0.1.0-beta.7 → 0.1.0-beta.8
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/_dnt.polyfills.d.ts +19 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/_dnt.polyfills.js +124 -0
- package/esm/_dnt.polyfills.js.map +1 -0
- package/esm/_dnt.shims.d.ts +6 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +62 -0
- package/esm/_dnt.shims.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.d.ts +29 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.js +47 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.d.ts +24 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +47 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assert.d.ts +16 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assert.js +23 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assert.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.js +31 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +17 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.js +137 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts +22 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +46 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/exists.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/exists.js +28 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/exists.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/fail.d.ts +15 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/fail.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/fail.js +21 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/fail.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.js +23 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.d.ts +20 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.d.ts +20 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts +23 -0
- 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.6/instance_of.js +53 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts +25 -0
- 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.6/is_error.js +54 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.d.ts +19 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +29 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.d.ts +20 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.js +27 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/mod.d.ts +44 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/mod.js +46 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/mod.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.d.ts +21 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.js +33 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts +20 -0
- 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.6/not_instance_of.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.js +27 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts +23 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +33 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts +28 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.js +160 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.d.ts +42 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.js +54 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts +24 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +58 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.js +27 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/throws.d.ts +45 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/throws.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/throws.js +45 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/throws.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.d.ts +15 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.js +21 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.js.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.d.ts +15 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.js +21 -0
- package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_data.d.ts +9 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_data.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_data.js +18 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_data.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.d.ts +9 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.js +35 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/_run_length.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/mod.d.ts +18 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/mod.js +19 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/mod.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.d.ts +229 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.js +306 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/parse_args.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.d.ts +28 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.js +87 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/prompt_secret.js.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.d.ts +40 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.js +75 -0
- package/esm/deps/jsr.io/@std/cli/1.0.6/unicode_width.js.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.d.ts +2 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.js +11 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/load.js.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.d.ts +164 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.js +213 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/mod.js.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.d.ts +19 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.js +75 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/parse.js.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.d.ts +17 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.js +45 -0
- package/esm/deps/jsr.io/@std/dotenv/0.225.2/stringify.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.d.ts +14 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.js +35 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.d.ts +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.js +19 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.d.ts +10 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.js +18 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_same_path.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.js +26 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_is_subdir.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.d.ts +9 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.js +14 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/_to_path_string.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/copy.d.ts +117 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/copy.js +315 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/copy.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.d.ts +48 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.js +88 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/empty_dir.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.js +103 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_dir.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.d.ts +47 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.js +91 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_file.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.js +62 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_link.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.js +122 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/eol.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/eol.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/eol.js +67 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/eol.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/exists.d.ts +218 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/exists.js +272 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/exists.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.d.ts +267 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.js +417 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/expand_glob.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/mod.d.ts +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/mod.js +30 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/mod.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/move.d.ts +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/move.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/move.js +142 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/move.js.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/walk.d.ts +777 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/walk.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/walk.js +847 -0
- package/esm/deps/jsr.io/@std/fs/1.0.5/walk.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/build_message.d.ts +82 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/build_message.js +111 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/build_message.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff.d.ts +140 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff.js +277 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff_str.d.ts +99 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff_str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff_str.js +180 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/diff_str.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/format.d.ts +2 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/format.js +38 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/format.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/styles.d.ts +159 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/styles.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/styles.js +208 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/styles.js.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/types.d.ts +16 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/types.js +3 -0
- package/esm/deps/jsr.io/@std/internal/1.0.4/types.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/assert_path.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/assert_path.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/basename.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/basename.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/common.js +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/common.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/constants.js +47 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/constants.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/dirname.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/dirname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/format.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/format.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/from_file_url.js +10 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/from_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/glob_to_reg_exp.js +235 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/glob_to_reg_exp.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize_string.js +78 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/normalize_string.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/relative.js +10 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/relative.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/strip_trailing_separators.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/strip_trailing_separators.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/to_file_url.js +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_common/to_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_os.js +10 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/_os.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/basename.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/basename.js +37 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/basename.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/common.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/common.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/constants.js +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/constants.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/dirname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/dirname.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/dirname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/extname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/extname.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/extname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/format.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/from_file_url.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/from_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/glob_to_regexp.js +84 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/glob_to_regexp.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_absolute.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_absolute.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_glob.js +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/is_glob.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join_globs.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/join_globs.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/mod.d.ts +54 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/mod.js +58 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/mod.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize_glob.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/normalize_glob.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/parse.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/parse.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/_util.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/_util.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/basename.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/basename.js +50 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/basename.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/constants.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/constants.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/dirname.d.ts +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/dirname.js +63 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/dirname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/extname.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/extname.js +90 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/extname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/format.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/format.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/from_file_url.js +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/from_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/glob_to_regexp.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/is_absolute.js +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/is_absolute.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join.d.ts +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join.js +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/join_globs.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize.js +58 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/normalize_glob.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/parse.js +116 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/parse.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/relative.js +107 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/relative.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/resolve.js +60 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/resolve.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_namespaced_path.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/posix/to_namespaced_path.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/relative.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/relative.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/resolve.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/resolve.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_file_url.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_namespaced_path.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/to_namespaced_path.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/types.js +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/types.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/_util.js +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/_util.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/basename.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/basename.js +45 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/basename.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/constants.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/constants.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/dirname.js +113 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/dirname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/extname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/extname.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/extname.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/format.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/format.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/from_file_url.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/from_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/glob_to_regexp.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/is_absolute.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/is_absolute.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join.js +75 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/join_globs.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize.js +135 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/normalize_glob.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/parse.js +177 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/parse.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/relative.js +132 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/relative.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/resolve.js +155 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/resolve.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_file_url.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_file_url.js.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_namespaced_path.js +50 -0
- package/esm/deps/jsr.io/@std/path/1.0.7/windows/to_namespaced_path.js.map +1 -0
- package/esm/main.d.ts +4 -0
- package/esm/main.d.ts.map +1 -0
- package/esm/main.js +80 -0
- package/esm/main.js.map +1 -0
- package/esm/mod.d.ts +1 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -0
- package/esm/mod.js.map +1 -1
- package/esm/util/displayCompletion.d.ts +3 -0
- package/esm/util/displayCompletion.d.ts.map +1 -0
- package/esm/util/displayCompletion.js +9 -0
- package/esm/util/displayCompletion.js.map +1 -0
- package/package.json +7 -2
- package/src/_dnt.polyfills.ts +172 -0
- package/src/_dnt.shims.ts +64 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/almost_equals.ts +55 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/array_includes.ts +57 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/assert.ts +23 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/assertion_error.ts +31 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/equal.ts +152 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/equals.ts +52 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/exists.ts +31 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/fail.ts +21 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/false.ts +26 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/greater.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.ts +36 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/instance_of.ts +64 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/is_error.ts +65 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/less.ts +29 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/less_or_equal.ts +36 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/match.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/mod.ts +47 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/not_equals.ts +36 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/not_instance_of.ts +33 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/not_match.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.ts +42 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/object_match.ts +202 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/rejects.ts +123 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/strict_equals.ts +67 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/string_includes.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/throws.ts +111 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/unimplemented.ts +21 -0
- package/src/deps/jsr.io/@std/assert/1.0.6/unreachable.ts +21 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/_data.js +17 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/_run_length.ts +41 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/mod.ts +20 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/parse_args.ts +776 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/prompt_secret.ts +102 -0
- package/src/deps/jsr.io/@std/cli/1.0.6/unicode_width.ts +79 -0
- package/src/deps/jsr.io/@std/dotenv/0.225.2/load.ts +14 -0
- package/src/deps/jsr.io/@std/dotenv/0.225.2/mod.ts +251 -0
- package/src/deps/jsr.io/@std/dotenv/0.225.2/parse.ts +113 -0
- package/src/deps/jsr.io/@std/dotenv/0.225.2/stringify.ts +47 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/_create_walk_entry.ts +47 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/_get_file_info_type.ts +25 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/_is_same_path.ts +23 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/_is_subdir.ts +34 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/_to_path_string.ts +17 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/copy.ts +413 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/empty_dir.ts +91 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/ensure_dir.ts +110 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/ensure_file.ts +100 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/ensure_link.ts +66 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/ensure_symlink.ts +145 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/eol.ts +74 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/exists.ts +316 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/expand_glob.ts +538 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/mod.ts +31 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/move.ts +171 -0
- package/src/deps/jsr.io/@std/fs/1.0.5/walk.ts +956 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/build_message.ts +134 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/diff.ts +317 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/diff_str.ts +204 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/format.ts +39 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/styles.ts +233 -0
- package/src/deps/jsr.io/@std/internal/1.0.4/types.ts +18 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/assert_path.ts +10 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/basename.ts +53 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/common.ts +26 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/constants.ts +49 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/dirname.ts +9 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/format.ts +25 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/from_file_url.ts +12 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/glob_to_reg_exp.ts +290 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/normalize.ts +9 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/normalize_string.ts +74 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/relative.ts +10 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/strip_trailing_separators.ts +25 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_common/to_file_url.ts +17 -0
- package/src/deps/jsr.io/@std/path/1.0.7/_os.ts +12 -0
- package/src/deps/jsr.io/@std/path/1.0.7/basename.ts +38 -0
- package/src/deps/jsr.io/@std/path/1.0.7/common.ts +35 -0
- package/src/deps/jsr.io/@std/path/1.0.7/constants.ts +18 -0
- package/src/deps/jsr.io/@std/path/1.0.7/dirname.ts +31 -0
- package/src/deps/jsr.io/@std/path/1.0.7/extname.ts +30 -0
- package/src/deps/jsr.io/@std/path/1.0.7/format.ts +30 -0
- package/src/deps/jsr.io/@std/path/1.0.7/from_file_url.ts +30 -0
- package/src/deps/jsr.io/@std/path/1.0.7/glob_to_regexp.ts +94 -0
- package/src/deps/jsr.io/@std/path/1.0.7/is_absolute.ts +30 -0
- package/src/deps/jsr.io/@std/path/1.0.7/is_glob.ts +49 -0
- package/src/deps/jsr.io/@std/path/1.0.7/join.ts +31 -0
- package/src/deps/jsr.io/@std/path/1.0.7/join_globs.ts +42 -0
- package/src/deps/jsr.io/@std/path/1.0.7/mod.ts +58 -0
- package/src/deps/jsr.io/@std/path/1.0.7/normalize.ts +34 -0
- package/src/deps/jsr.io/@std/path/1.0.7/normalize_glob.ts +45 -0
- package/src/deps/jsr.io/@std/path/1.0.7/parse.ts +44 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/_util.ts +10 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/basename.ts +59 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/constants.ts +15 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/dirname.ts +70 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/extname.ts +92 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/format.ts +31 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/from_file_url.ts +25 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/glob_to_regexp.ts +94 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/is_absolute.ts +25 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/join.ts +43 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/join_globs.ts +44 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/normalize.ts +62 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/normalize_glob.ts +42 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/parse.ts +121 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/relative.ts +103 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/resolve.ts +71 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/to_file_url.ts +32 -0
- package/src/deps/jsr.io/@std/path/1.0.7/posix/to_namespaced_path.ts +21 -0
- package/src/deps/jsr.io/@std/path/1.0.7/relative.ts +32 -0
- package/src/deps/jsr.io/@std/path/1.0.7/resolve.ts +32 -0
- package/src/deps/jsr.io/@std/path/1.0.7/to_file_url.ts +30 -0
- package/src/deps/jsr.io/@std/path/1.0.7/to_namespaced_path.ts +31 -0
- package/src/deps/jsr.io/@std/path/1.0.7/types.ts +40 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/_util.ts +28 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/basename.ts +51 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/constants.ts +15 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/dirname.ts +117 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/extname.ts +89 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/format.ts +31 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/from_file_url.ts +34 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/glob_to_regexp.ts +92 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/is_absolute.ts +40 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/join.ts +75 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/join_globs.ts +45 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/normalize.ts +135 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/normalize_glob.ts +42 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/parse.ts +184 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/relative.ts +128 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/resolve.ts +178 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/to_file_url.ts +38 -0
- package/src/deps/jsr.io/@std/path/1.0.7/windows/to_namespaced_path.ts +60 -0
- package/src/main.ts +106 -0
- package/src/mod.ts +2 -0
- package/src/util/displayCompletion.ts +12 -0
@@ -0,0 +1,137 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
function isKeyedCollection(x) {
|
4
|
+
return x instanceof Set || x instanceof Map;
|
5
|
+
}
|
6
|
+
function constructorsEqual(a, b) {
|
7
|
+
return a.constructor === b.constructor ||
|
8
|
+
a.constructor === Object && !b.constructor ||
|
9
|
+
!a.constructor && b.constructor === Object;
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Deep equality comparison used in assertions.
|
13
|
+
*
|
14
|
+
* @param c The actual value
|
15
|
+
* @param d The expected value
|
16
|
+
* @returns `true` if the values are deeply equal, `false` otherwise
|
17
|
+
*
|
18
|
+
* @example Usage
|
19
|
+
* ```ts
|
20
|
+
* import { equal } from "@std/assert/equal";
|
21
|
+
*
|
22
|
+
* equal({ foo: "bar" }, { foo: "bar" }); // Returns `true`
|
23
|
+
* equal({ foo: "bar" }, { foo: "baz" }); // Returns `false
|
24
|
+
* ```
|
25
|
+
*/
|
26
|
+
export function equal(c, d) {
|
27
|
+
const seen = new Map();
|
28
|
+
return (function compare(a, b) {
|
29
|
+
// Have to render RegExp & Date for string comparison
|
30
|
+
// unless it's mistreated as object
|
31
|
+
if (a &&
|
32
|
+
b &&
|
33
|
+
((a instanceof RegExp && b instanceof RegExp) ||
|
34
|
+
(a instanceof URL && b instanceof URL))) {
|
35
|
+
return String(a) === String(b);
|
36
|
+
}
|
37
|
+
if (a instanceof Date && b instanceof Date) {
|
38
|
+
const aTime = a.getTime();
|
39
|
+
const bTime = b.getTime();
|
40
|
+
// Check for NaN equality manually since NaN is not
|
41
|
+
// equal to itself.
|
42
|
+
if (Number.isNaN(aTime) && Number.isNaN(bTime)) {
|
43
|
+
return true;
|
44
|
+
}
|
45
|
+
return aTime === bTime;
|
46
|
+
}
|
47
|
+
if (typeof a === "number" && typeof b === "number") {
|
48
|
+
return Number.isNaN(a) && Number.isNaN(b) || a === b;
|
49
|
+
}
|
50
|
+
if (Object.is(a, b)) {
|
51
|
+
return true;
|
52
|
+
}
|
53
|
+
if (a && typeof a === "object" && b && typeof b === "object") {
|
54
|
+
if (a && b && !constructorsEqual(a, b)) {
|
55
|
+
return false;
|
56
|
+
}
|
57
|
+
if (a instanceof WeakMap || b instanceof WeakMap) {
|
58
|
+
if (!(a instanceof WeakMap && b instanceof WeakMap))
|
59
|
+
return false;
|
60
|
+
throw new TypeError("cannot compare WeakMap instances");
|
61
|
+
}
|
62
|
+
if (a instanceof WeakSet || b instanceof WeakSet) {
|
63
|
+
if (!(a instanceof WeakSet && b instanceof WeakSet))
|
64
|
+
return false;
|
65
|
+
throw new TypeError("cannot compare WeakSet instances");
|
66
|
+
}
|
67
|
+
if (a instanceof WeakRef || b instanceof WeakRef) {
|
68
|
+
if (!(a instanceof WeakRef && b instanceof WeakRef))
|
69
|
+
return false;
|
70
|
+
return compare(a.deref(), b.deref());
|
71
|
+
}
|
72
|
+
if (seen.get(a) === b) {
|
73
|
+
return true;
|
74
|
+
}
|
75
|
+
if (Object.keys(a).length !== Object.keys(b).length) {
|
76
|
+
return false;
|
77
|
+
}
|
78
|
+
seen.set(a, b);
|
79
|
+
if (isKeyedCollection(a) && isKeyedCollection(b)) {
|
80
|
+
if (a.size !== b.size) {
|
81
|
+
return false;
|
82
|
+
}
|
83
|
+
const aKeys = [...a.keys()];
|
84
|
+
const primitiveKeysFastPath = aKeys.every((k) => {
|
85
|
+
return typeof k === "string" ||
|
86
|
+
typeof k === "number" ||
|
87
|
+
typeof k === "boolean" ||
|
88
|
+
typeof k === "bigint" ||
|
89
|
+
typeof k === "symbol" ||
|
90
|
+
k == null;
|
91
|
+
});
|
92
|
+
if (primitiveKeysFastPath) {
|
93
|
+
if (a instanceof Set) {
|
94
|
+
return a.symmetricDifference(b).size === 0;
|
95
|
+
}
|
96
|
+
for (const key of aKeys) {
|
97
|
+
if (!b.has(key) ||
|
98
|
+
!compare(a.get(key), b.get(key))) {
|
99
|
+
return false;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
return true;
|
103
|
+
}
|
104
|
+
let unmatchedEntries = a.size;
|
105
|
+
for (const [aKey, aValue] of a.entries()) {
|
106
|
+
for (const [bKey, bValue] of b.entries()) {
|
107
|
+
/* Given that Map keys can be references, we need
|
108
|
+
* to ensure that they are also deeply equal */
|
109
|
+
if (!compare(aKey, bKey))
|
110
|
+
continue;
|
111
|
+
if ((aKey === aValue && bKey === bValue) ||
|
112
|
+
(compare(aValue, bValue))) {
|
113
|
+
unmatchedEntries--;
|
114
|
+
break;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
return unmatchedEntries === 0;
|
119
|
+
}
|
120
|
+
const merged = { ...a, ...b };
|
121
|
+
for (const key of [
|
122
|
+
...Object.getOwnPropertyNames(merged),
|
123
|
+
...Object.getOwnPropertySymbols(merged),
|
124
|
+
]) {
|
125
|
+
if (!compare(a && a[key], b && b[key])) {
|
126
|
+
return false;
|
127
|
+
}
|
128
|
+
if (((key in a) && (!(key in b))) || ((key in b) && (!(key in a)))) {
|
129
|
+
return false;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
return true;
|
133
|
+
}
|
134
|
+
return false;
|
135
|
+
})(c, d);
|
136
|
+
}
|
137
|
+
//# sourceMappingURL=equal.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"equal.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/equal.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AAGrC,SAAS,iBAAiB,CAAC,CAAU;IACnC,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC;AAC9C,CAAC;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EAAE,CAAC;oBACnE,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACX,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Make an assertion that `actual` and `expected` are equal, deeply. If not
|
3
|
+
* deeply equal, then throw.
|
4
|
+
*
|
5
|
+
* Type parameter can be specified to ensure values under comparison have the
|
6
|
+
* same type.
|
7
|
+
*
|
8
|
+
* @example Usage
|
9
|
+
* ```ts ignore
|
10
|
+
* import { assertEquals } from "@std/assert";
|
11
|
+
*
|
12
|
+
* assertEquals("world", "world"); // Doesn't throw
|
13
|
+
* assertEquals("hello", "world"); // Throws
|
14
|
+
* ```
|
15
|
+
*
|
16
|
+
* @typeParam T The type of the values to compare. This is usually inferred.
|
17
|
+
* @param actual The actual value to compare.
|
18
|
+
* @param expected The expected value to compare.
|
19
|
+
* @param msg The optional message to display if the assertion fails.
|
20
|
+
*/
|
21
|
+
export declare function assertEquals<T>(actual: T, expected: T, msg?: string): void;
|
22
|
+
//# sourceMappingURL=equals.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/equals.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAkBb"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { equal } from "./equal.js";
|
4
|
+
import { buildMessage } from "../../internal/1.0.4/build_message.js";
|
5
|
+
import { diff } from "../../internal/1.0.4/diff.js";
|
6
|
+
import { diffStr } from "../../internal/1.0.4/diff_str.js";
|
7
|
+
import { format } from "../../internal/1.0.4/format.js";
|
8
|
+
import { AssertionError } from "./assertion_error.js";
|
9
|
+
/**
|
10
|
+
* Make an assertion that `actual` and `expected` are equal, deeply. If not
|
11
|
+
* deeply equal, then throw.
|
12
|
+
*
|
13
|
+
* Type parameter can be specified to ensure values under comparison have the
|
14
|
+
* same type.
|
15
|
+
*
|
16
|
+
* @example Usage
|
17
|
+
* ```ts ignore
|
18
|
+
* import { assertEquals } from "@std/assert";
|
19
|
+
*
|
20
|
+
* assertEquals("world", "world"); // Doesn't throw
|
21
|
+
* assertEquals("hello", "world"); // Throws
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* @typeParam T The type of the values to compare. This is usually inferred.
|
25
|
+
* @param actual The actual value to compare.
|
26
|
+
* @param expected The expected value to compare.
|
27
|
+
* @param msg The optional message to display if the assertion fails.
|
28
|
+
*/
|
29
|
+
export function assertEquals(actual, expected, msg) {
|
30
|
+
if (equal(actual, expected)) {
|
31
|
+
return;
|
32
|
+
}
|
33
|
+
const msgSuffix = msg ? `: ${msg}` : ".";
|
34
|
+
let message = `Values are not equal${msgSuffix}`;
|
35
|
+
const actualString = format(actual);
|
36
|
+
const expectedString = format(expected);
|
37
|
+
const stringDiff = (typeof actual === "string") &&
|
38
|
+
(typeof expected === "string");
|
39
|
+
const diffResult = stringDiff
|
40
|
+
? diffStr(actual, expected)
|
41
|
+
: diff(actualString.split("\n"), expectedString.split("\n"));
|
42
|
+
const diffMsg = buildMessage(diffResult, { stringDiff }).join("\n");
|
43
|
+
message = `${message}\n${diffMsg}`;
|
44
|
+
throw new AssertionError(message);
|
45
|
+
}
|
46
|
+
//# sourceMappingURL=equals.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"equals.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/equals.ts"],"names":[],"mappings":"AAAA,0EAA0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AAE,CAAC;IACnC,MAAM,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;AACpC,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Make an assertion that actual is not null or undefined.
|
3
|
+
* If not then throw.
|
4
|
+
*
|
5
|
+
* @example Usage
|
6
|
+
* ```ts ignore
|
7
|
+
* import { assertExists } from "@std/assert";
|
8
|
+
*
|
9
|
+
* assertExists("something"); // Doesn't throw
|
10
|
+
* assertExists(undefined); // Throws
|
11
|
+
* ```
|
12
|
+
*
|
13
|
+
* @typeParam T The type of the actual value.
|
14
|
+
* @param actual The actual value to check.
|
15
|
+
* @param msg The optional message to include in the error if the assertion fails.
|
16
|
+
*/
|
17
|
+
export declare function assertExists<T>(actual: T, msg?: string): asserts actual is NonNullable<T>;
|
18
|
+
//# sourceMappingURL=exists.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/exists.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,WAAW,CAAC,CAAC,CAAC,CAOlC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { AssertionError } from "./assertion_error.js";
|
4
|
+
/**
|
5
|
+
* Make an assertion that actual is not null or undefined.
|
6
|
+
* If not then throw.
|
7
|
+
*
|
8
|
+
* @example Usage
|
9
|
+
* ```ts ignore
|
10
|
+
* import { assertExists } from "@std/assert";
|
11
|
+
*
|
12
|
+
* assertExists("something"); // Doesn't throw
|
13
|
+
* assertExists(undefined); // Throws
|
14
|
+
* ```
|
15
|
+
*
|
16
|
+
* @typeParam T The type of the actual value.
|
17
|
+
* @param actual The actual value to check.
|
18
|
+
* @param msg The optional message to include in the error if the assertion fails.
|
19
|
+
*/
|
20
|
+
export function assertExists(actual, msg) {
|
21
|
+
if (actual === undefined || actual === null) {
|
22
|
+
const msgSuffix = msg ? `: ${msg}` : ".";
|
23
|
+
msg =
|
24
|
+
`Expected actual: "${actual}" to not be null or undefined${msgSuffix}`;
|
25
|
+
throw new AssertionError(msg);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
//# sourceMappingURL=exists.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"exists.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/exists.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,YAAY,CAC1B,MAAS,EACT,GAAY;IAEZ,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QAC5C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;QACzC,GAAG;YACD,qBAAqB,MAAM,gCAAgC,SAAS,EAAE,CAAC;QACzE,MAAM,IAAI,cAAc,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;AACH,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Forcefully throws a failed assertion.
|
3
|
+
*
|
4
|
+
* @example Usage
|
5
|
+
* ```ts ignore
|
6
|
+
* import { fail } from "@std/assert";
|
7
|
+
*
|
8
|
+
* fail("Deliberately failed!"); // Throws
|
9
|
+
* ```
|
10
|
+
*
|
11
|
+
* @param msg Optional message to include in the error.
|
12
|
+
* @returns Never returns, always throws.
|
13
|
+
*/
|
14
|
+
export declare function fail(msg?: string): never;
|
15
|
+
//# sourceMappingURL=fail.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/fail.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAGxC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { AssertionError } from "./assertion_error.js";
|
4
|
+
/**
|
5
|
+
* Forcefully throws a failed assertion.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts ignore
|
9
|
+
* import { fail } from "@std/assert";
|
10
|
+
*
|
11
|
+
* fail("Deliberately failed!"); // Throws
|
12
|
+
* ```
|
13
|
+
*
|
14
|
+
* @param msg Optional message to include in the error.
|
15
|
+
* @returns Never returns, always throws.
|
16
|
+
*/
|
17
|
+
export function fail(msg) {
|
18
|
+
const msgSuffix = msg ? `: ${msg}` : ".";
|
19
|
+
throw new AssertionError(`Failed assertion${msgSuffix}`);
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=fail.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fail.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/fail.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,IAAI,CAAC,GAAY;IAC/B,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;IACzC,MAAM,IAAI,cAAc,CAAC,mBAAmB,SAAS,EAAE,CAAC,CAAC;AAC3D,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/** Assertion condition for {@linkcode assertFalse}. */
|
2
|
+
export type Falsy = false | 0 | 0n | "" | null | undefined;
|
3
|
+
/**
|
4
|
+
* Make an assertion, error will be thrown if `expr` have truthy value.
|
5
|
+
*
|
6
|
+
* @example Usage
|
7
|
+
* ```ts ignore
|
8
|
+
* import { assertFalse } from "@std/assert";
|
9
|
+
*
|
10
|
+
* assertFalse(false); // Doesn't throw
|
11
|
+
* assertFalse(true); // Throws
|
12
|
+
* ```
|
13
|
+
*
|
14
|
+
* @param expr The expression to test.
|
15
|
+
* @param msg The optional message to display if the assertion fails.
|
16
|
+
*/
|
17
|
+
export declare function assertFalse(expr: unknown, msg?: string): asserts expr is Falsy;
|
18
|
+
//# sourceMappingURL=false.d.ts.map
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { AssertionError } from "./assertion_error.js";
|
4
|
+
/**
|
5
|
+
* Make an assertion, error will be thrown if `expr` have truthy value.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts ignore
|
9
|
+
* import { assertFalse } from "@std/assert";
|
10
|
+
*
|
11
|
+
* assertFalse(false); // Doesn't throw
|
12
|
+
* assertFalse(true); // Throws
|
13
|
+
* ```
|
14
|
+
*
|
15
|
+
* @param expr The expression to test.
|
16
|
+
* @param msg The optional message to display if the assertion fails.
|
17
|
+
*/
|
18
|
+
export function assertFalse(expr, msg = "") {
|
19
|
+
if (expr) {
|
20
|
+
throw new AssertionError(msg);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=false.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"false.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/false.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAKtD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,WAAW,CAAC,IAAa,EAAE,GAAG,GAAG,EAAE;IACjD,IAAI,IAAI,EAAE,CAAC;QACT,MAAM,IAAI,cAAc,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;AACH,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Make an assertion that `actual` is greater than `expected`.
|
3
|
+
* If not then throw.
|
4
|
+
*
|
5
|
+
* @example Usage
|
6
|
+
* ```ts ignore
|
7
|
+
* import { assertGreater } from "@std/assert";
|
8
|
+
*
|
9
|
+
* assertGreater(2, 1); // Doesn't throw
|
10
|
+
* assertGreater(1, 1); // Throws
|
11
|
+
* assertGreater(0, 1); // Throws
|
12
|
+
* ```
|
13
|
+
*
|
14
|
+
* @typeParam T The type of the values to compare.
|
15
|
+
* @param actual The actual value to compare.
|
16
|
+
* @param expected The expected value to compare.
|
17
|
+
* @param msg The optional message to display if the assertion fails.
|
18
|
+
*/
|
19
|
+
export declare function assertGreater<T>(actual: T, expected: T, msg?: string): void;
|
20
|
+
//# sourceMappingURL=greater.d.ts.map
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
4
|
+
import { AssertionError } from "./assertion_error.js";
|
5
|
+
/**
|
6
|
+
* Make an assertion that `actual` is greater than `expected`.
|
7
|
+
* If not then throw.
|
8
|
+
*
|
9
|
+
* @example Usage
|
10
|
+
* ```ts ignore
|
11
|
+
* import { assertGreater } from "@std/assert";
|
12
|
+
*
|
13
|
+
* assertGreater(2, 1); // Doesn't throw
|
14
|
+
* assertGreater(1, 1); // Throws
|
15
|
+
* assertGreater(0, 1); // Throws
|
16
|
+
* ```
|
17
|
+
*
|
18
|
+
* @typeParam T The type of the values to compare.
|
19
|
+
* @param actual The actual value to compare.
|
20
|
+
* @param expected The expected value to compare.
|
21
|
+
* @param msg The optional message to display if the assertion fails.
|
22
|
+
*/
|
23
|
+
export function assertGreater(actual, expected, msg) {
|
24
|
+
if (actual > expected)
|
25
|
+
return;
|
26
|
+
const actualString = format(actual);
|
27
|
+
const expectedString = format(expected);
|
28
|
+
throw new AssertionError(msg ?? `Expect ${actualString} > ${expectedString}`);
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=greater.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"greater.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/greater.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,aAAa,CAAI,MAAS,EAAE,QAAW,EAAE,GAAY;IACnE,IAAI,MAAM,GAAG,QAAQ;QAAE,OAAO;IAE9B,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,MAAM,cAAc,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IACxC,MAAM,IAAI,cAAc,CAAC,GAAG,IAAI,UAAU,YAAY,MAAM,cAAc,EAAE,CAAC,CAAC;AAChF,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Make an assertion that `actual` is greater than or equal to `expected`.
|
3
|
+
* If not then throw.
|
4
|
+
*
|
5
|
+
* @example Usage
|
6
|
+
* ```ts ignore
|
7
|
+
* import { assertGreaterOrEqual } from "@std/assert";
|
8
|
+
*
|
9
|
+
* assertGreaterOrEqual(2, 1); // Doesn't throw
|
10
|
+
* assertGreaterOrEqual(1, 1); // Doesn't throw
|
11
|
+
* assertGreaterOrEqual(0, 1); // Throws
|
12
|
+
* ```
|
13
|
+
*
|
14
|
+
* @typeParam T The type of the values to compare.
|
15
|
+
* @param actual The actual value to compare.
|
16
|
+
* @param expected The expected value to compare.
|
17
|
+
* @param msg The optional message to display if the assertion fails.
|
18
|
+
*/
|
19
|
+
export declare function assertGreaterOrEqual<T>(actual: T, expected: T, msg?: string): void;
|
20
|
+
//# sourceMappingURL=greater_or_equal.d.ts.map
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { format } from "../../internal/1.0.4/format.js";
|
4
|
+
import { AssertionError } from "./assertion_error.js";
|
5
|
+
/**
|
6
|
+
* Make an assertion that `actual` is greater than or equal to `expected`.
|
7
|
+
* If not then throw.
|
8
|
+
*
|
9
|
+
* @example Usage
|
10
|
+
* ```ts ignore
|
11
|
+
* import { assertGreaterOrEqual } from "@std/assert";
|
12
|
+
*
|
13
|
+
* assertGreaterOrEqual(2, 1); // Doesn't throw
|
14
|
+
* assertGreaterOrEqual(1, 1); // Doesn't throw
|
15
|
+
* assertGreaterOrEqual(0, 1); // Throws
|
16
|
+
* ```
|
17
|
+
*
|
18
|
+
* @typeParam T The type of the values to compare.
|
19
|
+
* @param actual The actual value to compare.
|
20
|
+
* @param expected The expected value to compare.
|
21
|
+
* @param msg The optional message to display if the assertion fails.
|
22
|
+
*/
|
23
|
+
export function assertGreaterOrEqual(actual, expected, msg) {
|
24
|
+
if (actual >= expected)
|
25
|
+
return;
|
26
|
+
const actualString = format(actual);
|
27
|
+
const expectedString = format(expected);
|
28
|
+
throw new AssertionError(msg ?? `Expect ${actualString} >= ${expectedString}`);
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=greater_or_equal.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"greater_or_equal.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,oBAAoB,CAClC,MAAS,EACT,QAAW,EACX,GAAY;IAEZ,IAAI,MAAM,IAAI,QAAQ;QAAE,OAAO;IAE/B,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,MAAM,cAAc,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IACxC,MAAM,IAAI,cAAc,CACtB,GAAG,IAAI,UAAU,YAAY,OAAO,cAAc,EAAE,CACrD,CAAC;AACJ,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/** Any constructor */
|
2
|
+
export type AnyConstructor = new (...args: any[]) => any;
|
3
|
+
/** Gets constructor type */
|
4
|
+
export type GetConstructorType<T extends AnyConstructor> = InstanceType<T>;
|
5
|
+
/**
|
6
|
+
* Make an assertion that `obj` is an instance of `type`.
|
7
|
+
* If not then throw.
|
8
|
+
*
|
9
|
+
* @example Usage
|
10
|
+
* ```ts ignore
|
11
|
+
* import { assertInstanceOf } from "@std/assert";
|
12
|
+
*
|
13
|
+
* assertInstanceOf(new Date(), Date); // Doesn't throw
|
14
|
+
* assertInstanceOf(new Date(), Number); // Throws
|
15
|
+
* ```
|
16
|
+
*
|
17
|
+
* @typeParam T The expected type of the object.
|
18
|
+
* @param actual The object to check.
|
19
|
+
* @param expectedType The expected class constructor.
|
20
|
+
* @param msg The optional message to display if the assertion fails.
|
21
|
+
*/
|
22
|
+
export declare function assertInstanceOf<T extends abstract new (...args: any[]) => any>(actual: unknown, expectedType: T, msg?: string): asserts actual is InstanceType<T>;
|
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"}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2
|
+
// This module is browser compatible.
|
3
|
+
import { AssertionError } from "./assertion_error.js";
|
4
|
+
/**
|
5
|
+
* Make an assertion that `obj` is an instance of `type`.
|
6
|
+
* If not then throw.
|
7
|
+
*
|
8
|
+
* @example Usage
|
9
|
+
* ```ts ignore
|
10
|
+
* import { assertInstanceOf } from "@std/assert";
|
11
|
+
*
|
12
|
+
* assertInstanceOf(new Date(), Date); // Doesn't throw
|
13
|
+
* assertInstanceOf(new Date(), Number); // Throws
|
14
|
+
* ```
|
15
|
+
*
|
16
|
+
* @typeParam T The expected type of the object.
|
17
|
+
* @param actual The object to check.
|
18
|
+
* @param expectedType The expected class constructor.
|
19
|
+
* @param msg The optional message to display if the assertion fails.
|
20
|
+
*/
|
21
|
+
export function assertInstanceOf(actual, expectedType, msg = "") {
|
22
|
+
if (actual instanceof expectedType)
|
23
|
+
return;
|
24
|
+
const msgSuffix = msg ? `: ${msg}` : ".";
|
25
|
+
const expectedTypeStr = expectedType.name;
|
26
|
+
let actualTypeStr = "";
|
27
|
+
if (actual === null) {
|
28
|
+
actualTypeStr = "null";
|
29
|
+
}
|
30
|
+
else if (actual === undefined) {
|
31
|
+
actualTypeStr = "undefined";
|
32
|
+
}
|
33
|
+
else if (typeof actual === "object") {
|
34
|
+
actualTypeStr = actual.constructor?.name ?? "Object";
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
actualTypeStr = typeof actual;
|
38
|
+
}
|
39
|
+
if (expectedTypeStr === actualTypeStr) {
|
40
|
+
msg =
|
41
|
+
`Expected object to be an instance of "${expectedTypeStr}"${msgSuffix}`;
|
42
|
+
}
|
43
|
+
else if (actualTypeStr === "function") {
|
44
|
+
msg =
|
45
|
+
`Expected object to be an instance of "${expectedTypeStr}" but was not an instanced object${msgSuffix}`;
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
msg =
|
49
|
+
`Expected object to be an instance of "${expectedTypeStr}" but was "${actualTypeStr}"${msgSuffix}`;
|
50
|
+
}
|
51
|
+
throw new AssertionError(msg);
|
52
|
+
}
|
53
|
+
//# sourceMappingURL=instance_of.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"instance_of.js","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.6/instance_of.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAQtD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,gBAAgB,CAI9B,MAAe,EACf,YAAe,EACf,GAAG,GAAG,EAAE;IAER,IAAI,MAAM,YAAY,YAAY;QAAE,OAAO;IAE3C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;IACzC,MAAM,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC;IAE1C,IAAI,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QACpB,aAAa,GAAG,MAAM,CAAC;IACzB,CAAC;SAAM,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QAChC,aAAa,GAAG,WAAW,CAAC;IAC9B,CAAC;SAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QACtC,aAAa,GAAG,MAAM,CAAC,WAAW,EAAE,IAAI,IAAI,QAAQ,CAAC;IACvD,CAAC;SAAM,CAAC;QACN,aAAa,GAAG,OAAO,MAAM,CAAC;IAChC,CAAC;IAED,IAAI,eAAe,KAAK,aAAa,EAAE,CAAC;QACtC,GAAG;YACD,yCAAyC,eAAe,IAAI,SAAS,EAAE,CAAC;IAC5E,CAAC;SAAM,IAAI,aAAa,KAAK,UAAU,EAAE,CAAC;QACxC,GAAG;YACD,yCAAyC,eAAe,oCAAoC,SAAS,EAAE,CAAC;IAC5G,CAAC;SAAM,CAAC;QACN,GAAG;YACD,yCAAyC,eAAe,cAAc,aAAa,IAAI,SAAS,EAAE,CAAC;IACvG,CAAC;IAED,MAAM,IAAI,cAAc,CAAC,GAAG,CAAC,CAAC;AAChC,CAAC"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* Make an assertion that `error` is an `Error`.
|
3
|
+
* If not then an error will be thrown.
|
4
|
+
* An error class and a string that should be included in the
|
5
|
+
* error message can also be asserted.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts ignore
|
9
|
+
* import { assertIsError } from "@std/assert";
|
10
|
+
*
|
11
|
+
* assertIsError(null); // Throws
|
12
|
+
* assertIsError(new RangeError("Out of range")); // Doesn't throw
|
13
|
+
* assertIsError(new RangeError("Out of range"), SyntaxError); // Throws
|
14
|
+
* assertIsError(new RangeError("Out of range"), SyntaxError, "Out of range"); // Doesn't throw
|
15
|
+
* assertIsError(new RangeError("Out of range"), SyntaxError, "Within range"); // Throws
|
16
|
+
* ```
|
17
|
+
*
|
18
|
+
* @typeParam E The type of the error to assert.
|
19
|
+
* @param error The error to assert.
|
20
|
+
* @param ErrorClass The optional error class to assert.
|
21
|
+
* @param msgMatches The optional string or RegExp to assert in the error message.
|
22
|
+
* @param msg The optional message to display if the assertion fails.
|
23
|
+
*/
|
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
|
+
//# 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"}
|