From d5e4c521d95dbb1228795f1accd13a68674505cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:01:44 +0000 Subject: [PATCH] Bump ktor from 2.3.12 to 3.0.0 Bumps `ktor` from 2.3.12 to 3.0.0. Updates `io.ktor:ktor-client-cio` from 2.3.12 to 3.0.0 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/commits) Updates `io.ktor:ktor-client-core` from 2.3.12 to 3.0.0 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/commits) Updates `io.ktor:ktor-client-content-negotiation` from 2.3.12 to 3.0.0 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/commits) Updates `io.ktor:ktor-serialization-kotlinx-json` from 2.3.12 to 3.0.0 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/commits) --- updated-dependencies: - dependency-name: io.ktor:ktor-client-cio dependency-type: direct:production update-type: version-update:semver-major - dependency-name: io.ktor:ktor-client-core dependency-type: direct:production update-type: version-update:semver-major - dependency-name: io.ktor:ktor-client-content-negotiation dependency-type: direct:production update-type: version-update:semver-major - dependency-name: io.ktor:ktor-serialization-kotlinx-json dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 2 +- .../org/hildan/chrome/devtools/domains/dom/DOMAttributes.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }