diff --git a/CHANGELOG.md b/CHANGELOG.md index 04e9fe2b387..d76569cf861 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,9 @@ - **(es/minifier)** Skip function declarations in sequential inliner (#6147) ([f2e8f98](https://github.com/swc-project/swc/commit/f2e8f98d381cff75229e29564ce5a7458175fea9)) +- **(html/ast)** Add `raw` to comment tokens (#6202) ([99ea286](https://github.com/swc-project/swc/commit/99ea28674af1c1bbaa104089b7f7bd36356df208)) + + - **(html/minifier)** Merge identical metadata elements (#6183) ([41093b0](https://github.com/swc-project/swc/commit/41093b022d8d3304f9d235fd5b9dd386fecb8c3c)) diff --git a/Cargo.lock b/Cargo.lock index 74f11237857..1bca10f6ecc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4045,7 +4045,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.90.1" +version = "0.91.0" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4056,7 +4056,7 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "0.26.12" +version = "0.27.0" dependencies = [ "bytecheck", "is-macro", @@ -4069,7 +4069,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "0.35.14" +version = "0.36.0" dependencies = [ "auto_impl", "bitflags", @@ -4097,7 +4097,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.87.1" +version = "0.88.0" dependencies = [ "criterion", "once_cell", @@ -4127,7 +4127,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "0.32.13" +version = "0.33.0" dependencies = [ "criterion", "serde", @@ -4154,7 +4154,7 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "0.26.12" +version = "0.27.0" dependencies = [ "serde", "swc_atoms", diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index a61f49c5290..998d2d5f19c 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.90.1" +version = "0.91.0" [package.metadata.docs.rs] all-features = true @@ -19,8 +19,8 @@ bench = false minifier = ["swc_html_minifier"] [dependencies] -swc_html_ast = {version = "0.26.12", path = "../swc_html_ast"} -swc_html_codegen = {version = "0.35.14", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.87.1", path = "../swc_html_minifier", optional = true} -swc_html_parser = {version = "0.32.13", path = "../swc_html_parser"} -swc_html_visit = {version = "0.26.12", path = "../swc_html_visit"} +swc_html_ast = {version = "0.27.0", path = "../swc_html_ast"} +swc_html_codegen = {version = "0.36.0", path = "../swc_html_codegen"} +swc_html_minifier = {version = "0.88.0", path = "../swc_html_minifier", optional = true} +swc_html_parser = {version = "0.33.0", path = "../swc_html_parser"} +swc_html_visit = {version = "0.27.0", path = "../swc_html_visit"} diff --git a/crates/swc_html_ast/Cargo.toml b/crates/swc_html_ast/Cargo.toml index eb0854ab366..7f045fed5ec 100644 --- a/crates/swc_html_ast/Cargo.toml +++ b/crates/swc_html_ast/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html_ast" repository = "https://github.com/swc-project/swc.git" -version = "0.26.12" +version = "0.27.0" [lib] bench = false diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index 939a9901b64..5fd310c3b71 100644 --- a/crates/swc_html_codegen/Cargo.toml +++ b/crates/swc_html_codegen/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_html_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.35.14" +version = "0.36.0" [lib] bench = false @@ -21,7 +21,7 @@ bitflags = "1.3.2" rustc-hash = "1.1.0" swc_atoms = { version = "0.4.23", path = "../swc_atoms" } swc_common = { version = "0.29.10", path = "../swc_common" } -swc_html_ast = { version = "0.26.12", path = "../swc_html_ast" } +swc_html_ast = { version = "0.27.0", path = "../swc_html_ast" } swc_html_codegen_macros = { version = "0.2.0", path = "../swc_html_codegen_macros" } swc_html_utils = { version = "0.14.11", path = "../swc_html_utils" } @@ -29,6 +29,6 @@ swc_html_utils = { version = "0.14.11", path = "../swc_html_utils" } swc_common = { version = "0.29.10", path = "../swc_common", features = [ "sourcemap", ] } -swc_html_parser = { version = "0.32.13", path = "../swc_html_parser" } -swc_html_visit = { version = "0.26.12", path = "../swc_html_visit" } +swc_html_parser = { version = "0.33.0", path = "../swc_html_parser" } +swc_html_visit = { version = "0.27.0", path = "../swc_html_visit" } testing = { version = "0.31.10", path = "../testing" } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 06978a69c7b..42ea8fc183c 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"] license = "Apache-2.0" name = "swc_html_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.87.1" +version = "0.88.0" [lib] bench = false @@ -32,11 +32,11 @@ swc_ecma_minifier = { version = "0.159.37", path = "../swc_ecma_minifier" swc_ecma_parser = { version = "0.122.15", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.111.28", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "0.80.13", path = "../swc_ecma_visit" } -swc_html_ast = { version = "0.26.12", path = "../swc_html_ast" } -swc_html_codegen = { version = "0.35.14", path = "../swc_html_codegen" } -swc_html_parser = { version = "0.32.13", path = "../swc_html_parser" } +swc_html_ast = { version = "0.27.0", path = "../swc_html_ast" } +swc_html_codegen = { version = "0.36.0", path = "../swc_html_codegen" } +swc_html_parser = { version = "0.33.0", path = "../swc_html_parser" } swc_html_utils = { version = "0.14.11", path = "../swc_html_utils" } -swc_html_visit = { version = "0.26.12", path = "../swc_html_visit" } +swc_html_visit = { version = "0.27.0", path = "../swc_html_visit" } [dev-dependencies] criterion = "0.3" diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index cea1009bb3c..802bd5c45a0 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.32.13" +version = "0.33.0" [lib] bench = false @@ -21,14 +21,14 @@ debug = [] [dependencies] swc_atoms = { version = "0.4.23", path = "../swc_atoms" } swc_common = { version = "0.29.10", path = "../swc_common" } -swc_html_ast = { version = "0.26.12", path = "../swc_html_ast" } +swc_html_ast = { version = "0.27.0", path = "../swc_html_ast" } swc_html_utils = { version = "0.14.11", path = "../swc_html_utils" } [dev-dependencies] criterion = "0.3" serde = "1.0.127" serde_json = "1.0.66" -swc_html_visit = { version = "0.26.12", path = "../swc_html_visit" } +swc_html_visit = { version = "0.27.0", path = "../swc_html_visit" } swc_node_base = { version = "0.5.0", path = "../swc_node_base" } testing = { version = "0.31.10", path = "../testing" } diff --git a/crates/swc_html_visit/Cargo.toml b/crates/swc_html_visit/Cargo.toml index ce176635d6e..f4848e7e79d 100644 --- a/crates/swc_html_visit/Cargo.toml +++ b/crates/swc_html_visit/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html_visit" repository = "https://github.com/swc-project/swc.git" -version = "0.26.12" +version = "0.27.0" [package.metadata.docs.rs] all-features = true @@ -26,5 +26,5 @@ path = [] serde = { version = "1", optional = true } swc_atoms = { version = "0.4.23", path = "../swc_atoms" } swc_common = { version = "0.29.10", path = "../swc_common" } -swc_html_ast = { version = "0.26.12", path = "../swc_html_ast" } +swc_html_ast = { version = "0.27.0", path = "../swc_html_ast" } swc_visit = { version = "0.5.3", path = "../swc_visit" }