diff --git a/og_image_writer/Cargo.toml b/og_image_writer/Cargo.toml index 72e0c8b..6216a05 100644 --- a/og_image_writer/Cargo.toml +++ b/og_image_writer/Cargo.toml @@ -15,7 +15,7 @@ description = "Generate an Open Graphic Image using a CSS-like API." imageproc = "0.22" ab_glyph = "0.2.12" thiserror = "1.0" -wasm-bindgen = { version = "0.2" } +wasm-bindgen = { version = "=0.2.78" } conv = "0.3.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.image] diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 1c00ce1..2efdd27 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -16,7 +16,7 @@ crate-type = ["cdylib"] [dependencies] og_image_writer = { path = "../og_image_writer" } -wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } +wasm-bindgen = { version = "=0.2.78", features = ["serde-serialize"] } console_error_panic_hook = { version = "0.1.7", optional = true } wee_alloc = { version = "0.4.5", optional = true } cfg-if = "1.0.0"