1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

upgrade deps (#15914)

This commit is contained in:
Ryan Dahl 2022-09-16 19:11:30 -04:00 committed by GitHub
parent 38280990da
commit 684841a18c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 560 additions and 626 deletions

1059
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,7 @@ path = "lib.rs"
bencher = "0.1" bencher = "0.1"
deno_core = { version = "0.151.0", path = "../core" } deno_core = { version = "0.151.0", path = "../core" }
once_cell = "1.10.0" once_cell = "1.10.0"
tokio = { version = "1.19", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
[[bench]] [[bench]]
name = "op_baseline" name = "op_baseline"

View file

@ -40,7 +40,7 @@ deno_websocket = { version = "0.74.0", path = "../ext/websocket" }
deno_webstorage = { version = "0.64.0", path = "../ext/webstorage" } deno_webstorage = { version = "0.64.0", path = "../ext/webstorage" }
regex = "=1.6.0" regex = "=1.6.0"
serde = { version = "=1.0.144", features = ["derive"] } serde = { version = "=1.0.144", features = ["derive"] }
zstd = '=0.11.1' zstd = '=0.11.2'
[target.'cfg(windows)'.build-dependencies] [target.'cfg(windows)'.build-dependencies]
winapi = "=0.3.9" winapi = "=0.3.9"
@ -59,31 +59,31 @@ deno_task_shell = "0.5.2"
atty = "=0.2.14" atty = "=0.2.14"
base64 = "=0.13.0" base64 = "=0.13.0"
cache_control = "=0.2.0" cache_control = "=0.2.0"
chrono = "=0.4.19" chrono = { version = "=0.4.22", default-features = false, features = ["clock"] }
clap = "=3.1.12" clap = "=3.1.12"
clap_complete = "=3.1.2" clap_complete = "=3.1.2"
clap_complete_fig = "=3.1.5" clap_complete_fig = "=3.1.5"
data-url = "=0.1.1" data-url = "=0.1.1"
dissimilar = "=1.0.3" dissimilar = "=1.0.4"
dprint-plugin-json = "=0.15.6" dprint-plugin-json = "=0.15.6"
dprint-plugin-markdown = "=0.14.1" dprint-plugin-markdown = "=0.14.1"
dprint-plugin-typescript = "=0.73.1" dprint-plugin-typescript = "=0.73.1"
encoding_rs = "=0.8.31" encoding_rs = "=0.8.31"
env_logger = "=0.9.0" env_logger = "=0.9.0"
eszip = "=0.27.0" eszip = "=0.28.0"
fancy-regex = "=0.10.0" fancy-regex = "=0.10.0"
flate2 = "=1.0.24" flate2 = "=1.0.24"
http = "=0.2.6" http = "=0.2.8"
import_map = "=0.12.1" import_map = "=0.12.1"
indexmap = "1.8.1" indexmap = "=1.9.1"
indicatif = "=0.17.0" indicatif = "=0.17.1"
jsonc-parser = { version = "=0.21.0", features = ["serde"] } jsonc-parser = { version = "=0.21.0", features = ["serde"] }
libc = "=0.2.126" libc = "=0.2.126"
log = { version = "=0.4.17", features = ["serde"] } log = { version = "=0.4.17", features = ["serde"] }
mitata = "=0.0.7" mitata = "=0.0.7"
monch = "=0.2.0" monch = "=0.2.0"
notify = "=5.0.0-pre.15" notify = "=5.0.0"
once_cell = "=1.12.0" once_cell = "=1.14.0"
os_pipe = "=1.0.1" os_pipe = "=1.0.1"
path-clean = "=0.1.0" path-clean = "=0.1.0"
percent-encoding = "=2.2.0" percent-encoding = "=2.2.0"
@ -94,38 +94,38 @@ ring = "=0.16.20"
rustyline = { version = "=10.0.0", default-features = false, features = ["custom-bindings"] } rustyline = { version = "=10.0.0", default-features = false, features = ["custom-bindings"] }
rustyline-derive = "=0.7.0" rustyline-derive = "=0.7.0"
secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests
semver = "=1.0.13" semver = "=1.0.14"
serde = { version = "=1.0.144", features = ["derive"] } serde = { version = "=1.0.144", features = ["derive"] }
serde_repr = "=0.1.8" serde_repr = "=0.1.9"
shell-escape = "=0.1.5" shell-escape = "=0.1.5"
tar = "=0.4.38" tar = "=0.4.38"
text-size = "=1.1.0" text-size = "=1.1.0"
text_lines = "=0.6.0" text_lines = "=0.6.0"
tokio = { version = "=1.19", features = ["full"] } tokio = { version = "=1.21.1", features = ["full"] }
tokio-util = "=0.7.2" tokio-util = "=0.7.4"
tower-lsp = "=0.17.0" tower-lsp = "=0.17.0"
twox-hash = "=1.6.2" twox-hash = "=1.6.3"
typed-arena = "2.0.1" typed-arena = "=2.0.1"
uuid = { version = "=1.0.0", features = ["v4", "serde"] } uuid = { version = "=1.1.2", features = ["v4", "serde"] }
walkdir = "=2.3.2" walkdir = "=2.3.2"
zstd = '=0.11.1' zstd = '=0.11.2'
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
fwdansi = "=1.1.0" fwdansi = "=1.1.0"
winapi = { version = "=0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } winapi = { version = "=0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
[dev-dependencies] [dev-dependencies]
csv = "1.1.6" csv = "=1.1.6"
deno_bench_util = { version = "0.63.0", path = "../bench_util" } deno_bench_util = { version = "0.63.0", path = "../bench_util" }
dotenv = "0.15.0" dotenv = "=0.15.0"
flaky_test = "=0.1.0" flaky_test = "=0.1.0"
google-storage1 = "3.1.0" google-storage1 = "=3.1.0"
once_cell = "=1.12.0" once_cell = "=1.14.0"
os_pipe = "=1.0.1" os_pipe = "=1.0.1"
pretty_assertions = "=1.2.1" pretty_assertions = "=1.3.0"
test_util = { path = "../test_util" } test_util = { path = "../test_util" }
trust-dns-client = "=0.21.2" trust-dns-client = "=0.22.0"
trust-dns-server = "=0.21.2" trust-dns-server = "=0.22.0"
[target.'cfg(unix)'.dev-dependencies] [target.'cfg(unix)'.dev-dependencies]
nix = "=0.24.2" nix = "=0.24.2"

View file

@ -10,7 +10,6 @@ use deno_runtime::fmt_errors::format_js_error;
use log::info; use log::info;
use notify::event::Event as NotifyEvent; use notify::event::Event as NotifyEvent;
use notify::event::EventKind; use notify::event::EventKind;
use notify::Config;
use notify::Error as NotifyError; use notify::Error as NotifyError;
use notify::RecommendedWatcher; use notify::RecommendedWatcher;
use notify::RecursiveMode; use notify::RecursiveMode;
@ -344,8 +343,8 @@ where
fn new_watcher( fn new_watcher(
sender: Arc<mpsc::UnboundedSender<Vec<PathBuf>>>, sender: Arc<mpsc::UnboundedSender<Vec<PathBuf>>>,
) -> Result<RecommendedWatcher, AnyError> { ) -> Result<RecommendedWatcher, AnyError> {
let mut watcher: RecommendedWatcher = let watcher = Watcher::new(
Watcher::new(move |res: Result<NotifyEvent, NotifyError>| { move |res: Result<NotifyEvent, NotifyError>| {
if let Ok(event) = res { if let Ok(event) = res {
if matches!( if matches!(
event.kind, event.kind,
@ -359,9 +358,9 @@ fn new_watcher(
sender.send(paths).unwrap(); sender.send(paths).unwrap();
} }
} }
})?; },
Default::default(),
watcher.configure(Config::PreciseEvents(true)).unwrap(); )?;
Ok(watcher) Ok(watcher)
} }

View file

@ -31,7 +31,7 @@ pin-project = "1.0.11"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_json = { version = "1.0.79", features = ["preserve_order"] }
serde_v8 = { version = "0.62.0", path = "../serde_v8" } serde_v8 = { version = "0.62.0", path = "../serde_v8" }
sourcemap = "=6.0.1" sourcemap = "6.1"
url = { version = "2.3.1", features = ["serde", "expose_internals"] } url = { version = "2.3.1", features = ["serde", "expose_internals"] }
v8 = { version = "0.49.0", default-features = false } v8 = { version = "0.49.0", default-features = false }
@ -42,4 +42,4 @@ path = "examples/http_bench_json_ops.rs"
# These dependencies are only used for the 'http_bench_*_ops' examples. # These dependencies are only used for the 'http_bench_*_ops' examples.
[dev-dependencies] [dev-dependencies]
deno_ast = { version = "0.19.0", features = ["transpiling"] } deno_ast = { version = "0.19.0", features = ["transpiling"] }
tokio = { version = "1.19", features = ["full"] } tokio = { version = "1.21", features = ["full"] }

View file

@ -16,5 +16,5 @@ path = "lib.rs"
[dependencies] [dependencies]
async-trait = "0.1" async-trait = "0.1"
deno_core = { version = "0.151.0", path = "../../core" } deno_core = { version = "0.151.0", path = "../../core" }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
uuid = { version = "1.0.0", features = ["v4"] } uuid = { version = "1.0.0", features = ["v4"] }

View file

@ -15,9 +15,7 @@ path = "lib.rs"
[dependencies] [dependencies]
aes = "0.8.1" aes = "0.8.1"
# TODO(@littledivy): Move to stable release aes-gcm = "0.10"
# https://github.com/RustCrypto/AEADs/issues/411
aes-gcm = "=0.10.0-pre"
aes-kw = { version = "0.2.1", features = ["alloc"] } aes-kw = { version = "0.2.1", features = ["alloc"] }
base64 = "0.13.0" base64 = "0.13.0"
block-modes = "0.9.1" block-modes = "0.9.1"
@ -33,12 +31,12 @@ p256 = { version = "0.11.1", features = ["ecdh"] }
p384 = "0.11.1" p384 = "0.11.1"
rand = "0.8.4" rand = "0.8.4"
ring = { version = "0.16.20", features = ["std"] } ring = { version = "0.16.20", features = ["std"] }
rsa = { version = "0.7.0-pre", default-features = false, features = ["std"] } rsa = { version = "=0.7.0-pre", default-features = false, features = ["std"] }
sec1 = "0.3.0" sec1 = "0.3.0"
serde = { version = "1.0.129", features = ["derive"] } serde = { version = "1.0.129", features = ["derive"] }
serde_bytes = "0.11" serde_bytes = "0.11"
sha-1 = "0.10.0" sha-1 = "0.10.0"
sha2 = "0.10.2" sha2 = "0.10.2"
spki = "0.6.0" spki = "0.6.0"
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
uuid = { version = "1.0.0", features = ["v4"] } uuid = { version = "1.0.0", features = ["v4"] }

View file

@ -9,7 +9,7 @@ use aes_gcm::aes::Aes128;
use aes_gcm::aes::Aes192; use aes_gcm::aes::Aes192;
use aes_gcm::aes::Aes256; use aes_gcm::aes::Aes256;
use aes_gcm::AeadInPlace; use aes_gcm::AeadInPlace;
use aes_gcm::NewAead; use aes_gcm::KeyInit;
use aes_gcm::Nonce; use aes_gcm::Nonce;
use ctr::cipher::StreamCipher; use ctr::cipher::StreamCipher;
use ctr::Ctr128BE; use ctr::Ctr128BE;

View file

@ -11,7 +11,7 @@ use aes_gcm::aes::Aes128;
use aes_gcm::aes::Aes192; use aes_gcm::aes::Aes192;
use aes_gcm::aes::Aes256; use aes_gcm::aes::Aes256;
use aes_gcm::AeadInPlace; use aes_gcm::AeadInPlace;
use aes_gcm::NewAead; use aes_gcm::KeyInit;
use aes_gcm::Nonce; use aes_gcm::Nonce;
use ctr::Ctr128BE; use ctr::Ctr128BE;
use ctr::Ctr32BE; use ctr::Ctr32BE;

View file

@ -22,6 +22,6 @@ dyn-clone = "1"
http = "0.2.6" http = "0.2.6"
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] } reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] }
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
tokio-stream = "0.1.8" tokio-stream = "0.1.8"
tokio-util = { version = "0.7.1", features = ["io"] } tokio-util = { version = "0.7", features = ["io"] }

