diff --git a/Cargo.lock b/Cargo.lock index 87c556b0..4b120e62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1074,6 +1074,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41b319d1b62ffbd002e057f36bebd1f42b9f97927c9577461d855f3513c4289f" +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "serde", + "uuid", +] + [[package]] name = "deno-proc-macro-rules" version = "0.3.2" @@ -1099,11 +1109,11 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.118.0" +version = "0.121.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1c32084b9ff8667d7d2176262739ce473e0341c7625325b48a2fbab0c903dc" +checksum = "b72cbce2b28d1ede2669f4ddfbb2e68e8e360c4cfe9494686bec4ffd60aeee4b" dependencies = [ - "deno_core", + "deno_core 0.222.0", ] [[package]] @@ -1114,8 +1124,8 @@ checksum = "b4ddf51deb9a3bb60a4ab74784414b3f2f89de83a77d6d90a64c6447f7765d68" dependencies = [ "anyhow", "bytes", - "deno_ops", - "deno_unsync", + "deno_ops 0.82.0", + "deno_unsync 0.1.1", "futures", "indexmap 1.9.3", "libc", @@ -1125,19 +1135,46 @@ dependencies = [ "pin-project", "serde", "serde_json", - "serde_v8", + "serde_v8 0.115.0", + "smallvec", + "sourcemap 6.2.3", + "tokio", + "url", + "v8 0.74.3", +] + +[[package]] +name = "deno_core" +version = "0.222.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b13c81b9ea8462680e7b77088a44fc36390bab3dbfa5a205a285e11b64e0919c" +dependencies = [ + "anyhow", + "bytes", + "deno_ops 0.98.0", + "deno_unsync 0.3.0", + "futures", + "indexmap 2.0.0", + "libc", + "log", + "once_cell", + "parking_lot 0.12.1", + "pin-project", + "serde", + "serde_json", + "serde_v8 0.131.0", "smallvec", - "sourcemap", + "sourcemap 7.0.0", "tokio", "url", - "v8", + "v8 0.79.2", ] [[package]] name = "deno_crypto" -version = "0.132.0" +version = "0.135.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39deb9b4cadcb1a7a98138ac34fadf5389bd2fee4b4e8e8c3f6333c09efea89e" +checksum = "e424549a4d7a590288a99b7da36cc0c9b4b6f252aca0acbd21f9adf096b6ac21" dependencies = [ "aes 0.8.3", "aes-gcm 0.10.2", @@ -1147,7 +1184,7 @@ dependencies = [ "const-oid", "ctr 0.9.2", "curve25519-dalek 2.1.3", - "deno_core", + "deno_core 0.222.0", "deno_web", "elliptic-curve", "num-traits", @@ -1171,13 +1208,13 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.142.0" +version = "0.145.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "067336cb3a415cce643007c8ace7872a19a517d6e1eccbf9e8cfff8d886fb31a" +checksum = "4b361ef11c46e35de395ac0348f129094086ad913c9fb377085eef36eb653ed8" dependencies = [ "bytes", "data-url", - "deno_core", + "deno_core 0.222.0", "deno_tls", "dyn-clone", "http", @@ -1194,7 +1231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b660872f9a9737d3424470483dd6730d2129481af5055449a2a37ab5bc2145e" dependencies = [ "deno-proc-macro-rules", - "lazy-regex", + "lazy-regex 2.5.0", "once_cell", "pmutil", "proc-macro-crate", @@ -1208,13 +1245,33 @@ dependencies = [ "thiserror", ] +[[package]] +name = "deno_ops" +version = "0.98.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf89da1a3e50ff7c89956495b53d9bcad29e1f1b3f3d2bc54cad7155f55419c4" +dependencies = [ + "deno-proc-macro-rules", + "lazy-regex 3.0.2", + "once_cell", + "pmutil", + "proc-macro-crate", + "proc-macro2", + "quote", + "regex", + "strum", + "strum_macros", + "syn 2.0.28", + "thiserror", +] + [[package]] name = "deno_tls" -version = "0.105.0" +version = "0.108.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b8d622d1a59b48192258274bf58a5a6f44d4a0497fc8c4396c1a37759385417" +checksum = "127aa913635496873135691c34e54e058c0d3d8565a601c0422e5b1ab3c8447c" dependencies = [ - "deno_core", + "deno_core 0.222.0", "once_cell", "rustls 0.21.7", "rustls-native-certs", @@ -1233,27 +1290,36 @@ dependencies = [ "tokio", ] +[[package]] +name = "deno_unsync" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8a8f3722afd50e566ecfc783cc8a3a046bc4dd5eb45007431dfb2776aeb8993" +dependencies = [ + "tokio", +] + [[package]] name = "deno_url" -version = "0.118.0" +version = "0.121.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9915e0eecac8ed1177b99eca8a220abfdcd8f4e7c5b0d99443b6b81eb90472b" +checksum = "d1511f888bd2a7c458c31536f5a13403202b5443ed01eeab8b6eb5b5eaff29e2" dependencies = [ - "deno_core", + "deno_core 0.222.0", "serde", "urlpattern", ] [[package]] name = "deno_web" -version = "0.149.0" +version = "0.152.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c183739430b71fd42f6edee0303f13f01b31e9cf80844157b7ca37b91e369275" +checksum = "5176dfde7c04c999cf83afea82ed13434d56d7330733eaf31ef7953e7da081f5" dependencies = [ "async-trait", "base64-simd", "bytes", - "deno_core", + "deno_core 0.222.0", "encoding_rs", "flate2", "futures", @@ -1265,11 +1331,11 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.118.0" +version = "0.121.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71b84c418b9748f166a004eba3a67b2a8f8c1b9661bbe509c7c31cc21d7c72f6" +checksum = "d1358d0bd1ebe7286e7beb0f81848ff1478a08ead6191d6b2ad16bf9b6d712b3" dependencies = [ - "deno_core", + "deno_core 0.222.0", ] [[package]] @@ -2286,7 +2352,18 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff63c423c68ea6814b7da9e88ce585f793c87ddd9e78f646970891769c8235d4" dependencies = [ - "lazy-regex-proc_macros", + "lazy-regex-proc_macros 2.4.1", + "once_cell", + "regex", +] + +[[package]] +name = "lazy-regex" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e723bd417b2df60a0f6a2b6825f297ea04b245d4ba52b5a22cb679bdf58b05fa" +dependencies = [ + "lazy-regex-proc_macros 3.0.1", "once_cell", "regex", ] @@ -2303,6 +2380,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "lazy-regex-proc_macros" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0a1d9139f0ee2e862e08a9c5d0ba0470f2aa21cd1e1aa1b1562f83116c725f" +dependencies = [ + "proc-macro2", + "quote", + "regex", + "syn 2.0.28", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -4254,7 +4343,23 @@ dependencies = [ "serde_bytes", "smallvec", "thiserror", - "v8", + "v8 0.74.3", +] + +[[package]] +name = "serde_v8" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38cafa16d0a4288d75925351bb54d06d2e830118ad3fad393947bb11f91b18f3" +dependencies = [ + "bytes", + "derive_more", + "num-bigint", + "serde", + "serde_bytes", + "smallvec", + "thiserror", + "v8 0.79.2", ] [[package]] @@ -4391,6 +4496,22 @@ dependencies = [ "url", ] +[[package]] +name = "sourcemap" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbecc42a2b6131acc3bf9a25c9fe4161dba438eb52131bba83c5d781b5b70be3" +dependencies = [ + "data-encoding", + "debugid", + "if_chain", + "rustc_version 0.2.3", + "serde", + "serde_json", + "unicode-id", + "url", +] + [[package]] name = "spin" version = "0.5.2" @@ -5012,6 +5133,18 @@ dependencies = [ "which", ] +[[package]] +name = "v8" +version = "0.79.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15561535230812a1db89a696f1f16a12ae6c2c370c6b2241c68d4cb33963faf" +dependencies = [ + "bitflags 1.3.2", + "fslock", + "once_cell", + "which", +] + [[package]] name = "version_check" version = "0.9.4" @@ -5841,7 +5974,7 @@ name = "zinnia_libp2p" version = "0.14.0" dependencies = [ "async-trait", - "deno_core", + "deno_core 0.204.0", "either", "env_logger", "libp2p", @@ -5861,7 +5994,7 @@ dependencies = [ "chrono", "console_static_text", "deno_console", - "deno_core", + "deno_core 0.204.0", "deno_crypto", "deno_fetch", "deno_url", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8c89e5e6..8f162fe1 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -14,13 +14,13 @@ path = "lib.rs" [dependencies] atty = "0.2.14" chrono = { version= "0.4.31", default-features = false, features = [ "clock", "std" ] } -deno_console = "0.118.0" +deno_console = "0.121.0" deno_core.workspace = true -deno_crypto = "0.132.0" -deno_fetch = "0.142.0" -deno_url = "0.118.0" -deno_web = "0.149.0" -deno_webidl = "0.118.0" +deno_crypto = "0.135.0" +deno_fetch = "0.145.0" +deno_url = "0.121.0" +deno_web = "0.152.0" +deno_webidl = "0.121.0" lassie = "0.6.0" # lassie = { git = "https://github.com/filecoin-station/rusty-lassie.git" } log.workspace = true