Skip to content

Commit 4e31c15

Browse files
authored
Temporal bump and fixes (#4193)
* Bump temporal_rs and update necessary deps * Order of operations fix * Misc fixes and add round stub that was missed somehow * Forgot cargo fmt * Remove space * Bump for fix * And another bump
1 parent 4beac62 commit 4e31c15

File tree

6 files changed

+103
-94
lines changed

6 files changed

+103
-94
lines changed

Cargo.lock

Lines changed: 83 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ static_assertions = "1.1.0"
7171
textwrap = "0.16.0"
7272
thin-vec = "0.2.13"
7373
time = { version = "0.3.37", default-features = false, features = ["local-offset", "large-dates", "wasm-bindgen", "parsing", "formatting", "macros"] }
74-
tinystr = "0.7.5"
7574
log = "0.4.26"
7675
simple_logger = "5.0.0"
7776
cargo_metadata = "0.19.1"
@@ -111,7 +110,7 @@ intrusive-collections = "0.9.7"
111110
cfg-if = "1.0.0"
112111
either = "1.14.0"
113112
sys-locale = "0.3.2"
114-
temporal_rs = { git = "https://github.com/boa-dev/temporal.git", rev = "bca995742818fb8367a6df6aef0f32b45fa4841a", default-features = false, features = ["tzdb"] }
113+
temporal_rs = { git = "https://github.com/boa-dev/temporal.git", rev = "f27e2ffa3324e4cfb2bdf0b654b0d5bb2f15ed61", default-features = false, features = ["tzdb"] }
115114
web-time = "1.1.0"
116115
criterion = "0.5.1"
117116
float-cmp = "0.10.0"
@@ -141,6 +140,7 @@ icu_properties = { version = "~1.5.0", default-features = true }
141140
icu_normalizer = { version = "~1.5.0", default-features = false }
142141
icu_decimal = { version = "~1.5.0", default-features = false }
143142
writeable = "~0.5.5"
143+
tinystr = "~0.8.1"
144144
yoke = "~0.7.5"
145145
zerofrom = "~0.1.5"
146146
fixed_decimal = "~0.5.6"

core/engine/src/builtins/intl/number_format/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl std::str::FromStr for Currency {
224224
return Err(ParseCurrencyError);
225225
}
226226

227-
let curr = TinyAsciiStr::from_bytes(bytes).map_err(|_| ParseCurrencyError)?;
227+
let curr = TinyAsciiStr::try_from_utf8(bytes).map_err(|_| ParseCurrencyError)?;
228228

229229
// 2. Let normalized be the ASCII-uppercase of currency.
230230
// 3. If normalized contains any code unit outside of 0x0041 through 0x005A (corresponding

0 commit comments

Comments
 (0)