summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/Cargo.toml24
-rw-r--r--cli/signal.rs4
2 files changed, 14 insertions, 14 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 70a0f8a6c..35ebcba5f 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -27,7 +27,7 @@ deno_core = { path = "../core", version = "0.39.0" }
deno_typescript = { path = "../deno_typescript", version = "0.39.0" }
atty = "0.2.14"
-base64 = "0.11.0"
+base64 = "0.12.0"
bytes = "0.5.4"
byteorder = "1.3.4"
clap = "2.33.0"
@@ -36,25 +36,25 @@ dlopen = "0.1.8"
dprint-plugin-typescript = "0.9.10"
futures = { version = "0.3.4", features = ["compat", "io-compat"] }
glob = "0.3.0"
-http = "0.2.0"
+http = "0.2.1"
indexmap = "1.3.2"
lazy_static = "1.4.0"
libc = "0.2.68"
log = "0.4.8"
notify = "5.0.0-pre.2"
rand = "0.7.3"
-regex = "1.3.5"
+regex = "1.3.6"
reqwest = { version = "0.10.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
-ring = "0.16.11"
-rustyline = "6.0.0"
-serde = { version = "1.0.104", features = ["derive"] }
-serde_derive = "1.0.104"
-serde_json = { version = "1.0.48", features = [ "preserve_order" ] }
+ring = "0.16.12"
+rustyline = "6.1.0"
+serde = { version = "1.0.105", features = ["derive"] }
+serde_derive = "1.0.105"
+serde_json = { version = "1.0.50", features = [ "preserve_order" ] }
sys-info = "=0.5.8" # 0.5.9 and 0.5.10 are broken on windows.
sourcemap = "5.0.0"
tempfile = "3.1.0"
termcolor = "1.1.0"
-tokio = { version = "0.2.13", features = ["rt-core", "tcp", "udp", "uds", "process", "fs", "blocking", "sync", "io-std", "macros", "time"] }
+tokio = { version = "0.2.16", features = ["rt-core", "tcp", "udp", "uds", "process", "fs", "blocking", "sync", "io-std", "macros", "time"] }
tokio-rustls = "0.13.0"
url = "2.1.1"
utime = "0.2.1"
@@ -63,19 +63,19 @@ webpki-roots = "0.19.0"
walkdir = "2.3.1"
warp = "0.2.2"
semver-parser = "0.9.0"
-uuid = { version = "0.8", features = ["v4"] }
+uuid = { version = "0.8.1", features = ["v4"] }
[target.'cfg(windows)'.dependencies]
winapi = "0.3.8"
fwdansi = "1.1.0"
[target.'cfg(unix)'.dependencies]
-nix = "0.14" # rustyline depends on 0.14, to avoid duplicates we do too.
+nix = "0.17.0"
[dev-dependencies]
os_pipe = "0.9.1"
# Used for testing inspector. Keep in-sync with warp.
-tokio-tungstenite = { version = "0.10", features = ["connect"] }
+tokio-tungstenite = { version = "0.10.1", features = ["connect"] }
[target.'cfg(unix)'.dev-dependencies]
pty = "0.2.2"
diff --git a/cli/signal.rs b/cli/signal.rs
index d7e9985b5..6be588b84 100644
--- a/cli/signal.rs
+++ b/cli/signal.rs
@@ -5,13 +5,13 @@ use crate::op_error::OpError;
pub fn kill(pid: i32, signo: i32) -> Result<(), OpError> {
use nix::sys::signal::{kill as unix_kill, Signal};
use nix::unistd::Pid;
- let sig = Signal::from_c_int(signo)?;
+ use std::convert::TryFrom;
+ let sig = Signal::try_from(signo)?;
unix_kill(Pid::from_raw(pid), Option::Some(sig)).map_err(OpError::from)
}
#[cfg(not(unix))]
pub fn kill(_pid: i32, _signal: i32) -> Result<(), OpError> {
- // NOOP
// TODO: implement this for windows
Ok(())
}