diff --git a/CHANGELOG.md b/CHANGELOG.md index 050b16feed07..0192817544d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ - **(es/compat)** Use dummy span for blocks in `parameters` ([#8202](https://github.com/swc-project/swc/issues/8202)) ([c1b255a](https://github.com/swc-project/swc/commit/c1b255a59c1e8d81371c9576ca0c4573f04e65da)) + +- **(es/transforms)** Do not add `PURE` comment to `BytePos(0)` ([#8207](https://github.com/swc-project/swc/issues/8207)) ([c061356](https://github.com/swc-project/swc/commit/c061356b63431fcd0323e434402ead143c622340)) + ### Features @@ -1724,12 +1727,4 @@ Full refactor of the "calc" simplification to be more compliant with the spec. ( - **(es/resolver)** Make syntax context for unresolved and top-level stable ([#7096](https://github.com/swc-project/swc/issues/7096)) ([c114f00](https://github.com/swc-project/swc/commit/c114f006b4ea388ef9a4503e935d59e92a647ecf)) -## [1.3.41] - 2023-03-17 - -### Bug Fixes - - - -- **(es/minifier)** Remove wrong optimization of `new RegExp(…)` ([#7091](https://github.com/swc-project/swc/issues/7091)) ([493a4f7](https://github.com/swc-project/swc/commit/493a4f7042bad7f883981b10cdc02fe0d36a5fb0)) - diff --git a/Cargo.lock b/Cargo.lock index e0fe8fba87f9..223e1dc233bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.60.25" +version = "0.60.26" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1056,7 +1056,7 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" [[package]] name = "dbg-swc" -version = "0.89.27" +version = "0.89.28" dependencies = [ "anyhow", "clap 3.2.25", @@ -3669,7 +3669,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.269.24" +version = "0.269.25" dependencies = [ "ansi_term", "anyhow", @@ -3740,7 +3740,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.222.21" +version = "0.222.22" dependencies = [ "anyhow", "crc", @@ -3795,7 +3795,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "0.4.24" +version = "0.4.25" dependencies = [ "anyhow", "atty", @@ -3853,7 +3853,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.3.23" +version = "0.3.24" dependencies = [ "anyhow", "base64 0.13.1", @@ -3896,7 +3896,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.86.25" +version = "0.86.26" dependencies = [ "anyhow", "binding_macros", @@ -4186,7 +4186,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "0.1.13" +version = "0.1.14" dependencies = [ "swc_atoms", "swc_common", @@ -4214,7 +4214,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "0.1.13" +version = "0.1.14" dependencies = [ "arrayvec", "indexmap 1.9.3", @@ -4440,7 +4440,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.189.22" +version = "0.189.23" dependencies = [ "ansi_term", "anyhow", @@ -4507,7 +4507,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.203.17" +version = "0.203.18" dependencies = [ "anyhow", "criterion", @@ -4573,7 +4573,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.226.16" +version = "0.226.17" dependencies = [ "pretty_assertions", "sourcemap", @@ -4637,7 +4637,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.160.17" +version = "0.160.18" dependencies = [ "arrayvec", "indexmap 1.9.3", @@ -4687,7 +4687,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.177.19" +version = "0.177.20" dependencies = [ "Inflector", "anyhow", @@ -4716,7 +4716,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.195.16" +version = "0.195.17" dependencies = [ "dashmap", "indexmap 1.9.3", @@ -4746,7 +4746,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.168.20" +version = "0.168.21" dependencies = [ "either", "rustc-hash", @@ -4770,7 +4770,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.180.19" +version = "0.180.20" dependencies = [ "base64 0.13.1", "dashmap", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.185.15" +version = "0.185.16" dependencies = [ "criterion", "ryu-js", @@ -4891,7 +4891,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.236.24" +version = "0.236.25" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4939,7 +4939,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "0.194.23" +version = "0.194.24" dependencies = [ "ahash 0.8.5", "anyhow", @@ -4987,7 +4987,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.134.23" +version = "0.134.24" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5038,7 +5038,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.131.23" +version = "0.131.24" dependencies = [ "criterion", "once_cell", @@ -5124,7 +5124,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.58.24" +version = "0.58.25" dependencies = [ "anyhow", "dashmap", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 468c34091e55..cf6ec1277c2f 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.60.25" +version = "0.60.26" [lib] bench = false @@ -33,10 +33,10 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.269.24", path = "../swc" } +swc = { optional = true, version = "0.269.25", path = "../swc" } swc_common = { optional = true, version = "0.33.2", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.110.2", path = "../swc_ecma_ast" } -swc_ecma_transforms = { optional = true, version = "0.226.16", path = "../swc_ecma_transforms" } +swc_ecma_transforms = { optional = true, version = "0.226.17", path = "../swc_ecma_transforms" } swc_ecma_visit = { optional = true, version = "0.96.2", path = "../swc_ecma_visit" } # Optional deps for the wasm binding macro diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 3e4828f10ad6..2ee3479cabfd 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "dbg-swc" repository = "https://github.com/kdy1/dbg-swc.git" -version = "0.89.27" +version = "0.89.28" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.33.2", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 927ace60e615..a2fb1defe091 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.269.24" +version = "0.269.25" [lib] bench = false @@ -73,7 +73,7 @@ swc_common = { version = "0.33.2", path = "../swc_common", features = [ "sourcemap", "parking_lot", ] } -swc_compiler_base = { version = "0.3.23", path = "../swc_compiler_base" } +swc_compiler_base = { version = "0.3.24", path = "../swc_compiler_base" } swc_config = { version = "0.1.7", path = "../swc_config" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } @@ -84,10 +84,10 @@ swc_ecma_loader = { version = "0.45.3", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { version = "0.203.17", path = "../swc_ecma_preset_env" } -swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms", features = [ +swc_ecma_preset_env = { version = "0.203.18", path = "../swc_ecma_preset_env" } +swc_ecma_transforms = { version = "0.226.17", path = "../swc_ecma_transforms", features = [ "compat", "module", "optimization", @@ -96,8 +96,8 @@ swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms", f "typescript", ] } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_optimization = { version = "0.195.16", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_optimization = { version = "0.195.17", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } swc_error_reporters = { version = "0.17.2", path = "../swc_error_reporters" } diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 9fb127bba6fa..02747c56d5de 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0" name = "swc_bundler" repository = "https://github.com/swc-project/swc.git" -version = "0.222.21" +version = "0.222.22" [package.metadata.docs.rs] all-features = true @@ -44,7 +44,7 @@ swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_co swc_ecma_loader = { version = "0.45.3", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "0.195.16", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_optimization = { version = "0.195.17", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } swc_fast_graph = { version = "0.21.2", path = "../swc_fast_graph/" } @@ -63,11 +63,11 @@ swc_ecma_loader = { version = "0.45.3", path = "../swc_ecma_loader", features = "node", "cache", ] } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_transforms_proposal = { version = "0.168.20", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "0.180.19", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_typescript = { version = "0.185.15", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_proposal = { version = "0.168.21", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.180.20", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_typescript = { version = "0.185.16", path = "../swc_ecma_transforms_typescript" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" } testing = { version = "0.35.3", path = "../testing" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index fa9cad433943..d6e4e9c3cd4b 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli_impl" repository = "https://github.com/swc-project/swc.git" -version = "0.4.24" +version = "0.4.25" [features] default = [] @@ -32,7 +32,7 @@ tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -swc_core = { version = "0.86.25", features = [ +swc_core = { version = "0.86.26", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index f7b6aba66f1f..a8e88e24ad6d 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_compiler_base" repository = "https://github.com/swc-project/swc.git" -version = "0.3.23" +version = "0.3.24" [features] node = ["napi", "napi-derive"] @@ -25,7 +25,7 @@ swc_common = { version = "0.33.2", path = "../swc_common", features = [ swc_config = { version = "0.1.7", path = "../swc_config" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.3", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index e14ccc80b6a8..74035eeb0cdd 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.86.25" +version = "0.86.26" [package.metadata.docs.rs] features = [ "allocator_node", @@ -324,10 +324,10 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.18.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.60.25", path = "../binding_macros" } -swc = { optional = true, version = "0.269.24", path = "../swc" } +binding_macros = { optional = true, version = "0.60.26", path = "../binding_macros" } +swc = { optional = true, version = "0.269.25", path = "../swc" } swc_atoms = { optional = true, version = "0.6.0", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.222.21", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.222.22", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.18", path = "../swc_cached" } swc_common = { optional = true, version = "0.33.2", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.140.3", path = "../swc_css_ast" } @@ -342,23 +342,23 @@ swc_css_visit = { optional = true, version = "0.139.3", path swc_ecma_ast = { optional = true, version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.146.6", path = "../swc_ecma_codegen" } swc_ecma_loader = { optional = true, version = "0.45.3", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.189.22", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "0.189.23", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { optional = true, version = "0.203.17", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { optional = true, version = "0.203.18", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.52.6", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { optional = true, version = "0.160.17", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { optional = true, version = "0.177.19", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_optimization = { optional = true, version = "0.195.16", path = "../swc_ecma_transforms_optimization" } -swc_ecma_transforms_proposal = { optional = true, version = "0.168.20", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { optional = true, version = "0.180.19", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_compat = { optional = true, version = "0.160.18", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { optional = true, version = "0.177.20", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_optimization = { optional = true, version = "0.195.17", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_proposal = { optional = true, version = "0.168.21", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { optional = true, version = "0.180.20", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { optional = true, version = "0.137.14", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { optional = true, version = "0.185.15", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { optional = true, version = "0.185.16", path = "../swc_ecma_transforms_typescript" } swc_ecma_usage_analyzer = { optional = true, version = "0.20.12", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { optional = true, version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.96.2", path = "../swc_ecma_visit" } swc_node_base = { optional = true, version = "0.5.8", path = "../swc_node_base" } -swc_node_bundler = { optional = true, version = "0.58.24", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.58.25", path = "../swc_node_bundler" } swc_nodejs_common = { optional = true, version = "0.0.8", path = "../swc_nodejs_common" } swc_plugin = { optional = true, version = "0.90.0", path = "../swc_plugin" } swc_plugin_macro = { optional = true, version = "0.9.15", path = "../swc_plugin_macro" } diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index 09ad4697f079..42bc77e7ad90 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -7,14 +7,14 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_bugfixes" repository = "https://github.com/swc-project/swc.git" -version = "0.1.13" +version = "0.1.14" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] swc_atoms = { version = "0.6.0", path = "../swc_atoms" } swc_common = { version = "0.33.2", path = "../swc_common" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } -swc_ecma_compat_es2015 = { version = "0.1.13", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2015 = { version = "0.1.14", path = "../swc_ecma_compat_es2015" } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_compat_es2015/Cargo.toml b/crates/swc_ecma_compat_es2015/Cargo.toml index 4a29c36e1af9..af0b4a600e53 100644 --- a/crates/swc_ecma_compat_es2015/Cargo.toml +++ b/crates/swc_ecma_compat_es2015/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2015" repository = "https://github.com/swc-project/swc.git" -version = "0.1.13" +version = "0.1.14" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 334c2d401d70..2403f1afa95d 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = "Apache-2.0" name = "swc_ecma_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.189.22" +version = "0.189.23" [package.metadata.docs.rs] all-features = true @@ -60,7 +60,7 @@ swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast", features = [ swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "0.195.16", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_optimization = { version = "0.195.17", path = "../swc_ecma_transforms_optimization" } swc_ecma_usage_analyzer = { version = "0.20.12", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index b94834ab9375..07112f681e62 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"] license = "Apache-2.0" name = "swc_ecma_preset_env" -version = "0.203.17" +version = "0.203.18" [lib] bench = false @@ -32,7 +32,7 @@ string_enum = { version = "0.4.1", path = "../string_enum" } swc_atoms = { version = "0.6.0", path = "../swc_atoms" } swc_common = { version = "0.33.2", path = "../swc_common" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } -swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms", features = [ +swc_ecma_transforms = { version = "0.226.17", path = "../swc_ecma_transforms", features = [ "compat", "proposal", ] } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index 62490846e1c4..2bd790d86e80 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms" repository = "https://github.com/swc-project/swc.git" -version = "0.226.16" +version = "0.226.17" [package.metadata.docs.rs] all-features = true @@ -35,12 +35,12 @@ swc_atoms = { version = "0.6.0", path = "../swc_atoms" } swc_common = { version = "0.33.2", path = "../swc_common" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat", optional = true } -swc_ecma_transforms_module = { version = "0.177.19", path = "../swc_ecma_transforms_module", optional = true } -swc_ecma_transforms_optimization = { version = "0.195.16", path = "../swc_ecma_transforms_optimization", optional = true } -swc_ecma_transforms_proposal = { version = "0.168.20", path = "../swc_ecma_transforms_proposal", optional = true } -swc_ecma_transforms_react = { version = "0.180.19", path = "../swc_ecma_transforms_react", optional = true } -swc_ecma_transforms_typescript = { version = "0.185.15", path = "../swc_ecma_transforms_typescript", optional = true } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat", optional = true } +swc_ecma_transforms_module = { version = "0.177.20", path = "../swc_ecma_transforms_module", optional = true } +swc_ecma_transforms_optimization = { version = "0.195.17", path = "../swc_ecma_transforms_optimization", optional = true } +swc_ecma_transforms_proposal = { version = "0.168.21", path = "../swc_ecma_transforms_proposal", optional = true } +swc_ecma_transforms_react = { version = "0.180.20", path = "../swc_ecma_transforms_react", optional = true } +swc_ecma_transforms_typescript = { version = "0.185.16", path = "../swc_ecma_transforms_typescript", optional = true } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index 5e010ade37a8..0fd97dbc1592 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.160.17" +version = "0.160.18" [lib] bench = false @@ -33,9 +33,9 @@ swc_atoms = { version = "0.6.0", path = "../swc_atoms" } swc_common = { version = "0.33.2", path = "../swc_common" } swc_config = { version = "0.1.7", path = "../swc_config" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } -swc_ecma_compat_bugfixes = { version = "0.1.13", path = "../swc_ecma_compat_bugfixes" } +swc_ecma_compat_bugfixes = { version = "0.1.14", path = "../swc_ecma_compat_bugfixes" } swc_ecma_compat_common = { version = "0.1.9", path = "../swc_ecma_compat_common" } -swc_ecma_compat_es2015 = { version = "0.1.13", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2015 = { version = "0.1.14", path = "../swc_ecma_compat_es2015" } swc_ecma_compat_es2016 = { version = "0.1.12", path = "../swc_ecma_compat_es2016" } swc_ecma_compat_es2017 = { version = "0.1.12", path = "../swc_ecma_compat_es2017" } swc_ecma_compat_es2018 = { version = "0.1.12", path = "../swc_ecma_compat_es2018" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 197c24da4a7b..4031188ebb20 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_module" repository = "https://github.com/swc-project/swc.git" -version = "0.177.19" +version = "0.177.20" [lib] bench = false @@ -44,6 +44,6 @@ swc_ecma_loader = { version = "0.45.3", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_testing = { version = "0.137.14", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.3", path = "../testing/" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 8356c240cf55..5664a53d1d3f 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_optimization" repository = "https://github.com/swc-project/swc.git" -version = "0.195.16" +version = "0.195.17" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -42,10 +42,10 @@ swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } swc_fast_graph = { version = "0.21.2", path = "../swc_fast_graph" } [dev-dependencies] -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { version = "0.177.19", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_proposal = { version = "0.168.20", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "0.180.19", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { version = "0.177.20", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_proposal = { version = "0.168.21", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.180.20", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { version = "0.137.14", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "0.185.15", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.185.16", path = "../swc_ecma_transforms_typescript" } testing = { version = "0.35.3", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 9f0a22443401..7b7717a3132e 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_proposal" repository = "https://github.com/swc-project/swc.git" -version = "0.168.20" +version = "0.168.21" [lib] bench = false @@ -36,6 +36,6 @@ swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } serde_json = "1.0.66" swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_testing = { version = "0.137.14", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.3", path = "../testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index b7580bc61376..ed5065e4608f 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_react" repository = "https://github.com/swc-project/swc.git" -version = "0.180.19" +version = "0.180.20" [lib] bench = false @@ -39,7 +39,7 @@ swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } [dev-dependencies] swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen/" } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat/" } -swc_ecma_transforms_module = { version = "0.177.19", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat/" } +swc_ecma_transforms_module = { version = "0.177.20", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_testing = { version = "0.137.14", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.3", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 4f27ef8b87b7..004a23b8e3ab 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_transforms_typescript" repository = "https://github.com/swc-project/swc.git" -version = "0.185.15" +version = "0.185.16" [lib] bench = false @@ -20,7 +20,7 @@ swc_atoms = { version = "0.6.0", path = "../swc_atoms" } swc_common = { version = "0.33.2", path = "../swc_common" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_transforms_base = { version = "0.134.13", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_react = { version = "0.180.19", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_react = { version = "0.180.20", path = "../swc_ecma_transforms_react" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } @@ -29,8 +29,8 @@ criterion = "0.5" swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "0.160.17", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_proposal = { version = "0.168.20", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_compat = { version = "0.160.18", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_proposal = { version = "0.168.21", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_testing = { version = "0.137.14", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.3", path = "../testing" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 6f1e9f24c771..3b84d0c01844 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "0.236.24" +version = "0.236.25" [package.metadata.docs.rs] all-features = true @@ -42,11 +42,11 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen", optional = true } swc_ecma_dep_graph = { version = "0.113.6", path = "../swc_ecma_dep_graph", optional = true } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser", optional = true, default-features = false } -swc_ecma_preset_env = { version = "0.203.17", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_preset_env = { version = "0.203.18", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.57.6", path = "../swc_ecma_quote", optional = true } -swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms", optional = true } +swc_ecma_transforms = { version = "0.226.17", path = "../swc_ecma_transforms", optional = true } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils", optional = true } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 2b746b2f32e2..4d4846d3d893 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.194.23" +version = "0.194.24" [package.metadata.docs.rs] all-features = true @@ -40,10 +40,10 @@ swc_node_comments = { version = "0.20.2", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.269.24", path = "../swc" } +swc = { version = "0.269.25", path = "../swc" } swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms/" } +swc_ecma_transforms = { version = "0.226.17", path = "../swc_ecma_transforms/" } testing = { version = "0.35.3", path = "../testing" } walkdir = "2" diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 0c07f090496b..6e78c6af7bb4 100644 --- a/crates/swc_html/Cargo.toml +++ b/crates/swc_html/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html" repository = "https://github.com/swc-project/swc.git" -version = "0.134.23" +version = "0.134.24" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.33.2", path = "../swc_html_ast"} swc_html_codegen = {version = "0.42.3", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.131.23", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.131.24", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.39.3", path = "../swc_html_parser"} swc_html_visit = {version = "0.33.2", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 27f9b9f14217..4c314cbdc16e 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"] license = "Apache-2.0" name = "swc_html_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.131.23" +version = "0.131.24" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.189.22", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.189.23", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index eddc343b94b4..9e5ca996f908 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.58.24" +version = "0.58.25" [lib] bench = false @@ -29,9 +29,9 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.1", path = "../string_enum" } -swc = { version = "0.269.24", path = "../swc" } +swc = { version = "0.269.25", path = "../swc" } swc_atoms = { version = "0.6.0", path = "../swc_atoms" } -swc_bundler = { version = "0.222.21", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.222.22", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.33.2", path = "../swc_common", features = [ @@ -41,7 +41,7 @@ swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.146.6", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "0.45.3", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.141.6", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "0.226.16", path = "../swc_ecma_transforms" } +swc_ecma_transforms = { version = "0.226.17", path = "../swc_ecma_transforms" } swc_ecma_utils = { version = "0.124.11", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" } swc_node_base = { version = "0.5.8", path = "../swc_node_base" }