packages feed

hls-graph 2.0.0.1 → 2.1.0.0

raw patch · 2 files changed

+4/−6 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hls-graph.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name:          hls-graph-version:       2.0.0.1+version:       2.1.0.0 synopsis:      Haskell Language Server internal graph API description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server/tree/master/hls-graph#readme>
src/Development/IDE/Graph/Internal/Profile.hs view
@@ -19,10 +19,8 @@                                                           sortBy) import           Data.List.Extra                         (nubOrd) import           Data.Maybe-import           Data.Time                               (defaultTimeLocale,-                                                          formatTime,-                                                          getCurrentTime,-                                                          iso8601DateFormat)+import           Data.Time                               (getCurrentTime)+import           Data.Time.Format.ISO8601                (iso8601Show) import           Development.IDE.Graph.Classes import           Development.IDE.Graph.Internal.Database (getDirtySet) import           Development.IDE.Graph.Internal.Paths@@ -207,7 +205,7 @@             time <- getCurrentTime             pure $ LBS.pack $                 "var version = \"0\"" ++-                "\nvar generated = " ++ show (formatTime defaultTimeLocale (iso8601DateFormat (Just "%H:%M:%S")) time)+                "\nvar generated = " ++ iso8601Show time         asker x = ask x  -- Perform a mapM on each line and put the result back together again