View file

@ -19,7 +19,7 @@ dlopen = "0.1.8"
dynasmrt = "1.2.3" dynasmrt = "1.2.3"
libffi = "3.0.0" libffi = "3.0.0"
serde = { version = "1.0.129", features = ["derive"] } serde = { version = "1.0.129", features = ["derive"] }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] }

View file

@ -24,6 +24,6 @@ libc = "0.2"
log = "0.4.17" log = "0.4.17"
mio = { version = "0.8.1", features = ["os-poll", "net"] } mio = { version = "0.8.1", features = ["os-poll", "net"] }
rustls = { version = "0.20" } rustls = { version = "0.20" }
rustls-pemfile = { version = "0.2.1" } rustls-pemfile = "1.0"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
tokio = { version = "1.19", features = ["full"] } tokio = { version = "1.21", features = ["full"] }

View file

@ -33,8 +33,8 @@ percent-encoding = "2.2.0"
phf = { version = "0.10", features = ["macros"] } phf = { version = "0.10", features = ["macros"] }
ring = "0.16.20" ring = "0.16.20"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
tokio-util = { version = "0.7.1", features = ["io"] } tokio-util = { version = "0.7", features = ["io"] }
[dev-dependencies] [dev-dependencies]
bencher = "0.1" bencher = "0.1"

