From 8e22d036e9a29f3c9f6c5d039b90a7e8396e0570 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 22 Jan 2024 14:43:07 +0000 Subject: [PATCH 1/2] Update fs2-core to 3.9.4 --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ee166d0..6b481b3 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -8,7 +8,7 @@ object Dependencies { val circe = "0.13.0" val ciris = "2.0.0-RC2" val enumeratum = "1.6.1" - val fs2 = "3.0.1" + val fs2 = "3.9.4" val http4s = "1.0.0-M21" val newtype = "0.4.4" val refined = "0.9.24" From b9f6e6f8a270725fdb901070441fbb16e585477f Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 22 Jan 2024 14:50:22 +0000 Subject: [PATCH 2/2] Applied Scalafix rule(s) replace:fs2.text.utf8Decode/fs2.text.utf8.decode, replace:fs2.text.utf8DecodeC/fs2.text.utf8.decodeC, replace:fs2.text.utf8Encode/fs2.text.utf8.encode, replace:fs2.text.utf8EncodeC/fs2.text.utf8.encodeC --- core/src/test/scala/dissonance/TestUtils.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/test/scala/dissonance/TestUtils.scala b/core/src/test/scala/dissonance/TestUtils.scala index a86fe37..386b777 100644 --- a/core/src/test/scala/dissonance/TestUtils.scala +++ b/core/src/test/scala/dissonance/TestUtils.scala @@ -4,12 +4,13 @@ import java.nio.file.Path import cats.effect.IO import fs2.io.file.Files +import fs2.text object TestUtils { def readFileFromResource(path: String): fs2.Stream[IO, String] = { Files[IO] .readAll(Path.of(getClass.getResource(path).toURI), 4096) - .through(fs2.text.utf8Decode) + .through(text.utf8.decode) .through(fs2.text.lines) .dropLastIf(_.isEmpty) }