diff --git a/CHANGELOG.md b/CHANGELOG.md index 88a07db6458..ea374ce5ab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,12 @@ - **(plugin)** Update `rkyv` to `v0.7.42` (#7397) ([3a0565f](https://github.com/swc-project/swc/commit/3a0565f3778648f2ae57043c8e1bf8c15832b61e)) +### Refactor + + + +- **(plugin/runner)** Revise cache, module loading (#7408) ([ac5ab60](https://github.com/swc-project/swc/commit/ac5ab607c94d418dde0ceb4f303cb7d432551565)) + ### Testing diff --git a/Cargo.lock b/Cargo.lock index ab51f0b8066..afaf5229eb8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,7 +211,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.50.10" +version = "0.50.11" dependencies = [ "anyhow", "console_error_panic_hook", @@ -3400,7 +3400,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.261.10" +version = "0.261.11" dependencies = [ "ahash", "ansi_term", @@ -3585,7 +3585,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.76.13" +version = "0.76.14" dependencies = [ "anyhow", "binding_macros", @@ -4437,7 +4437,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.184.10" +version = "0.184.11" dependencies = [ "ahash", "anyhow", @@ -4622,7 +4622,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.48.10" +version = "0.48.11" dependencies = [ "anyhow", "dashmap", @@ -4701,7 +4701,7 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.95.5" +version = "0.95.6" dependencies = [ "anyhow", "criterion", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 10b69f0c40a..644951d9b10 100644 --- a/crates/binding_macros/Cargo.toml +++ b/crates/binding_macros/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "binding_macros" repository = "https://github.com/swc-project/swc.git" -version = "0.50.10" +version = "0.50.11" [lib] bench = false @@ -33,7 +33,7 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.261.10", path = "../swc" } +swc = { optional = true, version = "0.261.11", path = "../swc" } swc_common = { optional = true, version = "0.31.10", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_transforms = { optional = true, version = "0.218.9", path = "../swc_ecma_transforms" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 3132e1a86de..112bf33af06 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc" repository = "https://github.com/swc-project/swc.git" -version = "0.261.10" +version = "0.261.11" [lib] bench = false @@ -102,7 +102,7 @@ swc_ecma_visit = { version = "0.90.3", path = "../swc_ecma_visit" } swc_error_reporters = { version = "0.15.10", path = "../swc_error_reporters" } swc_node_comments = { version = "0.18.10", path = "../swc_node_comments" } swc_plugin_proxy = { version = "0.33.3", path = "../swc_plugin_proxy", optional = true } -swc_plugin_runner = { version = "0.95.5", path = "../swc_plugin_runner", optional = true, default-features = false } +swc_plugin_runner = { version = "0.95.6", path = "../swc_plugin_runner", optional = true, default-features = false } swc_timer = { version = "0.19.11", path = "../swc_timer" } swc_visit = { version = "0.5.5", path = "../swc_visit" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 2837075013a..a5c577fe1e3 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_core" repository = "https://github.com/swc-project/swc.git" -version = "0.76.13" +version = "0.76.14" [package.metadata.docs.rs] features = [ "common_perf", @@ -318,8 +318,8 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.13.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.50.10", path = "../binding_macros" } -swc = { optional = true, version = "0.261.10", path = "../swc" } +binding_macros = { optional = true, version = "0.50.11", path = "../binding_macros" } +swc = { optional = true, version = "0.261.11", path = "../swc" } swc_atoms = { optional = true, version = "0.5.6", path = "../swc_atoms" } swc_bundler = { optional = true, version = "0.214.10", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.15", path = "../swc_cached" } @@ -352,7 +352,7 @@ swc_ecma_usage_analyzer = { optional = true, version = "0.13.6", path = swc_ecma_utils = { optional = true, version = "0.117.5", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.90.3", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.48.10", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.48.11", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.6", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.13", path = "../swc_plugin_macro" } @@ -360,7 +360,7 @@ swc_plugin_proxy = { optional = true, version = "0.33.3", path = swc_trace_macro = { optional = true, version = "0.1.2", path = "../swc_trace_macro" } testing = { optional = true, version = "0.33.11", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features -swc_plugin_runner = { optional = true, version = "0.95.5", path = "../swc_plugin_runner", default-features = false } +swc_plugin_runner = { optional = true, version = "0.95.6", path = "../swc_plugin_runner", default-features = false } [build-dependencies] vergen = { version = "7.3.2", default-features = false, features = ["cargo"] } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index e3a710ed8fc..cb812e60db3 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_estree_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.184.10" +version = "0.184.11" [package.metadata.docs.rs] all-features = true @@ -40,7 +40,7 @@ swc_node_comments = { version = "0.18.10", path = "../swc_node_comments/" } criterion = "0.3" pretty_assertions = "1.1" -swc = { version = "0.261.10", path = "../swc" } +swc = { version = "0.261.11", path = "../swc" } swc_ecma_ast = { version = "0.104.3", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.134.5", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.218.9", path = "../swc_ecma_transforms/" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 36655791234..1b25ceb1651 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_node_bundler" repository = "https://github.com/swc-project/swc.git" -version = "0.48.10" +version = "0.48.11" [lib] bench = false @@ -29,7 +29,7 @@ serde_json = "1" tracing = "0.1.32" string_enum = { version = "0.4.0", path = "../string_enum" } -swc = { version = "0.261.10", path = "../swc" } +swc = { version = "0.261.11", path = "../swc" } swc_atoms = { version = "0.5.6", path = "../swc_atoms" } swc_bundler = { version = "0.214.10", path = "../swc_bundler", features = [ "concurrent", diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 4050c5fe8d3..34e05a233ec 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_plugin_runner" repository = "https://github.com/swc-project/swc.git" -version = "0.95.5" +version = "0.95.6" [lib] bench = false