diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a70b898c..eb120f99 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -22,7 +22,7 @@ kotlinpoet = "1.18.1" kotlinx-atomicfu = "0.25.0" kotlinx-coroutines = "1.9.0" kotlinx-serialization = "1.7.3" -ktor = "2.3.12" +ktor = "3.0.0" nexus-publish-plugin = "2.0.0" slf4j = "2.0.16" testcontainers = "1.20.2" diff --git a/src/commonMain/kotlin/org/hildan/chrome/devtools/domains/dom/DOMAttributes.kt b/src/commonMain/kotlin/org/hildan/chrome/devtools/domains/dom/DOMAttributes.kt index 0bcf21d6..bfd91508 100644 --- a/src/commonMain/kotlin/org/hildan/chrome/devtools/domains/dom/DOMAttributes.kt +++ b/src/commonMain/kotlin/org/hildan/chrome/devtools/domains/dom/DOMAttributes.kt @@ -262,7 +262,7 @@ class DOMAttributes(attributesMap: Map): Map by val width: Int? by intAttribute() } -private fun String.toCharset(): Charset = Charset.forName(this) +private fun String.toCharset(): Charset = Charsets.forName(this) private fun attribute(name: String? = null) = attribute(name) { it }