diff --git a/crates/cuid1/Cargo.toml b/crates/cuid1/Cargo.toml index 47d940b..c81fe49 100644 --- a/crates/cuid1/Cargo.toml +++ b/crates/cuid1/Cargo.toml @@ -41,7 +41,7 @@ hostname = "0.4.0" [target.'cfg(target_family = "wasm")'.dependencies] # Just specified so we can add a feature when the js feature is enabled. # This works fine on wasm targets other than unknown-unknown -getrandom = { version = "0", features = ["js"] } +getrandom = { version = "0.2", features = ["js"] } web-time = "1.1.0" [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] diff --git a/crates/cuid2/Cargo.toml b/crates/cuid2/Cargo.toml index 870c8f5..8696e10 100644 --- a/crates/cuid2/Cargo.toml +++ b/crates/cuid2/Cargo.toml @@ -42,5 +42,5 @@ proptest.workspace = true [target.'cfg(target_family = "wasm")'.dependencies] # Just specified so we can add a feature when the js feature is enabled. # This works fine on wasm targets other than unknown-unknown -getrandom = { version = "0", features = ["js"] } +getrandom = { version = "0.2", features = ["js"] } web-time = "1.1.0"