diff --git a/CHANGELOG.md b/CHANGELOG.md index b11750cd3c9..e0c8cb38481 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,9 @@ - **(html)** Initialize (#4240) ([3e7872c](https://github.com/swc-project/swc/commit/3e7872c8de05ac46ef6ffb99f778ef5b64e47f1b)) +- **(html)** Support boolean attributes (#4258) ([8640c8b](https://github.com/swc-project/swc/commit/8640c8bd43a164eb185733b5294342ff01c858f6)) + + - **(plugin/api)** Expose `swc_ecma_utils` (#4256) ([7bc04a6](https://github.com/swc-project/swc/commit/7bc04a67918374b1b2d02ed5034330cd6dd78d57)) ### Miscellaneous Tasks diff --git a/Cargo.lock b/Cargo.lock index f1a260f6b65..77d88ce9ee9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3719,7 +3719,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -3729,7 +3729,7 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "0.1.0" +version = "0.2.0" dependencies = [ "is-macro", "serde", @@ -3740,7 +3740,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "0.1.0" +version = "0.2.0" dependencies = [ "auto_impl", "bitflags", @@ -3766,7 +3766,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags", "lexical", @@ -3781,7 +3781,7 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "0.1.0" +version = "0.2.0" dependencies = [ "swc_atoms", "swc_common", diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index 7a0f070532c..0e9a0c9c426 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.1.0" +version = "0.2.0" [package.metadata.docs.rs] all-features = true @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"] bench = false [dependencies] -swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"} -swc_html_codegen = {version = "0.1.0", path = "../swc_html_codegen"} -swc_html_parser = {version = "0.1.0", path = "../swc_html_parser"} -swc_html_visit = {version = "0.1.0", path = "../swc_html_visit"} +swc_html_ast = {version = "0.2.0", path = "../swc_html_ast"} +swc_html_codegen = {version = "0.2.0", path = "../swc_html_codegen"} +swc_html_parser = {version = "0.2.0", path = "../swc_html_parser"} +swc_html_visit = {version = "0.2.0", path = "../swc_html_visit"} diff --git a/crates/swc_html_ast/Cargo.toml b/crates/swc_html_ast/Cargo.toml index 21a4690dd59..ef6e3a1ef14 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.1.0" +version = "0.2.0" [lib] bench = false diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index a0d1108501b..bbd8796fe84 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.1.0" +version = "0.2.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.17.19", path = "../swc_common"} -swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"} +swc_html_ast = {version = "0.2.0", path = "../swc_html_ast"} swc_html_codegen_macros = {version = "0.1.0", path = "../swc_html_codegen_macros"} [dev-dependencies] swc_common = {version = "0.17.19", path = "../swc_common", features = [ "sourcemap", ]} -swc_html_parser = {version = "0.1.0", path = "../swc_html_parser"} -swc_html_visit = {version = "0.1.0", path = "../swc_html_visit"} +swc_html_parser = {version = "0.2.0", path = "../swc_html_parser"} +swc_html_visit = {version = "0.2.0", path = "../swc_html_visit"} testing = {version = "0.19.0", path = "../testing"} diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index ec7189a16ea..48e69dde2b6 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_html_parser" repository = "https://github.com/swc-project/swc.git" -version = "0.1.0" +version = "0.2.0" [lib] bench = false @@ -20,10 +20,10 @@ bitflags = "1.2.1" lexical = "6.1.0" swc_atoms = {version = "0.2.7", path = "../swc_atoms"} swc_common = {version = "0.17.19", path = "../swc_common"} -swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"} +swc_html_ast = {version = "0.2.0", path = "../swc_html_ast"} [dev-dependencies] serde = "1.0.127" serde_json = "1.0.66" -swc_html_visit = {version = "0.1.0", path = "../swc_html_visit"} +swc_html_visit = {version = "0.2.0", path = "../swc_html_visit"} testing = {version = "0.19.0", path = "../testing"} diff --git a/crates/swc_html_visit/Cargo.toml b/crates/swc_html_visit/Cargo.toml index 6c2b6cb83b4..3d1ebbf8904 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.1.0" +version = "0.2.0" [lib] bench = false @@ -14,5 +14,5 @@ bench = false [dependencies] swc_atoms = {version = "0.2.7", path = "../swc_atoms"} swc_common = {version = "0.17.19", path = "../swc_common"} -swc_html_ast = {version = "0.1.0", path = "../swc_html_ast"} +swc_html_ast = {version = "0.2.0", path = "../swc_html_ast"} swc_visit = {version = "0.3.0", path = "../swc_visit"}