Skip to content

Commit f946f5a

Browse files
build: upgrade dependencies (#107)
1 parent 159f759 commit f946f5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ serde = { version = "1.0.104", features = ["derive"] }
2828
serde_json = "1.0.48"
2929
unicode-id-start = "1"
3030
if_chain = "1.0.0"
31-
scroll = { version = "0.10.1", features = ["derive"], optional = true }
31+
scroll = { version = "0.12.0", features = ["derive"], optional = true }
3232
data-encoding = "2.3.3"
3333
debugid = {version = "0.8.0", features = ["serde"] }
34-
base64-simd = { version = "0.7" }
34+
base64-simd = { version = "0.8" }
3535
bitvec = "1.0.1"
36-
rustc-hash = "1.1.0"
36+
rustc-hash = "2.1.1"
3737

3838
[features]
3939
ram_bundle = ["scroll"]

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ impl SourceMap {
538538
pub fn to_data_url(&self) -> Result<String> {
539539
let mut buf = vec![];
540540
encode(self, &mut buf)?;
541-
let b64 = base64_simd::Base64::STANDARD.encode_to_boxed_str(&buf);
541+
let b64 = base64_simd::STANDARD.encode_to_string(&buf);
542542
Ok(format!(
543543
"data:application/json;charset=utf-8;base64,{}",
544544
b64

0 commit comments

Comments
 (0)