From 08ed0fb6663e835bf9efe8270118ce49ccd53903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 4 Mar 2024 10:48:18 +0900 Subject: [PATCH 1/4] fix(es/modules): Fix resolution of `jsc.paths` with exact match (#8685) **Related issue:** - Closes #8668 --- .../swc/tests/fixture/issues-8xxx/8668/input/.swcrc | 11 +++++++++++ .../issues-8xxx/8668/input/src/app/src/index.ts | 2 ++ .../tests/fixture/issues-8xxx/8668/input/src/utils.ts | 1 + .../issues-8xxx/8668/output/src/app/src/index.ts | 2 ++ .../fixture/issues-8xxx/8668/output/src/utils.ts | 1 + crates/swc_ecma_loader/src/resolvers/tsc.rs | 11 ++++++++++- 6 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 crates/swc/tests/fixture/issues-8xxx/8668/input/.swcrc create mode 100644 crates/swc/tests/fixture/issues-8xxx/8668/input/src/app/src/index.ts create mode 100644 crates/swc/tests/fixture/issues-8xxx/8668/input/src/utils.ts create mode 100644 crates/swc/tests/fixture/issues-8xxx/8668/output/src/app/src/index.ts create mode 100644 crates/swc/tests/fixture/issues-8xxx/8668/output/src/utils.ts diff --git a/crates/swc/tests/fixture/issues-8xxx/8668/input/.swcrc b/crates/swc/tests/fixture/issues-8xxx/8668/input/.swcrc new file mode 100644 index 000000000000..d7e49e17d2b2 --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8668/input/.swcrc @@ -0,0 +1,11 @@ +{ + "$schema": "https://json.schemastore.org/swcrc", + "jsc": { + "baseUrl": "./", + "paths": { + "$utils": [ + "./src/utils.ts" + ] + } + } +} \ No newline at end of file diff --git a/crates/swc/tests/fixture/issues-8xxx/8668/input/src/app/src/index.ts b/crates/swc/tests/fixture/issues-8xxx/8668/input/src/app/src/index.ts new file mode 100644 index 000000000000..5ee45b7e853b --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8668/input/src/app/src/index.ts @@ -0,0 +1,2 @@ +import { str } from "$utils"; +console.log(str); \ No newline at end of file diff --git a/crates/swc/tests/fixture/issues-8xxx/8668/input/src/utils.ts b/crates/swc/tests/fixture/issues-8xxx/8668/input/src/utils.ts new file mode 100644 index 000000000000..d9b1ed7a889f --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8668/input/src/utils.ts @@ -0,0 +1 @@ +export const str = ""; diff --git a/crates/swc/tests/fixture/issues-8xxx/8668/output/src/app/src/index.ts b/crates/swc/tests/fixture/issues-8xxx/8668/output/src/app/src/index.ts new file mode 100644 index 000000000000..ca434401aeaf --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8668/output/src/app/src/index.ts @@ -0,0 +1,2 @@ +import { str } from "../../utils"; +console.log(str); diff --git a/crates/swc/tests/fixture/issues-8xxx/8668/output/src/utils.ts b/crates/swc/tests/fixture/issues-8xxx/8668/output/src/utils.ts new file mode 100644 index 000000000000..5a589ce7698b --- /dev/null +++ b/crates/swc/tests/fixture/issues-8xxx/8668/output/src/utils.ts @@ -0,0 +1 @@ +export var str = ""; diff --git a/crates/swc_ecma_loader/src/resolvers/tsc.rs b/crates/swc_ecma_loader/src/resolvers/tsc.rs index b7794652bd17..357ea3961af8 100644 --- a/crates/swc_ecma_loader/src/resolvers/tsc.rs +++ b/crates/swc_ecma_loader/src/resolvers/tsc.rs @@ -299,7 +299,16 @@ where if let Ok(res) = self.resolve(&self.base_url_filename, &format!("./{}", &to[0])) { - return Ok(res); + return Ok(Resolution { + slug: match &res.filename { + FileName::Real(p) => p + .file_stem() + .filter(|&s| s != "index") + .map(|v| v.to_string_lossy().into()), + _ => None, + }, + ..res + }); } return Ok(Resolution { From 5ae0a2f858794dad67ae6cc217ee68541796ee4b Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Mon, 4 Mar 2024 01:49:57 +0000 Subject: [PATCH 2/4] chore: Bump crates --- CHANGELOG.md | 9 ++--- Cargo.lock | 40 +++++++++---------- crates/binding_macros/Cargo.toml | 6 +-- crates/dbg-swc/Cargo.toml | 4 +- crates/swc/Cargo.toml | 16 ++++---- crates/swc_bundler/Cargo.toml | 16 ++++---- crates/swc_cli_impl/Cargo.toml | 2 +- crates/swc_compiler_base/Cargo.toml | 4 +- crates/swc_core/Cargo.toml | 28 ++++++------- crates/swc_ecma_loader/Cargo.toml | 2 +- crates/swc_ecma_minifier/Cargo.toml | 4 +- crates/swc_ecma_preset_env/Cargo.toml | 4 +- crates/swc_ecma_transforms/Cargo.toml | 12 +++--- crates/swc_ecma_transforms_module/Cargo.toml | 6 +-- .../Cargo.toml | 10 ++--- .../swc_ecma_transforms_proposal/Cargo.toml | 4 +- crates/swc_ecma_transforms_react/Cargo.toml | 4 +- .../swc_ecma_transforms_typescript/Cargo.toml | 6 +-- crates/swc_ecmascript/Cargo.toml | 8 ++-- crates/swc_estree_compat/Cargo.toml | 4 +- crates/swc_html/Cargo.toml | 4 +- crates/swc_html_minifier/Cargo.toml | 4 +- crates/swc_node_bundler/Cargo.toml | 10 ++--- crates/swc_plugin_runner/Cargo.toml | 4 +- 24 files changed, 104 insertions(+), 107 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b2229eb06fa..bc06ecc4bba8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ - **(es/modules)** Do not call `Path::parent()` for `FileName::Anon` ([#8662](https://github.com/swc-project/swc/issues/8662)) ([1bc4cb7](https://github.com/swc-project/swc/commit/1bc4cb7c0548483980e27483022d6abf0888891d)) +- **(es/modules)** Fix resolution of `jsc.paths` with exact match ([#8685](https://github.com/swc-project/swc/issues/8685)) ([08ed0fb](https://github.com/swc-project/swc/commit/08ed0fb6663e835bf9efe8270118ce49ccd53903)) + + - **(es/parser)** Check for existence of modifiers while parsing `accessor` token ([#8649](https://github.com/swc-project/swc/issues/8649)) ([ca23a33](https://github.com/swc-project/swc/commit/ca23a3353cefb0064ab28d10ea86634be5a0c191)) @@ -1410,9 +1413,6 @@ - **(es/codegen)** Don't strip necessary escape characters ([#7687](https://github.com/swc-project/swc/issues/7687)) ([b45649b](https://github.com/swc-project/swc/commit/b45649b8d6484bd872f6443fc729f6b1998ff44d)) -- **(es/compat)** Fix loose mode of the `spread` pass ([#7760](https://github.com/swc-project/swc/issues/7760)) ([b69ae8f](https://github.com/swc-project/swc/commit/b69ae8f433a1702e09a24c1c47b2fc312e8fb801)) - - - **(es/minifier)** Abort on `Array.slice` with `start >= end` ([#7745](https://github.com/swc-project/swc/issues/7745)) ([36ccbec](https://github.com/swc-project/swc/commit/36ccbec06130a55bc0707a0096a56558a77a1ceb)) @@ -1428,9 +1428,6 @@ - **(es/minifier)** Support stable rustc ([#7734](https://github.com/swc-project/swc/issues/7734)) ([f7afe7e](https://github.com/swc-project/swc/commit/f7afe7edecc65f41845721c75b77d2f6dba04a6a)) -- **(es/parser)** Do not use `lexical` ([#7758](https://github.com/swc-project/swc/issues/7758)) ([e50cfde](https://github.com/swc-project/swc/commit/e50cfde938b2504b723a95f034ac4b388d8725c3)) - - - **(es/parser)** Do not validate top-level await with target ([#7774](https://github.com/swc-project/swc/issues/7774)) ([5f97f86](https://github.com/swc-project/swc/commit/5f97f8656f9ff7c42bbf1db95fd9d964c5cc6c7c)) diff --git a/Cargo.lock b/Cargo.lock index 61290971e540..8e2b922c3acd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.64.14" +version = "0.64.15" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1056,7 +1056,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "dbg-swc" -version = "0.91.15" +version = "0.91.16" dependencies = [ "anyhow", "clap 3.2.25", @@ -3678,7 +3678,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.273.14" +version = "0.273.15" dependencies = [ "ansi_term", "anyhow", @@ -3747,7 +3747,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.225.10" +version = "0.225.11" dependencies = [ "anyhow", "crc", @@ -3861,7 +3861,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.7.11" +version = "0.7.12" dependencies = [ "anyhow", "base64", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.90.15" +version = "0.90.16" dependencies = [ "anyhow", "binding_macros", @@ -4419,7 +4419,7 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "0.45.20" +version = "0.45.21" dependencies = [ "anyhow", "dashmap", @@ -4440,7 +4440,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.192.11" +version = "0.192.12" dependencies = [ "ansi_term", "anyhow", @@ -4508,7 +4508,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.206.11" +version = "0.206.12" dependencies = [ "anyhow", "criterion", @@ -4573,7 +4573,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.229.11" +version = "0.229.12" dependencies = [ "pretty_assertions", "sourcemap", @@ -4686,7 +4686,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.180.11" +version = "0.180.12" dependencies = [ "Inflector", "anyhow", @@ -4715,7 +4715,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.198.11" +version = "0.198.12" dependencies = [ "dashmap", "indexmap 2.1.0", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.171.11" +version = "0.171.12" dependencies = [ "either", "rustc-hash", @@ -4769,7 +4769,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.183.11" +version = "0.183.12" dependencies = [ "base64", "dashmap", @@ -4821,7 +4821,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.188.11" +version = "0.188.12" dependencies = [ "criterion", "ryu-js", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.239.14" +version = "0.239.15" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -4984,7 +4984,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.137.11" +version = "0.137.12" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5034,7 +5034,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.134.11" +version = "0.134.12" dependencies = [ "criterion", "once_cell", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.62.14" +version = "0.62.15" dependencies = [ "anyhow", "dashmap", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.106.8" +version = "0.106.9" dependencies = [ "anyhow", "criterion", diff --git a/crates/binding_macros/Cargo.toml b/crates/binding_macros/Cargo.toml index 81a88fcb07fd..a484e7686ad3 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.64.14" +version = "0.64.15" [lib] bench = false @@ -33,10 +33,10 @@ binding_wasm = [ [dependencies] # Common deps for the SWC imports -swc = { optional = true, version = "0.273.14", path = "../swc" } +swc = { optional = true, version = "0.273.15", path = "../swc" } swc_common = { optional = true, version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { optional = true, version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms = { optional = true, version = "0.229.11", path = "../swc_ecma_transforms" } +swc_ecma_transforms = { optional = true, version = "0.229.12", path = "../swc_ecma_transforms" } swc_ecma_visit = { optional = true, version = "0.98.5", 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 fd6aa2f8e1ff..022d994ab607 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.91.15" +version = "0.91.16" [[bin]] bench = false @@ -32,7 +32,7 @@ swc_common = { version = "0.33.18", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 5195db73e9d2..dd4457c91168 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.273.14" +version = "0.273.15" [lib] bench = false @@ -73,21 +73,21 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ "sourcemap", "parking_lot", ] } -swc_compiler_base = { version = "0.7.11", path = "../swc_compiler_base" } +swc_compiler_base = { version = "0.7.12", path = "../swc_compiler_base" } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } swc_ecma_ext_transforms = { version = "0.113.8", path = "../swc_ecma_ext_transforms" } swc_ecma_lints = { version = "0.92.13", path = "../swc_ecma_lints" } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "cache", "node", "tsc", ] } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { version = "0.206.11", path = "../swc_ecma_preset_env" } -swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms", features = [ +swc_ecma_preset_env = { version = "0.206.12", path = "../swc_ecma_preset_env" } +swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", features = [ "compat", "module", "optimization", @@ -97,13 +97,13 @@ swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms", f ] } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_optimization = { version = "0.198.11", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_error_reporters = { version = "0.17.17", path = "../swc_error_reporters" } swc_node_comments = { version = "0.20.17", path = "../swc_node_comments" } swc_plugin_proxy = { version = "0.41.4", path = "../swc_plugin_proxy", optional = true } -swc_plugin_runner = { version = "0.106.8", path = "../swc_plugin_runner", optional = true, default-features = false } +swc_plugin_runner = { version = "0.106.9", path = "../swc_plugin_runner", optional = true, default-features = false } swc_timer = { version = "0.21.19", path = "../swc_timer" } swc_visit = { version = "0.5.9", path = "../swc_visit" } diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index c4f3e11a2c52..dfac6c7a46e9 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.225.10" +version = "0.225.11" [package.metadata.docs.rs] all-features = true @@ -41,10 +41,10 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader" } +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "0.198.11", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_fast_graph = { version = "0.21.18", path = "../swc_fast_graph/" } @@ -59,15 +59,15 @@ sha-1 = "0.10" tempfile = "3.6.0" url = "2.4.0" -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_transforms_proposal = { version = "0.171.11", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "0.183.11", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_typescript = { version = "0.188.11", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_typescript = { version = "0.188.12", path = "../swc_ecma_transforms_typescript" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index ea253b1f240c..099e4346e5c5 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -40,7 +40,7 @@ tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -swc_core = { version = "0.90.15", features = [ +swc_core = { version = "0.90.16", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 16c47e96cfbb..1af0a5aade4c 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.7.11" +version = "0.7.12" [features] node = ["napi", "napi-derive"] @@ -27,7 +27,7 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.19", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 9b0a4d48236a..2bc3e69d95ab 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.90.15" +version = "0.90.16" [package.metadata.docs.rs] features = [ "allocator_node", @@ -327,10 +327,10 @@ __visit = ["__ecma", "swc_ecma_visit"] once_cell = { optional = true, version = "1.18.0" } # swc_* dependencies -binding_macros = { optional = true, version = "0.64.14", path = "../binding_macros" } -swc = { optional = true, version = "0.273.14", path = "../swc" } +binding_macros = { optional = true, version = "0.64.15", path = "../binding_macros" } +swc = { optional = true, version = "0.273.15", path = "../swc" } swc_atoms = { optional = true, version = "0.6.5", path = "../swc_atoms" } -swc_bundler = { optional = true, version = "0.225.10", path = "../swc_bundler" } +swc_bundler = { optional = true, version = "0.225.11", path = "../swc_bundler" } swc_cached = { optional = true, version = "0.3.19", path = "../swc_cached" } swc_common = { optional = true, version = "0.33.18", path = "../swc_common" } swc_css_ast = { optional = true, version = "0.140.19", path = "../swc_css_ast" } @@ -345,24 +345,24 @@ swc_css_visit = { optional = true, version = "0.139.19", path swc_ecma_ast = { optional = true, version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { optional = true, version = "0.148.8", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "0.92.13", path = "../swc_ecma_lints" } -swc_ecma_loader = { optional = true, version = "0.45.20", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "0.192.11", path = "../swc_ecma_minifier" } +swc_ecma_loader = { optional = true, version = "0.45.21", path = "../swc_ecma_loader" } +swc_ecma_minifier = { optional = true, version = "0.192.12", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_preset_env = { optional = true, version = "0.206.11", path = "../swc_ecma_preset_env" } +swc_ecma_preset_env = { optional = true, version = "0.206.12", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "0.54.9", path = "../swc_ecma_quote_macros" } swc_ecma_transforms_base = { optional = true, version = "0.137.11", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { optional = true, version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { optional = true, version = "0.180.11", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_optimization = { optional = true, version = "0.198.11", path = "../swc_ecma_transforms_optimization" } -swc_ecma_transforms_proposal = { optional = true, version = "0.171.11", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { optional = true, version = "0.183.11", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_module = { optional = true, version = "0.180.12", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_optimization = { optional = true, version = "0.198.12", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_proposal = { optional = true, version = "0.171.12", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { optional = true, version = "0.183.12", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { optional = true, version = "0.140.11", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { optional = true, version = "0.188.11", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { optional = true, version = "0.188.12", path = "../swc_ecma_transforms_typescript" } swc_ecma_usage_analyzer = { optional = true, version = "0.23.8", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { optional = true, version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "0.5.10", path = "../swc_malloc" } -swc_node_bundler = { optional = true, version = "0.62.14", path = "../swc_node_bundler" } +swc_node_bundler = { optional = true, version = "0.62.15", 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.16", path = "../swc_plugin_macro" } @@ -370,7 +370,7 @@ swc_plugin_proxy = { optional = true, version = "0.41.4", path = swc_trace_macro = { optional = true, version = "0.1.3", path = "../swc_trace_macro" } testing = { optional = true, version = "0.35.19", path = "../testing" } # TODO: eventually swc_plugin_runner needs to remove default features -swc_plugin_runner = { optional = true, version = "0.106.8", path = "../swc_plugin_runner", default-features = false } +swc_plugin_runner = { optional = true, version = "0.106.9", path = "../swc_plugin_runner", default-features = false } [build-dependencies] vergen = { version = "8.0.0", default-features = false, features = ["cargo"] } diff --git a/crates/swc_ecma_loader/Cargo.toml b/crates/swc_ecma_loader/Cargo.toml index f7f61246de59..0d10d6beb641 100644 --- a/crates/swc_ecma_loader/Cargo.toml +++ b/crates/swc_ecma_loader/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_loader" repository = "https://github.com/swc-project/swc.git" -version = "0.45.20" +version = "0.45.21" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 714559c23e5f..188914a840e8 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.192.11" +version = "0.192.12" [package.metadata.docs.rs] all-features = true @@ -61,7 +61,7 @@ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_optimization = { version = "0.198.11", path = "../swc_ecma_transforms_optimization" } +swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } swc_ecma_usage_analyzer = { version = "0.23.8", path = "../swc_ecma_usage_analyzer" } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 32fc0f5753ad..a09593127a88 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.206.11" +version = "0.206.12" [lib] bench = false @@ -32,7 +32,7 @@ string_enum = { version = "0.4.2", path = "../string_enum" } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms", features = [ +swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", features = [ "compat", "proposal", ] } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index 4833ffc3dfb6..f3974e6047d8 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.229.11" +version = "0.229.12" [package.metadata.docs.rs] all-features = true @@ -36,11 +36,11 @@ swc_common = { version = "0.33.18", path = "../swc_common" swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat", optional = true } -swc_ecma_transforms_module = { version = "0.180.11", path = "../swc_ecma_transforms_module", optional = true } -swc_ecma_transforms_optimization = { version = "0.198.11", path = "../swc_ecma_transforms_optimization", optional = true } -swc_ecma_transforms_proposal = { version = "0.171.11", path = "../swc_ecma_transforms_proposal", optional = true } -swc_ecma_transforms_react = { version = "0.183.11", path = "../swc_ecma_transforms_react", optional = true } -swc_ecma_transforms_typescript = { version = "0.188.11", path = "../swc_ecma_transforms_typescript", optional = true } +swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module", optional = true } +swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization", optional = true } +swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal", optional = true } +swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react", optional = true } +swc_ecma_transforms_typescript = { version = "0.188.12", path = "../swc_ecma_transforms_typescript", optional = true } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 2266e6a7ddc6..c61017ffa9ed 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.180.11" +version = "0.180.12" [lib] bench = false @@ -28,7 +28,7 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_cached = { version = "0.3.19", path = "../swc_cached" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "node", ] } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } @@ -40,7 +40,7 @@ swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } indexmap = { version = "2.0.0", features = ["serde"] } serde_json = "1" -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader", features = [ +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 1dc5ea878018..3a5a989168bd 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.198.11" +version = "0.198.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -43,9 +43,9 @@ swc_fast_graph = { version = "0.21.18", path = "../swc_fast_graph" } [dev-dependencies] swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_module = { version = "0.180.11", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_proposal = { version = "0.171.11", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_react = { version = "0.183.11", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react" } swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } -swc_ecma_transforms_typescript = { version = "0.188.11", path = "../swc_ecma_transforms_typescript" } +swc_ecma_transforms_typescript = { version = "0.188.12", path = "../swc_ecma_transforms_typescript" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 415645b07da2..1771f3981baf 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.171.11" +version = "0.171.12" [lib] bench = false @@ -25,7 +25,7 @@ smallvec = "1.8.0" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader", optional = true } +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", optional = true } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_classes = { version = "0.126.11", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 0fc476d5779a..19eba6768b39 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.183.11" +version = "0.183.12" [lib] bench = false @@ -40,6 +40,6 @@ swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen/" } swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat/" } -swc_ecma_transforms_module = { version = "0.180.11", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 36aea74f083b..d7bbcf1c0c81 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.188.11" +version = "0.188.12" [lib] bench = false @@ -20,7 +20,7 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_react = { version = "0.183.11", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react" } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } @@ -30,7 +30,7 @@ criterion = "0.5" swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_proposal = { version = "0.171.11", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 8a3c4c1a99fd..bf462077ff43 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.239.14" +version = "0.239.15" [package.metadata.docs.rs] all-features = true @@ -40,11 +40,11 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser", optional = true, default-features = false } -swc_ecma_preset_env = { version = "0.206.11", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_preset_env = { version = "0.206.12", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "0.59.9", path = "../swc_ecma_quote", optional = true } -swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms", optional = true } +swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", optional = true } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils", optional = true } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 27f6cc7a7f80..6984b7775529 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -40,10 +40,10 @@ swc_node_comments = { version = "0.20.17", path = "../swc_node_comments/" } criterion = "0.5" pretty_assertions = "1.3" -swc = { version = "0.273.14", path = "../swc" } +swc = { version = "0.273.15", path = "../swc" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms/" } +swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms/" } testing = { version = "0.35.19", path = "../testing" } walkdir = "2" diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index c3f4e13c5746..b3c4233c6e2b 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.137.11" +version = "0.137.12" [package.metadata.docs.rs] all-features = true @@ -21,6 +21,6 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.33.17", path = "../swc_html_ast"} swc_html_codegen = {version = "0.42.22", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.134.11", path = "../swc_html_minifier", optional = true} +swc_html_minifier = {version = "0.134.12", path = "../swc_html_minifier", optional = true} swc_html_parser = {version = "0.39.22", path = "../swc_html_parser"} swc_html_visit = {version = "0.33.17", path = "../swc_html_visit"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index d0487aed3479..b2cb75fa0976 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.134.11" +version = "0.134.12" [lib] bench = false @@ -31,7 +31,7 @@ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "0.192.11", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 78ab380352ce..c22b1a303ece 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.62.14" +version = "0.62.15" [lib] bench = false @@ -29,9 +29,9 @@ serde_json = "1" tracing = "0.1.37" string_enum = { version = "0.4.2", path = "../string_enum" } -swc = { version = "0.273.14", path = "../swc" } +swc = { version = "0.273.15", path = "../swc" } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } -swc_bundler = { version = "0.225.10", path = "../swc_bundler", features = [ +swc_bundler = { version = "0.225.11", path = "../swc_bundler", features = [ "concurrent", ] } swc_common = { version = "0.33.18", path = "../swc_common", features = [ @@ -39,9 +39,9 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ ] } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader" } +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms = { version = "0.229.11", path = "../swc_ecma_transforms" } +swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms" } swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index dfb542b27be3..3e03406db8b0 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.106.8" +version = "0.106.9" [lib] bench = false @@ -80,7 +80,7 @@ swc_css_parser = { version = "0.150.28", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ "rkyv-impl", ] } -swc_ecma_loader = { version = "0.45.20", path = "../swc_ecma_loader" } +swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } From baba66346403da84db3083d22f4afbba4f6a9bfb Mon Sep 17 00:00:00 2001 From: magic-akari Date: Mon, 4 Mar 2024 15:46:31 +0800 Subject: [PATCH 3/4] fix(es/typescript): Handle accessibility in private method (#8689) **Related issue:** - Closes #8687 --- crates/swc_ecma_parser/src/error.rs | 4 ++ .../src/parser/class_and_fn.rs | 62 ++++++++++++------- .../tests/errors/issue-8687/input.ts | 4 ++ .../errors/issue-8687/input.ts.swc-stderr | 16 +++++ .../src/strip_type.rs | 8 +++ 5 files changed, 70 insertions(+), 24 deletions(-) create mode 100644 crates/swc_ecma_parser/tests/errors/issue-8687/input.ts create mode 100644 crates/swc_ecma_parser/tests/errors/issue-8687/input.ts.swc-stderr diff --git a/crates/swc_ecma_parser/src/error.rs b/crates/swc_ecma_parser/src/error.rs index cf6f8d655f3c..c61d04b0ab73 100644 --- a/crates/swc_ecma_parser/src/error.rs +++ b/crates/swc_ecma_parser/src/error.rs @@ -279,6 +279,7 @@ pub enum SyntaxError { TS2703, TS4112, TS8038, + TS18010, TSTypeAnnotationAfterAssign, TsNonNullAssertionNotAllowed(JsWord), @@ -720,6 +721,9 @@ impl SyntaxError { SyntaxError::TS8038 => "Decorators may not appear after `export` or `export default` \ if they also appear before `export`." .into(), + SyntaxError::TS18010 => { + "An accessibility modifier cannot be used with a private identifier.".into() + } SyntaxError::TSTypeAnnotationAfterAssign => { "Type annotations must come before default assignments".into() } diff --git a/crates/swc_ecma_parser/src/parser/class_and_fn.rs b/crates/swc_ecma_parser/src/parser/class_and_fn.rs index 9962b6ac77d5..fce10ad3e4f5 100644 --- a/crates/swc_ecma_parser/src/parser/class_and_fn.rs +++ b/crates/swc_ecma_parser/src/parser/class_and_fn.rs @@ -1097,20 +1097,27 @@ impl Parser { } Ok(match key { - Key::Private(key) => PrivateProp { - span: span!(p, start), - key, - value, - is_static, - decorators, - accessibility, - is_optional, - is_override, - readonly, - type_ann, - definite, + Key::Private(key) => { + let span = span!(p, start); + if accessibility.is_some() { + p.emit_err(span.with_hi(key.span_hi()), SyntaxError::TS18010); + } + + PrivateProp { + span: span!(p, start), + key, + value, + is_static, + decorators, + accessibility, + is_optional, + is_override, + readonly, + type_ann, + definite, + } + .into() } - .into(), Key::Public(key) => { let span = span!(p, start); if is_abstract && value.is_some() { @@ -1446,20 +1453,27 @@ impl Parser { } match key { - Key::Private(key) => Ok(PrivateMethod { - span: span!(self, start), + Key::Private(key) => { + let span = span!(self, start); + if accessibility.is_some() { + self.emit_err(span.with_hi(key.span_hi()), SyntaxError::TS18010); + } - accessibility, - is_abstract, - is_optional, - is_override, + Ok(PrivateMethod { + span, - is_static, - key, - function, - kind, + accessibility, + is_abstract, + is_optional, + is_override, + + is_static, + key, + function, + kind, + } + .into()) } - .into()), Key::Public(key) => { let span = span!(self, start); if is_abstract && function.body.is_some() { diff --git a/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts b/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts new file mode 100644 index 000000000000..3e8eacea5842 --- /dev/null +++ b/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts @@ -0,0 +1,4 @@ +class Foo { + private #p1() { } + private #p2: number; +} \ No newline at end of file diff --git a/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts.swc-stderr b/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts.swc-stderr new file mode 100644 index 000000000000..d74069efea60 --- /dev/null +++ b/crates/swc_ecma_parser/tests/errors/issue-8687/input.ts.swc-stderr @@ -0,0 +1,16 @@ + + x An accessibility modifier cannot be used with a private identifier. + ,-[$DIR/tests/errors/issue-8687/input.ts:1:1] + 1 | class Foo { + 2 | private #p1() { } + : ^^^^^^^^^^^ + 3 | private #p2: number; + `---- + + x An accessibility modifier cannot be used with a private identifier. + ,-[$DIR/tests/errors/issue-8687/input.ts:2:1] + 2 | private #p1() { } + 3 | private #p2: number; + : ^^^^^^^^^^^ + 4 | } + `---- diff --git a/crates/swc_ecma_transforms_typescript/src/strip_type.rs b/crates/swc_ecma_transforms_typescript/src/strip_type.rs index 1680a866a293..2cc2db1cafce 100644 --- a/crates/swc_ecma_transforms_typescript/src/strip_type.rs +++ b/crates/swc_ecma_transforms_typescript/src/strip_type.rs @@ -89,6 +89,14 @@ impl VisitMut for StripType { prop.visit_mut_children_with(self); } + fn visit_mut_private_method(&mut self, n: &mut PrivateMethod) { + n.accessibility = None; + n.is_abstract = false; + n.is_optional = false; + n.is_override = false; + n.visit_mut_children_with(self); + } + fn visit_mut_constructor(&mut self, n: &mut Constructor) { n.accessibility = None; n.visit_mut_children_with(self); From 7a5c7df195edaad3e514be481e75ce1233c958a4 Mon Sep 17 00:00:00 2001 From: SWC Bot Date: Mon, 4 Mar 2024 07:48:09 +0000 Subject: [PATCH 4/4] chore: Bump crates --- CHANGELOG.md | 6 +-- Cargo.lock | 48 +++++++++---------- crates/dbg-swc/Cargo.toml | 6 +-- crates/jsdoc/Cargo.toml | 4 +- crates/swc/Cargo.toml | 16 +++---- crates/swc_bundler/Cargo.toml | 8 ++-- crates/swc_compiler_base/Cargo.toml | 4 +- crates/swc_core/Cargo.toml | 18 +++---- crates/swc_ecma_codegen/Cargo.toml | 4 +- crates/swc_ecma_compat_bugfixes/Cargo.toml | 12 ++--- crates/swc_ecma_compat_common/Cargo.toml | 4 +- crates/swc_ecma_compat_es2015/Cargo.toml | 14 +++--- crates/swc_ecma_compat_es2016/Cargo.toml | 10 ++-- crates/swc_ecma_compat_es2017/Cargo.toml | 10 ++-- crates/swc_ecma_compat_es2018/Cargo.toml | 12 ++--- crates/swc_ecma_compat_es2019/Cargo.toml | 10 ++-- crates/swc_ecma_compat_es2020/Cargo.toml | 12 ++--- crates/swc_ecma_compat_es2021/Cargo.toml | 6 +-- crates/swc_ecma_compat_es2022/Cargo.toml | 10 ++-- crates/swc_ecma_compat_es3/Cargo.toml | 10 ++-- crates/swc_ecma_ext_transforms/Cargo.toml | 4 +- crates/swc_ecma_lints/Cargo.toml | 10 ++-- crates/swc_ecma_minifier/Cargo.toml | 10 ++-- crates/swc_ecma_parser/Cargo.toml | 2 +- crates/swc_ecma_preset_env/Cargo.toml | 6 +-- crates/swc_ecma_quote/Cargo.toml | 4 +- crates/swc_ecma_quote_macros/Cargo.toml | 4 +- crates/swc_ecma_transforms/Cargo.toml | 12 ++--- crates/swc_ecma_transforms_base/Cargo.toml | 8 ++-- crates/swc_ecma_transforms_classes/Cargo.toml | 6 +-- crates/swc_ecma_transforms_compat/Cargo.toml | 34 ++++++------- crates/swc_ecma_transforms_module/Cargo.toml | 10 ++-- .../Cargo.toml | 10 ++-- .../swc_ecma_transforms_proposal/Cargo.toml | 12 ++--- crates/swc_ecma_transforms_react/Cargo.toml | 12 ++--- crates/swc_ecma_transforms_testing/Cargo.toml | 10 ++-- .../swc_ecma_transforms_typescript/Cargo.toml | 12 ++--- crates/swc_ecma_usage_analyzer/Cargo.toml | 4 +- crates/swc_ecma_utils/Cargo.toml | 4 +- crates/swc_ecmascript/Cargo.toml | 8 ++-- crates/swc_estree_compat/Cargo.toml | 6 +-- crates/swc_html_minifier/Cargo.toml | 6 +-- crates/swc_node_bundler/Cargo.toml | 6 +-- crates/swc_plugin_runner/Cargo.toml | 2 +- 44 files changed, 213 insertions(+), 213 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc06ecc4bba8..709670b155e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,9 @@ - **(es/parser)** Check for existence of modifiers while parsing `accessor` token ([#8649](https://github.com/swc-project/swc/issues/8649)) ([ca23a33](https://github.com/swc-project/swc/commit/ca23a3353cefb0064ab28d10ea86634be5a0c191)) +- **(es/typescript)** Handle accessibility in private method ([#8689](https://github.com/swc-project/swc/issues/8689)) ([baba663](https://github.com/swc-project/swc/commit/baba66346403da84db3083d22f4afbba4f6a9bfb)) + + - **(es/visit)** Skip `TsExprWithTypeArgs` from `noop_visit/fold_type` macros ([#8677](https://github.com/swc-project/swc/issues/8677)) ([a7a00aa](https://github.com/swc-project/swc/commit/a7a00aafb9ead8cb536e1205087b371e20a795b3)) ### Documentation @@ -1415,9 +1418,6 @@ - **(es/minifier)** Abort on `Array.slice` with `start >= end` ([#7745](https://github.com/swc-project/swc/issues/7745)) ([36ccbec](https://github.com/swc-project/swc/commit/36ccbec06130a55bc0707a0096a56558a77a1ceb)) - -- **(es/utils)** Ignore `typeof Id` while preserving side effects ([#7763](https://github.com/swc-project/swc/issues/7763)) ([d57ac0d](https://github.com/swc-project/swc/commit/d57ac0dd28cdefef63a18d53565154e65ee8b838)) - ### Refactor diff --git a/Cargo.lock b/Cargo.lock index 8e2b922c3acd..6e410d0004d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1899,7 +1899,7 @@ dependencies = [ [[package]] name = "jsdoc" -version = "0.112.6" +version = "0.112.7" dependencies = [ "anyhow", "dashmap", @@ -4163,7 +4163,7 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.148.8" +version = "0.148.9" dependencies = [ "base64", "criterion", @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_atoms", "swc_common", @@ -4214,7 +4214,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "0.4.8" +version = "0.4.9" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4225,7 +4225,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "0.4.11" +version = "0.4.12" dependencies = [ "arrayvec", "indexmap 2.1.0", @@ -4251,7 +4251,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_atoms", "swc_common", @@ -4268,7 +4268,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "0.4.11" +version = "0.4.12" dependencies = [ "serde", "swc_atoms", @@ -4286,7 +4286,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "0.4.11" +version = "0.4.12" dependencies = [ "serde", "swc_atoms", @@ -4305,7 +4305,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_atoms", "swc_common", @@ -4321,7 +4321,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "0.4.11" +version = "0.4.12" dependencies = [ "serde", "swc_atoms", @@ -4339,7 +4339,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_atoms", "swc_common", @@ -4353,7 +4353,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_atoms", "swc_common", @@ -4370,7 +4370,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "0.4.11" +version = "0.4.12" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4385,7 +4385,7 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "0.113.8" +version = "0.113.9" dependencies = [ "phf", "swc_atoms", @@ -4397,7 +4397,7 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "0.92.13" +version = "0.92.14" dependencies = [ "auto_impl", "dashmap", @@ -4481,7 +4481,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.6" +version = "0.143.7" dependencies = [ "criterion", "either", @@ -4536,7 +4536,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote" -version = "0.59.9" +version = "0.59.10" dependencies = [ "swc_atoms", "swc_common", @@ -4547,7 +4547,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "0.54.9" +version = "0.54.10" dependencies = [ "anyhow", "proc-macro2", @@ -4598,7 +4598,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.137.11" +version = "0.137.12" dependencies = [ "better_scoped_tls", "bitflags 2.4.2", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.126.11" +version = "0.126.12" dependencies = [ "swc_atoms", "swc_common", @@ -4637,7 +4637,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.163.11" +version = "0.163.12" dependencies = [ "arrayvec", "indexmap 2.1.0", @@ -4797,7 +4797,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.140.11" +version = "0.140.12" dependencies = [ "ansi_term", "anyhow", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.23.8" +version = "0.23.9" dependencies = [ "indexmap 2.1.0", "rustc-hash", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.127.8" +version = "0.127.9" dependencies = [ "indexmap 2.1.0", "num_cpus", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index 022d994ab607..ab6fc9fd9c02 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -31,12 +31,12 @@ swc_common = { version = "0.33.18", features = [ "tty-emitter", ], path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", features = [ "concurrent", ] } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_error_reporters = { version = "0.17.17", path = "../swc_error_reporters" } swc_timer = { version = "0.21.19", path = "../swc_timer" } diff --git a/crates/jsdoc/Cargo.toml b/crates/jsdoc/Cargo.toml index 3f3541578423..65c5b7b6d20b 100644 --- a/crates/jsdoc/Cargo.toml +++ b/crates/jsdoc/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "jsdoc" -version = "0.112.6" +version = "0.112.7" [lib] bench = false @@ -26,5 +26,5 @@ anyhow = "1" dashmap = "5.4.0" swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index dd4457c91168..458979af684d 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -76,16 +76,16 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ swc_compiler_base = { version = "0.7.12", path = "../swc_compiler_base" } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_ext_transforms = { version = "0.113.8", path = "../swc_ecma_ext_transforms" } -swc_ecma_lints = { version = "0.92.13", path = "../swc_ecma_lints" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_ext_transforms = { version = "0.113.9", path = "../swc_ecma_ext_transforms" } +swc_ecma_lints = { version = "0.92.14", path = "../swc_ecma_lints" } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "cache", "node", "tsc", ] } swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "0.206.12", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", features = [ "compat", @@ -95,10 +95,10 @@ swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", f "react", "typescript", ] } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_error_reporters = { version = "0.17.17", path = "../swc_error_reporters" } swc_node_comments = { version = "0.20.17", path = "../swc_node_comments" } @@ -127,7 +127,7 @@ rayon = "1.7.0" swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ "serde-impl", ] } -swc_ecma_lints = { version = "0.92.13", path = "../swc_ecma_lints", features = [ +swc_ecma_lints = { version = "0.92.14", path = "../swc_ecma_lints", features = [ "non_critical_lints", ] } swc_ecma_testing = { version = "0.22.20", path = "../swc_ecma_testing" } diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index dfac6c7a46e9..5cca6da408a1 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -40,12 +40,12 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_fast_graph = { version = "0.21.18", path = "../swc_fast_graph/" } swc_graph_analyzer = { version = "0.22.20", path = "../swc_graph_analyzer/" } diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 1af0a5aade4c..58d67dc486f5 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -26,9 +26,9 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ ] } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.19", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 2bc3e69d95ab..d9e18231d2e1 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -343,23 +343,23 @@ swc_css_prefixer = { optional = true, version = "0.153.33", path swc_css_utils = { optional = true, version = "0.137.19", path = "../swc_css_utils/" } swc_css_visit = { optional = true, version = "0.139.19", path = "../swc_css_visit" } swc_ecma_ast = { optional = true, version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { optional = true, version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_lints = { optional = true, version = "0.92.13", path = "../swc_ecma_lints" } +swc_ecma_codegen = { optional = true, version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_lints = { optional = true, version = "0.92.14", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "0.45.21", path = "../swc_ecma_loader" } swc_ecma_minifier = { optional = true, version = "0.192.12", path = "../swc_ecma_minifier" } -swc_ecma_parser = { optional = true, version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { optional = true, version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "0.206.12", path = "../swc_ecma_preset_env" } -swc_ecma_quote_macros = { optional = true, version = "0.54.9", path = "../swc_ecma_quote_macros" } -swc_ecma_transforms_base = { optional = true, version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { optional = true, version = "0.163.11", path = "../swc_ecma_transforms_compat" } +swc_ecma_quote_macros = { optional = true, version = "0.54.10", path = "../swc_ecma_quote_macros" } +swc_ecma_transforms_base = { optional = true, version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { optional = true, version = "0.163.12", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_module = { optional = true, version = "0.180.12", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_optimization = { optional = true, version = "0.198.12", path = "../swc_ecma_transforms_optimization" } swc_ecma_transforms_proposal = { optional = true, version = "0.171.12", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { optional = true, version = "0.183.12", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_testing = { optional = true, version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_testing = { optional = true, version = "0.140.12", path = "../swc_ecma_transforms_testing" } swc_ecma_transforms_typescript = { optional = true, version = "0.188.12", path = "../swc_ecma_transforms_typescript" } -swc_ecma_usage_analyzer = { optional = true, version = "0.23.8", path = "../swc_ecma_usage_analyzer" } -swc_ecma_utils = { optional = true, version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_usage_analyzer = { optional = true, version = "0.23.9", path = "../swc_ecma_usage_analyzer" } +swc_ecma_utils = { optional = true, version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { optional = true, version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { optional = true, version = "0.5.10", path = "../swc_malloc" } swc_node_bundler = { optional = true, version = "0.62.15", path = "../swc_node_bundler" } diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 568945d9ac2e..09b51a37e2be 100644 --- a/crates/swc_ecma_codegen/Cargo.toml +++ b/crates/swc_ecma_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.148.8" +version = "0.148.9" [features] # This does not enable serde for ast nodes. @@ -38,7 +38,7 @@ serde_json = "1" swc_common = { version = "0.33.18", path = "../swc_common", features = [ "sourcemap", ] } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "0.22.20", path = "../swc_ecma_testing" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_compat_bugfixes/Cargo.toml b/crates/swc_ecma_compat_bugfixes/Cargo.toml index 45b17f249d32..69b9ccca9bca 100644 --- a/crates/swc_ecma_compat_bugfixes/Cargo.toml +++ b/crates/swc_ecma_compat_bugfixes/Cargo.toml @@ -7,20 +7,20 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_bugfixes" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_es2015 = { version = "0.4.11", path = "../swc_ecma_compat_es2015" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_compat_es2015 = { version = "0.4.12", path = "../swc_ecma_compat_es2015" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } tracing = "0.1.37" [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_common/Cargo.toml b/crates/swc_ecma_compat_common/Cargo.toml index 010c59305f5c..687fef0477dd 100644 --- a/crates/swc_ecma_compat_common/Cargo.toml +++ b/crates/swc_ecma_compat_common/Cargo.toml @@ -7,13 +7,13 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_common" repository = "https://github.com/swc-project/swc.git" -version = "0.4.8" +version = "0.4.9" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2015/Cargo.toml b/crates/swc_ecma_compat_es2015/Cargo.toml index 277606dcc97d..b7977715716e 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.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -25,15 +25,15 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "0.4.8", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "0.126.11", path = "../swc_ecma_transforms_classes" } +swc_ecma_compat_common = { version = "0.4.9", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.126.12", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } tracing = "0.1.37" [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2016/Cargo.toml b/crates/swc_ecma_compat_es2016/Cargo.toml index 22624e1bacb9..108d2b0ac0df 100644 --- a/crates/swc_ecma_compat_es2016/Cargo.toml +++ b/crates/swc_ecma_compat_es2016/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2016" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -16,13 +16,13 @@ version = "0.4.11" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } tracing = "0.1.37" [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2017/Cargo.toml b/crates/swc_ecma_compat_es2017/Cargo.toml index a6ca52ba968f..61f996561a4c 100644 --- a/crates/swc_ecma_compat_es2017/Cargo.toml +++ b/crates/swc_ecma_compat_es2017/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2017" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -19,12 +19,12 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2018/Cargo.toml b/crates/swc_ecma_compat_es2018/Cargo.toml index 0522d7984a8e..0ffa39926e39 100644 --- a/crates/swc_ecma_compat_es2018/Cargo.toml +++ b/crates/swc_ecma_compat_es2018/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2018" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -19,13 +19,13 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "0.4.8", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_compat_common = { version = "0.4.9", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2019/Cargo.toml b/crates/swc_ecma_compat_es2019/Cargo.toml index 08f701cd6820..a38df8e60e94 100644 --- a/crates/swc_ecma_compat_es2019/Cargo.toml +++ b/crates/swc_ecma_compat_es2019/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2019" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -19,11 +19,11 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2020/Cargo.toml b/crates/swc_ecma_compat_es2020/Cargo.toml index a3843323a2f0..73d5229d7860 100644 --- a/crates/swc_ecma_compat_es2020/Cargo.toml +++ b/crates/swc_ecma_compat_es2020/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2020" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,13 +17,13 @@ serde = { version = "1.0.188", features = ["derive"] } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_es2022 = { version = "0.4.11", path = "../swc_ecma_compat_es2022" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_compat_es2022 = { version = "0.4.12", path = "../swc_ecma_compat_es2022" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } tracing = "0.1.37" [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_compat_es2021/Cargo.toml b/crates/swc_ecma_compat_es2021/Cargo.toml index daec0deeb4d4..8658ead79938 100644 --- a/crates/swc_ecma_compat_es2021/Cargo.toml +++ b/crates/swc_ecma_compat_es2021/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2021" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -18,7 +18,7 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es2022/Cargo.toml b/crates/swc_ecma_compat_es2022/Cargo.toml index 69d7949ffcee..8f868c175e94 100644 --- a/crates/swc_ecma_compat_es2022/Cargo.toml +++ b/crates/swc_ecma_compat_es2022/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es2022" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -19,10 +19,10 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_common = { version = "0.4.8", path = "../swc_ecma_compat_common" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "0.126.11", path = "../swc_ecma_transforms_classes" } +swc_ecma_compat_common = { version = "0.4.9", path = "../swc_ecma_compat_common" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.126.12", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } diff --git a/crates/swc_ecma_compat_es3/Cargo.toml b/crates/swc_ecma_compat_es3/Cargo.toml index b36aadf5941a..4b775b6ecb47 100644 --- a/crates/swc_ecma_compat_es3/Cargo.toml +++ b/crates/swc_ecma_compat_es3/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_compat_es3" repository = "https://github.com/swc-project/swc.git" -version = "0.4.11" +version = "0.4.12" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,11 +17,11 @@ tracing = "0.1.37" swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } diff --git a/crates/swc_ecma_ext_transforms/Cargo.toml b/crates/swc_ecma_ext_transforms/Cargo.toml index 9cb36a9b2700..61f3b4cff84d 100644 --- a/crates/swc_ecma_ext_transforms/Cargo.toml +++ b/crates/swc_ecma_ext_transforms/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_ext_transforms/" edition = "2021" license = "Apache-2.0" name = "swc_ecma_ext_transforms" -version = "0.113.8" +version = "0.113.9" [lib] bench = false @@ -16,5 +16,5 @@ phf = { version = "0.11", features = ["macros"] } swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 69f8bece4cb5..5c14c0bf09f4 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_lints" repository = "https://github.com/swc-project/swc.git" -version = "0.92.13" +version = "0.92.14" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] @@ -28,13 +28,13 @@ swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ "serde", ] } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } testing = { version = "0.35.19", path = "../testing" } [features] diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 188914a840e8..b3a762866cb3 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -58,12 +58,12 @@ swc_config = { version = "0.1.11", path = "../swc_config", features = [ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ "serde", ] } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization" } -swc_ecma_usage_analyzer = { version = "0.23.8", path = "../swc_ecma_usage_analyzer" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_usage_analyzer = { version = "0.23.9", path = "../swc_ecma_usage_analyzer" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.19", path = "../swc_timer" } diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index 6e8adc275355..6dd08d4e39fa 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 = "0.143.6" +version = "0.143.7" [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 a09593127a88..80f4f1456828 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -36,15 +36,15 @@ swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", f "compat", "proposal", ] } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] criterion = "0.5" pretty_assertions = "1.3" -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } testing = { version = "0.35.19", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_quote/Cargo.toml b/crates/swc_ecma_quote/Cargo.toml index bc4259d0a82a..04cb25a343bb 100644 --- a/crates/swc_ecma_quote/Cargo.toml +++ b/crates/swc_ecma_quote/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_quote" repository = "https://github.com/swc-project/swc.git" -version = "0.59.9" +version = "0.59.10" [lib] bench = false @@ -15,7 +15,7 @@ bench = false swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_quote_macros = { version = "0.54.9", path = "../swc_ecma_quote_macros" } +swc_ecma_quote_macros = { version = "0.54.10", path = "../swc_ecma_quote_macros" } [dev-dependencies] testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_quote_macros/Cargo.toml b/crates/swc_ecma_quote_macros/Cargo.toml index 124d78884915..ee42a12b5cc4 100644 --- a/crates/swc_ecma_quote_macros/Cargo.toml +++ b/crates/swc_ecma_quote_macros/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_quote_macros" repository = "https://github.com/swc-project/swc.git" -version = "0.54.9" +version = "0.54.10" [lib] bench = false @@ -21,5 +21,5 @@ syn = "2" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_macros_common = { version = "0.3.9", path = "../swc_macros_common" } diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index f3974e6047d8..9b2bbc631fe1 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -34,14 +34,14 @@ typescript = ["swc_ecma_transforms_typescript"] swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat", optional = true } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat", optional = true } swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module", optional = true } swc_ecma_transforms_optimization = { version = "0.198.12", path = "../swc_ecma_transforms_optimization", optional = true } swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal", optional = true } swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react", optional = true } swc_ecma_transforms_typescript = { version = "0.188.12", path = "../swc_ecma_transforms_typescript", optional = true } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] @@ -49,7 +49,7 @@ pretty_assertions = "1.3" sourcemap = "6.4" tempfile = "3" -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index a333a7bef9ff..c5069290c247 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0" name = "swc_ecma_transforms_base" repository = "https://github.com/swc-project/swc.git" -version = "0.137.11" +version = "0.137.12" [lib] bench = false @@ -31,15 +31,15 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] criterion = "0.5" rayon = "1" -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_classes/Cargo.toml b/crates/swc_ecma_transforms_classes/Cargo.toml index 8e44a88a7157..bd82a04d7df6 100644 --- a/crates/swc_ecma_transforms_classes/Cargo.toml +++ b/crates/swc_ecma_transforms_classes/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms_classes" repository = "https://github.com/swc-project/swc.git" -version = "0.126.11" +version = "0.126.12" [lib] bench = false @@ -15,6 +15,6 @@ bench = false swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index e6f72fdec2aa..05270c87d8af 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.163.11" +version = "0.163.12" [lib] bench = false @@ -33,27 +33,27 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_compat_bugfixes = { version = "0.4.11", path = "../swc_ecma_compat_bugfixes" } -swc_ecma_compat_common = { version = "0.4.8", path = "../swc_ecma_compat_common" } -swc_ecma_compat_es2015 = { version = "0.4.11", path = "../swc_ecma_compat_es2015" } -swc_ecma_compat_es2016 = { version = "0.4.11", path = "../swc_ecma_compat_es2016" } -swc_ecma_compat_es2017 = { version = "0.4.11", path = "../swc_ecma_compat_es2017" } -swc_ecma_compat_es2018 = { version = "0.4.11", path = "../swc_ecma_compat_es2018" } -swc_ecma_compat_es2019 = { version = "0.4.11", path = "../swc_ecma_compat_es2019" } -swc_ecma_compat_es2020 = { version = "0.4.11", path = "../swc_ecma_compat_es2020" } -swc_ecma_compat_es2021 = { version = "0.4.11", path = "../swc_ecma_compat_es2021" } -swc_ecma_compat_es2022 = { version = "0.4.11", path = "../swc_ecma_compat_es2022" } -swc_ecma_compat_es3 = { version = "0.4.11", path = "../swc_ecma_compat_es3" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "0.126.11", path = "../swc_ecma_transforms_classes" } +swc_ecma_compat_bugfixes = { version = "0.4.12", path = "../swc_ecma_compat_bugfixes" } +swc_ecma_compat_common = { version = "0.4.9", path = "../swc_ecma_compat_common" } +swc_ecma_compat_es2015 = { version = "0.4.12", path = "../swc_ecma_compat_es2015" } +swc_ecma_compat_es2016 = { version = "0.4.12", path = "../swc_ecma_compat_es2016" } +swc_ecma_compat_es2017 = { version = "0.4.12", path = "../swc_ecma_compat_es2017" } +swc_ecma_compat_es2018 = { version = "0.4.12", path = "../swc_ecma_compat_es2018" } +swc_ecma_compat_es2019 = { version = "0.4.12", path = "../swc_ecma_compat_es2019" } +swc_ecma_compat_es2020 = { version = "0.4.12", path = "../swc_ecma_compat_es2020" } +swc_ecma_compat_es2021 = { version = "0.4.12", path = "../swc_ecma_compat_es2021" } +swc_ecma_compat_es2022 = { version = "0.4.12", path = "../swc_ecma_compat_es2022" } +swc_ecma_compat_es3 = { version = "0.4.12", path = "../swc_ecma_compat_es3" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.126.12", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_trace_macro = { version = "0.1.3", path = "../swc_trace_macro" } [dev-dependencies] serde_json = "1.0.66" -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index c61017ffa9ed..ef8b6f22bae2 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -31,9 +31,9 @@ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = [ "node", ] } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] @@ -44,6 +44,6 @@ swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", features = "node", "tsc", ] } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing/" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 3a5a989168bd..9f71784026ea 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -34,18 +34,18 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_fast_graph = { version = "0.21.18", path = "../swc_fast_graph" } [dev-dependencies] -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module" } swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal" } swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } swc_ecma_transforms_typescript = { version = "0.188.12", path = "../swc_ecma_transforms_typescript" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 1771f3981baf..f012b7238d16 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -26,16 +26,16 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader", optional = true } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_transforms_classes = { version = "0.126.11", path = "../swc_ecma_transforms_classes" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.126.12", path = "../swc_ecma_transforms_classes" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] serde_json = "1.0.66" -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 19eba6768b39..82a47ee7c0d0 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -31,15 +31,15 @@ swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_config = { version = "0.1.11", path = "../swc_config" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_macros = { version = "0.5.4", path = "../swc_ecma_transforms_macros" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen/" } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat/" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen/" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat/" } swc_ecma_transforms_module = { version = "0.180.12", path = "../swc_ecma_transforms_module" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index 7018912d0b7e..0e508984d0f6 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_transforms_testing" repository = "https://github.com/swc-project/swc.git" -version = "0.140.11" +version = "0.140.12" [lib] bench = false @@ -26,10 +26,10 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ "sourcemap", ] } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_testing = { version = "0.22.20", path = "../swc_ecma_testing" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index d7bbcf1c0c81..cfefb034214f 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -19,19 +19,19 @@ ryu-js = "1.0.0" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_transforms_react = { version = "0.183.12", path = "../swc_ecma_transforms_react" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] criterion = "0.5" -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_compat = { version = "0.163.11", path = "../swc_ecma_transforms_compat" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "0.163.12", path = "../swc_ecma_transforms_compat" } swc_ecma_transforms_proposal = { version = "0.171.12", path = "../swc_ecma_transforms_proposal" } -swc_ecma_transforms_testing = { version = "0.140.11", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_testing = { version = "0.140.12", path = "../swc_ecma_transforms_testing" } testing = { version = "0.35.19", path = "../testing" } [[bench]] diff --git a/crates/swc_ecma_usage_analyzer/Cargo.toml b/crates/swc_ecma_usage_analyzer/Cargo.toml index 3965d443c7a1..ed8a14caa5c4 100644 --- a/crates/swc_ecma_usage_analyzer/Cargo.toml +++ b/crates/swc_ecma_usage_analyzer/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_ecma_usage_analyzer" repository = "https://github.com/swc-project/swc.git" -version = "0.23.8" +version = "0.23.9" [package.metadata.docs.rs] all-features = true @@ -29,6 +29,6 @@ tracing = "0.1.37" swc_atoms = { version = "0.6.5", path = "../swc_atoms" } swc_common = { version = "0.33.18", path = "../swc_common" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_timer = { version = "0.21.19", path = "../swc_timer" } diff --git a/crates/swc_ecma_utils/Cargo.toml b/crates/swc_ecma_utils/Cargo.toml index fb40307dde89..09b9ff1892a0 100644 --- a/crates/swc_ecma_utils/Cargo.toml +++ b/crates/swc_ecma_utils/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_utils" repository = "https://github.com/swc-project/swc.git" -version = "0.127.8" +version = "0.127.9" [package.metadata.docs.rs] all-features = true @@ -34,5 +34,5 @@ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } testing = { version = "0.35.19", path = "../testing" } diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index bf462077ff43..4a5da9d9c94b 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -39,13 +39,13 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen", optional = true } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen", optional = true } swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", optional = true } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser", optional = true, default-features = false } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "0.206.12", path = "../swc_ecma_preset_env", optional = true } -swc_ecma_quote = { version = "0.59.9", path = "../swc_ecma_quote", optional = true } +swc_ecma_quote = { version = "0.59.10", path = "../swc_ecma_quote", optional = true } swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms", optional = true } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils", optional = true } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils", optional = true } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit", optional = true } [dev-dependencies] diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 6984b7775529..033ea3ee0260 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -30,8 +30,8 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ "tty-emitter", ] } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_estree_ast = { version = "0.23.17", path = "../swc_estree_ast" } swc_node_comments = { version = "0.20.17", path = "../swc_node_comments/" } @@ -42,7 +42,7 @@ pretty_assertions = "1.3" swc = { version = "0.273.15", path = "../swc" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms/" } testing = { version = "0.35.19", path = "../testing" } walkdir = "2" diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index b2cb75fa0976..04696bd0f5a0 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -28,14 +28,14 @@ swc_css_codegen = { version = "0.151.29", path = "../swc_css_codegen" } swc_css_minifier = { version = "0.116.30", path = "../swc_css_minifier" } swc_css_parser = { version = "0.150.28", path = "../swc_css_parser" } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen", features = [ +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } swc_ecma_minifier = { version = "0.192.12", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } -swc_ecma_transforms_base = { version = "0.137.11", path = "../swc_ecma_transforms_base" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.137.12", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_html_ast = { version = "0.33.17", path = "../swc_html_ast" } swc_html_codegen = { version = "0.42.22", path = "../swc_html_codegen" } diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index c22b1a303ece..bdebbc2e9674 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -38,11 +38,11 @@ swc_common = { version = "0.33.18", path = "../swc_common", features = [ "concurrent", ] } swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast" } -swc_ecma_codegen = { version = "0.148.8", path = "../swc_ecma_codegen" } +swc_ecma_codegen = { version = "0.148.9", path = "../swc_ecma_codegen" } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_transforms = { version = "0.229.12", path = "../swc_ecma_transforms" } -swc_ecma_utils = { version = "0.127.8", path = "../swc_ecma_utils" } +swc_ecma_utils = { version = "0.127.9", path = "../swc_ecma_utils" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 3e03406db8b0..a2b5eaaaa297 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -81,7 +81,7 @@ swc_ecma_ast = { version = "0.112.4", path = "../swc_ecma_ast", features = [ "rkyv-impl", ] } swc_ecma_loader = { version = "0.45.21", path = "../swc_ecma_loader" } -swc_ecma_parser = { version = "0.143.6", path = "../swc_ecma_parser" } +swc_ecma_parser = { version = "0.143.7", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.98.5", path = "../swc_ecma_visit" } swc_malloc = { version = "0.5.10", path = "../swc_malloc" } testing = { version = "0.35.19", path = "../testing" }