From 0f36cb7d26cbc675fc262b1afd3b7995a71afdd1 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Tue, 1 Aug 2023 13:14:19 +0000 Subject: [PATCH 1/2] Update fs2-core to 3.8.0 --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ee166d0..f1b288c 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.8.0" val http4s = "1.0.0-M21" val newtype = "0.4.4" val refined = "0.9.24" From 05e6ef5bebd3e84864f43be08cbb65f33b0df5a3 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Tue, 1 Aug 2023 13:21:21 +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) }