mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-04 12:30:12 +00:00 
			
		
		
		
	Merge pull request #805 from scala-steward/update/cats-parse-0.3.4
Update cats-parse to 0.3.4
This commit is contained in:
		@@ -10,6 +10,7 @@ import cats.parse.Parser.Expectation.InRange
 | 
			
		||||
import cats.parse.Parser.Expectation.Length
 | 
			
		||||
import cats.parse.Parser.Expectation.OneOfStr
 | 
			
		||||
import cats.parse.Parser.Expectation.StartOfString
 | 
			
		||||
import cats.parse.Parser.Expectation.WithContext
 | 
			
		||||
 | 
			
		||||
final case class ParseFailure(
 | 
			
		||||
    input: String,
 | 
			
		||||
@@ -101,5 +102,8 @@ object ParseFailure {
 | 
			
		||||
      case OneOfStr(offset, strs) =>
 | 
			
		||||
        val options = strs.take(8)
 | 
			
		||||
        ExpectMessage(offset, options.take(7), options.size < 8)
 | 
			
		||||
 | 
			
		||||
      case WithContext(ctx, expect) =>
 | 
			
		||||
        ExpectMessage(expect.offset, s"Failed to parse near: $ctx" :: Nil, true)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ object Dependencies {
 | 
			
		||||
  val BetterMonadicForVersion = "0.3.1"
 | 
			
		||||
  val BitpeaceVersion         = "0.8.0"
 | 
			
		||||
  val CalevVersion            = "0.4.3"
 | 
			
		||||
  val CatsParseVersion        = "0.3.2"
 | 
			
		||||
  val CatsParseVersion        = "0.3.4"
 | 
			
		||||
  val CirceVersion            = "0.13.0"
 | 
			
		||||
  val ClipboardJsVersion      = "2.0.6"
 | 
			
		||||
  val DoobieVersion           = "0.13.2"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user