diff --git a/CHANGELOG.md b/CHANGELOG.md index 75474e482bf..1b7e6016604 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ +- **(html/parser)** Fix span of attributes (#4681) ([637ef7f](https://github.com/swc-project/swc/commit/637ef7f49f0b3b7bbb06860371e6f8b2518759c2)) + +## [1.2.186] - 2022-05-17 + +### Bug Fixes + + + - **(es/minifier)** Consider fallthrough while merging swtich cases (#4672) ([3bb4b74](https://github.com/swc-project/swc/commit/3bb4b74d945b7b9bd107114c2df5eeef13874aba)) ### Features diff --git a/Cargo.lock b/Cargo.lock index a0db0938277..e403200db9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3904,7 +3904,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.7.0" +version = "0.8.0" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -3915,7 +3915,7 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "0.6.0" +version = "0.7.0" dependencies = [ "is-macro", "serde", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "0.7.3" +version = "0.8.0" dependencies = [ "auto_impl", "bitflags", @@ -3952,7 +3952,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.4.2" +version = "0.5.0" dependencies = [ "serde_json", "swc_atoms", @@ -3966,7 +3966,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "0.7.4" +version = "0.8.0" dependencies = [ "bitflags", "criterion", @@ -3984,7 +3984,7 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "0.6.0" +version = "0.7.0" dependencies = [ "swc_atoms", "swc_common", diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 80e955b3365..a8677be02d9 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.7.0" +version = "0.8.0" [package.metadata.docs.rs] all-features = true @@ -19,8 +19,8 @@ bench = false minifier = ["swc_html_minifier"] [dependencies] -swc_html_ast = {version = "0.6.0", path = "../swc_html_ast"} -swc_html_codegen = {version = "0.7.0", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.4.0", path = "../swc_html_minifier", optional = true} -swc_html_parser = {version = "0.7.0", path = "../swc_html_parser"} -swc_html_visit = {version = "0.6.0", path = "../swc_html_visit"} +swc_html_ast = {version = "0.7.0", path = "../swc_html_ast"} +swc_html_codegen = {version = "0.8.0", path = "../swc_html_codegen"} +swc_html_minifier = {version = "0.5.0", path = "../swc_html_minifier", optional = true} +swc_html_parser = {version = "0.8.0", path = "../swc_html_parser"} +swc_html_visit = {version = "0.7.0", path = "../swc_html_visit"} diff --git a/crates/swc_html_ast/Cargo.toml b/crates/swc_html_ast/Cargo.toml index bfde7540e68..c7656b6c545 100644 --- a/crates/swc_html_ast/Cargo.toml +++ b/crates/swc_html_ast/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.6.0" +version = "0.7.0" [lib] bench = false diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index 4bb5e18835a..439089f11c6 100644 --- a/crates/swc_html_codegen/Cargo.toml +++ b/crates/swc_html_codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_html_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.7.3" +version = "0.8.0" [lib] bench = false @@ -17,13 +17,13 @@ auto_impl = "0.5.0" bitflags = "1.3.2" swc_atoms = {version = "0.2.7", path = "../swc_atoms"} swc_common = { version = "0.18.0", path = "../swc_common"} -swc_html_ast = {version = "0.6.0", path = "../swc_html_ast"} +swc_html_ast = {version = "0.7.0", path = "../swc_html_ast"} swc_html_codegen_macros = {version = "0.1.0", path = "../swc_html_codegen_macros"} [dev-dependencies] swc_common = { version = "0.18.0", path = "../swc_common", features = [ "sourcemap", ]} -swc_html_parser = {version = "0.7.0", path = "../swc_html_parser"} -swc_html_visit = {version = "0.6.0", path = "../swc_html_visit"} +swc_html_parser = {version = "0.8.0", path = "../swc_html_parser"} +swc_html_visit = {version = "0.7.0", path = "../swc_html_visit"} testing = {version = "0.20.0", path = "../testing"} diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 364a4c220ff..8ef37b134a6 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_html_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.4.2" +version = "0.5.0" [lib] bench = false @@ -16,10 +16,10 @@ bench = false serde_json = "1.0.61" swc_atoms = {version = "0.2.9", path = "../swc_atoms"} swc_common = { version = "0.18.0", path = "../swc_common"} -swc_html_ast = {version = "0.6.0", path = "../swc_html_ast"} -swc_html_visit = {version = "0.6.0", path = "../swc_html_visit"} +swc_html_ast = {version = "0.7.0", path = "../swc_html_ast"} +swc_html_visit = {version = "0.7.0", path = "../swc_html_visit"} [dev-dependencies] -swc_html_codegen = {version = "0.7.0", path = "../swc_html_codegen"} -swc_html_parser = {version = "0.7.0", path = "../swc_html_parser"} +swc_html_codegen = {version = "0.8.0", path = "../swc_html_codegen"} +swc_html_parser = {version = "0.8.0", path = "../swc_html_parser"} testing = {version = "0.20.0", path = "../testing"} diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index 2777d97d2a1..edd40bfa227 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = "Apache-2.0" name = "swc_html_parser" repository = "https://github.com/swc-project/swc.git" -version = "0.7.4" +version = "0.8.0" [lib] bench = false @@ -26,13 +26,13 @@ serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" swc_atoms = { version = "0.2.7", path = "../swc_atoms" } swc_common = { version = "0.18.0", path = "../swc_common" } -swc_html_ast = { version = "0.6.0", path = "../swc_html_ast" } +swc_html_ast = { version = "0.7.0", path = "../swc_html_ast" } [dev-dependencies] criterion = "0.3" serde = "1.0.127" serde_json = "1.0.66" -swc_html_visit = { version = "0.6.0", path = "../swc_html_visit" } +swc_html_visit = { version = "0.7.0", path = "../swc_html_visit" } swc_node_base = { version = "0.5.0", path = "../swc_node_base" } testing = { version = "0.20.0", path = "../testing" } diff --git a/crates/swc_html_visit/Cargo.toml b/crates/swc_html_visit/Cargo.toml index 0c9cefa1d13..97b15bb1ea0 100644 --- a/crates/swc_html_visit/Cargo.toml +++ b/crates/swc_html_visit/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html_visit" repository = "https://github.com/swc-project/swc.git" -version = "0.6.0" +version = "0.7.0" [lib] bench = false @@ -14,5 +14,5 @@ bench = false [dependencies] swc_atoms = {version = "0.2.7", path = "../swc_atoms"} swc_common = { version = "0.18.0", path = "../swc_common"} -swc_html_ast = {version = "0.6.0", path = "../swc_html_ast"} +swc_html_ast = {version = "0.7.0", path = "../swc_html_ast"} swc_visit = {version = "0.3.0", path = "../swc_visit"}