Skip to content

Commit eeff178

Browse files
lucasfernogdavide-baldoamrbashir
authored
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359) (#7367)
Co-authored-by: Davide Baldo <davide@baldo.me> Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
1 parent e05cd94 commit eeff178

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
@@ -18,8 +18,8 @@ thiserror = "1"
1818
phf = { version = "0.10", features = [ "macros" ] }
1919
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
2020
url = { version = "2", features = [ "serde" ] }
21-
kuchiki = "0.8"
22-
html5ever = "0.25"
21+
html5ever = "0.26"
22+
kuchiki = { package = "kuchikiki", version = "0.8" }
2323
proc-macro2 = { version = "1", optional = true }
2424
quote = { version = "1", optional = true }
2525
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
@@ -76,8 +76,8 @@ env_logger = "0.9.1"
7676
icns = { package = "tauri-icns", version = "0.1" }
7777
image = { version = "0.24", default-features = false, features = [ "ico" ] }
7878
axum = { version = "0.5.16", features = [ "ws" ] }
79-
html5ever = "0.25"
80-
kuchiki = "0.8"
79+
html5ever = "0.26"
80+
kuchiki = { package = "kuchikiki", version = "0.8" }
8181
tokio = { version = "1", features = [ "macros", "sync" ] }
8282
common-path = "1"
8383
serde-value = "0.7.0"

0 commit comments

Comments
 (0)