diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock index cfe82d07eba..b62e1b1a97c 100644 --- a/bindings/Cargo.lock +++ b/bindings/Cargo.lock @@ -182,6 +182,15 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +[[package]] +name = "base64-simd" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "781dd20c3aff0bd194fe7d2a977dd92f21c173891f3a03b677359e5fa457e5d5" +dependencies = [ + "simd-abstraction", +] + [[package]] name = "better_scoped_tls" version = "0.1.1" @@ -223,7 +232,7 @@ dependencies = [ [[package]] name = "binding_core_wasm" -version = "1.4.9-nightly-20240321.1" +version = "1.4.9-nightly-20240326.1" dependencies = [ "anyhow", "getrandom", @@ -268,7 +277,7 @@ dependencies = [ "path-clean 0.1.0", "serde", "serde_json", - "sourcemap", + "sourcemap 6.4.1", "swc_compiler_base", "swc_config", "swc_core", @@ -283,7 +292,7 @@ dependencies = [ [[package]] name = "binding_minifier_wasm" -version = "1.4.9-nightly-20240321.1" +version = "1.4.9-nightly-20240326.1" dependencies = [ "anyhow", "getrandom", @@ -1942,6 +1951,12 @@ version = "6.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" +[[package]] +name = "outref" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f222829ae9293e33a9f5e9f440c6760a3d450a64affe1846486b140db81c1f4" + [[package]] name = "overload" version = "0.1.1" @@ -2714,6 +2729,15 @@ dependencies = [ "memmap2 0.6.2", ] +[[package]] +name = "simd-abstraction" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cadb29c57caadc51ff8346233b5cec1d240b68ce55cf1afc764818791876987" +dependencies = [ + "outref", +] + [[package]] name = "simdutf8" version = "0.1.4" @@ -2790,6 +2814,25 @@ dependencies = [ "url", ] +[[package]] +name = "sourcemap" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf0b8c0d9d32f81aa0ab2b68ab634d9bbce287423606656fddb456ac8601aec3" +dependencies = [ + "base64-simd", + "bitvec", + "data-encoding", + "debugid", + "if_chain", + "rustc-hash", + "rustc_version 0.2.3", + "serde", + "serde_json", + "unicode-id-start", + "url", +] + [[package]] name = "spin" version = "0.9.8" @@ -2946,7 +2989,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "sourcemap", + "sourcemap 6.4.1", "swc_atoms", "swc_cached", "swc_common", @@ -3039,7 +3082,7 @@ dependencies = [ [[package]] name = "swc_cli" -version = "0.91.202" +version = "0.91.203" dependencies = [ "anyhow", "swc_cli_impl", @@ -3047,9 +3090,9 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "0.8.22" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "682e3bd75c5c9c6430197680cbeadc86b4728fa514adcf5fb0d6d515119d6b24" +checksum = "412a1c24bbf4ccb6b3e255933e6d1173d1a7dc20cac3d9c19aeee2fc31e0dff0" dependencies = [ "anyhow", "atty", @@ -3060,7 +3103,7 @@ dependencies = [ "relative-path", "serde", "serde_json", - "sourcemap", + "sourcemap 8.0.0", "swc_core", "tracing", "tracing-chrome", @@ -3091,7 +3134,7 @@ dependencies = [ "rustc-hash", "serde", "siphasher", - "sourcemap", + "sourcemap 6.4.1", "swc_atoms", "swc_eq_ignore_macros", "swc_visit", @@ -3102,9 +3145,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.7.18" +version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14edecfac835e77c88017d016c48dba60e82632ee94eb9565f516ebc7072e6a" +checksum = "66405c58d5241ae020b0522a08bdc284da52b13742a58e3023e09cc2e0fb9e8c" dependencies = [ "anyhow", "base64", @@ -3113,7 +3156,7 @@ dependencies = [ "once_cell", "pathdiff", "serde", - "sourcemap", + "sourcemap 8.0.0", "swc_atoms", "swc_common", "swc_config", @@ -3127,15 +3170,15 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce837c5eae1cb200a310940de989fd9b3d12ed62d7752bc69b39ef8aa775ec04" +checksum = "ada712ac5e28a301683c8af957e8a56deca675cbc376473dd207a527b989efb5" dependencies = [ "anyhow", "indexmap 2.1.0", "serde", "serde_json", - "sourcemap", + "sourcemap 8.0.0", "swc_cached", "swc_config_macro", ] @@ -3154,9 +3197,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.90.24" +version = "0.90.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "354892a17af24956c9ae5479c2bd0a2f9c344aab79e6f2fbd01b7b8eb4e46c2e" +checksum = "568ba911553909fbe9d98d4b61c352a086e68e2754912e2bddf9624ebe92a074" dependencies = [ "binding_macros", "swc", @@ -3210,7 +3253,7 @@ dependencies = [ "once_cell", "rustc-hash", "serde", - "sourcemap", + "sourcemap 6.4.1", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -4460,6 +4503,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d70b6494226b36008c8366c288d77190b3fad2eb4c10533139c1c1f461127f1a" +[[package]] +name = "unicode-id-start" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8f73150333cb58412db36f2aca8f2875b013049705cc77b94ded70a1ab1f5da" + [[package]] name = "unicode-ident" version = "1.0.8" diff --git a/bindings/binding_core_node/Cargo.toml b/bindings/binding_core_node/Cargo.toml index 3caa36cec71..d33663510f0 100644 --- a/bindings/binding_core_node/Cargo.toml +++ b/bindings/binding_core_node/Cargo.toml @@ -51,7 +51,7 @@ tracing-chrome = "0.5.0" tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } -swc_core = { version = "0.90.24", features = [ +swc_core = { version = "0.90.25", features = [ "allocator_node", "ecma_ast", "ecma_codegen", diff --git a/bindings/binding_core_wasm/Cargo.toml b/bindings/binding_core_wasm/Cargo.toml index d204b2c05f3..527b18b49d9 100644 --- a/bindings/binding_core_wasm/Cargo.toml +++ b/bindings/binding_core_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_core_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.4.9-nightly-20240321.1" +version = "1.4.9-nightly-20240326.1" [lib] bench = false @@ -35,7 +35,7 @@ anyhow = "1.0.66" getrandom = { version = "0.2.10", features = ["js"] } serde = { version = "1", features = ["derive"] } serde-wasm-bindgen = "0.4.5" -swc_core = { version = "0.90.24", features = [ +swc_core = { version = "0.90.25", features = [ "ecma_ast_serde", "ecma_codegen", "binding_macro_wasm", diff --git a/bindings/binding_minifier_node/Cargo.toml b/bindings/binding_minifier_node/Cargo.toml index c61cfaabe8e..320afc66876 100644 --- a/bindings/binding_minifier_node/Cargo.toml +++ b/bindings/binding_minifier_node/Cargo.toml @@ -35,9 +35,9 @@ tracing-chrome = "0.5.0" tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } -swc_compiler_base = { version = "0.7.18", features = ["node"] } -swc_config = "0.1.11" -swc_core = { version = "0.90.24", features = [ +swc_compiler_base = { version = "0.7.19", features = ["node"] } +swc_config = "0.1.12" +swc_core = { version = "0.90.25", features = [ "allocator_node", "common_concurrent", "common_sourcemap", diff --git a/bindings/binding_minifier_wasm/Cargo.toml b/bindings/binding_minifier_wasm/Cargo.toml index 29b95dbafe0..14cb2a10bf7 100644 --- a/bindings/binding_minifier_wasm/Cargo.toml +++ b/bindings/binding_minifier_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_minifier_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.4.9-nightly-20240321.1" +version = "1.4.9-nightly-20240326.1" [lib] bench = false @@ -35,7 +35,7 @@ anyhow = "1.0.66" getrandom = { version = "0.2.10", features = ["js"] } serde = { version = "1", features = ["derive"] } serde-wasm-bindgen = "0.4.5" -swc_core = { version = "0.90.24", features = [ +swc_core = { version = "0.90.25", features = [ "ecma_ast_serde", "ecma_codegen", "binding_macro_wasm", diff --git a/bindings/swc_cli/Cargo.toml b/bindings/swc_cli/Cargo.toml index 0b7f42757c4..6babaf39719 100644 --- a/bindings/swc_cli/Cargo.toml +++ b/bindings/swc_cli/Cargo.toml @@ -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.91.202" +version = "0.91.203" [[bin]] bench = false @@ -19,4 +19,4 @@ plugin = ["swc_cli_impl/plugin"] [dependencies] anyhow = "1.0.66" -swc_cli_impl = "0.8.22" +swc_cli_impl = "0.8.23" diff --git a/package.json b/package.json index b4e096786dc..57b676622b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core", - "version": "1.4.9-nightly-20240321.1", + "version": "1.4.9-nightly-20240326.1", "description": "Super-fast alternative for babel", "homepage": "https://swc.rs", "main": "./index.js", diff --git a/packages/minifier/package.json b/packages/minifier/package.json index 1deb88854e9..14ff149e39f 100644 --- a/packages/minifier/package.json +++ b/packages/minifier/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier", - "version": "1.4.9-nightly-20240321.1", + "version": "1.4.9-nightly-20240326.1", "description": "Super-fast alternative for terser", "homepage": "https://swc.rs", "main": "./index.js",