diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c2839b2819..a65abd35e82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,12 @@ - **(ci)** Update `github-action-benchmark` (#3148) ([5a3bdc9](https://github.com/swc-project/swc/commit/5a3bdc9ed37ba39a0591c66bd89eddb95f6df850))- **general**: Add `enhancement` label to `feature_request` template (#3164) ([360ad7b](https://github.com/swc-project/swc/commit/360ad7b41c6fa35ce3afc81c2237d9acdae9a549)) +### Performance + + + +- **(es/ast/serde)** Make deserialization faster (#3160) ([7a83c0c](https://github.com/swc-project/swc/commit/7a83c0cb575b0ec6510d8dff6d1bd44d9c97fdb9)) + ### Refactor diff --git a/Cargo.lock b/Cargo.lock index d777fe04de4..c195da29b4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ dependencies = [ [[package]] name = "ast_node" -version = "0.7.4" +version = "0.7.5" dependencies = [ "darling", "pmutil", @@ -2096,9 +2096,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.73" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcbd0344bc6533bc7ec56df11d42fb70f1b912351c0825ccb7211b59d8af7cf5" +checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142" dependencies = [ "itoa 1.0.1", "ryu", @@ -2304,7 +2304,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.101.0" +version = "0.101.1" dependencies = [ "ahash", "anyhow", @@ -2410,7 +2410,7 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.15.1" +version = "0.15.2" dependencies = [ "abi_stable", "ahash", @@ -2456,7 +2456,7 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.40.0" +version = "0.40.1" dependencies = [ "is-macro", "serde", @@ -2541,7 +2541,7 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.60.4" +version = "0.60.5" dependencies = [ "arbitrary", "is-macro", @@ -2691,7 +2691,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.82.6" +version = "0.82.7" dependencies = [ "either", "enum_kind", @@ -2715,7 +2715,7 @@ dependencies = [ [[package]] name = "swc_ecma_plugin_ast" -version = "0.7.0" +version = "0.7.1" dependencies = [ "abi_stable", "num-bigint", @@ -3027,7 +3027,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.100.0" +version = "0.100.1" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -3052,7 +3052,7 @@ dependencies = [ [[package]] name = "swc_estree_ast" -version = "0.5.0" +version = "0.5.1" dependencies = [ "scoped-tls", "serde", diff --git a/crates/ast_node/Cargo.toml b/crates/ast_node/Cargo.toml index 01084ebe18f..d50d2b80428 100644 --- a/crates/ast_node/Cargo.toml +++ b/crates/ast_node/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "ast_node" repository = "https://github.com/swc-project/swc.git" -version = "0.7.4" +version = "0.7.5" [lib] proc-macro = true diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 711c3195ac3..9d0b5ea7bd9 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.101.0" +version = "0.101.1" [lib] name = "swc" @@ -54,13 +54,13 @@ serde_json = "1" sourcemap = "6" swc_atoms = {version = "0.2", path = "../swc_atoms"} swc_common = {version = "0.15.0", path = "../swc_common", features = ["sourcemap", "concurrent"]} -swc_ecma_ast = {version = "0.60.1", path = "../swc_ecma_ast"} +swc_ecma_ast = {version = "0.60.5", path = "../swc_ecma_ast"} swc_ecma_codegen = {version = "0.84.0", path = "../swc_ecma_codegen"} swc_ecma_ext_transforms = {version = "0.43.0", path = "../swc_ecma_ext_transforms"} swc_ecma_lints = {version = "0.2.0", path = "../swc_ecma_lints"} swc_ecma_loader = {version = "0.25.3", path = "../swc_ecma_loader", features = ["lru", "node", "tsc"]} swc_ecma_minifier = {version = "0.61.0", path = "../swc_ecma_minifier"} -swc_ecma_parser = {version = "0.82.6", path = "../swc_ecma_parser"} +swc_ecma_parser = {version = "0.82.7", path = "../swc_ecma_parser"} swc_ecma_preset_env = {version = "0.77.0", path = "../swc_ecma_preset_env"} swc_ecma_transforms = {version = "0.104.0", path = "../swc_ecma_transforms", features = [ "compat", @@ -75,7 +75,7 @@ swc_ecma_transforms_compat = {version = "0.60.0", path = "../swc_ecma_transforms swc_ecma_transforms_optimization = {version = "0.74.0", path = "../swc_ecma_transforms_optimization"} swc_ecma_utils = {version = "0.57.0", path = "../swc_ecma_utils"} swc_ecma_visit = {version = "0.46.0", path = "../swc_ecma_visit"} -swc_ecmascript = {version = "0.100.0", path = "../swc_ecmascript"} +swc_ecmascript = {version = "0.100.1", path = "../swc_ecmascript"} swc_node_comments = {version = "0.2.0", path = "../swc_node_comments"} swc_plugin_runner = {version = "0.22.0", path = "../swc_plugin_runner", optional = true} swc_visit = {version = "0.3.0", path = "../swc_visit"} diff --git a/crates/swc_common/Cargo.toml b/crates/swc_common/Cargo.toml index 82d0db3cec9..2dbc0cc15fc 100644 --- a/crates/swc_common/Cargo.toml +++ b/crates/swc_common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_common" repository = "https://github.com/swc-project/swc.git" -version = "0.15.1" +version = "0.15.2" [package.metadata.docs.rs] all-features = true @@ -30,7 +30,7 @@ abi_stable = {version = "0.10.3", optional = true} ahash = "0.7.4" anyhow = {version = "1.0.45", optional = true} arbitrary = {version = "1", optional = true, features = ["derive"]} -ast_node = {version = "0.7.3", path = "../ast_node"} +ast_node = {version = "0.7.5", path = "../ast_node"} atty = {version = "0.2", optional = true} bincode = {version = "1.3.3", optional = true} cfg-if = "0.1.2" diff --git a/crates/swc_css_ast/Cargo.toml b/crates/swc_css_ast/Cargo.toml index 1e4ba03e2a4..55823f55ecf 100644 --- a/crates/swc_css_ast/Cargo.toml +++ b/crates/swc_css_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_css_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.40.0" +version = "0.40.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/swc_ecma_ast/Cargo.toml b/crates/swc_ecma_ast/Cargo.toml index bfa1f9ec61a..beaa3127a27 100644 --- a/crates/swc_ecma_ast/Cargo.toml +++ b/crates/swc_ecma_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.60.4" +version = "0.60.5" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index ca82cc191a2..18c94acb4e2 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.82.6" +version = "0.82.7" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecma_plugin_ast/Cargo.toml b/crates/swc_ecma_plugin_ast/Cargo.toml index e2eb3305098..38c03e240b1 100644 --- a/crates/swc_ecma_plugin_ast/Cargo.toml +++ b/crates/swc_ecma_plugin_ast/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_ecma_plugin_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.7.0" +version = "0.7.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 1b939282c68..b6ab642a0b6 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.100.0" +version = "0.100.1" [package.metadata.docs.rs] all-features = true @@ -33,11 +33,11 @@ react = ["swc_ecma_transforms/react"] typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] -swc_ecma_ast = {version = "0.60.3", path = "../swc_ecma_ast"} +swc_ecma_ast = {version = "0.60.5", path = "../swc_ecma_ast"} swc_ecma_codegen = {version = "0.84.0", path = "../swc_ecma_codegen", optional = true} swc_ecma_dep_graph = {version = "0.52.0", path = "../swc_ecma_dep_graph", optional = true} swc_ecma_minifier = {version = "0.61.0", path = "../swc_ecma_minifier", optional = true} -swc_ecma_parser = {version = "0.82.6", path = "../swc_ecma_parser", optional = true, default-features = false} +swc_ecma_parser = {version = "0.82.7", path = "../swc_ecma_parser", optional = true, default-features = false} swc_ecma_preset_env = {version = "0.77.0", path = "../swc_ecma_preset_env", optional = true} swc_ecma_transforms = {version = "0.104.0", path = "../swc_ecma_transforms", optional = true} swc_ecma_utils = {version = "0.57.0", path = "../swc_ecma_utils", optional = true} diff --git a/crates/swc_estree_ast/Cargo.toml b/crates/swc_estree_ast/Cargo.toml index 4abd9f9a6bb..c7692a381e6 100644 --- a/crates/swc_estree_ast/Cargo.toml +++ b/crates/swc_estree_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_estree_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.5.0" +version = "0.5.1" [package.metadata.docs.rs] all-features = true