Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update dependencies #10115

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
337 changes: 117 additions & 220 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resolver = "2"
Inflector = "0.11.4"
allocator-api2 = "0.2.18"
ansi_term = "0.12.1"
anyhow = "1.0.81"
anyhow = "1.0.96"
arbitrary = "1"
arrayvec = "0.7.4"
ascii = "1.1.0"
Expand All @@ -35,6 +35,7 @@ resolver = "2"
changesets = "0.2.2"
chili = "=0.2.0"
chrono = "0.4.38"
clap = "4.5.31"
codspeed-criterion-compat = "2.6.0"
compact_str = "0.7.1"
console_error_panic_hook = "0.1.7"
Expand Down Expand Up @@ -77,9 +78,9 @@ resolver = "2"
petgraph = "0.6.0"
phf = "0.11.2"
pretty_assertions = "1.3"
proc-macro2 = "1.0.24"
proc-macro2 = "1.0.93"
ptr_meta = "0.3.0"
quote = "1.0.7"
quote = "1.0.38"
radix_fmt = "1.0.0"
rand = "0.8.5"
rayon = "1.7.0"
Expand All @@ -90,15 +91,15 @@ resolver = "2"
ryu-js = "1.0.0"
scoped-tls = "1.0.1"
semver = "1.0.20"
serde = "1.0.197"
serde = "1.0.218"
serde-wasm-bindgen = "0.4.5"
serde_derive = "1.0.197"
serde_json = "1.0.115"
serde_json = "1.0.139"
sha1 = "0.10.6"
sha2 = "0.10.8"
shrink-to-fit = "0.2.1"
siphasher = "0.3.9"
smallvec = "1.8.0"
smallvec = "1.14.0"
smartstring = "1.0.1"
smol_str = "0.2.0"
sourcemap = "9.0.0"
Expand All @@ -110,7 +111,7 @@ resolver = "2"
thiserror = "1.0.30"
tokio = { version = "1", default-features = false }
toml = "0.8.2"
tracing = "0.1.40"
tracing = "0.1.41"
tracing-chrome = "0.5.0"
tracing-futures = "0.2.5"
tracing-subscriber = "0.3.18"
Expand Down
2 changes: 1 addition & 1 deletion crates/dbg-swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tempfile = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }

clap = { version = "3", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }

swc_atoms = { version = "5.0.0", path = "../swc_atoms" }
Expand Down
6 changes: 3 additions & 3 deletions crates/dbg-swc/src/es/minifier/reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{
};

use anyhow::{Context, Result};
use clap::{ArgEnum, Args};
use clap::{Args, ValueEnum};
use rayon::prelude::*;
use sha1::{Digest, Sha1};
use swc_common::{SourceMap, GLOBALS};
Expand Down Expand Up @@ -45,7 +45,7 @@ pub struct ReduceCommand {
///
/// In 'semantics' mode, this command tries to reduce the input file to a
/// minimal reproduction case which triggers the bug.
#[clap(long, arg_enum)]
#[clap(long, value_enum)]
pub mode: ReduceMode,

/// If true, the input file will be removed after the reduction. This can be
Expand All @@ -54,7 +54,7 @@ pub struct ReduceCommand {
pub remove: bool,
}

#[derive(Debug, Clone, Copy, ArgEnum)]
#[derive(Debug, Clone, Copy, ValueEnum)]
pub enum ReduceMode {
Size,
Semantics,
Expand Down
4 changes: 2 additions & 2 deletions crates/dbg-swc/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{env, path::PathBuf, str::FromStr, sync::Arc};

use anyhow::{bail, Result};
use clap::{StructOpt, Subcommand};
use clap::{Parser, Subcommand};
use es::EsCommand;
use swc_common::{
errors::{ColorConfig, HANDLER},
Expand All @@ -21,7 +21,7 @@ const CREDUCE_INPUT_ENV_VAR: &str = "CREDUCE_INPUT";

const CREDUCE_MODE_ENV_VAR: &str = "CREDUCE_COMPARE";

#[derive(Debug, clap::Parser)]
#[derive(Debug, Parser)]
struct AppArgs {
#[clap(subcommand)]
cmd: Cmd,
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_cli_impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ plugin = [

[dependencies]
anyhow = { workspace = true }
clap = { version = "3.2.25", features = ["derive", "wrap_help"] }
clap = { workspace = true, features = ["derive", "wrap_help"] }
glob = { workspace = true }
path-absolutize = { workspace = true, features = ["once_cell_cache"] }
rayon = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions crates/swc_cli_impl/src/commands/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ use std::{
};

use anyhow::{Context, Result};
use clap::{ArgEnum, Parser, Subcommand};
use clap::{Parser, Subcommand, ValueEnum};
use swc_core::diagnostics::get_core_engine_diagnostics;

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug, ArgEnum)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug, ValueEnum)]
pub enum PluginTargetType {
/// wasm32-unknown-unknown target.
Wasm32UnknownUnknown,
Expand All @@ -30,7 +30,7 @@ pub struct PluginScaffoldOptions {
///
/// "wasm32-unknown-unknown" will makes those calls as no-op, instead
/// generates slightly smaller binaries.
#[clap(long, arg_enum)]
#[clap(long, value_enum)]
pub target_type: PluginTargetType,

pub path: PathBuf,
Expand Down
2 changes: 1 addition & 1 deletion tools/generate-code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
[dependencies]
Inflector = { workspace = true }
anyhow = { workspace = true }
clap = { version = "4.5.9", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
proc-macro2 = { workspace = true }
quote = { workspace = true }
swc_cached = { version = "2.0.0", path = "../../crates/swc_cached" }
Expand Down
2 changes: 1 addition & 1 deletion tools/swc-releaser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ version = "0.1.0"
anyhow = { workspace = true }
cargo_metadata = { workspace = true }
changesets = { workspace = true }
clap = { version = "4.5.9", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
indexmap = { workspace = true }
petgraph = { workspace = true }
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.1.0"
anyhow = { workspace = true }
cargo_metadata = { workspace = true }
chrono = { workspace = true }
clap = { version = "4.4.6", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
semver = { workspace = true }
serde = { workspace = true }
serde_derive = { workspace = true }
Expand Down
Loading