From 189353c4c223a7f73bea6148e69164816f919f3e Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 31 Aug 2023 14:06:50 +0000 Subject: [PATCH 1/2] Update fs2-core to 3.9.1 --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ee166d0..e5eb7fe 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.1" val http4s = "1.0.0-M21" val newtype = "0.4.4" val refined = "0.9.24" From 356de5caf9f2e22e138f754602748859b18c726a Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 31 Aug 2023 14:13:23 +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) }