chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
Davide Baldo 2023-07-05 22:41:46 +02:00 committed by GitHub
parent 23b0e1b9e5
commit 43c6285e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 5 deletions

5
.changes/kuchikiki.md Normal file
View File

@ -0,0 +1,5 @@
---
"tauri-utils": patch:sec
---
Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`.

View File

@ -19,8 +19,8 @@ thiserror = "1"
phf = { version = "0.10", features = [ "macros" ] } phf = { version = "0.10", features = [ "macros" ] }
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
url = { version = "2", features = [ "serde" ] } url = { version = "2", features = [ "serde" ] }
kuchiki = "0.8" html5ever = "0.26"
html5ever = "0.25" kuchiki = { package = "kuchikiki", version = "0.8" }
proc-macro2 = { version = "1", optional = true } proc-macro2 = { version = "1", optional = true }
quote = { version = "1", optional = true } quote = { version = "1", optional = true }
schemars = { version = "0.8", features = [ "url" ], optional = true } schemars = { version = "0.8", features = [ "url" ], optional = true }

View File

@ -302,7 +302,7 @@ mod tests {
assert_eq!( assert_eq!(
document.to_string(), document.to_string(),
format!( format!(
r#"<html><head><meta content="{}" http-equiv="Content-Security-Policy"></head><body></body></html>"#, r#"<html><head><meta http-equiv="Content-Security-Policy" content="{}"></head><body></body></html>"#,
super::CSP_TOKEN super::CSP_TOKEN
) )
); );

View File

@ -86,8 +86,8 @@ env_logger = "0.9.1"
icns = { package = "tauri-icns", version = "0.1" } icns = { package = "tauri-icns", version = "0.1" }
image = { version = "0.24", default-features = false, features = [ "ico" ] } image = { version = "0.24", default-features = false, features = [ "ico" ] }
axum = { version = "0.5.16", features = [ "ws" ] } axum = { version = "0.5.16", features = [ "ws" ] }
html5ever = "0.25" html5ever = "0.26"
kuchiki = "0.8" kuchiki = { package = "kuchikiki", version = "0.8" }
tokio = { version = "1", features = [ "macros", "sync" ] } tokio = { version = "1", features = [ "macros", "sync" ] }
common-path = "1" common-path = "1"
serde-value = "0.7.0" serde-value = "0.7.0"