chore: pin wasm-bindgen version for tooling/CI reasons

This commit is contained in:
Greg Johnston 2024-03-08 13:38:38 -05:00
parent 2b4f5e0f58
commit 204c8eb360
27 changed files with 53 additions and 36 deletions

View file

@ -16,7 +16,7 @@ leptos = { path = "../../leptos" }
leptos_meta = { path = "../../meta" }
leptos_actix = { path = "../../integrations/actix", optional = true }
leptos_router = { path = "../../router" }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
serde = { version = "1", features = ["derive"] }
[features]

View file

@ -14,6 +14,6 @@ log = "0.4"
console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
wasm-bindgen-test = "0.3.0"
web-sys = "0.3"

View file

@ -25,7 +25,7 @@ leptos_router = { path = "../../router" }
log = "0.4"
once_cell = "1.18"
gloo-net = { git = "https://github.com/rustwasm/gloo" }
wasm-bindgen = "0.2.87"
wasm-bindgen = "=0.2.92"
serde = { version = "1", features = ["derive"] }
simple_logger = "4.3"
tracing = { version = "0.1", optional = true }

View file

@ -15,6 +15,6 @@ log = "0.4"
console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
wasm-bindgen-test = "0.3.0"
web-sys = "0.3"

View file

@ -4,12 +4,12 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { path = "../../leptos", features = ["csr", "nightly"] }
leptos = { path = "../../leptos", features = ["csr", "nightly"] }
log = "0.4"
console_log = "1"
console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen-test = "0.3.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
web-sys = "0.3"

View file

@ -12,7 +12,7 @@ console_log = "1"
console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen = "0.2.87"
wasm-bindgen = "=0.2.92"
wasm-bindgen-test = "0.3.37"
pretty_assertions = "1.4.0"

View file

