Skip to content

Commit 43c6285

Browse files
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 23b0e1b commit 43c6285

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.changes/kuchikiki.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-utils": patch:sec
3+
---
4+
5+
Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`.

core/tauri-utils/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ thiserror = "1"
1919
phf = { version = "0.10", features = [ "macros" ] }
2020
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
2121
url = { version = "2", features = [ "serde" ] }
22-
kuchiki = "0.8"
23-
html5ever = "0.25"
22+
html5ever = "0.26"
23+
kuchiki = { package = "kuchikiki", version = "0.8" }
2424
proc-macro2 = { version = "1", optional = true }
2525
quote = { version = "1", optional = true }
2626
schemars = { version = "0.8", features = [ "url" ], optional = true }

core/tauri-utils/src/html.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ mod tests {
302302
assert_eq!(
303303
document.to_string(),
304304
format!(
305-
r#"<html><head><meta content="{}" http-equiv="Content-Security-Policy"></head><body></body></html>"#,
305+
r#"<html><head><meta http-equiv="Content-Security-Policy" content="{}"></head><body></body></html>"#,
306306
super::CSP_TOKEN
307307
)
308308
);

tooling/cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ env_logger = "0.9.1"
8686
icns = { package = "tauri-icns", version = "0.1" }
8787
image = { version = "0.24", default-features = false, features = [ "ico" ] }
8888
axum = { version = "0.5.16", features = [ "ws" ] }
89-
html5ever = "0.25"
90-
kuchiki = "0.8"
89+
html5ever = "0.26"
90+
kuchiki = { package = "kuchikiki", version = "0.8" }
9191
tokio = { version = "1", features = [ "macros", "sync" ] }
9292
common-path = "1"
9393
serde-value = "0.7.0"

0 commit comments

Comments
 (0)