chore: Publish crates

This commit is contained in:
SWC Bot 2022-03-05 07:58:10 +00:00
parent 1f70fa6e08
commit 3de647a50a
15 changed files with 56 additions and 53 deletions

View File

@ -20,6 +20,9 @@
- **(css/minifier)** Compress `@import` at-rule (#3850) ([ccfb4bf](https://github.com/swc-project/swc/commit/ccfb4bfc0b10375d96620f2748b0a3d022c4e359))
- **(es/module/cjs)** Support regex-based patterns for lazy config (#3704) ([1f70fa6](https://github.com/swc-project/swc/commit/1f70fa6e08e9b400c2e34ee9f0d6749cf21b9e3f))
- **(es/transform)** Unify logic for handling class properties (#3766) ([6f076e4](https://github.com/swc-project/swc/commit/6f076e4927fca646882709832826dc0eb7106e35))
### Performance

26
Cargo.lock generated
View File

@ -2698,7 +2698,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "swc"
version = "0.141.0"
version = "0.142.0"
dependencies = [
"ahash",
"anyhow",
@ -2754,7 +2754,7 @@ dependencies = [
[[package]]
name = "swc_bundler"
version = "0.116.0"
version = "0.117.0"
dependencies = [
"ahash",
"anyhow",
@ -2811,7 +2811,7 @@ dependencies = [
[[package]]
name = "swc_cli"
version = "0.15.0"
version = "0.16.0"
dependencies = [
"anyhow",
"atty",
@ -3093,7 +3093,7 @@ dependencies = [
[[package]]
name = "swc_ecma_minifier"
version = "0.84.0"
version = "0.85.0"
dependencies = [
"ahash",
"ansi_term",
@ -3151,7 +3151,7 @@ dependencies = [
[[package]]
name = "swc_ecma_preset_env"
version = "0.100.0"
version = "0.101.0"
dependencies = [
"ahash",
"anyhow",
@ -3206,7 +3206,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms"
version = "0.126.0"
version = "0.127.0"
dependencies = [
"pretty_assertions",
"sourcemap",
@ -3306,7 +3306,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_module"
version = "0.86.0"
version = "0.87.0"
dependencies = [
"Inflector",
"ahash",
@ -3330,7 +3330,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
version = "0.96.0"
version = "0.97.0"
dependencies = [
"ahash",
"dashmap 4.0.2",
@ -3381,7 +3381,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_react"
version = "0.88.0"
version = "0.89.0"
dependencies = [
"ahash",
"base64 0.13.0",
@ -3430,7 +3430,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_typescript"
version = "0.91.0"
version = "0.92.0"
dependencies = [
"serde",
"swc_atoms",
@ -3477,7 +3477,7 @@ dependencies = [
[[package]]
name = "swc_ecmascript"
version = "0.126.0"
version = "0.127.0"
dependencies = [
"swc_ecma_ast",
"swc_ecma_codegen",
@ -3513,7 +3513,7 @@ dependencies = [
[[package]]
name = "swc_estree_compat"
version = "0.61.0"
version = "0.62.0"
dependencies = [
"ahash",
"anyhow",
@ -3713,7 +3713,7 @@ dependencies = [
[[package]]
name = "swc_webpack_ast"
version = "0.59.0"
version = "0.60.0"
dependencies = [
"anyhow",
"rayon",

View File

@ -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.141.0"
version = "0.142.0"
[lib]
name = "swc"
@ -54,10 +54,10 @@ swc_ecma_codegen = {version = "0.93.0", path = "../swc_ecma_codegen"}
swc_ecma_ext_transforms = {version = "0.55.0", path = "../swc_ecma_ext_transforms"}
swc_ecma_lints = {version = "0.20.0", path = "../swc_ecma_lints"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = ["cache", "node", "tsc"]}
swc_ecma_minifier = {version = "0.84.0", path = "../swc_ecma_minifier"}
swc_ecma_minifier = {version = "0.85.0", path = "../swc_ecma_minifier"}
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
swc_ecma_preset_env = {version = "0.100.0", path = "../swc_ecma_preset_env"}
swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms", features = [
swc_ecma_preset_env = {version = "0.101.0", path = "../swc_ecma_preset_env"}
swc_ecma_transforms = {version = "0.127.0", path = "../swc_ecma_transforms", features = [
"compat",
"module",
"optimization",
@ -67,10 +67,10 @@ swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms", fea
]}
swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_compat = {version = "0.76.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_optimization = {version = "0.96.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_transforms_optimization = {version = "0.97.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
swc_ecmascript = {version = "0.126.0", path = "../swc_ecmascript"}
swc_ecmascript = {version = "0.127.0", path = "../swc_ecmascript"}
swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"}
swc_plugin_runner = {version = "0.39.0", path = "../swc_plugin_runner", optional = true}
swc_visit = {version = "0.3.0", path = "../swc_visit"}

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
version = "0.116.0"
version = "0.117.0"
[package.metadata.docs.rs]
all-features = true
@ -47,7 +47,7 @@ swc_ecma_codegen = {version = "0.93.0", path = "../swc_ecma_codegen"}
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader"}
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_optimization = {version = "0.96.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_transforms_optimization = {version = "0.97.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
swc_fast_graph = {version = "0.4.0", path = "../swc_fast_graph/"}
@ -61,9 +61,9 @@ path-clean = "=0.1.0"
reqwest = {version = "0.11.4", features = ["blocking"]}
sha-1 = "0.9"
swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = ["node", "cache"]}
swc_ecma_minifier = {version = "0.84.0", path = "../swc_ecma_minifier"}
swc_ecma_transforms_react = {version = "0.88.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_typescript = {version = "0.91.0", path = "../swc_ecma_transforms_typescript"}
swc_ecma_minifier = {version = "0.85.0", path = "../swc_ecma_minifier"}
swc_ecma_transforms_react = {version = "0.89.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_typescript = {version = "0.92.0", path = "../swc_ecma_transforms_typescript"}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
tempfile = "3.1.0"
testing = {version = "0.18.0", path = "../testing"}

View File

@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_cli"
repository = "https://github.com/swc-project/swc.git"
version = "0.15.0"
version = "0.16.0"
[[bin]]
name = "swc"
@ -17,7 +17,7 @@ anyhow = "1.0.53"
clap = { version = "3.1.0", features = ["derive", "wrap_help"] }
walkdir = "2"
rayon = "1"
swc = { version = "0.141.0", path = "../swc" }
swc = { version = "0.142.0", path = "../swc" }
swc_common = { version = "0.17.5", path = "../swc_common" }
relative-path = "1.6.1"
serde = { version = "1", features = ["derive"] }

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
license = "Apache-2.0"
name = "swc_ecma_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "0.84.0"
version = "0.85.0"
[package.metadata.docs.rs]
all-features = true
@ -34,7 +34,7 @@ swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.93.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms/", features = ["optimization"]}
swc_ecma_transforms = {version = "0.127.0", path = "../swc_ecma_transforms/", features = ["optimization"]}
swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}

View File

@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/"
edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_preset_env"
version = "0.100.0"
version = "0.101.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -24,7 +24,7 @@ string_enum = {version = "0.3.1", path = "../string_enum"}
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms", features = ["compat", "proposal"]}
swc_ecma_transforms = {version = "0.127.0", path = "../swc_ecma_transforms", features = ["compat", "proposal"]}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_transforms"
repository = "https://github.com/swc-project/swc.git"
version = "0.126.0"
version = "0.127.0"
[package.metadata.docs.rs]
all-features = true
@ -28,11 +28,11 @@ swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_compat = {version = "0.76.0", path = "../swc_ecma_transforms_compat", optional = true}
swc_ecma_transforms_module = {version = "0.86.0", path = "../swc_ecma_transforms_module", optional = true}
swc_ecma_transforms_optimization = {version = "0.96.0", path = "../swc_ecma_transforms_optimization", optional = true}
swc_ecma_transforms_module = {version = "0.87.0", path = "../swc_ecma_transforms_module", optional = true}
swc_ecma_transforms_optimization = {version = "0.97.0", path = "../swc_ecma_transforms_optimization", optional = true}
swc_ecma_transforms_proposal = {version = "0.84.0", path = "../swc_ecma_transforms_proposal", optional = true}
swc_ecma_transforms_react = {version = "0.88.0", path = "../swc_ecma_transforms_react", optional = true}
swc_ecma_transforms_typescript = {version = "0.91.0", path = "../swc_ecma_transforms_typescript", optional = true}
swc_ecma_transforms_react = {version = "0.89.0", path = "../swc_ecma_transforms_react", optional = true}
swc_ecma_transforms_typescript = {version = "0.92.0", path = "../swc_ecma_transforms_typescript", optional = true}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
unicode-xid = "0.2"

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_transforms_module"
repository = "https://github.com/swc-project/swc.git"
version = "0.86.0"
version = "0.87.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_transforms_optimization"
repository = "https://github.com/swc-project/swc.git"
version = "0.96.0"
version = "0.97.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
@ -37,9 +37,9 @@ tracing = "0.1.31"
[dev-dependencies]
swc_ecma_transforms_compat = {version = "0.76.0", path = "../swc_ecma_transforms_compat"}
swc_ecma_transforms_module = {version = "0.86.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_module = {version = "0.87.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_proposal = {version = "0.84.0", path = "../swc_ecma_transforms_proposal"}
swc_ecma_transforms_react = {version = "0.88.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_react = {version = "0.89.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_testing = {version = "0.66.0", path = "../swc_ecma_transforms_testing"}
swc_ecma_transforms_typescript = {version = "0.91.0", path = "../swc_ecma_transforms_typescript"}
swc_ecma_transforms_typescript = {version = "0.92.0", path = "../swc_ecma_transforms_typescript"}
testing = {version = "0.18.0", path = "../testing"}

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_transforms_react"
repository = "https://github.com/swc-project/swc.git"
version = "0.88.0"
version = "0.89.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
@ -32,6 +32,6 @@ swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
[dev-dependencies]
swc_ecma_codegen = {version = "0.93.0", path = "../swc_ecma_codegen/"}
swc_ecma_transforms_compat = {version = "0.76.0", path = "../swc_ecma_transforms_compat/"}
swc_ecma_transforms_module = {version = "0.86.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_module = {version = "0.87.0", path = "../swc_ecma_transforms_module"}
swc_ecma_transforms_testing = {version = "0.66.0", path = "../swc_ecma_transforms_testing"}
testing = {version = "0.18.0", path = "../testing"}

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_transforms_typescript"
repository = "https://github.com/swc-project/swc.git"
version = "0.91.0"
version = "0.92.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
@ -15,7 +15,7 @@ swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_base"}
swc_ecma_transforms_react = {version = "0.88.0", path = "../swc_ecma_transforms_react"}
swc_ecma_transforms_react = {version = "0.89.0", path = "../swc_ecma_transforms_react"}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
version = "0.126.0"
version = "0.127.0"
[package.metadata.docs.rs]
all-features = true
@ -36,10 +36,10 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"]
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.93.0", path = "../swc_ecma_codegen", optional = true}
swc_ecma_dep_graph = {version = "0.63.0", path = "../swc_ecma_dep_graph", optional = true}
swc_ecma_minifier = {version = "0.84.0", path = "../swc_ecma_minifier", optional = true}
swc_ecma_minifier = {version = "0.85.0", path = "../swc_ecma_minifier", optional = true}
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser", optional = true, default-features = false}
swc_ecma_preset_env = {version = "0.100.0", path = "../swc_ecma_preset_env", optional = true}
swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms", optional = true}
swc_ecma_preset_env = {version = "0.101.0", path = "../swc_ecma_preset_env", optional = true}
swc_ecma_transforms = {version = "0.127.0", path = "../swc_ecma_transforms", optional = true}
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils", optional = true}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit", optional = true}

View File

@ -6,7 +6,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_estree_compat"
repository = "https://github.com/swc-project/swc.git"
version = "0.61.0"
version = "0.62.0"
[package.metadata.docs.rs]
all-features = true
@ -29,9 +29,9 @@ swc_node_comments = {version = "0.4.0", path = "../swc_node_comments/"}
[dev-dependencies]
pretty_assertions = "0.7.2"
swc = {version = "0.141.0", path = "../swc"}
swc = {version = "0.142.0", path = "../swc"}
swc_ecma_ast = {version = "0.68.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.91.0", path = "../swc_ecma_parser"}
swc_ecma_transforms = {version = "0.126.0", path = "../swc_ecma_transforms/"}
swc_ecma_transforms = {version = "0.127.0", path = "../swc_ecma_transforms/"}
testing = {version = "0.18.0", path = "../testing"}
walkdir = "2"

View File

@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0"
name = "swc_webpack_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.59.0"
version = "0.60.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -22,7 +22,7 @@ swc_ecma_transforms_base = {version = "0.64.0", path = "../swc_ecma_transforms_b
swc_ecma_utils = {version = "0.69.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.54.0", path = "../swc_ecma_visit"}
swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"}
swc_estree_compat = {version = "0.61.0", path = "../swc_estree_compat"}
swc_estree_compat = {version = "0.62.0", path = "../swc_estree_compat"}
swc_timer = {version = "0.4.0", path = "../swc_timer"}
tracing = "0.1.31"