diff --git a/.changeset/lucky-hotels-grow.md b/.changeset/lucky-hotels-grow.md deleted file mode 100644 index e8926e802816..000000000000 --- a/.changeset/lucky-hotels-grow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: patch -swc_ecma_parser: patch ---- - -fix(es/parser): Do not parse empty stmt after using decl diff --git a/CHANGELOG.md b/CHANGELOG.md index d4e9dad97cd1..2369c1d74ac7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(es/parser)** Do not parse empty stmt after using decl ([#9798](https://github.com/swc-project/swc/issues/9798)) ([c2696db](https://github.com/swc-project/swc/commit/c2696db528fc98187c5c5f7413bd9daac7d6c1b6)) + ## [1.10.1] - 2024-12-09 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index c4e4205b7640..c3297ccd6c3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4460,7 +4460,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "9.0.0" +version = "9.0.1" dependencies = [ "anyhow", "binding_macros", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "6.0.0" +version = "6.0.1" dependencies = [ "codspeed-criterion-compat", "criterion", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 2d7904cab708..48959e880d15 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -36,7 +36,7 @@ swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "6.0.1", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_error_reporters = { version = "6.0.0", path = "../swc_error_reporters" } diff --git a/crates/jsdoc/Cargo.toml b/crates/jsdoc/Cargo.toml index ab27796f7483..55b81c05ed78 100644 --- a/crates/jsdoc/Cargo.toml +++ b/crates/jsdoc/Cargo.toml @@ -27,5 +27,5 @@ anyhow = { workspace = true } dashmap = { workspace = true } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index e8b0df54f8f0..720b63dcbd47 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -89,7 +89,7 @@ swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "tsc", ] } swc_ecma_minifier = { version = "6.0.1", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "8.0.0", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "8.0.0", path = "../swc_ecma_transforms", features = [ "compat", diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 3116db1f3740..1715f495e1c6 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -42,7 +42,7 @@ swc_common = { version = "5.0.0", path = "../swc_common" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "6.0.0", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 3fe516febdd3..ffb3616c26ba 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "9.0.0", features = [ +swc_core = { version = "9.0.1", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index fe43dc7e43d5..3c75e2e85282 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -31,7 +31,7 @@ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "6.0.1", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 5939b269ec57..f68e3e113d0e 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 = "9.0.0" +version = "9.0.1" [package.metadata.docs.rs] features = [ "allocator_node", @@ -358,7 +358,7 @@ swc_ecma_codegen = { optional = true, version = "5.0.0", path = swc_ecma_lints = { optional = true, version = "6.0.0", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "5.0.0", path = "../swc_ecma_loader" } swc_ecma_minifier = { optional = true, version = "6.0.1", path = "../swc_ecma_minifier" } -swc_ecma_parser = { optional = true, version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { optional = true, version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "8.0.0", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "6.0.0", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "6.0.2", path = "../swc_ecma_transforms_base" } diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 1c51f9ee82f2..cd3ef81ba6d9 100644 --- a/crates/swc_ecma_codegen/Cargo.toml +++ b/crates/swc_ecma_codegen/Cargo.toml @@ -41,7 +41,7 @@ swc_allocator = { version = "2.0.0", path = "../swc_allocator" } swc_common = { version = "5.0.0", path = "../swc_common", features = [ "sourcemap", ] } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "5.0.0", path = "../swc_ecma_testing" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index 02d905ba6cf3..c5458917f09a 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -22,5 +22,5 @@ swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2015/Cargo.toml b/crates/swc_ecma_compat_es2015/Cargo.toml index 39d1a4180798..873c5f0cee94 100644 --- a/crates/swc_ecma_compat_es2015/Cargo.toml +++ b/crates/swc_ecma_compat_es2015/Cargo.toml @@ -36,5 +36,5 @@ swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2016/Cargo.toml b/crates/swc_ecma_compat_es2016/Cargo.toml index 773eedbff92f..f2689508ffd4 100644 --- a/crates/swc_ecma_compat_es2016/Cargo.toml +++ b/crates/swc_ecma_compat_es2016/Cargo.toml @@ -24,5 +24,5 @@ swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2017/Cargo.toml b/crates/swc_ecma_compat_es2017/Cargo.toml index f0596a1010ed..26d3b84fc1f6 100644 --- a/crates/swc_ecma_compat_es2017/Cargo.toml +++ b/crates/swc_ecma_compat_es2017/Cargo.toml @@ -26,5 +26,5 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2018/Cargo.toml b/crates/swc_ecma_compat_es2018/Cargo.toml index a6774b1bdb69..7d0a18560de9 100644 --- a/crates/swc_ecma_compat_es2018/Cargo.toml +++ b/crates/swc_ecma_compat_es2018/Cargo.toml @@ -27,5 +27,5 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2019/Cargo.toml b/crates/swc_ecma_compat_es2019/Cargo.toml index 4d5f645ce59b..13a7d7145906 100644 --- a/crates/swc_ecma_compat_es2019/Cargo.toml +++ b/crates/swc_ecma_compat_es2019/Cargo.toml @@ -25,5 +25,5 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2020/Cargo.toml b/crates/swc_ecma_compat_es2020/Cargo.toml index a67fbd1489c4..49d2dc9c38d4 100644 --- a/crates/swc_ecma_compat_es2020/Cargo.toml +++ b/crates/swc_ecma_compat_es2020/Cargo.toml @@ -25,5 +25,5 @@ swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } tracing = { workspace = true } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es3/Cargo.toml b/crates/swc_ecma_compat_es3/Cargo.toml index b94663ec2dfa..2692245c2d22 100644 --- a/crates/swc_ecma_compat_es3/Cargo.toml +++ b/crates/swc_ecma_compat_es3/Cargo.toml @@ -23,5 +23,5 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 2160356c041b..d2796b8876c2 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -33,7 +33,7 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } [dev-dependencies] swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 3be9d3fa2a03..b8946f1076d5 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -62,7 +62,7 @@ swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast", features = [ "serde", ] } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "6.0.0", path = "../swc_ecma_transforms_optimization" } swc_ecma_usage_analyzer = { version = "6.0.0", path = "../swc_ecma_usage_analyzer" } diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index 4e59d2d16f2a..c4286a83c623 100644 --- a/crates/swc_ecma_parser/Cargo.toml +++ b/crates/swc_ecma_parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_parser" repository = "https://github.com/swc-project/swc.git" -version = "6.0.0" +version = "6.0.1" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index ab7e59f8ac58..f7d4aa4777c0 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -45,7 +45,7 @@ criterion = { workspace = true } pretty_assertions = { workspace = true } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } testing = { version = "5.0.0", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_quote_macros/Cargo.toml b/crates/swc_ecma_quote_macros/Cargo.toml index 1e10ffa5e700..f1f288f0efa0 100644 --- a/crates/swc_ecma_quote_macros/Cargo.toml +++ b/crates/swc_ecma_quote_macros/Cargo.toml @@ -21,5 +21,5 @@ syn = { workspace = true } swc_atoms = { version = "3.0.0", path = "../swc_atoms" } swc_common = { version = "5.0.0", path = "../swc_common" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_macros_common = { version = "1.0.0", path = "../swc_macros_common" } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index 79c7912a7975..292d01821f51 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -51,6 +51,6 @@ sourcemap = { workspace = true } tempfile = { workspace = true } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index ce65aaa9439e..ffb3f7b93f67 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -31,7 +31,7 @@ tracing = { workspace = true } swc_atoms = { version = "3.0.0", path = "../swc_atoms" } swc_common = { version = "5.0.0", path = "../swc_common" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index c0a6d479d63c..5b335e4e1149 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -54,6 +54,6 @@ swc_trace_macro = { version = "2.0.0", path = "../swc_trace_macro" } [dev-dependencies] serde_json = { workspace = true } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 2367c754c8ca..85cd9366e160 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "node", ] } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 74a90a148b20..b4f3b532093f 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -34,7 +34,7 @@ tracing = { workspace = true } swc_atoms = { version = "3.0.0", path = "../swc_atoms" } swc_common = { version = "5.0.0", path = "../swc_common" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index d5a657642937..49b55c89eec5 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -36,7 +36,7 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } serde_json = { workspace = true } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "7.0.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index b106b8a0c099..832c587e22b7 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -32,7 +32,7 @@ swc_atoms = { version = "3.0.0", path = "../swc_atoms" } swc_common = { version = "5.0.0", path = "../swc_common" } swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "1.0.0", path = "../swc_ecma_transforms_macros" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index 1ffe33f6d0d1..adc191254895 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -27,7 +27,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ ] } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "5.0.0", path = "../swc_ecma_testing" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 47077fa98f81..4c75dd9e276f 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -29,7 +29,7 @@ codspeed-criterion-compat = { workspace = true } criterion = { workspace = true } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "7.0.0", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_proposal = { version = "6.0.0", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_testing = { version = "6.0.0", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_utils/Cargo.toml b/crates/swc_ecma_utils/Cargo.toml index 613732f7862b..d65287cb5d39 100644 --- a/crates/swc_ecma_utils/Cargo.toml +++ b/crates/swc_ecma_utils/Cargo.toml @@ -38,5 +38,5 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } stacker = { version = "0.1.15", optional = true } [dev-dependencies] -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 2b802961d006..b6b040448cb9 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -41,7 +41,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen", optional = true } swc_ecma_minifier = { version = "6.0.1", path = "../swc_ecma_minifier", optional = true } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser", optional = true, default-features = false } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "8.0.0", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "6.0.0", path = "../swc_ecma_quote", optional = true } swc_ecma_transforms = { version = "8.0.0", path = "../swc_ecma_transforms", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 1a5299466445..4c6e053f08fe 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -30,7 +30,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ "tty-emitter", ] } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_estree_ast = { version = "5.0.0", path = "../swc_estree_ast" } @@ -43,7 +43,7 @@ pretty_assertions = { workspace = true } swc = { version = "9.0.0", path = "../swc" } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "8.0.0", path = "../swc_ecma_transforms/" } testing = { version = "5.0.0", path = "../testing" } walkdir = { workspace = true } diff --git a/crates/swc_fast_ts_strip/Cargo.toml b/crates/swc_fast_ts_strip/Cargo.toml index 349bd2c26037..7df702d7bd12 100644 --- a/crates/swc_fast_ts_strip/Cargo.toml +++ b/crates/swc_fast_ts_strip/Cargo.toml @@ -22,7 +22,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ ] } swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_typescript = { version = "6.0.0", path = "../swc_ecma_transforms_typescript" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index fd1f27c7b957..c29cfeca2f70 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -39,7 +39,7 @@ swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen", features = swc_ecma_minifier = { version = "6.0.1", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_html_ast = { version = "5.0.0", path = "../swc_html_ast" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 126931ff456e..d65224895453 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -40,7 +40,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "8.0.0", path = "../swc_ecma_transforms" } swc_ecma_utils = { version = "6.0.0", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 0edc5d37fc22..cb23d2885521 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -87,7 +87,7 @@ swc_ecma_ast = { version = "5.0.0", path = "../swc_ecma_ast", features = [ "rkyv-impl", ] } swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_malloc = { version = "1.0.0", path = "../swc_malloc" } testing = { version = "5.0.0", path = "../testing" } diff --git a/crates/swc_typescript/Cargo.toml b/crates/swc_typescript/Cargo.toml index bd206fdd9ecb..990c71079d93 100644 --- a/crates/swc_typescript/Cargo.toml +++ b/crates/swc_typescript/Cargo.toml @@ -22,6 +22,6 @@ swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } [dev-dependencies] swc_ecma_codegen = { version = "5.0.0", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "6.0.0", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "6.0.2", path = "../swc_ecma_transforms_base" } testing = { version = "5.0.0", path = "../testing" }