From 8b964343a1b44bc0f6e9a82f2a169ece67a6d36e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:32:10 -0400 Subject: [PATCH] Bump rustyline from 13.0.0 to 14.0.0 (#3722) * Bump rustyline from 13.0.0 to 14.0.0 Bumps [rustyline](https://github.com/kkawakam/rustyline) from 13.0.0 to 14.0.0. - [Release notes](https://github.com/kkawakam/rustyline/releases) - [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md) - [Commits](https://github.com/kkawakam/rustyline/compare/v13.0.0...v14.0.0) --- updated-dependencies: - dependency-name: rustyline dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Fix version bump --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com> --- Cargo.lock | 17 ++++++++++++----- cli/Cargo.toml | 2 +- cli/src/main.rs | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e0c4a4fba4..5c1d62fd2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -740,6 +740,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + [[package]] name = "ciborium" version = "0.2.2" @@ -2464,12 +2470,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ "bitflags 2.4.2", "cfg-if", + "cfg_aliases", "libc", ] @@ -3205,9 +3212,9 @@ checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "rustyline" -version = "13.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02a2d683a4ac90aeef5b1013933f6d977bd37d51ff3f4dad829d4931a7e6be86" +checksum = "7803e8936da37efd9b6d4478277f4b2b9bb5cdb37a113e8d63222e58da647e63" dependencies = [ "bitflags 2.4.2", "cfg-if", @@ -3223,7 +3230,7 @@ dependencies = [ "unicode-segmentation", "unicode-width", "utf8parse", - "winapi", + "windows-sys 0.52.0", ] [[package]] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e1ecf2e5ae..05bfa0ce04 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -16,7 +16,7 @@ boa_engine = { workspace = true, features = ["deser", "flowgraph", "trace"] } boa_parser.workspace = true boa_gc.workspace = true boa_runtime.workspace = true -rustyline = { version = "13.0.0", features = ["derive"]} +rustyline = { version = "14.0.0", features = ["derive"]} clap = { workspace = true, features = ["derive"] } serde_json.workspace = true colored.workspace = true diff --git a/cli/src/main.rs b/cli/src/main.rs index 9f246992c6..f0702f7967 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -361,7 +361,7 @@ fn main() -> Result<(), io::Error> { if args.files.is_empty() { let config = Config::builder() - .keyseq_timeout(1) + .keyseq_timeout(Some(1)) .edit_mode(if args.vi_mode { EditMode::Vi } else {