From c15bf73b65a7d666e9e01be16cca9a82b45a8746 Mon Sep 17 00:00:00 2001 From: hanabi1224 Date: Thu, 2 Mar 2023 18:31:51 +0000 Subject: [PATCH] fix: RUSTSEC-2020-0071 in boa_engine (#2627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Pull Request fixes/closes https://github.com/boa-dev/boa/issues/1671 It changes the following: - This PR tries to fix https://rustsec.org/advisories/RUSTSEC-2020-0071 in `boa_engine` crate by removing `time 0.1` from the dependency tree `cargo tree -p boa_engine | grep time` before: ```console │ ├── iana-time-zone v0.1.53 │ └── time v0.1.45 │ │ └── toml_datetime v0.5.1 ``` after: ```console │ ├── iana-time-zone v0.1.53 │ │ └── toml_datetime v0.5.1 ``` --- boa_engine/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/Cargo.toml b/boa_engine/Cargo.toml index b965879d4f2..de45ecda381 100644 --- a/boa_engine/Cargo.toml +++ b/boa_engine/Cargo.toml @@ -54,7 +54,7 @@ num-integer = "0.1.45" bitflags = "1.3.2" indexmap = "1.9.2" ryu-js = "0.2.2" -chrono = "0.4.23" +chrono = { version = "0.4.23", default-features = false, features = ["clock", "std", "wasmbind"] } fast-float = "0.2.0" unicode-normalization = "0.1.22" once_cell = "1.17.1"