packages feed

zxcvbn-hs 0.3.0.0 → 0.3.1

raw patch · 5 files changed

+15/−13 lines, 5 filesdep ~aesondep ~attoparsecdep ~binary-instancessetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson, attoparsec, binary-instances, hedgehog, lens, tasty-hedgehog, text

API changes (from Hackage documentation)

- Text.Password.Strength.Config: class HasConfig c_apeL
+ Text.Password.Strength.Config: class HasConfig c_apLt
- Text.Password.Strength.Config: config :: HasConfig c_apeL => Lens' c_apeL Config
+ Text.Password.Strength.Config: config :: HasConfig c_apLt => Lens' c_apLt Config
- Text.Password.Strength.Config: customFrequencyLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Config: customFrequencyLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]
- Text.Password.Strength.Config: keyboardGraphs :: HasConfig c_apeL => Lens' c_apeL [AdjacencyTable]
+ Text.Password.Strength.Config: keyboardGraphs :: HasConfig c_apLt => Lens' c_apLt [AdjacencyTable]
- Text.Password.Strength.Config: obviousSequenceStart :: HasConfig c_apeL => Lens' c_apeL (Char -> Bool)
+ Text.Password.Strength.Config: obviousSequenceStart :: HasConfig c_apLt => Lens' c_apLt (Char -> Bool)
- Text.Password.Strength.Config: passwordLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Config: passwordLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]
- Text.Password.Strength.Config: wordFrequencyLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Config: wordFrequencyLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]
- Text.Password.Strength.Internal: class HasConfig c_apeL
+ Text.Password.Strength.Internal: class HasConfig c_apLt
- Text.Password.Strength.Internal: config :: HasConfig c_apeL => Lens' c_apeL Config
+ Text.Password.Strength.Internal: config :: HasConfig c_apLt => Lens' c_apLt Config
- Text.Password.Strength.Internal: customFrequencyLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Internal: customFrequencyLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]
- Text.Password.Strength.Internal: keyboardGraphs :: HasConfig c_apeL => Lens' c_apeL [AdjacencyTable]
+ Text.Password.Strength.Internal: keyboardGraphs :: HasConfig c_apLt => Lens' c_apLt [AdjacencyTable]
- Text.Password.Strength.Internal: obviousSequenceStart :: HasConfig c_apeL => Lens' c_apeL (Char -> Bool)
+ Text.Password.Strength.Internal: obviousSequenceStart :: HasConfig c_apLt => Lens' c_apLt (Char -> Bool)
- Text.Password.Strength.Internal: passwordLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Internal: passwordLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]
- Text.Password.Strength.Internal: wordFrequencyLists :: HasConfig c_apeL => Lens' c_apeL [Dictionary]
+ Text.Password.Strength.Internal: wordFrequencyLists :: HasConfig c_apLt => Lens' c_apLt [Dictionary]

Files

CHANGELOG.md view
@@ -4,6 +4,10 @@    * Added a `ToJSON` instance to the `Score` type. +  * Minor releases:++    - Version 0.3.1 (May 26, 2022): Update dependency bounds+ ## 0.2.1.0 (September 25, 2019)    * Export the entire `HasConfig` class so external code can use the
README.md view
@@ -1,7 +1,7 @@ # Password Strength Estimation  [![CI](https://github.com/sthenauth/zxcvbn-hs/workflows/CI/badge.svg)](https://github.com/sthenauth/zxcvbn-hs/actions)-[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/sthenauth/zxcvbn-hs?label=release)](https://github.com/pjones/nix-hs/releases)+[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/sthenauth/zxcvbn-hs?label=release)](https://github.com/pjones/zxcvbn-hs/releases) [![Hackage](https://img.shields.io/hackage/v/zxcvbn-hs)](https://hackage.haskell.org/package/zxcvbn-hs)  ## What?
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
src/Text/Password/Strength/Internal/Adjacency.hs view
@@ -165,7 +165,7 @@     -- both characters.     layers :: AdjacencyScore -> AdjacencyScore     layers = if (s ^. patternLength) == 0-               then layer (a ^. firstLayer) . (& layer (a ^. secondLayer))+               then layer (a ^. firstLayer) . layer (a ^. secondLayer)                else layer (a ^. secondLayer)      layer :: Layer -> AdjacencyScore -> AdjacencyScore
zxcvbn-hs.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.2 name:               zxcvbn-hs-version:            0.3.0.0+version:            0.3.1 synopsis:           Password strength estimation based on zxcvbn. license:            MIT license-file:       LICENSE@@ -10,7 +10,7 @@ homepage:           https://github.com/sthenauth/zxcvbn-hs bug-reports:        https://github.com/sthenauth/zxcvbn-hs/issues category:           System-tested-with:        GHC ==8.6.5 || ==8.8.4 || ==8.10.2+tested-with:        GHC ==8.10.7 || ==9.0.2 || ==9.2.2 description:   This is a native Haskell implementation of the zxcvbn password   strength estimation algorithm as it appears in the 2016 USENIX Security@@ -44,17 +44,17 @@ -------------------------------------------------------------------------------- common dependencies   build-depends:-    , aeson                 >=1.3  && <1.6-    , attoparsec            ^>=0.13+    , aeson                 >=1.3  && <2.1+    , attoparsec            >=0.13 && <0.15     , base                  >=4.9  && <5.0     , base64-bytestring     >=1.0  && <1.3     , binary                >=0.8  && <0.11-    , binary-instances      ^>=1+    , binary-instances      >=1    && <2.0     , containers            ^>=0.6     , fgl                   ^>=5.7-    , lens                  >=4.17 && <5+    , lens                  >=4.17 && <6     , math-functions        ^>=0.3-    , text                  ^>=1.2+    , text                  >=1.2  && <2.1     , time                  >=1.8  && <2.0     , unordered-containers  ^>=0.2     , vector                ^>=0.12@@ -130,9 +130,9 @@   hs-source-dirs: test   main-is:        Main.hs   build-depends:-    , hedgehog        >=0.6  && <1.1+    , hedgehog        >=0.6  && <1.2     , tasty           >=1.1  && <1.5-    , tasty-hedgehog  >=0.2  && <1.1+    , tasty-hedgehog  >=0.2  && <2     , tasty-hunit     ^>=0.10     , zxcvbn-hs