From bba08632522f7ea3e0a365500f0d15cd8004e3da Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 12 Dec 2024 22:27:00 +0800 Subject: [PATCH] u --- Cargo.lock | 52 ++++++++++++++++++++---------------------- Cargo.toml | 12 +++++----- napi/parser/Cargo.toml | 2 +- 3 files changed, 32 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd15c35973de4..bcf2d186b2847 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,9 +209,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" +checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d" dependencies = [ "shlex", ] @@ -1060,9 +1060,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libloading" @@ -1104,9 +1104,9 @@ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "litemap" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "lock_api" @@ -1205,9 +1205,9 @@ dependencies = [ [[package]] name = "napi" -version = "3.0.0-alpha.22" +version = "3.0.0-alpha.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04aea9dbe75cd1a1abecf8a66fba1e694c12ce6e6e4e11824dc274e141a6c251" +checksum = "f4929caab512f6e9650b53d27b4076f3e0524a1369e5d4ab25965fcc60b31cad" dependencies = [ "bitflags 2.6.0", "ctor", @@ -1892,9 +1892,9 @@ dependencies = [ [[package]] name = "oxc_resolver" -version = "2.1.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da33ec82d0f4770f4b5c120d6a1d8e45de2d99ae2672a7ee6bd29092ada945f2" +checksum = "87f7b4604348e24a53f114dabe3001306ca720cb83d007b1140afc26c1fdfa7b" dependencies = [ "cfg-if", "dashmap 6.1.0", @@ -1936,9 +1936,9 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f7c51c48ad723ccd069a37b16f4bcd4f75b32d5c74b06c2110335beb504a9a" +checksum = "c9d811a7c2879984b0fbb70ddbf0818f80247dccfcb5014be997019683aa5dfc" dependencies = [ "base64-simd", "cfg-if", @@ -2357,9 +2357,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" +checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ "bitflags 2.6.0", ] @@ -2472,9 +2472,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.19" +version = "0.23.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" +checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" dependencies = [ "log", "once_cell", @@ -2798,13 +2798,14 @@ checksum = "e9557cb6521e8d009c51a8666f09356f4b817ba9ba0981a305bd86aee47bd35c" [[package]] name = "string_wizard" -version = "0.0.24" +version = "0.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c869b11cd240e884965d9d0add9d61e4c07ba3507c800f0edf82b2a69633a73" +checksum = "6bb58bc508ea1c7f771111be7870d0c8079410c0fe7e026454c7baa7998cf2a5" dependencies = [ "oxc_index", "oxc_sourcemap", "rustc-hash", + "serde", ] [[package]] @@ -3183,12 +3184,11 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.11.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b30e6f97efe1fa43535ee241ee76967d3ff6ff3953ebb430d8d55c5393029e7b" +checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" dependencies = [ "base64", - "litemap", "log", "once_cell", "rustls", @@ -3197,8 +3197,6 @@ dependencies = [ "serde_json", "url", "webpki-roots", - "yoke", - "zerofrom", ] [[package]] @@ -3546,9 +3544,9 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" [[package]] name = "yoke" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" +checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" dependencies = [ "serde", "stable_deref_trait", @@ -3590,9 +3588,9 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" dependencies = [ "zerofrom-derive", ] diff --git a/Cargo.toml b/Cargo.toml index f05acea1188ae..b02bdbe6432e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -122,7 +122,7 @@ unicode-id-start = "1" # oxc-browserslist = "1.1.0" oxc_index = "2" -oxc_resolver = "2.1.1" +oxc_resolver = "3.0.1" oxc_sourcemap = "1" # @@ -180,24 +180,24 @@ rustc-hash = "2.*" ryu-js = "1.0.1" saphyr = "0.0.3" schemars = "0.8.21" -self_cell = "1.0.4" +self_cell = "1.1.0" seq-macro = "0.3.5" -serde = "1.0.215" +serde = "1.0.216" serde-wasm-bindgen = "0.6.5" serde_json = "1.0.133" sha1 = "0.10.6" simdutf8 = { version = "0.1.5", features = ["aarch64_neon"] } similar = "2.6.0" -string_wizard = "0.0.24" +string_wizard = "0.0.25" tempfile = "3.14.0" tokio = "1.42.0" tower-lsp = "0.20.0" tracing-subscriber = "0.3.19" tsify = "0.4.5" -ureq = { version = "2.11.0", default-features = false } +ureq = { version = "2.12.1", default-features = false } url = "2.5.4" walkdir = "2.5.0" -wasm-bindgen = "0.2.97" +wasm-bindgen = "0.2.99" [workspace.metadata.cargo-shear] ignored = ["napi", "oxc_transform_napi", "prettyplease"] diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 5187e4b078a64..85eb054696df3 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -29,7 +29,7 @@ oxc_napi = { workspace = true } rustc-hash = { workspace = true } self_cell = { workspace = true } serde_json = { workspace = true } -string_wizard = { workspace = true, features = ["sourcemap"] } +string_wizard = { workspace = true, features = ["sourcemap", "serde"] } # oxc_sourcemap = { workspace = true, features = ["napi"] } napi = { workspace = true, features = ["async"] }