diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b75cbabb7a..cf591430acd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,9 @@ - **(css/parser)** Improve parsing of math functions (#3415) ([1b1cae0](https://github.com/swc-project/swc/commit/1b1cae037279be2e1f66788f0cb1539b7b8d6721)) +- **(es/codegen)** Improve compression of numbers (#3425) ([e8b64a9](https://github.com/swc-project/swc/commit/e8b64a9871ccfda5f5fb1f03662650f3500e6634)) + + - **(es/lints)** Implement `no-debugger` rule (#3398) ([9dec923](https://github.com/swc-project/swc/commit/9dec9236f7b3c95c803571404d7abae71e173936)) @@ -97,6 +100,9 @@ - **(css/codegen)** Add more tests (#3405) ([64383e3](https://github.com/swc-project/swc/commit/64383e385cc6a5b735273218f31a4430a772c941)) + +- **(css/codegen)** Verify AST is not broken after minification (#3430) ([73efd72](https://github.com/swc-project/swc/commit/73efd72cbe03f3f386dadf3c969763f15bb9b41d)) + ## [1.2.135] - 2022-01-27 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index 76b257a1b43..a0740cead96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2612,7 +2612,7 @@ dependencies = [ [[package]] name = "swc" -version = "0.120.0" +version = "0.120.1" dependencies = [ "ahash", "anyhow", @@ -2865,7 +2865,7 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.89.1" +version = "0.89.2" dependencies = [ "bitflags", "memchr", @@ -3311,7 +3311,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.111.10" +version = "0.111.11" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 4ee89120241..f0b12f6f485 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.120.0" +version = "0.120.1" [lib] name = "swc" @@ -48,7 +48,7 @@ sourcemap = "6" swc_atoms = {version = "0.2", path = "../swc_atoms"} swc_common = {version = "0.17.0", path = "../swc_common", features = ["sourcemap", "concurrent"]} swc_ecma_ast = {version = "0.65.3", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.89.1", path = "../swc_ecma_codegen"} +swc_ecma_codegen = {version = "0.89.2", path = "../swc_ecma_codegen"} swc_ecma_ext_transforms = {version = "0.50.0", path = "../swc_ecma_ext_transforms"} swc_ecma_lints = {version = "0.12.0", path = "../swc_ecma_lints"} swc_ecma_loader = {version = "0.28.0", path = "../swc_ecma_loader", features = ["lru", "node", "tsc"]} @@ -68,7 +68,7 @@ swc_ecma_transforms_compat = {version = "0.68.7", path = "../swc_ecma_transforms swc_ecma_transforms_optimization = {version = "0.84.0", path = "../swc_ecma_transforms_optimization"} swc_ecma_utils = {version = "0.64.0", path = "../swc_ecma_utils"} swc_ecma_visit = {version = "0.51.1", path = "../swc_ecma_visit"} -swc_ecmascript = {version = "0.111.10", path = "../swc_ecmascript"} +swc_ecmascript = {version = "0.111.11", path = "../swc_ecmascript"} swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"} swc_plugin_runner = {version = "0.30.0", path = "../swc_plugin_runner", optional = true} swc_visit = {version = "0.3.0", path = "../swc_visit"} diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 74f07fb644c..d98f98b60cb 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.89.1" +version = "0.89.2" [dependencies] bitflags = "1" diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index 9e730e6303c..8ef8cb77638 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.111.10" +version = "0.111.11" [package.metadata.docs.rs] all-features = true @@ -34,7 +34,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = {version = "0.65.3", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.89.1", path = "../swc_ecma_codegen", optional = true} +swc_ecma_codegen = {version = "0.89.2", path = "../swc_ecma_codegen", optional = true} swc_ecma_dep_graph = {version = "0.58.0", path = "../swc_ecma_dep_graph", optional = true} swc_ecma_minifier = {version = "0.71.4", path = "../swc_ecma_minifier", optional = true} swc_ecma_parser = {version = "0.87.0", path = "../swc_ecma_parser", optional = true, default-features = false}