diff --git a/Cargo.lock b/Cargo.lock index c18788aac1f29..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" @@ -1071,7 +1071,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -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", @@ -1516,7 +1516,7 @@ dependencies = [ "bitflags 2.6.0", "itertools", "nonmax", - "oxc_index 2.0.0", + "oxc_index", "oxc_syntax", "petgraph", "rustc-hash", @@ -1534,10 +1534,10 @@ dependencies = [ "nonmax", "oxc_allocator", "oxc_ast", - "oxc_index 2.0.0", + "oxc_index", "oxc_mangler", "oxc_parser", - "oxc_sourcemap 1.0.3", + "oxc_sourcemap", "oxc_span", "oxc_syntax", "pico-args", @@ -1617,21 +1617,13 @@ dependencies = [ "serde", ] -[[package]] -name = "oxc_index" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f004e73d346bec03a428ca26cf2df245d08563f1d3268b7bcbd5554fc1db05c5" -dependencies = [ - "rayon", -] - [[package]] name = "oxc_index" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34" dependencies = [ + "rayon", "serde", ] @@ -1702,7 +1694,7 @@ dependencies = [ "oxc_codegen", "oxc_diagnostics", "oxc_ecmascript", - "oxc_index 2.0.0", + "oxc_index", "oxc_macros", "oxc_parser", "oxc_regular_expression", @@ -1740,7 +1732,7 @@ version = "0.40.1" dependencies = [ "itertools", "oxc_ast", - "oxc_index 2.0.0", + "oxc_index", "oxc_semantic", "oxc_span", ] @@ -1900,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", @@ -1930,7 +1922,7 @@ dependencies = [ "oxc_cfg", "oxc_diagnostics", "oxc_ecmascript", - "oxc_index 2.0.0", + "oxc_index", "oxc_parser", "oxc_span", "oxc_syntax", @@ -1944,23 +1936,9 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6889e95c8db9298201db5389810d61ca491443863897f557c0ce47f961541cde" -dependencies = [ - "base64-simd", - "cfg-if", - "cow-utils", - "rustc-hash", - "serde", - "serde_json", -] - -[[package]] -name = "oxc_sourcemap" -version = "1.0.3" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe680bb40eebfdfde9d2be8a38cfbfb2e43113648dc5d215ba9930b1009af54" +checksum = "c9d811a7c2879984b0fbb70ddbf0818f80247dccfcb5014be997019683aa5dfc" dependencies = [ "base64-simd", "cfg-if", @@ -1996,7 +1974,7 @@ dependencies = [ "oxc_allocator", "oxc_ast_macros", "oxc_estree", - "oxc_index 2.0.0", + "oxc_index", "oxc_span", "phf", "rustc-hash", @@ -2053,7 +2031,7 @@ dependencies = [ "napi-derive", "oxc", "oxc_napi", - "oxc_sourcemap 1.0.3", + "oxc_sourcemap", "rustc-hash", ] @@ -2111,7 +2089,7 @@ version = "0.0.0" dependencies = [ "console_error_panic_hook", "oxc", - "oxc_index 2.0.0", + "oxc_index", "oxc_linter", "oxc_prettier", "serde", @@ -2379,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", ] @@ -2494,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", @@ -2624,9 +2602,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] @@ -2644,9 +2622,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", @@ -2820,13 +2798,14 @@ checksum = "e9557cb6521e8d009c51a8666f09356f4b817ba9ba0981a305bd86aee47bd35c" [[package]] name = "string_wizard" -version = "0.0.23" +version = "0.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "651f4a6ed8df932ab9285b892fdd35bdc72b17b5eff0232cd51048a0b28af4a5" +checksum = "6bb58bc508ea1c7f771111be7870d0c8079410c0fe7e026454c7baa7998cf2a5" dependencies = [ - "oxc_index 1.0.1", - "oxc_sourcemap 0.38.0", + "oxc_index", + "oxc_sourcemap", "rustc-hash", + "serde", ] [[package]] @@ -3205,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", @@ -3219,8 +3197,6 @@ dependencies = [ "serde_json", "url", "webpki-roots", - "yoke", - "zerofrom", ] [[package]] @@ -3283,9 +3259,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c" +checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" dependencies = [ "cfg-if", "once_cell", @@ -3294,13 +3270,12 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd" +checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote", "syn", @@ -3309,9 +3284,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051" +checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3319,9 +3294,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d" +checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", @@ -3332,9 +3307,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.97" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" +checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" [[package]] name = "web-sys" @@ -3569,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", @@ -3613,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 d46a4f7cd1fc1..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.23" +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"] }