Skip to content

Commit

Permalink
update zxcvbn to 2.2.1 (yewstack#2568)
Browse files Browse the repository at this point in the history
* update zxcvbn to 2.2.1

* fix clippy issues

* Upgrade to wasm_bindgen 0.2.80

* resolve TODO, linked pr now merged
  • Loading branch information
WorldSEnder authored Apr 8, 2022
1 parent 6d07ba3 commit e240529
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/password_strength/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/dom_bundle/btag/listeners.rs
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 1 addition & 2 deletions packages/yew/src/dom_bundle/subtree_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tools/benchmark-hooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tools/benchmark-struct/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit e240529

Please sign in to comment.