chore: Publish v1.3.9 (#6177)

This commit is contained in:
Donny/강동윤 2022-10-17 20:32:18 +09:00 committed by GitHub
parent fde2941f79
commit e8a80c8a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 70 additions and 66 deletions

125
bindings/Cargo.lock generated
View File

@ -176,7 +176,7 @@ dependencies = [
[[package]] [[package]]
name = "binding_core_wasm" name = "binding_core_wasm"
version = "1.3.8" version = "1.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"swc_core", "swc_core",
@ -186,9 +186,9 @@ dependencies = [
[[package]] [[package]]
name = "binding_macros" name = "binding_macros"
version = "0.20.20" version = "0.20.35"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eab1d6bd87bf67f9852300862e3c8cb13be773bd4d4f36e3bba2a7f1bf143bcd" checksum = "5544d459d004a1d678430272ef028baebe53643b513588767db5a20606d3e6a2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"console_error_panic_hook", "console_error_panic_hook",
@ -581,9 +581,9 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35"
[[package]] [[package]]
name = "cxx" name = "cxx"
version = "1.0.78" version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19f39818dcfc97d45b03953c1292efc4e80954e1583c4aa770bac1383e2310a4" checksum = "3f83d0ebf42c6eafb8d7c52f7e5f2d3003b89c7aa4fd2b79229209459a849af8"
dependencies = [ dependencies = [
"cc", "cc",
"cxxbridge-flags", "cxxbridge-flags",
@ -593,9 +593,9 @@ dependencies = [
[[package]] [[package]]
name = "cxx-build" name = "cxx-build"
version = "1.0.78" version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e580d70777c116df50c390d1211993f62d40302881e54d4b79727acb83d0199" checksum = "07d050484b55975889284352b0ffc2ecbda25c0c55978017c132b29ba0818a86"
dependencies = [ dependencies = [
"cc", "cc",
"codespan-reporting", "codespan-reporting",
@ -608,15 +608,15 @@ dependencies = [
[[package]] [[package]]
name = "cxxbridge-flags" name = "cxxbridge-flags"
version = "1.0.78" version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56a46460b88d1cec95112c8c363f0e2c39afdb237f60583b0b36343bf627ea9c" checksum = "99d2199b00553eda8012dfec8d3b1c75fce747cf27c169a270b3b99e3448ab78"
[[package]] [[package]]
name = "cxxbridge-macro" name = "cxxbridge-macro"
version = "1.0.78" version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "747b608fecf06b0d72d440f27acc99288207324b793be2c17991839f3d4995ea" checksum = "dcb67a6de1f602736dd7eaead0080cf3435df806c61b24b13328db128c58868f"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1001,9 +1001,9 @@ dependencies = [
[[package]] [[package]]
name = "iana-time-zone-haiku" name = "iana-time-zone-haiku"
version = "0.1.0" version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde6edd6cef363e9359ed3c98ba64590ba9eecba2293eb5a723ab32aee8926aa" checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
dependencies = [ dependencies = [
"cxx", "cxx",
"cxx-build", "cxx-build",
@ -1612,9 +1612,9 @@ dependencies = [
[[package]] [[package]]
name = "path-absolutize" name = "path-absolutize"
version = "3.0.13" version = "3.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3de4b40bd9736640f14c438304c09538159802388febb02c8abaae0846c1f13" checksum = "0f1d4993b16f7325d90c18c3c6a3327db7808752db8d208cea0acee0abd52c52"
dependencies = [ dependencies = [
"path-dedot", "path-dedot",
] ]
@ -1627,9 +1627,9 @@ checksum = "ecba01bf2678719532c5e3059e0b5f0811273d94b397088b82e3bd0a78c78fdd"
[[package]] [[package]]
name = "path-dedot" name = "path-dedot"
version = "3.0.17" version = "3.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d611d5291372b3738a34ebf0d1f849e58b1dcc1101032f76a346eaa1f8ddbb5b" checksum = "9a81540d94551664b72b72829b12bd167c73c9d25fbac0e04fafa8023f7e4901"
dependencies = [ dependencies = [
"once_cell", "once_cell",
] ]
@ -1799,9 +1799,9 @@ checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.46" version = "1.0.47"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b" checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
@ -2414,9 +2414,9 @@ dependencies = [
[[package]] [[package]]
name = "swc" name = "swc"
version = "0.232.20" version = "0.232.35"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b41002a23193fc779cda667d78e927aff1f2008d39df192abacdac6d582a4e9" checksum = "f22e1104c77ce8d1d6c0b69b4f4941424c0eaf35aadc0a2bcfb1f40b562e13b9"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
@ -2480,9 +2480,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_bundler" name = "swc_bundler"
version = "0.192.20" version = "0.192.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6928d3d33194ec07987ee27a690788fbb9f46fad2432519aa22ae0e845456f75" checksum = "e6afce6cc026a9c5f89c9506c43ec77c0675b648e5b466d8bd126a292ff8c3b7"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
@ -2605,9 +2605,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_core" name = "swc_core"
version = "0.38.4" version = "0.38.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fc50e6ec85eb7870cf5dbdf671cc17860c8b4524ae67ac8fb6ce06712f35737" checksum = "db46f6db74a4b579e75d8c16d5f7b8303c8f6de7c318640e4b4a357b03fefdb1"
dependencies = [ dependencies = [
"binding_macros", "binding_macros",
"swc", "swc",
@ -2648,9 +2648,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_codegen" name = "swc_ecma_codegen"
version = "0.127.15" version = "0.127.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cb7f63d1b20dc149a3392cc93b2e35efcab80ab5daeba3b18be70fd4f704e18" checksum = "ad298191affa4288fb38f54d0de248bf574ac6ff96267fe719ddc5286d3e9c93"
dependencies = [ dependencies = [
"memchr", "memchr",
"num-bigint", "num-bigint",
@ -2680,9 +2680,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_ext_transforms" name = "swc_ecma_ext_transforms"
version = "0.91.16" version = "0.91.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eee6cbbbc72650061b64eac8aa6392095a23f7699de520f89b82518f7aa3a427" checksum = "a2ba086508721a3fb581c0b28442b5c67b72fa96c4f58519479f58ef5d8643a7"
dependencies = [ dependencies = [
"phf", "phf",
"swc_atoms", "swc_atoms",
@ -2694,9 +2694,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_lints" name = "swc_ecma_lints"
version = "0.66.22" version = "0.66.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9d5b4492264a008b932c9014f2da97aac9e759271c1e10c91b6877502b49d4c" checksum = "7bf73cedb07db24ce5bcafd5a540ada45057b918954926c365bc16bd811b8680"
dependencies = [ dependencies = [
"ahash", "ahash",
"auto_impl", "auto_impl",
@ -2737,9 +2737,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_minifier" name = "swc_ecma_minifier"
version = "0.159.20" version = "0.159.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e8b2b2a7ac0ad819694c897fb87b2f31dbd06bdb2f5bc8ccbeaf3f5ac5e0722" checksum = "0ee4fc7420e3e894833a548fe9f9a45b0203b4ef0ea83a6da7c2b575f67f9f6f"
dependencies = [ dependencies = [
"ahash", "ahash",
"arrayvec", "arrayvec",
@ -2771,9 +2771,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_parser" name = "swc_ecma_parser"
version = "0.122.12" version = "0.122.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fe933ad09ff54919b735253714415540c94c471e6296ff1cb5191070df582ca" checksum = "524aef6fd6a65f877108880329e668f2e60f7b408d83882858c55cf286bd1fec"
dependencies = [ dependencies = [
"either", "either",
"enum_kind", "enum_kind",
@ -2790,9 +2790,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_preset_env" name = "swc_ecma_preset_env"
version = "0.174.9" version = "0.174.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed90888629dd8a292d2ba06624ee81d29fb2b7819bdfd4d6380dae01485fa87" checksum = "3f9de6f74af5c5bde172dbb16461ee937983c2af01b70fe1c213f1c09cc644e5"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
@ -2815,9 +2815,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms" name = "swc_ecma_transforms"
version = "0.198.9" version = "0.198.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "def7a7c90feea88d94af3431c88c7fe4d539ecfadf64dbdacd4e3aa855995e6b" checksum = "aec98279e526604dc6ee7da40b45a68062192f8d1ebf670893c8cbfaa6eed301"
dependencies = [ dependencies = [
"swc_atoms", "swc_atoms",
"swc_common", "swc_common",
@ -2835,9 +2835,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_base" name = "swc_ecma_transforms_base"
version = "0.111.23" version = "0.111.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "516fb67ef7f17a5aba02f5ed1abdf31c08fe62fc1268ae254f6003a4fc813519" checksum = "f14e060d4f9271238cd7088f57526a3694a4716be2c7f3005cf5484b1d455bd9"
dependencies = [ dependencies = [
"better_scoped_tls", "better_scoped_tls",
"bitflags", "bitflags",
@ -2858,9 +2858,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_classes" name = "swc_ecma_transforms_classes"
version = "0.100.22" version = "0.100.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a9ce9bfd0a7433a8e59c52fbe65761d496c045bb9ec703371f0e4b763f977cf" checksum = "ebfe4166eb4c3f58f913a55561f60ee79ce56af901613db65a1d64d61f78d9c1"
dependencies = [ dependencies = [
"swc_atoms", "swc_atoms",
"swc_common", "swc_common",
@ -2872,9 +2872,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_compat" name = "swc_ecma_transforms_compat"
version = "0.136.9" version = "0.136.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0885003edb4022617a06773dc8a8b8a2e66b52adc671ae13c2518070925fb506" checksum = "51a2965b7abb255bcae1ad9db159805d72b6e6701db405bde39d4f2eb4f454b7"
dependencies = [ dependencies = [
"ahash", "ahash",
"arrayvec", "arrayvec",
@ -2912,9 +2912,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_module" name = "swc_ecma_transforms_module"
version = "0.153.9" version = "0.153.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a7d7d0d8549f86b722cd281bc95a9f5d7195bd22a1ce908bdb3101a5d4eed3e" checksum = "89f82416cc7e21457a7b06432899e66e5933015128354f8e45e1b28ce41a0d77"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"ahash", "ahash",
@ -2940,9 +2940,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_optimization" name = "swc_ecma_transforms_optimization"
version = "0.167.9" version = "0.167.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59f3d52968af7e606ecd3bf93709f72ffaeae39e0fc562cf7b75ebfd7b750d55" checksum = "2d6c3e0882ba0a691ee9e63c27d6e806967d775e9e9e9692cd98ad34182d02ea"
dependencies = [ dependencies = [
"ahash", "ahash",
"dashmap", "dashmap",
@ -2966,9 +2966,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_proposal" name = "swc_ecma_transforms_proposal"
version = "0.144.9" version = "0.144.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63ec259668d062b8fde49f7fb55d75090613326f9d4ad47c0b4b82cd17e005db" checksum = "67d68f68ab789c203f809295073956294873b5a41e0c248a8ff14979fbf92b20"
dependencies = [ dependencies = [
"either", "either",
"serde", "serde",
@ -2985,9 +2985,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_react" name = "swc_ecma_transforms_react"
version = "0.155.9" version = "0.155.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1846d9026c60ec3ddc60614208822f31edad8f1a1e9b2d418d8dde1b5c1b48ab" checksum = "757970530a568dbd3dd6b1e919e43ad28a726dc42f1b25665e0e5b2e26e25b2b"
dependencies = [ dependencies = [
"ahash", "ahash",
"base64", "base64",
@ -3012,9 +3012,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms_typescript" name = "swc_ecma_transforms_typescript"
version = "0.159.9" version = "0.159.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b45f4c6cb1393d6c9b4ba4fde180a89531b02ea071f8456d6aec8b1689e97849" checksum = "8de76d2a596d487613f12fd04b8361f3883e0e6da8fb353c896a8fbf94b539b9"
dependencies = [ dependencies = [
"serde", "serde",
"swc_atoms", "swc_atoms",
@ -3028,9 +3028,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_utils" name = "swc_ecma_utils"
version = "0.105.16" version = "0.105.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f42229b20da7a989955c37efe6ea3f73486254b41170b151e2f6c115bb21031" checksum = "83425258fc1dd55ae5541fcbf766c65c944c20098eb14345c07decb4e5c0c300"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"num_cpus", "num_cpus",
@ -3132,9 +3132,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_node_bundler" name = "swc_node_bundler"
version = "0.18.20" version = "0.18.35"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5dfe2214514c156ed5a7ca47caa31458a42e69210447d28cfeb7698f79a5dcf" checksum = "62c754a02fa9c031b3b9d3e2050a42f28944eb6d6980618711f9e95c7f8f16d1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"dashmap", "dashmap",
@ -3202,11 +3202,12 @@ dependencies = [
[[package]] [[package]]
name = "swc_plugin_runner" name = "swc_plugin_runner"
version = "0.77.12" version = "0.77.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13854580bac46a31cec3a2db1d45ab51d9714b47ded7643b7bd9cb1373210f04" checksum = "72c3c1ff86f8e2534a472f48cc2ac7fac8ffcf1f5e3b8495b33d4e950f24c5e6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"enumset",
"once_cell", "once_cell",
"parking_lot", "parking_lot",
"serde", "serde",
@ -3217,6 +3218,8 @@ dependencies = [
"tracing", "tracing",
"wasmer", "wasmer",
"wasmer-cache", "wasmer-cache",
"wasmer-compiler-cranelift",
"wasmer-engine-universal",
"wasmer-wasi", "wasmer-wasi",
] ]

View File

@ -56,7 +56,7 @@ tracing-chrome = "0.5.0"
tracing-futures = "0.2.5" tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
swc_core = { version = "0.38.4", features = [ swc_core = { version = "0.38.22", features = [
"ecma_ast", "ecma_ast",
"common_concurrent", "common_concurrent",
"bundler", "bundler",

View File

@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_core_wasm" name = "binding_core_wasm"
publish = false publish = false
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "1.3.8" version = "1.3.9"
[lib] [lib]
bench = false bench = false
@ -21,7 +21,7 @@ plugin = ["swc_core/plugin_transform_host_js"]
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
swc_core = { version = "0.38.4", features = [ swc_core = { version = "0.38.22", features = [
"common_perf", "common_perf",
"binding_macro_wasm", "binding_macro_wasm",
"ecma_transforms", "ecma_transforms",

View File

@ -26,7 +26,7 @@ rayon = "1"
relative-path = "1.6.1" relative-path = "1.6.1"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] } serde_json = { version = "1", features = ["unbounded_depth"] }
swc_core = { version = "0.38.4", features = [ swc_core = { version = "0.38.22", features = [
"trace_macro", "trace_macro",
"common_concurrent", "common_concurrent",
"base_concurrent", "base_concurrent",

View File

@ -244,6 +244,7 @@ impl PluginModuleCache {
/// ///
/// This function exists because we need to disable simd. /// This function exists because we need to disable simd.
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]
#[allow(unused_mut)]
fn new_store() -> Store { fn new_store() -> Store {
// Use empty enumset to disable simd. // Use empty enumset to disable simd.
let mut set = EnumSet::new(); let mut set = EnumSet::new();

View File

@ -1,6 +1,6 @@
{ {
"name": "@swc/core", "name": "@swc/core",
"version": "1.3.8", "version": "1.3.9",
"description": "Super-fast alternative for babel", "description": "Super-fast alternative for babel",
"homepage": "https://swc.rs", "homepage": "https://swc.rs",
"main": "./index.js", "main": "./index.js",