diff --git a/Cargo.lock b/Cargo.lock index 9f3451bdc7..430836c34f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,6 +72,46 @@ dependencies = [ "winapi", ] +[[package]] +name = "anstream" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-wincon", + "concolor-override", + "concolor-query", + "is-terminal", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" + +[[package]] +name = "anstyle-parse" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-wincon" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" +dependencies = [ + "anstyle", + "windows-sys 0.45.0", +] + [[package]] name = "arbitrary" version = "1.3.0" @@ -318,7 +358,7 @@ dependencies = [ "boa_ast", "boa_engine", "boa_parser", - "clap 4.1.14", + "clap 4.2.0", "colored", "jemallocator", "phf", @@ -471,7 +511,7 @@ dependencies = [ "bitflags 2.0.2", "boa_engine", "boa_gc", - "clap 4.1.14", + "clap 4.2.0", "color-eyre", "colored", "comfy-table", @@ -681,9 +721,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "906f7fe1da4185b7a282b2bc90172a496f9def1aca4545fe7526810741591e14" +checksum = "6efb5f0a41b5ef5b50c5da28c07609c20091df0c1fc33d418fa2a7e693c2b624" dependencies = [ "clap_builder", "clap_derive", @@ -692,22 +732,22 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "351f9ad9688141ed83dfd8f5fb998a06225ef444b48ff4dc43de6d409b7fd10b" +checksum = "671fcaa5debda4b9a84aa7fde49c907c8986c0e6ab927e04217c9cb74e7c8bc9" dependencies = [ + "anstream", + "anstyle", "bitflags 1.3.2", "clap_lex 0.4.0", - "is-terminal", "strsim 0.10.0", - "termcolor", ] [[package]] name = "clap_derive" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d7dc0031c3a59a04fc2ba395c8e2dd463cba1859275f065d225f6122221b45" +checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" dependencies = [ "heck", "proc-macro2", @@ -807,6 +847,21 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "concolor-override" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" + +[[package]] +name = "concolor-query" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" +dependencies = [ + "windows-sys 0.45.0", +] + [[package]] name = "concurrent-queue" version = "2.1.0" diff --git a/boa_cli/Cargo.toml b/boa_cli/Cargo.toml index d405ca6ba4..ffede07691 100644 --- a/boa_cli/Cargo.toml +++ b/boa_cli/Cargo.toml @@ -16,7 +16,7 @@ boa_engine = { workspace = true, features = ["deser", "console", "flowgraph", "t boa_ast = { workspace = true, features = ["serde"]} boa_parser.workspace = true rustyline = { version = "11.0.0", features = ["derive"]} -clap = { version = "4.1.14", features = ["derive"] } +clap = { version = "4.2.0", features = ["derive"] } serde_json = "1.0.95" colored = "2.0.0" regex = "1.7.3" diff --git a/boa_tester/Cargo.toml b/boa_tester/Cargo.toml index 7c99e23936..3ad26465b2 100644 --- a/boa_tester/Cargo.toml +++ b/boa_tester/Cargo.toml @@ -14,7 +14,7 @@ rust-version.workspace = true [dependencies] boa_engine.workspace = true boa_gc.workspace = true -clap = { version = "4.1.14", features = ["derive"] } +clap = { version = "4.2.0", features = ["derive"] } serde = { version = "1.0.159", features = ["derive"] } serde_yaml = "0.9.19" serde_json = "1.0.95"