diff --git a/Cargo.lock b/Cargo.lock index 5a93547..8798061 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,9 +63,9 @@ checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "ast_node" -version = "0.9.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9184f2b369b3e8625712493c89b785881f27eedc6cde480a81883cef78868b2" +checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a" dependencies = [ "proc-macro2", "quote", @@ -406,9 +406,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "0.1.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4" +checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1" dependencies = [ "proc-macro2", "swc_macros_common", @@ -551,9 +551,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "linux-raw-sys" @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" +checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b" dependencies = [ "bitflags", ] @@ -1114,9 +1114,9 @@ dependencies = [ [[package]] name = "serde-inline-default" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9980133dc534d02ab08df3b384295223a45090c40a4c46240e3eaa982b495910" +checksum = "484b43bb1114a28d1a574f5682d6079fa4c20e76faaff0cfd048216650e57101" dependencies = [ "proc-macro2", "quote", @@ -1329,9 +1329,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "0.6.7" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6567e4e67485b3e7662b486f1565bdae54bd5b9d6b16b2ba1a9babb1e42125" +checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71" dependencies = [ "bytecheck", "hstr", @@ -1343,9 +1343,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.38.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a69266c96a6a41bc2de27fdf14fdf5995549b6244f99c9b07604569576657eb" +checksum = "95fca87acdd34580b59a6f6686dfe72bcc7bad4b7abb7e6728e8e3fd4ecb1d7c" dependencies = [ "anyhow", "ast_node", @@ -1375,9 +1375,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.104.2" +version = "0.106.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c99f06e547d867763baa35a3f58aca9c894735d6318f56cb9944819d47c4d5dd" +checksum = "57e99f5a654203ac30e8b819a7c36a913d7620210ef43d7ca04e1269bbd17781" dependencies = [ "once_cell", "swc_allocator", @@ -1396,9 +1396,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.119.0" +version = "0.121.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e9696b3d02197c16ba7548c95b31f7ca79532200d269ce3ad03a5b2174cf28" +checksum = "1628b2c0c6349c1960b007fda04e0c1537480e0d0b1405305ef5846b752aa7a8" dependencies = [ "bitflags", "bytecheck", @@ -1415,13 +1415,14 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.156.1" +version = "0.158.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91593151f66eb0a731a63e5a5c1253cb51bb04dee2b6733dcb5e5ee0c86480dc" +checksum = "25aef555943803034f0e0fd98ddfe72f1c3454f2c68a897075eb29bc63d4e930" dependencies = [ "memchr", "num-bigint", "once_cell", + "regex", "serde", "sourcemap", "swc_allocator", @@ -1446,9 +1447,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.150.0" +version = "0.152.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071840b1838add74470d759f69783f41f860c1dc69a1317db3bd2efbed9b8338" +checksum = "9ef96894fa0fb3fba233ede22a75a7ddd8b7f0727a40aa8d1028b5dd25013d2e" dependencies = [ "either", "new_debug_unreachable", @@ -1468,9 +1469,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fe99d65324a07ff5a85ae8a616633eca3b99537becc44e1ed6b2e91d4075858" +checksum = "d88a64496b73a0e9c9d8333d14d39904e8d87dbcefe7baaa161803a7f5bae110" dependencies = [ "anyhow", "hex", @@ -1481,9 +1482,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.147.0" +version = "0.149.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b1e55ce789bd4411b1e0a8b83149c70dd1186e38471fd65860dcece8a522f2f" +checksum = "f2194d20416a03ae02058934f8387691809f86466a2f2e7a65c56dcb001bd46b" dependencies = [ "better_scoped_tls", "bitflags", @@ -1504,9 +1505,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.150.0" +version = "0.152.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2c741b78571e1597df977cd91ba9e605e08caa588a186c2ede7740dc08cb1a6" +checksum = "b0cd337a171f362abb45841429b75c8fa78750fefa4896c8b1900ba16e4a2e71" dependencies = [ "ansi_term", "anyhow", @@ -1530,9 +1531,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.135.0" +version = "0.137.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90b316ef306ff4b81505c697d112be0173a412c382acc7c572c98600c26ee80d" +checksum = "939f21c75eff61ad3e485fc54d38988f2f9744ceda24a3feb8228dd072171d94" dependencies = [ "indexmap", "num_cpus", @@ -1549,9 +1550,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.105.0" +version = "0.107.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc4e8093063408a54afdee982ce1a47180de9047875adcbcfb7c0be2d827ac26" +checksum = "15bd17e03251272ee04d1155036be5288055ab43d40ab2d9fd63ff815d326dad" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -1575,9 +1576,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "0.22.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a961c23b25962fa92d476316b1c39b1bdfedd0446588c0bbc7255166e3b4c52" +checksum = "83f9286183c9be40aafcbbe8c397403fb32af812a3dffe93eee9067aee4fbedb" dependencies = [ "anyhow", "miette", @@ -1619,9 +1620,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "0.48.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9108a667cb1f43c0615e1b2b9aaf1ce31794aac418f16e4ebc0b2ee43cc9d1c" +checksum = "d7d1ff72008f9a4dd53b5b79f64057a59bedb3245ae17165fa8aece8b2da4782" dependencies = [ "better_scoped_tls", "rkyv", @@ -1633,9 +1634,9 @@ dependencies = [ [[package]] name = "swc_trace_macro" -version = "0.1.3" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff9719b6085dd2824fd61938a881937be14b08f95e2d27c64c825a9f65e052ba" +checksum = "69aa25f667e4d74ab10a17a266edeb8b354273817b20b91e60471f1c860a221b" dependencies = [ "proc-macro2", "quote", @@ -1704,9 +1705,9 @@ dependencies = [ [[package]] name = "testing" -version = "0.40.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d2604f8ab1afd3de49f1a1994b6b77c6a5881e6334d8f6d08bd1151a0d9860" +checksum = "cb07036f78601d34da9ba6855e8694ee5f420b915b59c2e44283be0606ae304f" dependencies = [ "ansi_term", "cargo_metadata", @@ -1868,19 +1869,20 @@ dependencies = [ [[package]] name = "ts-rs" -version = "9.0.1" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b44017f9f875786e543595076374b9ef7d13465a518dd93d6ccdbf5b432dde8c" +checksum = "3a2f31991cee3dce1ca4f929a8a04fdd11fd8801aac0f2030b0fa8a0a3fef6b9" dependencies = [ + "lazy_static", "thiserror", "ts-rs-macros", ] [[package]] name = "ts-rs-macros" -version = "9.0.1" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88cc88fd23b5a04528f3a8436024f20010a16ec18eb23c164b1242f65860130" +checksum = "0ea0b99e8ec44abd6f94a18f28f7934437809dd062820797c52401298116f70e" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 0148430..0d39f8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,15 +32,15 @@ serde_json = "1" serde-inline-default = "0.2.0" regex = "1" lazy_static = "1" -swc_core = { version = "0.104", features = [ +swc_core = { version = "0.106", features = [ "ecma_plugin_transform", "ecma_parser", ] } -ts-rs = "9" +ts-rs = "10" [dev-dependencies] -testing = "0.40" +testing = "0.42" # .cargo/config defines few alias to build plugin. # cargo build-wasi generates wasm-wasi32 binary # cargo build-wasm32 generates wasm32-unknown-unknown binary.