@ -12,6 +12,6 @@ web-sys = { version = "0.3", features = ["Clipboard", "Navigator"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
web-sys = "0.3"
gloo-timers = { version = "0.3", features = ["futures"] }

View file

@ -22,7 +22,7 @@ tower-http = { version = "0.5", features = ["fs"], optional = true }
tokio = { version = "1", features = ["full"], optional = true }
http = { version = "1.0" }
thiserror = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[features]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]

View file

@ -25,7 +25,7 @@ gloo-net = { version = "0.2", features = ["http"] }
reqwest = { version = "0.11", features = ["json"] }
tracing = "0.1"
# openssl = { version = "0.10", features = ["v110"] }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
[features]

View file

@ -29,7 +29,7 @@ tower-http = { version = "0.5", features = ["fs"], optional = true }
tokio = { version = "1", features = ["full"], optional = true }
http = { version = "1.0", optional = true }
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[features]
default = ["csr"]

View file

@ -37,7 +37,7 @@ tower-http = { version = "0.5", features = [
tokio = { version = "1", features = ["full"], optional = true }
http = { version = "1.0", optional = true }
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
lazy_static = "1.4.0"
[features]

View file

@ -33,7 +33,7 @@ web-sys = { version = "0.3", features = [
"Request",
"Response",
] }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
wasm-bindgen-futures = { version = "0.4.37", features = [
"futures-core-03-stream",
], optional = true }

View file

@ -8,7 +8,11 @@ codegen-units = 1
lto = true
[dependencies]
leptos = { path = "../../leptos", features = ["csr", "nightly", "template_macro"] }
leptos = { path = "../../leptos", features = [
"csr",
"nightly",
"template_macro",
] }
console_log = "1"
log = "0.4"
# used in rand, but we need to enable js feature
@ -17,6 +21,6 @@ rand = { version = "0.8.5", features = ["small_rng"] }
console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
wasm-bindgen-test = "0.3.0"
web-sys = "0.3"

View file

@ -11,6 +11,6 @@ console_error_panic_hook = "0.1.7"
[dev-dependencies]
wasm-bindgen-test = "0.3.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
web-sys = "0.3"
gloo-timers = { version = "0.3", features = ["futures"] }

View file

@ -15,16 +15,24 @@ leptos = { path = "../../leptos", features = ["nightly"] }
leptos_axum = { path = "../../integrations/axum", optional = true }
leptos_meta = { path = "../../meta", features = ["nightly"] }
leptos_router = { path = "../../router", features = ["nightly"] }
server_fn = { path = "../../server_fn", features = ["serde-lite", "rkyv", "multipart"] }
server_fn = { path = "../../server_fn", features = [
"serde-lite",
"rkyv",
"multipart",
] }
log = "0.4"
simple_logger = "4.0"
serde = { version = "1", features = ["derive"] }
axum = { version = "0.7", optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs", "tracing", "trace"], optional = true }
tower-http = { version = "0.5", features = [
"fs",
"tracing",
"trace",
], optional = true }
tokio = { version = "1", features = ["full"], optional = true }
thiserror = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
serde_toml = "0.0.1"
toml = "0.8.8"
web-sys = { version = "0.3.67", features = ["FileList", "File"] }

View file

@ -29,7 +29,7 @@ sqlx = { version = "0.7.2", features = [
"sqlite",
], optional = true }
thiserror = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
axum_session_auth = { version = "0.12.1", features = [
"sqlite-rustls",
], optional = true }

View file

@ -31,7 +31,7 @@ sqlx = { version = "0.7", features = [
"sqlite",
], optional = true }
thiserror = "1.0.38"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
axum_session_auth = { version = "0.12", features = [
"sqlite-rustls",
], optional = true }

View file

@ -20,7 +20,7 @@ log = "0.4"
serde = { version = "1", features = ["derive"] }
thiserror = "1"
tokio = { version = "1", features = ["time"] }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[features]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]

View file

@ -20,8 +20,12 @@ thiserror = "1"
axum = { version = "0.7", optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"], optional = true }
wasm-bindgen = "0.2"
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
"time",
], optional = true }
wasm-bindgen = "=0.2.92"
[features]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]

View file

@ -16,7 +16,7 @@ leptos_actix = { path = "../../integrations/actix", optional = true }
leptos_router = { path = "../../router" }
log = "0.4"
simple_logger = "4"
wasm-bindgen = "0.2.87"
wasm-bindgen = "=0.2.92"
serde = "1.0.159"
tokio = { version = "1.29", features = ["time", "rt"], optional = true }

View file

@ -17,7 +17,7 @@ gloo-net = { version = "0.2", features = ["http"] }
log = "0.4"
# dependencies for client (enable when csr or hydrate set)
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen = { version = "=0.2.92", optional = true }
console_log = { version = "1", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }

View file

@ -16,10 +16,13 @@ leptos_axum = { path = "../../integrations/axum", optional = true }
leptos_router = { path = "../../router", features = ["nightly"] }
log = "0.4.17"
simple_logger = "4"
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
], optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
thiserror = "1.0"
tracing = { version = "0.1", optional = true }
http = "1.0"

View file

@ -11,6 +11,6 @@ log = "0.4"
gloo-net = { version = "0.2", features = ["http"] }
# dependencies for client (enable when csr or hydrate set)
wasm-bindgen = { version = "0.2" }
wasm-bindgen = { version = "=0.2.92" }
console_log = { version = "1" }
console_error_panic_hook = { version = "0.1" }

View file

@ -12,13 +12,11 @@ leptos = { path = "../../leptos", features = ["csr", "nightly"] }
console_log = "1"
log = "0.4"
console_error_panic_hook = "0.1.7"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[dependencies.web-sys]
version = "0.3"
features = [
"Window",
]
features = ["Window"]
[dev-dependencies]
wasm-bindgen-test = "0.3.0"

View file

@ -26,7 +26,7 @@ sqlx = { version = "0.6.2", features = [
"runtime-tokio-rustls",
"sqlite",
], optional = true }
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
tokio = { version = "1", features = ["rt", "time"], optional = true }
[features]

View file

@ -28,7 +28,7 @@ sqlx = { version = "0.7", features = [
"sqlite",
], optional = true }
thiserror = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[features]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]

View file

@ -28,7 +28,7 @@ sqlx = { version = "0.7", features = [
"sqlite",
], optional = true }
thiserror = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen = "=0.2.92"
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]