Skip to content
Merged
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
194 changes: 140 additions & 54 deletions deps/swc/Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions deps/swc/bindings/binding_core_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ swc_core = { path = "../../crates/swc_core", features = [
"ecma_visit",
"base_node",
"base_concurrent",
"base_flow",
"base_module",
] }
swc_malloc = { path = "../../crates/swc_malloc" }
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_core_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = { workspace = true }
name = "binding_core_wasm"
publish = false
repository = { workspace = true }
version = "1.15.18"
version = "1.15.21"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_es_ast_viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = { workspace = true }
name = "binding_es_ast_viewer"
publish = false
repository = { workspace = true }
version = "1.15.18"
version = "1.15.21"

[dependencies]
anyhow = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_html_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = { workspace = true }
name = "binding_html_wasm"
publish = false
repository = { workspace = true }
version = "1.15.18"
version = "1.15.21"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_minifier_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = { workspace = true }
name = "binding_minifier_wasm"
publish = false
repository = { workspace = true }
version = "1.15.18"
version = "1.15.21"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_typescript_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = { workspace = true }
name = "binding_typescript_wasm"
publish = false
repository = { workspace = true }
version = "1.15.18"
version = "1.15.21"

[lib]
bench = false
Expand Down
4 changes: 2 additions & 2 deletions deps/swc/bindings/swc_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = { workspace = true }
name = "swc_cli"
repository = { workspace = true }
version = "0.103.7"
version = "0.104.4"

[[bin]]
bench = false
Expand All @@ -20,4 +20,4 @@ plugin = ["swc_cli_impl/plugin"]
[dependencies]
anyhow = { workspace = true }
par-core = { workspace = true, features = ["chili"] }
swc_cli_impl = { version = "58.0.0", path = "../../crates/swc_cli_impl" }
swc_cli_impl = { version = "59.0.0", path = "../../crates/swc_cli_impl" }
6 changes: 3 additions & 3 deletions deps/swc/crates/binding_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "binding_macros"
repository = { workspace = true }
version = "56.0.0"
version = "57.0.0"

[lib]
bench = false
Expand Down Expand Up @@ -33,10 +33,10 @@ binding_wasm = [

[dependencies]
# Common deps for the SWC imports
swc = { optional = true, version = "56.0.0", path = "../swc", default-features = false }
swc = { optional = true, version = "57.0.0", path = "../swc", default-features = false }
swc_common = { optional = true, version = "19.0.0", path = "../swc_common", default-features = false }
swc_ecma_ast = { optional = true, version = "21.0.0", path = "../swc_ecma_ast", default-features = false }
swc_ecma_transforms = { optional = true, version = "48.0.0", path = "../swc_ecma_transforms", default-features = false }
swc_ecma_transforms = { optional = true, version = "49.0.0", path = "../swc_ecma_transforms", default-features = false }
swc_ecma_visit = { optional = true, version = "21.0.0", path = "../swc_ecma_visit", default-features = false }

# Optional deps for the wasm binding macro
Expand Down
11 changes: 7 additions & 4 deletions deps/swc/crates/dbg-swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "dbg-swc"
repository = { workspace = true }
version = "47.0.0"
version = "48.0.0"

[[bin]]
bench = false
Expand All @@ -28,11 +28,14 @@ swc_common = { version = "19.0.0", features = [
], path = "../swc_common" }
swc_ecma_ast = { version = "21.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "24.0.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "46.0.0", path = "../swc_ecma_minifier", features = [
swc_ecma_minifier = { version = "47.0.0", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_parser = { version = "35.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "38.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_parser = { version = "36.0.0", path = "../swc_ecma_parser", features = [
"flow",
] }
swc_ecma_transforms_base = { version = "39.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_typescript = { version = "43.0.0", path = "../swc_ecma_transforms_typescript" }
swc_ecma_visit = { version = "21.0.0", path = "../swc_ecma_visit" }
swc_error_reporters = { version = "21.0.0", path = "../swc_error_reporters" }
swc_timer = { version = "1.0.0", path = "../swc_timer" }
Expand Down
24 changes: 24 additions & 0 deletions deps/swc/crates/dbg-swc/src/es/flow/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
use std::sync::Arc;

use anyhow::Result;
use clap::Subcommand;
use swc_common::SourceMap;

use self::strip::StripCommand;

mod strip;

/// Debug modules related to Flow.
#[derive(Debug, Subcommand)]
pub enum FlowCommand {
/// Verify that Flow syntax is stripped into valid JavaScript.
Strip(StripCommand),
}

impl FlowCommand {
pub fn run(self, cm: Arc<SourceMap>) -> Result<()> {
match self {
Self::Strip(cmd) => cmd.run(cm),
}
}
}
Loading
Loading