diff --git a/Cargo.lock b/Cargo.lock index c8729687c7..803e174766 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -494,9 +494,9 @@ checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" [[package]] name = "calamine" -version = "0.22.1" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0ba51a659bb6c8bffd6f7c1c5ffafcafa0c97e4769411d841c3cc5c154ab47" +checksum = "47a4d6ea525ea187df1e3a1c4b23469b1cbe60c5bafc1c0ef14b2b8738a8303d" dependencies = [ "byteorder", "codepage", @@ -4224,9 +4224,9 @@ checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" [[package]] name = "quick-xml" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956" +checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33" dependencies = [ "encoding_rs", "memchr", diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index 853d9e8426..5ff5b721f6 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -32,7 +32,7 @@ alphanumeric-sort = "1.5" base64 = "0.21" byteorder = "1.5" bytesize = "1.3" -calamine = "0.22" +calamine = "0.23.1" chrono = { version = "0.4", features = ["std", "unstable-locales"], default-features = false } chrono-humanize = "0.2.3" chrono-tz = "0.8" @@ -67,7 +67,7 @@ os_pipe = "1.1" pathdiff = "0.2" percent-encoding = "2.3" print-positions = "0.6" -quick-xml = "0.30" +quick-xml = "0.31.0" rand = "0.8" rayon = "1.8" regex = "1.9.5" diff --git a/crates/nu-command/src/formats/from/ods.rs b/crates/nu-command/src/formats/from/ods.rs index 41230aec42..2588bb163b 100644 --- a/crates/nu-command/src/formats/from/ods.rs +++ b/crates/nu-command/src/formats/from/ods.rs @@ -134,7 +134,7 @@ fn from_ods( for sheet_name in sheet_names { let mut sheet_output = vec![]; - if let Some(Ok(current_sheet)) = ods.worksheet_range(&sheet_name) { + if let Ok(current_sheet) = ods.worksheet_range(&sheet_name) { for row in current_sheet.rows() { let record = row .iter() diff --git a/crates/nu-command/src/formats/from/xlsx.rs b/crates/nu-command/src/formats/from/xlsx.rs index 7d15c6e772..fbcb1df14b 100644 --- a/crates/nu-command/src/formats/from/xlsx.rs +++ b/crates/nu-command/src/formats/from/xlsx.rs @@ -133,7 +133,7 @@ fn from_xlsx( for sheet_name in sheet_names { let mut sheet_output = vec![]; - if let Some(Ok(current_sheet)) = xlsx.worksheet_range(&sheet_name) { + if let Ok(current_sheet) = xlsx.worksheet_range(&sheet_name) { for row in current_sheet.rows() { let record = row .iter() diff --git a/crates/nu-parser/src/deparse.rs b/crates/nu-parser/src/deparse.rs index 6188fb3e66..2a6339a5cb 100644 --- a/crates/nu-parser/src/deparse.rs +++ b/crates/nu-parser/src/deparse.rs @@ -108,7 +108,7 @@ mod test { fn test_escape() { // check for input arg like this: // nu b.nu \ --arg='"' - assert_eq!(escape_for_script_arg(r#"\"#), r#""\\""#.to_string()); + assert_eq!(escape_for_script_arg(r"\"), r#""\\""#.to_string()); assert_eq!( escape_for_script_arg(r#"--arg=""#), r#"--arg="\"""#.to_string()