packages feed

hackage-db 2.1.0 → 2.1.1

raw patch · 2 files changed

+6/−6 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hackage-db.cabal view
@@ -1,15 +1,15 @@ name:          hackage-db-version:       2.1.0+version:       2.1.1 synopsis:      Access cabal-install's Hackage database via Data.Map description:   This library provides convenient access to the local copy of the Hackage                database that \"cabal update\" creates. Check out-               https:\//github.com/peti/hackage-db/tree/master/example\/ for a collection+               <https://github.com/peti/hackage-db/tree/master/example/> for a collection                of simple example programs that demonstrate how to use this code. license:       BSD3 license-file:  LICENSE-author:        Peter Simons, Alexander Altman, Ben James+author:        Peter Simons, Alexander Altman, Ben James, Kevin Quick maintainer:    Peter Simons <simons@cryp.to>-tested-with:   GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.1+tested-with:   GHC == 8.8.4 || == 8.10.4 || == 9.0.1 category:      Distribution homepage:      https://github.com/peti/hackage-db#readme bug-reports:   https://github.com/peti/hackage-db/issues
src/Distribution/Hackage/DB/Parsed.hs view
@@ -54,8 +54,8 @@     Map.mapWithKey (parseVersionData pn) $       Map.filterWithKey (\v _ -> v `withinRange` vr) vs'   where-    Dependency _ vr _ | BSS.null pv = Dependency pn anyVersion mempty-                      | otherwise  = parseText "preferred version range" (toString pv)+    vr | BSS.null pv = anyVersion+       | otherwise = parseText "preferred version range" (toString pv)  parseVersionData :: PackageName -> Version -> U.VersionData -> VersionData parseVersionData pn v (U.VersionData cf m) =