hw-json-simple-cursor 0.1.1.0 → 0.1.1.1
raw patch · 4 files changed
+19/−19 lines, 4 filesdep ~bytestringdep ~criteriondep ~doctestPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring, criterion, doctest, hedgehog, optparse-applicative, text, vector
API changes (from Hackage documentation)
Files
- app/App/Commands/CreateIndex.hs +2/−2
- hw-json-simple-cursor.cabal +12/−12
- src/HaskellWorks/Data/Json/Simple/Cursor/SemiIndex.hs +2/−2
- test/HaskellWorks/Data/Json/Simple/CursorSpec.hs +3/−3
app/App/Commands/CreateIndex.hs view
@@ -21,8 +21,8 @@ import qualified HaskellWorks.Data.Json.Simple.Cursor.SemiIndex as SISI import qualified System.IO.MMap as IO -{-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}-{-# ANN module ("HLint: ignore Redundant do" :: String) #-}+{- HLINT ignore "Redundant do" -}+{- HLINT ignore "Reduce duplication" -} runCreateIndex :: Z.CreateIndexOptions -> IO () runCreateIndex opts = do
hw-json-simple-cursor.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2 name: hw-json-simple-cursor-version: 0.1.1.0+version: 0.1.1.1 synopsis: Memory efficient JSON parser description: Memory efficient JSON parser. Please see README.md category: Data@@ -9,10 +9,10 @@ bug-reports: https://github.com/haskell-works/hw-json-simple-cursor/issues author: John Ky maintainer: newhoggy@gmail.com-copyright: 2016-2020 John Ky+copyright: 2016-2021 John Ky license: BSD-3-Clause license-file: LICENSE-tested-with: GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4+tested-with: GHC == 9.2.2, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5 build-type: Simple extra-source-files: README.md corpus/5000B.json@@ -39,15 +39,15 @@ common base { build-depends: base >= 4.11 && < 5 } -common bytestring { build-depends: bytestring >= 0.10.6 && < 0.11 }+common bytestring { build-depends: bytestring >= 0.10.6 && < 0.12 } common criterion { build-depends: criterion >= 1.4 && < 1.6 } common directory { build-depends: directory >= 1.3 && < 1.4 }-common doctest { build-depends: doctest >= 0.16.2 && < 0.17 }+common doctest { build-depends: doctest >= 0.16.2 && < 0.21 } common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }-common generic-lens { build-depends: generic-lens >= 1.1.0.0 && < 1.3 }-common hedgehog { build-depends: hedgehog >= 0.6 && < 1.1 }+common generic-lens { build-depends: generic-lens >= 2.2.0.0 && < 2.3 }+common hedgehog { build-depends: hedgehog >= 0.6 && < 1.2 } common hspec { build-depends: hspec >= 2.4 && < 3 }-common hw-balancedparens { build-depends: hw-balancedparens >= 0.3.0.0 && < 0.4 }+common hw-balancedparens { build-depends: hw-balancedparens >= 0.3.0.0 && < 0.5 } common hw-bits { build-depends: hw-bits >= 0.7.0.5 && < 0.8 } common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.4 && < 0.2 } common hw-json-simd { build-depends: hw-json-simd >= 0.1.0.2 && < 0.2 }@@ -56,10 +56,10 @@ common hw-rankselect { build-depends: hw-rankselect >= 0.13 && < 0.14 } common hw-rankselect-base { build-depends: hw-rankselect-base >= 0.3.2.1 && < 0.4 } common hw-simd { build-depends: hw-simd >= 0.1.1.2 && < 0.2 }-common lens { build-depends: lens >= 4 && < 5 }+common lens { build-depends: lens >= 4 && < 6 } common mmap { build-depends: mmap >= 0.5 && < 0.6 }-common optparse-applicative { build-depends: optparse-applicative >= 0.14 && < 0.16 }-common text { build-depends: text >= 1.2 && < 1.3 }+common optparse-applicative { build-depends: optparse-applicative >= 0.14 && < 0.18 }+common text { build-depends: text >= 1.2 && < 2.1 } common vector { build-depends: vector >= 0.12 && < 0.13 } common word8 { build-depends: word8 >= 0.1 && < 0.2 } @@ -156,7 +156,7 @@ , hw-json-simple-cursor default-language: Haskell2010 type: exitcode-stdio-1.0- ghc-options: -threaded+ ghc-options: -threaded -rtsopts -with-rtsopts=-N main-is: DoctestDriver.hs HS-Source-Dirs: doctest build-tool-depends: doctest-discover:doctest-discover
src/HaskellWorks/Data/Json/Simple/Cursor/SemiIndex.hs view
@@ -17,8 +17,8 @@ import qualified HaskellWorks.Data.Bits.Writer.Storable as W import qualified HaskellWorks.Data.Json.Simple.Cursor.Internal.Word8 as W8 -{-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}-{-# ANN module ("HLint: ignore Redundant do" :: String) #-}+{- HLINT ignore "Redundant do" -}+{- HLINT ignore "Reduce duplication" -} data Context = InJson | InString | InEscape deriving (Eq, Show)
test/HaskellWorks/Data/Json/Simple/CursorSpec.hs view
@@ -23,9 +23,9 @@ import qualified HaskellWorks.Data.Json.Simple.Cursor.Snippet as S import qualified HaskellWorks.Data.TreeCursor as TC -{-# ANN module ("HLint: ignore Redundant do" :: String) #-}-{-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}-{-# ANN module ("HLint: ignore Redundant bracket" :: String) #-}+{- HLINT ignore "Redundant do" -}+{- HLINT ignore "Redundant bracket" -}+{- HLINT ignore "Reduce duplication" -} fc = TC.firstChild ns = TC.nextSibling