View file

@ -19,6 +19,6 @@ deno_tls = { version = "0.56.0", path = "../tls" }
log = "0.4.16" log = "0.4.16"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
socket2 = "0.4.4" socket2 = "0.4.4"
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
trust-dns-proto = "=0.21.2" trust-dns-proto = "0.22"
trust-dns-resolver = { version = "=0.21.2", features = ["tokio-runtime", "serde-config"] } trust-dns-resolver = { version = "0.22", features = ["tokio-runtime", "serde-config"] }

View file

@ -685,7 +685,7 @@ where
let resolver = AsyncResolver::tokio(config, opts)?; let resolver = AsyncResolver::tokio(config, opts)?;
let results = resolver let results = resolver
.lookup(query, record_type, Default::default()) .lookup(query, record_type)
.await .await
.map_err(|e| { .map_err(|e| {
let message = format!("{}", e); let message = format!("{}", e);

View file

@ -15,12 +15,12 @@ path = "lib.rs"
[dependencies] [dependencies]
async-trait = "0.1.51" async-trait = "0.1.51"
base64-simd = "0.6.2" base64-simd = "0.7"
deno_core = { version = "0.151.0", path = "../../core" } deno_core = { version = "0.151.0", path = "../../core" }
encoding_rs = "0.8.31" encoding_rs = "0.8.31"
flate2 = "1" flate2 = "1"
serde = "1.0.136" serde = "1.0.136"
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
uuid = { version = "1.0.0", features = ["v4", "serde"] } uuid = { version = "1.0.0", features = ["v4", "serde"] }
[dev-dependencies] [dev-dependencies]

View file

@ -13,6 +13,6 @@ description = "WebGPU implementation for Deno"
[dependencies] [dependencies]
deno_core = { version = "0.151.0", path = "../../core" } deno_core = { version = "0.151.0", path = "../../core" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
wgpu-core = { version = "0.13", features = ["trace", "replay", "serde"] } wgpu-core = { version = "0.13", features = ["trace", "replay", "serde"] }
wgpu-types = { version = "0.13", features = ["trace", "replay", "serde"] } wgpu-types = { version = "0.13", features = ["trace", "replay", "serde"] }

View file

@ -19,6 +19,6 @@ deno_tls = { version = "0.56.0", path = "../tls" }
http = "0.2.6" http = "0.2.6"
hyper = { version = "0.14.18" } hyper = { version = "0.14.18" }
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
tokio = { version = "1.17", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
tokio-rustls = "0.23.3" tokio-rustls = "0.23.3"
tokio-tungstenite = { version = "0.16.1", features = ["rustls-tls-webpki-roots"] } tokio-tungstenite = { version = "0.16.1", features = ["rustls-tls-webpki-roots"] }

View file

@ -76,7 +76,7 @@ libc = "0.2.126"
log = "0.4.16" log = "0.4.16"
lzzzz = '1.0' lzzzz = '1.0'
netif = "0.1.3" netif = "0.1.3"
notify = "=5.0.0-pre.15" notify = "5.0"
once_cell = "1.10.0" once_cell = "1.10.0"
regex = "1.6.0" regex = "1.6.0"
ring = "0.16.20" ring = "0.16.20"
@ -84,7 +84,7 @@ serde = { version = "1.0.136", features = ["derive"] }
signal-hook-registry = "1.4.0" signal-hook-registry = "1.4.0"
sys-info = "0.9.1" sys-info = "0.9.1"
termcolor = "1.1.3" termcolor = "1.1.3"
tokio = { version = "1.19", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
uuid = { version = "1.0.0", features = ["v4"] } uuid = { version = "1.0.0", features = ["v4"] }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]

View file

@ -101,14 +101,16 @@ fn op_fs_events_open(
) -> Result<ResourceId, AnyError> { ) -> Result<ResourceId, AnyError> {
let (sender, receiver) = mpsc::channel::<Result<FsEvent, AnyError>>(16); let (sender, receiver) = mpsc::channel::<Result<FsEvent, AnyError>>(16);
let sender = Mutex::new(sender); let sender = Mutex::new(sender);
let mut watcher: RecommendedWatcher = let mut watcher: RecommendedWatcher = Watcher::new(
Watcher::new(move |res: Result<NotifyEvent, NotifyError>| { move |res: Result<NotifyEvent, NotifyError>| {
let res2 = res.map(FsEvent::from).map_err(AnyError::from); let res2 = res.map(FsEvent::from).map_err(AnyError::from);
let sender = sender.lock(); let sender = sender.lock();
// Ignore result, if send failed it means that watcher was already closed, // Ignore result, if send failed it means that watcher was already closed,
// but not all messages have been flushed. // but not all messages have been flushed.
let _ = sender.try_send(res2); let _ = sender.try_send(res2);
})?; },
Default::default(),
)?;
let recursive_mode = if args.recursive { let recursive_mode = if args.recursive {
RecursiveMode::Recursive RecursiveMode::Recursive
} else { } else {

View file

@ -23,16 +23,16 @@ lazy_static = "1.4.0"
once_cell = "1.10.0" once_cell = "1.10.0"
os_pipe = "1.0.1" os_pipe = "1.0.1"
parking_lot = "0.12.0" parking_lot = "0.12.0"
pretty_assertions = "=1.2.1" pretty_assertions = "1.3"
regex = "1.6.0" regex = "1.6.0"
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] } reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] }
ring = "0.16.20" ring = "0.16.20"
rustls-pemfile = "1.0.0" rustls-pemfile = "1.0.0"
semver = "1.0.13" semver = "1.0"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79" serde_json = "1.0.79"
tar = "0.4.38" tar = "0.4.38"
tokio = { version = "1.19", features = ["full"] } tokio = { version = "1.21", features = ["full"] }
tokio-rustls = "0.23" tokio-rustls = "0.23"
tokio-tungstenite = "0.16" tokio-tungstenite = "0.16"