mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
update zxcvbn to 2.2.1 (#2568)
* update zxcvbn to 2.2.1 * fix clippy issues * Upgrade to wasm_bindgen 0.2.80 * resolve TODO, linked pr now merged
This commit is contained in:
parent
6d07ba3b90
commit
e2405298c6
@ -7,7 +7,7 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[dependencies]
|
||||
yew = { path = "../../packages/yew", features = ["csr"] }
|
||||
zxcvbn = "2.1.2, <2.2.0"
|
||||
zxcvbn = "2.2.1"
|
||||
js-sys = "0.3.46"
|
||||
web-sys = { version = "0.3", features = ["Event","EventTarget","InputEvent"] }
|
||||
wasm-bindgen = "0.2"
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
use super::Apply;
|
||||
use crate::dom_bundle::{test_log, BSubtree, EventDescriptor};
|
||||
use crate::virtual_dom::{Listener, Listeners};
|
||||
use ::wasm_bindgen::{prelude::wasm_bindgen, JsCast};
|
||||
use std::cell::RefCell;
|
||||
use std::collections::HashMap;
|
||||
use std::ops::Deref;
|
||||
use std::rc::Rc;
|
||||
use wasm_bindgen::{prelude::wasm_bindgen, JsCast};
|
||||
use web_sys::{Element, Event, EventTarget as HtmlEventTarget};
|
||||
|
||||
#[wasm_bindgen]
|
||||
|
||||
@ -8,8 +8,7 @@ use std::collections::HashSet;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::rc::{Rc, Weak};
|
||||
use std::sync::atomic::{AtomicBool, AtomicU32, Ordering};
|
||||
use wasm_bindgen::prelude::wasm_bindgen;
|
||||
use wasm_bindgen::JsCast;
|
||||
use wasm_bindgen::{prelude::wasm_bindgen, JsCast};
|
||||
use web_sys::{Element, Event, EventTarget as HtmlEventTarget};
|
||||
|
||||
/// DOM-Types that capture (bubbling) events. This generally includes event targets,
|
||||
|
||||
@ -10,7 +10,7 @@ crate-type = ["cdylib"]
|
||||
[dependencies]
|
||||
rand = { version = "0.8.4", features = ["small_rng"] }
|
||||
getrandom = { version = "0.2.1", features = ["js"] }
|
||||
wasm-bindgen = "=0.2.78"
|
||||
wasm-bindgen = "0.2.80"
|
||||
web-sys = { version = "0.3.55", features = ["Window"]}
|
||||
yew = "0.19.3"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ crate-type = ["cdylib"]
|
||||
[dependencies]
|
||||
rand = { version = "0.8.4", features = ["small_rng"] }
|
||||
getrandom = { version = "0.2.1", features = ["js"] }
|
||||
wasm-bindgen = "=0.2.78"
|
||||
wasm-bindgen = "0.2.80"
|
||||
web-sys = { version = "0.3.55", features = ["Window"]}
|
||||
yew = "0.19.3"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user