From fe2afcd43025bc2ce48177277ca196c9481a3279 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 13 Sep 2023 14:11:13 +0000 Subject: [PATCH 1/2] Update fs2-core to 3.9.2 --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ee166d0..59cecb8 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.2" val http4s = "1.0.0-M21" val newtype = "0.4.4" val refined = "0.9.24" From 213946c6d1d5f652c6af4391c0aadb449fd8230e Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 13 Sep 2023 14:21:02 +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) }