From 11c35b7722354f4e129a858779575d74fd25990c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 1 Aug 2023 12:38:12 +0900 Subject: [PATCH 1/3] Update swc_core --- bindings/binding_core_node/Cargo.toml | 2 +- bindings/binding_core_wasm/Cargo.toml | 2 +- bindings/swc_cli/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/binding_core_node/Cargo.toml b/bindings/binding_core_node/Cargo.toml index f612b321f07d..71cfaed1b2d1 100644 --- a/bindings/binding_core_node/Cargo.toml +++ b/bindings/binding_core_node/Cargo.toml @@ -51,7 +51,7 @@ tracing-chrome = "0.5.0" tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } -swc_core = { version = "0.79.33", features = [ +swc_core = { version = "0.79.36", features = [ "allocator_node", "ecma_ast", "ecma_ast_serde", diff --git a/bindings/binding_core_wasm/Cargo.toml b/bindings/binding_core_wasm/Cargo.toml index 6ecb45bef8b6..679af4acde4f 100644 --- a/bindings/binding_core_wasm/Cargo.toml +++ b/bindings/binding_core_wasm/Cargo.toml @@ -35,7 +35,7 @@ anyhow = "1.0.66" getrandom = { version = "0.2.10", features = ["js"] } serde = { version = "1", features = ["derive"] } serde-wasm-bindgen = "0.4.5" -swc_core = { version = "0.79.33", features = [ +swc_core = { version = "0.79.36", features = [ "ecma_ast_serde", "common_perf", "binding_macro_wasm", diff --git a/bindings/swc_cli/Cargo.toml b/bindings/swc_cli/Cargo.toml index 1ed45104d21d..58ed8287c539 100644 --- a/bindings/swc_cli/Cargo.toml +++ b/bindings/swc_cli/Cargo.toml @@ -30,7 +30,7 @@ relative-path = "1.6.1" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["unbounded_depth"] } sourcemap = "6.2.2" -swc_core = { version = "0.79.33", features = [ +swc_core = { version = "0.79.36", features = [ "trace_macro", "common_concurrent", "base_concurrent", From 009984d6d8763766b091cf2f1d026c4063a8f254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 1 Aug 2023 12:38:29 +0900 Subject: [PATCH 2/3] bump --- bindings/binding_core_wasm/Cargo.toml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/binding_core_wasm/Cargo.toml b/bindings/binding_core_wasm/Cargo.toml index 679af4acde4f..6078fb6c2094 100644 --- a/bindings/binding_core_wasm/Cargo.toml +++ b/bindings/binding_core_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_core_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.3.72" +version = "1.3.73" [lib] bench = false diff --git a/package.json b/package.json index 2b5f58e979e2..febaf8bd6130 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core", - "version": "1.3.72", + "version": "1.3.73", "description": "Super-fast alternative for babel", "homepage": "https://swc.rs", "main": "./index.js", From 0bb153936089cf28a0ab668470a1e0f9655b73ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 1 Aug 2023 12:38:37 +0900 Subject: [PATCH 3/3] cargo lockfile --- bindings/Cargo.lock | 83 +++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock index 8027eb7900bb..62673a2628c2 100644 --- a/bindings/Cargo.lock +++ b/bindings/Cargo.lock @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "binding_core_wasm" -version = "1.3.72" +version = "1.3.73" dependencies = [ "anyhow", "getrandom", @@ -242,9 +242,9 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.53.30" +version = "0.53.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9428fd62e5e770cf1b269895924442490f5741d0eedf031709fceeb6171bc2c1" +checksum = "2008e650911414009fcff2ec2336780485e5cd68872c2d9db6e4606640ed0a31" dependencies = [ "anyhow", "console_error_panic_hook", @@ -2873,9 +2873,9 @@ dependencies = [ [[package]] name = "swc" -version = "0.264.30" +version = "0.264.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "171f9c5eee4b91d742ae2db4ebaa5433ff917597eff53d4240a9dca62654cd59" +checksum = "9b3613c388c35108a29a9cdc1fb273a0e3ab5c88764978c2c061968c8218a3db" dependencies = [ "ahash 0.8.3", "anyhow", @@ -2941,9 +2941,9 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.217.26" +version = "0.217.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4386481bccc7ad306661fe2b71d8607b71001bc4eeac305535a171875d60254" +checksum = "1301a680599d53649ead3278afdd8e44a46ff4889acd462ae03af49b834c55b5" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3067,9 +3067,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.79.33" +version = "0.79.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09411da23ef73edde443d948bf7ded3fb57d69da3b7613f5eb2e906887b073fa" +checksum = "9d9a40fe968df8d09e6d84ce78cef8aad9445210f2d4158c2211afc31b287d61" dependencies = [ "binding_macros", "swc", @@ -3142,9 +3142,9 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "0.106.6" +version = "0.106.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "393cc3014c3ab81df5c10d2fface921aea575bf34a7e28c3c338994bfc1ce564" +checksum = "2c679cd3df9565f33bf52d415dec082469f6aede94d548fb7c2f206f291b06b8" dependencies = [ "phf", "swc_atoms", @@ -3156,9 +3156,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "0.85.7" +version = "0.85.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6892851e1070db4d1e74447b46104070c9213fa9e8608fa108df3ba30e27ebf6" +checksum = "28f42231ffcda6721da9d13582c29e804eb37be37217dc85104bf170394353ac" dependencies = [ "ahash 0.8.3", "auto_impl", @@ -3199,9 +3199,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.184.26" +version = "0.184.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b3ca321503c1247b3bace0ed95a77575b8a788fb6aa575aca2ca92043165be6" +checksum = "3712cf39d4451a8e1cd3e06e6f11db9fc6e48ff5cebe1c41a82b97ace5e87b55" dependencies = [ "ahash 0.8.3", "arrayvec", @@ -3255,9 +3255,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.198.17" +version = "0.198.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a565a1a178e9cd4f3bf88a25ffba7d26040c69d354ea068552b30aa9dc98d4" +checksum = "8c61244992ff0291aaccc8cef000cfeb69cc0b95b807ed5896f2922ced1da2ae" dependencies = [ "ahash 0.8.3", "anyhow", @@ -3265,6 +3265,7 @@ dependencies = [ "indexmap", "once_cell", "preset_env_base", + "rustc-hash", "semver 1.0.17", "serde", "serde_json", @@ -3280,9 +3281,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.221.16" +version = "0.221.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b95404cd0b3bfb4b36e02333523a9f6940a16db536676f044c3ecef54f0155e" +checksum = "86740aad4b61535cbf3076cf1fcd9d4a78260bd8d55388523527c0fa0e886195" dependencies = [ "swc_atoms", "swc_common", @@ -3300,9 +3301,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.130.7" +version = "0.130.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80ecc34be2a225b043549f13cb34f493a863b88f53d409c1fbdceac5d56a7d54" +checksum = "0e2afd042778538c9de5653ada8f51837c39a0902d213b0ba643a98fec128e72" dependencies = [ "better_scoped_tls", "bitflags 2.3.3", @@ -3324,9 +3325,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.119.7" +version = "0.119.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278e9ac3c67151af8d96daf5c114ebd775d5df1bba916231b80e57888330faef" +checksum = "5e9d43c299e7b795fc9c3db7ba728303fc0835402f6a1407d0671198000208b7" dependencies = [ "swc_atoms", "swc_common", @@ -3338,9 +3339,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.156.12" +version = "0.156.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db0574f4893e8b731f81564b366feb7ca48f1c7fd5c95e13572435258acf39b" +checksum = "700e3615e2576ad09472ba01ef7402700f8ad0f418778dd854db751818ee566a" dependencies = [ "ahash 0.8.3", "arrayvec", @@ -3378,9 +3379,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.173.14" +version = "0.173.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "081ff1e51244ccbe026c788771b94686112f0096078fa65e3065f41d0ad148a9" +checksum = "e519dd0153664f7f0fea2bd37ada80df3daa9ac32c655c34bc4f3ac12df15f1c" dependencies = [ "Inflector", "ahash 0.8.3", @@ -3406,9 +3407,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.190.16" +version = "0.190.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4759c77d0cbd0402a58e82a633f9e6a7384b78e2e20d140949ba660b39289" +checksum = "f66fcb5d1655347e475c1411e54bff574f7072d7c5f2eb1ee512df45207b44ec" dependencies = [ "ahash 0.8.3", "dashmap", @@ -3432,9 +3433,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.164.12" +version = "0.164.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b610bc5d8fc9eaaf26f07f5885ba74488b329229f3040fdfd96e17cd43b95a6" +checksum = "8e6b66d09e6ab0a4d8b5fdc00fd7502bbedea1907f123a660ebc2bcb2ddf3c90" dependencies = [ "either", "rustc-hash", @@ -3452,9 +3453,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.176.14" +version = "0.176.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648c3476086d84eb4a2ad1b161723efd89691efb3e65dd3f577df1100487322a" +checksum = "c2c86ec3411725db8792d9660b47e28d05b44e1fd60a88b89f56105b07ed3e51" dependencies = [ "ahash 0.8.3", "base64 0.13.1", @@ -3478,9 +3479,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.180.15" +version = "0.180.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "389f4412b0b506473255c3f3d2630d557ff2ddd863025dbb98b114bc5bbe6b97" +checksum = "c03ffb1200c8bebef49d096a7513f3dfc24e36344be4359ac7e57ec83aae6f91" dependencies = [ "serde", "swc_atoms", @@ -3494,9 +3495,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.16.9" +version = "0.16.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5edc4eb872ce544c6bec18068f72091d0ae3811984cdc9b2b5963e59d1d9ae6b" +checksum = "e8b1ab1783d611b31207d2b9390ff7d991afcaf5b96b8e4da5415ee807434d17" dependencies = [ "ahash 0.8.3", "indexmap", @@ -3512,9 +3513,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.120.6" +version = "0.120.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468d37d4d68745edac5d77d7ad6062bfdf2c6238d5128aa0f1acbe4b2486a485" +checksum = "0c4602772e362a9ec13319854a2926dd791c92ab77dcb9485455eb10a34311ca" dependencies = [ "indexmap", "num_cpus", @@ -3618,9 +3619,9 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "0.51.30" +version = "0.51.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a5a8c2f7c4156643526434014a66ec3b0f38aab1826ddaf329f957f41bc2d68" +checksum = "fb8bf2e826ec7b8be19458ac4afe722d9b2389a77ad76e74ad069abf68b1ea19" dependencies = [ "anyhow", "dashmap",