Bump chrono dependency to fix panic (#6317)

This commit is contained in:
Reilly Wood 2022-08-13 11:21:28 -07:00 committed by GitHub
parent 8783742060
commit 613d2fb8df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 14 deletions

21
Cargo.lock generated
View file

@ -68,6 +68,15 @@ version = "1.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77e9c9abb82613923ec78d7a461595d52491ba7240f3c64c0bbe0e6d98e0fce0" checksum = "77e9c9abb82613923ec78d7a461595d52491ba7240f3c64c0bbe0e6d98e0fce0"
[[package]]
name = "android_system_properties"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "ansi-str" name = "ansi-str"
version = "0.3.0" version = "0.3.0"
@ -522,10 +531,11 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "chrono" name = "chrono"
version = "0.4.20" version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1"
dependencies = [ dependencies = [
"iana-time-zone",
"js-sys", "js-sys",
"num-integer", "num-integer",
"num-traits", "num-traits",
@ -1699,11 +1709,12 @@ dependencies = [
[[package]] [[package]]
name = "iana-time-zone" name = "iana-time-zone"
version = "0.1.37" version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97d0b780e72fefba5e04a8359137b0a5687a44cc893dbda904fcf8a93f2f07e7" checksum = "808cf7d67cf4a22adc5be66e75ebdf769b3f2ea032041437a7061f97a63dad4b"
dependencies = [ dependencies = [
"core-foundation", "android_system_properties",
"core-foundation-sys",
"js-sys", "js-sys",
"wasm-bindgen", "wasm-bindgen",
"winapi 0.3.9", "winapi 0.3.9",

View file

@ -33,7 +33,7 @@ members = [
] ]
[dependencies] [dependencies]
chrono = { version = "0.4.20", features = ["serde"] } chrono = { version = "0.4.21", features = ["serde"] }
crossterm = "0.24.0" crossterm = "0.24.0"
ctrlc = "3.2.1" ctrlc = "3.2.1"
log = "0.4" log = "0.4"

View file

@ -21,7 +21,7 @@ nu-ansi-term = "0.46.0"
nu-color-config = { path = "../nu-color-config", version = "0.66.4" } nu-color-config = { path = "../nu-color-config", version = "0.66.4" }
reedline = { version = "0.9.0", features = ["bashisms", "sqlite"]} reedline = { version = "0.9.0", features = ["bashisms", "sqlite"]}
chrono = "0.4.20" chrono = "0.4.21"
crossterm = "0.24.0" crossterm = "0.24.0"
fancy-regex = "0.10.0" fancy-regex = "0.10.0"
fuzzy-matcher = "0.3.7" fuzzy-matcher = "0.3.7"

View file

@ -32,7 +32,7 @@ base64 = "0.13.0"
byteorder = "1.4.3" byteorder = "1.4.3"
bytesize = "1.1.0" bytesize = "1.1.0"
calamine = "0.18.0" calamine = "0.18.0"
chrono = { version = "0.4.20", features = ["serde"] } chrono = { version = "0.4.21", features = ["serde"] }
chrono-humanize = "0.2.1" chrono-humanize = "0.2.1"
chrono-tz = "0.6.3" chrono-tz = "0.6.3"
crossterm = "0.24.0" crossterm = "0.24.0"

View file

@ -224,7 +224,7 @@ mod tests {
[dependencies] [dependencies]
rustyline = "4.1.0" rustyline = "4.1.0"
sysinfo = "0.8.4" sysinfo = "0.8.4"
chrono = { version = "0.4.20", features = ["serde"] } chrono = { version = "0.4.21", features = ["serde"] }
"#, "#,
), ),
Span::test_data(), Span::test_data(),

View file

@ -12,7 +12,7 @@ nu-path = { path = "../nu-path", version = "0.66.4" }
nu-glob = { path = "../nu-glob", version = "0.66.4" } nu-glob = { path = "../nu-glob", version = "0.66.4" }
nu-utils = { path = "../nu-utils", version = "0.66.4" } nu-utils = { path = "../nu-utils", version = "0.66.4" }
chrono = { version="0.4.20", features=["serde"] } chrono = { version="0.4.21", features=["serde"] }
sysinfo = "0.25.2" sysinfo = "0.25.2"
[features] [features]

View file

@ -7,7 +7,7 @@ name = "nu-parser"
version = "0.66.4" version = "0.66.4"
[dependencies] [dependencies]
chrono = "0.4.20" chrono = "0.4.21"
itertools = "0.10" itertools = "0.10"
miette = "5.1.0" miette = "5.1.0"
thiserror = "1.0.31" thiserror = "1.0.31"

View file

@ -14,7 +14,7 @@ nu-path = { path = "../nu-path", version = "0.66.4" }
nu-json = { path = "../nu-json", version = "0.66.4" } nu-json = { path = "../nu-json", version = "0.66.4" }
byte-unit = "4.0.9" byte-unit = "4.0.9"
chrono = { version="0.4.20", features=["serde"] } chrono = { version="0.4.21", features=["serde"] }
chrono-humanize = "0.2.1" chrono-humanize = "0.2.1"
fancy-regex = "0.10.0" fancy-regex = "0.10.0"
indexmap = { version="1.7", features=["serde-1"] } indexmap = { version="1.7", features=["serde-1"] }

View file

@ -24,6 +24,6 @@ errno = "0.2"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] } winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] }
chrono = "0.4" chrono = "0.4.21"
ntapi = "0.3" ntapi = "0.3"
once_cell = "1.0" once_cell = "1.0"

View file

@ -11,7 +11,7 @@ edition = "2018"
[dependencies] [dependencies]
rustyline = "4.1.0" rustyline = "4.1.0"
sysinfo = "0.8.4" sysinfo = "0.8.4"
chrono = { version = "0.4.20", features = ["serde"] } chrono = { version = "0.4.21", features = ["serde"] }
chrono-tz = "0.6.3" chrono-tz = "0.6.3"
derive-new = "0.5.6" derive-new = "0.5.6"
prettytable-rs = "0.8.0" prettytable-rs = "0.8.0"