From 1bf7b90ca8ad8e2bf62e455c24d5498c9ee74a46 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 2 Sep 2021 23:38:44 +0200 Subject: [PATCH] chore: update dependencies (#11856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- Cargo.lock | 324 ++++++++++++++++++------------- bench_util/Cargo.toml | 2 +- cli/Cargo.toml | 24 +-- cli/file_watcher.rs | 2 +- core/Cargo.toml | 12 +- ext/broadcast_channel/Cargo.toml | 2 +- ext/crypto/Cargo.toml | 4 +- ext/fetch/Cargo.toml | 6 +- ext/ffi/Cargo.toml | 2 +- ext/http/Cargo.toml | 4 +- ext/net/Cargo.toml | 4 +- ext/timers/Cargo.toml | 2 +- ext/tls/Cargo.toml | 2 +- ext/url/Cargo.toml | 2 +- ext/web/Cargo.toml | 6 +- ext/webgpu/Cargo.toml | 6 +- ext/websocket/Cargo.toml | 6 +- ext/webstorage/Cargo.toml | 2 +- runtime/Cargo.toml | 16 +- runtime/errors.rs | 21 +- runtime/ops/fs_events.rs | 10 +- test_util/Cargo.toml | 14 +- 22 files changed, 257 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 09b654c2d5f11c..7d897c20662e47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,9 +52,9 @@ dependencies = [ [[package]] name = "alloc-no-stdlib" -version = "2.0.1" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192ec435945d87bc2f70992b4d818154b5feede43c09fb7592146374eac90a6" +checksum = "35ef4730490ad1c4eae5c4325b2a95f521d023e5c885853ff7aca0a6a1631db3" [[package]] name = "alloc-stdlib" @@ -97,9 +97,9 @@ dependencies = [ [[package]] name = "ash" -version = "0.33.0+1.2.186" +version = "0.33.2+1.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2142f1fa77cc4d24ffd2f24dc84f88ce5b1e588d524f10fb473a04b93aef14f" +checksum = "73e2b957a47afef62973ed5fa0a52afb3289c7a243bfbc3906090b8434971237" dependencies = [ "libloading", ] @@ -112,7 +112,7 @@ checksum = "f93f52ce8fac3d0e6720a92b0576d737c01b1b5db4dd786e962e5925f00bf755" dependencies = [ "darling", "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "swc_macros_common", "syn 1.0.65", @@ -148,18 +148,18 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] [[package]] name = "async-trait" -version = "0.1.50" +version = "0.1.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b98e84bbb4cbcdd97da190ba0c58a1bb0de2c1fdf67d159e192ed766aeca722" +checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -182,7 +182,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42cbf586c80ada5e5ccdecae80d3ef0854f224e2dd74435f8d87e6831b8d0a38" dependencies = [ "proc-macro-error", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -255,9 +255,9 @@ dependencies = [ [[package]] name = "brotli" -version = "3.3.0" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f29919120f08613aadcd4383764e00526fc9f18b6c0895814faeed0dd78613e" +checksum = "71cb90ade945043d3d53597b2fc359bb063db8ade2bcffe7997351d0756e9d50" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -266,9 +266,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1052e1c3b8d4d80eb84a8b94f0a1498797b5fb96314c001156a1c761940ef4ec" +checksum = "59ad2d4653bf5ca36ae797b1f4bb4dbddb60ce49ca4aed8a2ce4829f60425b80" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -294,15 +294,15 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" +checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" [[package]] name = "cc" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787" +checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" [[package]] name = "cfg-if" @@ -466,9 +466,9 @@ dependencies = [ [[package]] name = "crypto-bigint" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b32a398eb1ccfbe7e4f452bc749c44d38dd732e9a253f19da224c416f00ee7f4" +checksum = "cc209804a22c34a98fe26a32d997ac64d4284816f65cf1a529c4e31a256218a0" dependencies = [ "generic-array", "rand_core 0.6.3", @@ -504,7 +504,7 @@ checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "strsim 0.9.3", "syn 1.0.65", @@ -973,9 +973,9 @@ dependencies = [ [[package]] name = "der" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f215f706081a44cb702c71c39a52c05da637822e9c1645a50b7202689e982d" +checksum = "31e21d2d0f22cde6e88694108429775c0219760a07779bf96503b434a03d7412" dependencies = [ "const-oid", "crypto-bigint", @@ -988,7 +988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df" dependencies = [ "convert_case", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "rustc_version 0.3.3", "syn 1.0.65", @@ -1123,7 +1123,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" dependencies = [ "heck", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -1135,7 +1135,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b940da354ae81ef0926c5eaa428207b8f4f091d3956c891dfbd124162bed99" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "swc_macros_common", "syn 1.0.65", ] @@ -1219,9 +1219,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fancy-regex" -version = "0.5.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe09872bd11351a75f22b24c3769fc863e8212d926d6db46b94ad710d14cc5cc" +checksum = "9d6b8560a05112eb52f04b00e5d3790c0dd75d9d980eb8a122fb23b92a623ccf" dependencies = [ "bit-set", "regex", @@ -1229,19 +1229,20 @@ dependencies = [ [[package]] name = "fd-lock" -version = "2.0.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0010f02effd88c702318c5dde0463206be67495d0b4d906ba7c0a8f166cc7f06" +checksum = "b8806dd91a06a7a403a8e596f9bfbfb34e469efbc363fc9c9713e79e26472e36" dependencies = [ + "cfg-if 1.0.0", "libc", "winapi 0.3.9", ] [[package]] name = "filetime" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8" +checksum = "975ccf83d8d9d0d84682850a38c8169027be83368805971cc4f238c2b245bc98" dependencies = [ "cfg-if 1.0.0", "libc", @@ -1255,13 +1256,19 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +[[package]] +name = "fixedbitset" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" + [[package]] name = "flaky_test" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "479cde5eb168cf5a056dd98f311cbfab7494c216394e4fb9eba0336827a8db93" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -1316,7 +1323,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0951635027ca477be98f8774abd6f0345233439d63f307e47101acb40c7cc63d" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "swc_macros_common", "syn 1.0.65", ] @@ -1343,9 +1350,9 @@ dependencies = [ [[package]] name = "fslock" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b14c83e47c73f7d62d907ae24a1a98e9132df3c33eb6c54fcf4bce0dbc41d5af" +checksum = "fbc585f4fe7227b37ef0216444c87ca8ab6051622e4e2bc75d4bed4ea5106148" dependencies = [ "libc", "winapi 0.3.9", @@ -1407,7 +1414,7 @@ checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" dependencies = [ "autocfg 1.0.1", "proc-macro-hack", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -1555,9 +1562,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" +checksum = "d7f3675cfef6a30c8031cf9e6493ebdc3bb3272a3fea3923c4210d1830e6a472" dependencies = [ "bytes", "fnv", @@ -1641,9 +1648,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9" +checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5" dependencies = [ "bytes", "http", @@ -1652,9 +1659,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.4.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" +checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" [[package]] name = "httpdate" @@ -1670,9 +1677,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.10" +version = "0.14.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7728a72c4c7d72665fde02204bcbd93b247721025b222ef78606f14513e0fd03" +checksum = "13f67199e765030fa08fe0bd581af683f0d5bc04ea09c2b1102012c5fb90e7fd" dependencies = [ "bytes", "futures-channel", @@ -1685,7 +1692,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.0", + "socket2 0.4.1", "tokio", "tower-service", "tracing", @@ -1726,9 +1733,9 @@ dependencies = [ [[package]] name = "if_chain" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f7280c75fb2e2fc47080ec80ccc481376923acb04501957fc38f935c3de5088" +checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "indexmap" @@ -1778,9 +1785,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec" +checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" dependencies = [ "cfg-if 1.0.0", ] @@ -1811,16 +1818,16 @@ checksum = "a322dd16d960e322c3d92f541b4c1a4f0a2e81e1fdeee430d8cecc8b72e8015f" dependencies = [ "Inflector", "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] [[package]] name = "itoa" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" [[package]] name = "js-sys" @@ -1860,6 +1867,26 @@ dependencies = [ "libloading", ] +[[package]] +name = "kqueue" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058a107a784f8be94c7d35c1300f4facced2e93d2fbe5b1452b44e905ddca4a9" +dependencies = [ + "kqueue-sys", + "libc", +] + +[[package]] +name = "kqueue-sys" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587" +dependencies = [ + "bitflags", + "libc", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -1894,9 +1921,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.98" +version = "0.2.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" +checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21" [[package]] name = "libloading" @@ -2004,7 +2031,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca1d48da0e4a6100b4afd52fae99f36d47964a209624021280ad9ffdd410e83d" dependencies = [ "heck", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -2032,21 +2059,30 @@ checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" [[package]] name = "matches" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" +checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "memchr" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" + +[[package]] +name = "memoffset" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" +dependencies = [ + "autocfg 1.0.1", +] [[package]] name = "metal" -version = "0.23.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79d7d769f1c104b8388294d6594d491d2e21240636f5f94d37f8a0f3d7904450" +checksum = "e0514f491f4cc03632ab399ee01e2c1c1b12d3e1cf2d667c1ff5f87d6dcd2084" dependencies = [ "bitflags", "block", @@ -2096,9 +2132,9 @@ dependencies = [ [[package]] name = "naga" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c70938c43114c164e8ef86e608b39e68d3e4c8bca25e105bf4a3e788042a804a" +checksum = "568344dfe26b6caee4003da5be57bf8c2ef16d9525a2a5561164bcc462687f92" dependencies = [ "bit-set", "bitflags", @@ -2106,7 +2142,7 @@ dependencies = [ "fxhash", "log", "num-traits", - "petgraph", + "petgraph 0.6.0", "serde", "spirv", "thiserror", @@ -2129,27 +2165,29 @@ dependencies = [ [[package]] name = "nix" -version = "0.20.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a" +checksum = "e7555d6c7164cc913be1ce7f95cbecdabda61eb2ccd89008524af306fb7f5031" dependencies = [ "bitflags", "cc", "cfg-if 1.0.0", "libc", + "memoffset", ] [[package]] name = "notify" -version = "5.0.0-pre.10" +version = "5.0.0-pre.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f18203a26893ca1d3526cf58084025d5639f91c44f8b70ab3b724f60e819a0" +checksum = "20a629259bb2c87a884bb76f6086c8637919de6d074754341c12e5dd3aed6326" dependencies = [ "bitflags", "crossbeam-channel", "filetime", "fsevent-sys", "inotify", + "kqueue", "libc", "mio", "walkdir", @@ -2338,7 +2376,17 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ - "fixedbitset", + "fixedbitset 0.2.0", + "indexmap", +] + +[[package]] +name = "petgraph" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" +dependencies = [ + "fixedbitset 0.4.0", "indexmap", ] @@ -2372,7 +2420,7 @@ dependencies = [ "phf_generator", "phf_shared", "proc-macro-hack", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -2388,20 +2436,20 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7509cc106041c40a4518d2af7a61530e1eed0e6285296a3d8c5472806ccc4a4" +checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c950132583b500556b1efd71d45b319029f2b71518d979fcc208e16b42426f" +checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -2452,7 +2500,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3894e5d549cccbe44afecf72922f277f603cd4bb0219c8342631ef18fffbe004" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -2476,7 +2524,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", "version_check", @@ -2488,7 +2536,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "version_check", ] @@ -2516,9 +2564,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" +checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" dependencies = [ "unicode-xid 0.2.2", ] @@ -2571,7 +2619,7 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", ] [[package]] @@ -2698,9 +2746,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee" +checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" dependencies = [ "bitflags", ] @@ -2724,9 +2772,9 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "relative-path" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a479d53d7eed831f3c92ca79c61002d5987e21417d528296832f802bca532380" +checksum = "f9629de8974fd69c97684736786b807edd3da456d3e3f95341dd9d4cbd8f5ad6" [[package]] name = "remove_dir_all" @@ -2915,9 +2963,9 @@ dependencies = [ [[package]] name = "rustyline" -version = "8.2.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbd4eaf7a7738f76c98e4f0395253ae853be3eb018f7b0bb57fe1b6c17e31874" +checksum = "790487c3881a63489ae77126f57048b42d62d3b2bafbf37453ea19eedb6340d6" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -2938,9 +2986,9 @@ dependencies = [ [[package]] name = "rustyline-derive" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db9dfbf470021de34cfaf6983067f460ea19164934a7c2d4b92eec0968eb95f1" +checksum = "688599bdab9f42105d0ae1494335a9ffafdeb7d36325e6b10fd4abc5829d6284" dependencies = [ "quote 1.0.9", "syn 1.0.65", @@ -3008,9 +3056,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284" +checksum = "19133a286e494cc3311c165c4676ccb1fd47bed45b55f9d71fbd784ad4cea6f8" dependencies = [ "core-foundation-sys", "libc", @@ -3064,7 +3112,7 @@ version = "1.0.130" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -3087,7 +3135,7 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -3157,15 +3205,15 @@ dependencies = [ [[package]] name = "siphasher" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbce6d4507c7e4a3962091436e56e95290cb71fa302d0d270e32130b75fbff27" +checksum = "729a25c17d72b06c68cb47955d44fda88ad2d3e7d77e025663fdd69b93dd71a1" [[package]] name = "slab" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" +checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590" [[package]] name = "slotmap" @@ -3195,9 +3243,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e3dfc207c526015c632472a77be09cf1b6e46866581aecae5cc38fb4235dea2" +checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad" dependencies = [ "libc", "winapi 0.3.9", @@ -3283,7 +3331,7 @@ checksum = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97" dependencies = [ "phf_generator", "phf_shared", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", ] @@ -3294,7 +3342,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f584cc881e9e5f1fd6bf827b0444aa94c30d8fe6378cf241071b5f5700b2871f" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "swc_macros_common", "syn 1.0.65", @@ -3314,9 +3362,9 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "subtle" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "swc_atoms" @@ -3342,7 +3390,7 @@ dependencies = [ "is-macro", "log", "once_cell", - "petgraph", + "petgraph 0.5.1", "radix_fmt", "relative-path", "retain_mut", @@ -3419,7 +3467,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51af418026cb4ea588e2b15fa206c44e09a3184b718e12a0919729c7c3ad20d3" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "swc_macros_common", "syn 1.0.65", @@ -3658,7 +3706,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c8f200a2eaed938e7c1a685faaa66e6d42fa9e17da5f62572d3cbc335898f5e" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -3670,16 +3718,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08ed2e930f5a1a4071fe62c90fd3a296f6030e5d94bfe13993244423caf59a78" dependencies = [ "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] [[package]] name = "swc_visit" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583cfe83f6002e1118559308b88181f34b5936b403b72548cd0259bfcf0ca39e" +checksum = "a423caa0b4585118164dbad8f1ad52b592a9a9370b25decc4d84c6b4309132c0" dependencies = [ "either", "swc_visit_macros", @@ -3693,7 +3741,7 @@ checksum = "e3b2825fee79f10d0166e8e650e79c7a862fb991db275743083f07555d7641f0" dependencies = [ "Inflector", "pmutil", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "swc_macros_common", "syn 1.0.65", @@ -3716,18 +3764,18 @@ version = "1.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3a1d708c221c5a612956ef9f75b37e454e88d1f7b899fbd3a18d4252012d663" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "unicode-xid 0.2.2", ] [[package]] name = "synstructure" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" +checksum = "474aaa926faa1603c40b7885a9eaea29b444d1cb2850cb7c0e37bb1a4182f4fa" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", "unicode-xid 0.2.2", @@ -3830,7 +3878,7 @@ version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -3848,9 +3896,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342" +checksum = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338" dependencies = [ "tinyvec_macros", ] @@ -3863,9 +3911,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.8.1" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c8b05dc14c75ea83d63dd391100353789f5f24b8b3866542a5e85c8be8e985" +checksum = "92036be488bb6594459f2e03b60e42df6f937fe6ca5c5ffdcb539c6b84dc40f5" dependencies = [ "autocfg 1.0.1", "bytes", @@ -3887,7 +3935,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", ] @@ -4006,9 +4054,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052" +checksum = "2ca517f43f0fb96e0c3072ed5c275fe5eece87e8cb52f4a77b69226d3b1c9df8" dependencies = [ "lazy_static", ] @@ -4171,12 +4219,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0" -dependencies = [ - "matches", -] +checksum = "246f4c42e67e7a4e3c6106ff716a5d067d4132a642840b242e357e468a2a0085" [[package]] name = "unicode-normalization" @@ -4324,7 +4369,7 @@ dependencies = [ "bumpalo", "lazy_static", "log", - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", "wasm-bindgen-shared", @@ -4358,7 +4403,7 @@ version = "0.2.72" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96eb45c1b2ee33545a813a92dbb53856418bf7eb54ab34f7f7ff1448a5b3735d" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", "wasm-bindgen-backend", @@ -4402,9 +4447,9 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c035607b0c83c0d2c0afa84e786dea6b16ff6cb70dd986b7e33913be74d2a2a" +checksum = "a81393a8d78194c7433d63afed2bf5f64feb126aef9ddd18eca3b16e9fac0cea" dependencies = [ "arrayvec 0.7.1", "bitflags", @@ -4425,9 +4470,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90b2512ec9e1db82d0c8bc5fab77a4af507bc3723999681a46ff8a8a31fa5e94" +checksum = "31bc8def88a1416997bff66b1f6788a4bd497546ad985db2d442d099c48f4246" dependencies = [ "arrayvec 0.7.1", "ash", @@ -4469,11 +4514,12 @@ dependencies = [ [[package]] name = "which" -version = "4.1.0" +version = "4.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55551e42cbdf2ce2bedd2203d0cc08dba002c27510f86dab6d0ce304cba3dfe" +checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" dependencies = [ "either", + "lazy_static", "libc", ] @@ -4555,9 +4601,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.3.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "377db0846015f7ae377174787dd452e1c5f5a9050bc6f954911d01f116daa0cd" dependencies = [ "zeroize_derive", ] @@ -4568,7 +4614,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1" dependencies = [ - "proc-macro2 1.0.27", + "proc-macro2 1.0.28", "quote 1.0.9", "syn 1.0.65", "synstructure", diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index ab96eb86d6ad8e..e4014f553cc7a4 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -15,7 +15,7 @@ description = "Bench and profiling utilities for deno crates" [dependencies] bencher = "0.1" deno_core = { version = "0.98.0", path = "../core" } -tokio = { version = "1.8.0", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } [[bench]] name = "op_baseline" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 63b13c3251b286..df493950af981f 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -35,8 +35,8 @@ deno_webgpu = { version = "0.17.0", path = "../ext/webgpu" } deno_webidl = { version = "0.16.0", path = "../ext/webidl" } deno_websocket = { version = "0.21.0", path = "../ext/websocket" } deno_webstorage = { version = "0.11.0", path = "../ext/webstorage" } -regex = "1.4.3" -serde = { version = "1.0.125", features = ["derive"] } +regex = "1.5.4" +serde = { version = "1.0.129", features = ["derive"] } [target.'cfg(windows)'.build-dependencies] winapi = "0.3.9" @@ -61,27 +61,27 @@ dprint-plugin-markdown = "0.9.6" dprint-plugin-typescript = "0.53.0" encoding_rs = "0.8.28" env_logger = "0.8.4" -fancy-regex = "0.5.0" +fancy-regex = "0.7.1" filetime = "0.2.14" http = "0.2.4" # TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved indexmap = { version = "=1.6.2", features = ["serde"] } jsonc-parser = { version = "0.17.0", features = ["serde"] } lazy_static = "1.4.0" -libc = "0.2.98" +libc = "0.2.101" log = { version = "0.4.14", features = ["serde"] } lspower = "1.1.0" -notify = "5.0.0-pre.10" +notify = "5.0.0-pre.12" num_cpus = "1.13.0" percent-encoding = "2.1.0" -pin-project = "1.0.7" +pin-project = "1.0.8" rand = { version = "0.8.4", features = ["small_rng"] } -regex = "1.4.3" +regex = "1.5.4" ring = "0.16.20" -rustyline = { version = "8.2.0", default-features = false } -rustyline-derive = "0.4.0" +rustyline = { version = "9.0.0", default-features = false } +rustyline-derive = "0.5.0" semver-parser = "0.10.2" -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } shell-escape = "0.1.5" sourcemap = "6.0.1" swc_bundler = "0.56.0" @@ -90,7 +90,7 @@ swc_ecmascript = { version = "0.60.0", features = ["codegen", "dep_graph", "pars tempfile = "3.2.0" termcolor = "1.1.2" text-size = "1.1.0" -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } tokio-rustls = "0.22.0" uuid = { version = "0.8.2", features = ["v4", "serde"] } walkdir = "2.3.2" @@ -111,7 +111,7 @@ trust-dns-server = "0.20.3" [target.'cfg(unix)'.dev-dependencies] exec = "0.3.1" # Used in test_raw_tty -nix = "0.20.0" +nix = "0.22.1" [package.metadata.winres] # This section defines the metadata that appears in the deno.exe PE header. diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs index aee3fe787d5065..4a3471f2258ce9 100644 --- a/cli/file_watcher.rs +++ b/cli/file_watcher.rs @@ -222,7 +222,7 @@ fn new_watcher( let changed_paths = Arc::clone(&debounce.changed_paths); let mut watcher: RecommendedWatcher = - Watcher::new_immediate(move |res: Result| { + Watcher::new(move |res: Result| { if let Ok(event) = res { if matches!( event.kind, diff --git a/core/Cargo.toml b/core/Cargo.toml index 167cb5449b9d0a..47ac32b8df0685 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -13,18 +13,18 @@ description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and T path = "lib.rs" [dependencies] -anyhow = "1.0.41" -futures = "0.3.15" +anyhow = "1.0.43" +futures = "0.3.16" # TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved indexmap = "=1.6.2" lazy_static = "1.4.0" -libc = "0.2.98" +libc = "0.2.101" log = "0.4.14" parking_lot = "0.11.1" pin-project = "1.0.7" rusty_v8 = "0.27.0" -serde = { version = "1.0.126", features = ["derive"] } -serde_json = { version = "1.0.64", features = ["preserve_order"] } +serde = { version = "1.0.129", features = ["derive"] } +serde_json = { version = "1.0.66", features = ["preserve_order"] } serde_v8 = { version = "0.10.0" } url = { version = "2.2.2", features = ["serde"] } @@ -34,4 +34,4 @@ path = "examples/http_bench_json_ops.rs" # These dependencies are only used for the 'http_bench_*_ops' examples. [dev-dependencies] -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml index 20f0b507e2202a..1e4ab3c28fdb48 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -16,5 +16,5 @@ path = "lib.rs" [dependencies] async-trait = "0.1" deno_core = { version = "0.98.0", path = "../../core" } -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 349fb0265c55a3..976d8bbe94a19d 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -21,8 +21,8 @@ num-traits = "0.2.14" rand = "0.8.4" ring = { version = "0.16.20", features = ["std"] } rsa = { version = "0.5.0", default-features = false, features = ["std"] } -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } sha-1 = "0.9.7" sha2 = "0.9.5" -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index b1606ae9e91e4c..eedac995493d70 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -14,7 +14,7 @@ description = "Fetch API implementation for Deno" path = "lib.rs" [dependencies] -bytes = "1.0.1" +bytes = "1.1.0" data-url = "0.1.0" deno_core = { version = "0.98.0", path = "../../core" } deno_tls = { version = "0.3.0", path = "../tls" } @@ -22,7 +22,7 @@ deno_web = { version = "0.47.0", path = "../web" } http = "0.2.4" lazy_static = "1.4.0" reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] } -serde = { version = "1.0.126", features = ["derive"] } -tokio = { version = "1.8.1", features = ["full"] } +serde = { version = "1.0.129", features = ["derive"] } +tokio = { version = "1.10.1", features = ["full"] } tokio-stream = "0.1.7" tokio-util = "0.6.7" diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 04b086c182987d..2faf5ecb8eb3b9 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -17,4 +17,4 @@ path = "lib.rs" deno_core = { version = "0.98.0", path = "../../core" } dlopen = "0.1.8" libffi = { version = "=0.0.7", package = "deno-libffi" } -serde = { version = "1.0.125", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 3940d8968a3c86..4c62085b10fdb1 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -20,6 +20,6 @@ deno_core = { version = "0.98.0", path = "../../core" } deno_websocket = { version = "0.21.0", path = "../websocket" } hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] } ring = "0.16.20" -serde = { version = "1.0.125", features = ["derive"] } -tokio = { version = "1.8.0", features = ["full"] } +serde = { version = "1.0.129", features = ["derive"] } +tokio = { version = "1.10.1", features = ["full"] } tokio-util = { version = "0.6.7", features = ["io"] } diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 15989907893929..f8a633997ff0d8 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -19,7 +19,7 @@ deno_tls = { version = "0.3.0", path = "../tls" } lazy_static = "1.4.0" log = "0.4.14" -serde = { version = "1.0.126", features = ["derive"] } -tokio = { version = "1.8.1", features = ["full"] } +serde = { version = "1.0.129", features = ["derive"] } +tokio = { version = "1.10.1", features = ["full"] } trust-dns-proto = "0.20.3" trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] } diff --git a/ext/timers/Cargo.toml b/ext/timers/Cargo.toml index c481e970f9f5fe..2c5236c111df38 100644 --- a/ext/timers/Cargo.toml +++ b/ext/timers/Cargo.toml @@ -15,7 +15,7 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.98.0", path = "../../core" } -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } [dev-dependencies] deno_bench_util = { version = "0.10.0", path = "../../bench_util" } diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index a5c04b7cd01459..27891752e3c538 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -19,6 +19,6 @@ lazy_static = "1.4.0" reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] } rustls = { version = "0.19.1", features = ["dangerous_configuration"] } rustls-native-certs = "0.5.0" -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } webpki = "0.21.4" webpki-roots = "0.21.1" diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index e0bcdec63bc90e..83066101599ef4 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -17,7 +17,7 @@ path = "lib.rs" deno_core = { version = "0.98.0", path = "../../core" } idna = "0.2.3" percent-encoding = "2.1.0" -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } serde_repr = "0.1.7" [dev-dependencies] diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 521bbca8817b91..da2f4e22485f1a 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -14,12 +14,12 @@ description = "Collection of Web APIs" path = "lib.rs" [dependencies] -async-trait = "0.1.50" +async-trait = "0.1.51" base64 = "0.13.0" deno_core = { version = "0.98.0", path = "../../core" } encoding_rs = "0.8.28" -serde = "1.0" -tokio = { version = "1.8.1", features = ["full"] } +serde = "1.0.129" +tokio = { version = "1.10.1", features = ["full"] } uuid = { version = "0.8.2", features = ["v4", "serde"] } [dev-dependencies] diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml index 1108d9ae68df81..d2f11a1bcf83f4 100644 --- a/ext/webgpu/Cargo.toml +++ b/ext/webgpu/Cargo.toml @@ -15,7 +15,7 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.98.0", path = "../../core" } -serde = { version = "1.0.126", features = ["derive"] } -tokio = { version = "1.8.1", features = ["full"] } -wgpu-core = { version = "0.10.0", features = ["trace"] } +serde = { version = "1.0.129", features = ["derive"] } +tokio = { version = "1.10.1", features = ["full"] } +wgpu-core = { version = "0.10.1", features = ["trace"] } wgpu-types = "0.10.0" diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index 0094d78ccf0f71..e2adf1420e85f4 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -17,8 +17,8 @@ path = "lib.rs" deno_core = { version = "0.98.0", path = "../../core" } deno_tls = { version = "0.3.0", path = "../tls" } http = "0.2.4" -hyper = { version = "0.14.9" } -serde = { version = "1.0.126", features = ["derive"] } -tokio = { version = "1.8.1", features = ["full"] } +hyper = { version = "0.14.12" } +serde = { version = "1.0.129", features = ["derive"] } +tokio = { version = "1.10.1", features = ["full"] } tokio-rustls = "0.22.0" tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] } diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 7083ee00b4b41b..058e2ae19f6e0e 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -17,4 +17,4 @@ path = "lib.rs" deno_core = { version = "0.98.0", path = "../../core" } deno_web = { version = "0.47.0", path = "../web" } rusqlite = { version = "0.25.3", features = ["unlock_notify", "bundled"] } -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 5205094504e383..8d6cee84c89944 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -64,23 +64,23 @@ deno_webstorage = { version = "0.11.0", path = "../ext/webstorage" } atty = "0.2.14" dlopen = "0.1.8" encoding_rs = "0.8.28" -filetime = "0.2.14" +filetime = "0.2.15" fs3 = "0.5.0" http = "0.2.4" -hyper = { version = "0.14.10", features = ["server", "stream", "http1", "http2", "runtime"] } +hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", "runtime"] } # TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved indexmap = "=1.6.2" lazy_static = "1.4.0" -libc = "0.2.98" +libc = "0.2.101" log = "0.4.14" -notify = "=5.0.0-pre.10" +notify = "=5.0.0-pre.12" percent-encoding = "2.1.0" -regex = "1.4.3" +regex = "1.5.4" ring = "0.16.20" -serde = { version = "1.0.126", features = ["derive"] } +serde = { version = "1.0.129", features = ["derive"] } sys-info = "0.9.0" termcolor = "1.1.2" -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } [target.'cfg(windows)'.dependencies] @@ -88,7 +88,7 @@ fwdansi = "1.1.0" winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } [target.'cfg(unix)'.dependencies] -nix = "0.20.0" +nix = "0.22.1" [dev-dependencies] # Used in benchmark diff --git a/runtime/errors.rs b/runtime/errors.rs index db14bd8bfbc2e3..f88455b057bb87 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -138,19 +138,16 @@ fn get_hyper_error_class(_error: &hyper::Error) -> &'static str { #[cfg(unix)] fn get_nix_error_class(error: &nix::Error) -> &'static str { - use nix::errno::Errno::*; match error { - nix::Error::Sys(ECHILD) => "NotFound", - nix::Error::Sys(EINVAL) => "TypeError", - nix::Error::Sys(ENOENT) => "NotFound", - nix::Error::Sys(ENOTTY) => "BadResource", - nix::Error::Sys(EPERM) => "PermissionDenied", - nix::Error::Sys(ESRCH) => "NotFound", - nix::Error::Sys(UnknownErrno) => "Error", - nix::Error::Sys(_) => "Error", - nix::Error::InvalidPath => "TypeError", - nix::Error::InvalidUtf8 => "InvalidData", - nix::Error::UnsupportedOperation => unreachable!(), + nix::Error::ECHILD => "NotFound", + nix::Error::EINVAL => "TypeError", + nix::Error::ENOENT => "NotFound", + nix::Error::ENOTTY => "BadResource", + nix::Error::EPERM => "PermissionDenied", + nix::Error::ESRCH => "NotFound", + nix::Error::UnknownErrno => "Error", + &nix::Error::ENOTSUP => unreachable!(), + _ => "Error", } } diff --git a/runtime/ops/fs_events.rs b/runtime/ops/fs_events.rs index 987a7f62aaac43..30c6d3aaa7fc28 100644 --- a/runtime/ops/fs_events.rs +++ b/runtime/ops/fs_events.rs @@ -101,7 +101,7 @@ fn op_fs_events_open( let (sender, receiver) = mpsc::channel::>(16); let sender = Mutex::new(sender); let mut watcher: RecommendedWatcher = - Watcher::new_immediate(move |res: Result| { + Watcher::new(move |res: Result| { let res2 = res.map(FsEvent::from).map_err(AnyError::from); let sender = sender.lock(); // Ignore result, if send failed it means that watcher was already closed, @@ -114,11 +114,9 @@ fn op_fs_events_open( RecursiveMode::NonRecursive }; for path in &args.paths { - state - .borrow_mut::() - .read - .check(&PathBuf::from(path))?; - watcher.watch(path, recursive_mode)?; + let path = PathBuf::from(path); + state.borrow_mut::().read.check(&path)?; + watcher.watch(&path, recursive_mode)?; } let resource = FsEventsResource { watcher, diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index ccb49cea124010..5e2a41ed8fe0b4 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -12,18 +12,18 @@ name = "test_server" path = "src/test_server.rs" [dependencies] -anyhow = "1.0.41" +anyhow = "1.0.43" async-stream = "0.3.2" -bytes = "1.0.1" -futures = "0.3.15" -hyper = { version = "0.14.10", features = ["server", "http1", "runtime"] } +bytes = "1.1.0" +futures = "0.3.16" +hyper = { version = "0.14.12", features = ["server", "http1", "runtime"] } lazy_static = "1.4.0" os_pipe = "0.9.2" -regex = "1.4.3" +regex = "1.5.4" serde = { version = "1.0.126", features = ["derive"] } -serde_json = "1.0.64" +serde_json = "1.0.65" tempfile = "3.2.0" -tokio = { version = "1.8.1", features = ["full"] } +tokio = { version = "1.10.1", features = ["full"] } tokio-rustls = "0.22.0" tokio-tungstenite = "0.14.0"