From f6724566ccb1a7dcb5d7b9536e1f3c00bd92e6db Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 29 Mar 2023 18:12:07 +0000
Subject: [PATCH] Bump clap from 4.1.14 to 4.2.0 (#2759)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.14 to 4.2.0.
Release notes
Sourced from clap's releases.
v4.2.0
[4.2.0] - 2023-03-28
Compatibility
- Removed the languishing
unstable-replace
feature (open to discussion at #2836)
- Removed the stablized
unstable-grouped
feature
Features
- Allow any
StyledStr
to accept text styled with ANSI escape codes
- Respect
CLICOLOR
, CLICOLOR_FORCE
Fixes
- Lighten the tone for "unexpected argument" errors (open to discussion at #4638)
Changelog
Sourced from clap's changelog.
[4.2.0] - 2023-03-28
Compatibility
- Removed the languishing
unstable-replace
feature (open to discussion at #2836)
- Removed the stablized
unstable-grouped
feature
Features
- Allow any
StyledStr
to accept text styled with ANSI escape codes
- Respect
CLICOLOR
, CLICOLOR_FORCE
Fixes
- Lighten the tone for "unexpected argument" errors (open to discussion at #4638)
Commits
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=4.1.14&new-version=4.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
---
Cargo.lock | 75 +++++++++++++++++++++++++++++++++++++------
boa_cli/Cargo.toml | 2 +-
boa_tester/Cargo.toml | 2 +-
3 files changed, 67 insertions(+), 12 deletions(-)
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"