packages feed

zxcvbn-hs 0.3.1 → 0.3.2

raw patch · 4 files changed

+21/−10 lines, 4 filesdep ~aesondep ~criteriondep ~fglnew-uploader

Dependency ranges changed: aeson, criterion, fgl, hedgehog, mtl, optparse-applicative, vector

Files

CHANGELOG.md view
@@ -1,5 +1,15 @@ # Revision History +## 0.3.2 (June 22, 2023)+++ Bump version numbers [#14](https://github.com/sthenauth/zxcvbn-hs/pull/14)++ Fix minor hlint error++ Add ghc 9.6 support++## 0.3.1 (May 26, 2022)+++ Bump version numbers+ ## 0.3.0.0 (October 29, 2020)    * Added a `ToJSON` instance to the `Score` type.
src/Text/Password/Strength/Internal/Search.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TupleSections #-}  {-| @@ -120,7 +121,7 @@     exit = Text.length password      nodes :: [Node]-    nodes = zip [0..exit] (repeat ())+    nodes = map (,()) [0..exit]      edges' :: Map (Int, Int) Integer     edges' =
tools/Zxcvbn/Adjacency.hs view
@@ -27,7 +27,7 @@ -- Library Imports: import Control.Lens import Control.Lens.TH (makePrisms)-import Control.Monad (forM_)+import Control.Monad (forM_, join, when) import Control.Monad.State.Strict import Data.Char (isSpace) import Data.Map (Map)
zxcvbn-hs.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.2 name:               zxcvbn-hs-version:            0.3.1+version:            0.3.2 synopsis:           Password strength estimation based on zxcvbn. license:            MIT license-file:       LICENSE@@ -44,28 +44,28 @@ -------------------------------------------------------------------------------- common dependencies   build-depends:-    , aeson                 >=1.3  && <2.1+    , aeson                 >=1.3  && <2.2     , attoparsec            >=0.13 && <0.15     , base                  >=4.9  && <5.0     , base64-bytestring     >=1.0  && <1.3     , binary                >=0.8  && <0.11     , binary-instances      >=1    && <2.0     , containers            ^>=0.6-    , fgl                   ^>=5.7+    , fgl                   >=5.7  && <5.9     , lens                  >=4.17 && <6     , math-functions        ^>=0.3     , text                  >=1.2  && <2.1     , time                  >=1.8  && <2.0     , unordered-containers  ^>=0.2-    , vector                ^>=0.12+    , vector                >=0.12 && <0.14     , zlib                  ^>=0.6  -------------------------------------------------------------------------------- common tool-dependencies   build-depends:     , filepath              ^>=1.4-    , mtl                   ^>=2.2-    , optparse-applicative  >=0.14 && <0.16+    , mtl                   >=2.2 && <2.4.0+    , optparse-applicative  >=0.14 && <0.18     , pipes                 ^>=4.3     , pipes-safe            ^>=2.3     , pipes-text            >=0.0  && <1.1@@ -130,7 +130,7 @@   hs-source-dirs: test   main-is:        Main.hs   build-depends:-    , hedgehog        >=0.6  && <1.2+    , hedgehog        >=0.6  && <1.3     , tasty           >=1.1  && <1.5     , tasty-hedgehog  >=0.2  && <2     , tasty-hunit     ^>=0.10@@ -153,5 +153,5 @@   main-is:          Main.hs   ghc-prof-options: -rtsopts   build-depends:-    , criterion  ^>=1.5+    , criterion  >=1.5 && <1.7     , zxcvbn-hs