diff --git a/Cargo.lock b/Cargo.lock index 3370faa25bbb..e5081955a24d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -207,9 +207,9 @@ dependencies = [ [[package]] name = "arboard" -version = "3.3.1" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1faa3c733d9a3dd6fbaf85da5d162a2e03b2e0033a90dceb0e2a90fdd1e5380a" +checksum = "a2041f1943049c7978768d84e6d0fd95de98b76d6c4727b09e78ec253d29fa58" dependencies = [ "clipboard-win", "core-graphics", @@ -2629,9 +2629,9 @@ dependencies = [ [[package]] name = "id3" -version = "1.12.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ba0a11a3cf6f08d58a5629531bdb4e7c3b8b595e9812a31a7058b1176c4631e" +checksum = "79f41f7e5ad125c63d55b112a98afb753742fa7f97692bfbbc52544b89e1ff1f" dependencies = [ "bitflags 2.4.2", "byteorder", @@ -2734,9 +2734,9 @@ dependencies = [ [[package]] name = "insta" -version = "1.35.1" +version = "1.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c985c1bef99cf13c58fade470483d81a2bfe846ebde60ed28cc2dddec2df9e2" +checksum = "0a7c22c4d34ef4788c351e971c52bfdfe7ea2766f8c5466bc175dd46e52ac22e" dependencies = [ "console", "lazy_static", diff --git a/core/Cargo.toml b/core/Cargo.toml index fe900cf98ef4..37100eedcdd6 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -65,7 +65,7 @@ enum-map = "2.7.3" ttf-parser = "0.20" num-bigint = "0.4" unic-segment = "0.9.0" -id3 = "1.12.0" +id3 = "1.13.1" [target.'cfg(not(target_family = "wasm"))'.dependencies.futures] version = "0.3.30" diff --git a/core/src/avm2/object/sound_object.rs b/core/src/avm2/object/sound_object.rs index c5fc4e59a50a..102e05c854d1 100644 --- a/core/src/avm2/object/sound_object.rs +++ b/core/src/avm2/object/sound_object.rs @@ -15,6 +15,7 @@ use core::fmt; use gc_arena::{Collect, GcCell, GcWeakCell, Mutation}; use id3::{Tag, TagLike}; use std::cell::{Ref, RefMut}; +use std::io::Cursor; use swf::SoundInfo; use super::SoundChannelObject; @@ -155,7 +156,7 @@ impl<'gc> SoundObject<'gc> { .id3info .construct(activation, &[]) .expect("failed to construct ID3Info object"); - let tag = Tag::read_from(bytes); + let tag = Tag::read_from2(Cursor::new(bytes)); if let Ok(ref tag) = tag { if let Some(v) = tag.album() { id3.set_public_property( diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index 2fdbc37b09c1..4f3e675fbdf0 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -29,7 +29,7 @@ slotmap = { workspace = true } winit = "0.29.13" webbrowser = "0.8.12" url = "2.5.0" -arboard = { version = "3.3.1", features = ["wayland-data-control"] } +arboard = { version = "3.3.2", features = ["wayland-data-control"] } dirs = "5.0" isahc = { version = "1.7.2", features = ["cookies"] } rfd = "0.14.0" diff --git a/render/naga-agal/Cargo.toml b/render/naga-agal/Cargo.toml index b207c0b182bc..94f944c63645 100644 --- a/render/naga-agal/Cargo.toml +++ b/render/naga-agal/Cargo.toml @@ -17,5 +17,5 @@ num-derive = "0.4.2" num-traits = "0.2.18" [dev-dependencies] -insta = "1.35.1" +insta = "1.36.1" naga = { workspace = true, features = ["wgsl-out"] } diff --git a/render/naga-agal/tests/wgsl.rs b/render/naga-agal/tests/wgsl.rs index d148cd07c567..da2cff8d8f38 100644 --- a/render/naga-agal/tests/wgsl.rs +++ b/render/naga-agal/tests/wgsl.rs @@ -24,7 +24,7 @@ macro_rules! test_shader { ($shader:expr, $attrs:expr, $shader_type:expr $(,)?) => { let module = agal_to_naga(&$shader, $attrs, &[Default::default(); 8]).unwrap(); let output = to_wgsl(&module); - insta::assert_display_snapshot!(output); + insta::assert_snapshot!(output); }; }