Skip to content

Commit

Permalink
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (
Browse files Browse the repository at this point in the history
…#7359)

Co-authored-by: Lucas Nogueira <[email protected]>
  • Loading branch information
davide-baldo and lucasfernog authored Jul 5, 2023
1 parent 23b0e1b commit 43c6285
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changes/kuchikiki.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:sec
---

Changed HTML implementation from unmaintained `kuchiki` to `kuchikiki`.
4 changes: 2 additions & 2 deletions core/tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ thiserror = "1"
phf = { version = "0.10", features = [ "macros" ] }
brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
url = { version = "2", features = [ "serde" ] }
kuchiki = "0.8"
html5ever = "0.25"
html5ever = "0.26"
kuchiki = { package = "kuchikiki", version = "0.8" }
proc-macro2 = { version = "1", optional = true }
quote = { version = "1", optional = true }
schemars = { version = "0.8", features = [ "url" ], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion core/tauri-utils/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ mod tests {
assert_eq!(
document.to_string(),
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
)
);
Expand Down
4 changes: 2 additions & 2 deletions tooling/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ env_logger = "0.9.1"
icns = { package = "tauri-icns", version = "0.1" }
image = { version = "0.24", default-features = false, features = [ "ico" ] }
axum = { version = "0.5.16", features = [ "ws" ] }
html5ever = "0.25"
kuchiki = "0.8"
html5ever = "0.26"
kuchiki = { package = "kuchikiki", version = "0.8" }
tokio = { version = "1", features = [ "macros", "sync" ] }
common-path = "1"
serde-value = "0.7.0"
Expand Down

0 comments on commit 43c6285

Please sign in to comment.