packages feed

hsec-core 0.3.0.0 → 0.3.0.1

raw patch · 4 files changed

+8/−4 lines, 4 filesdep ~cvssPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

Dependency ranges changed: cvss

API changes (from Hackage documentation)

+ Security.Advisories.Core.Advisory: instance GHC.Classes.Ord Security.Advisories.Core.Advisory.GHCComponent

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## 0.3.0.2++* Update `cvss` dependency bounds+ ## 0.3.0.0  * Add `Repository` and `ComponentIdentifier` in `Security.Advisories.Core.Advisory`
README.md view
@@ -11,5 +11,5 @@ Run (and auto update) the golden test:  ```ShellSession-cabal test -O0 --test-show-details=direct --test-option=--accept+cabal test -O0 --test-show-details=direct ```
hsec-core.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hsec-core-version:            0.3.0.0+version:            0.3.0.1  -- A short (one-line) description of the package. synopsis:           Core package representing Haskell advisories@@ -32,7 +32,7 @@   build-depends:     , base          >=4.14    && <5     , Cabal-syntax  >=3.8.1.0 && <3.15-    , cvss          >=0.2     && <0.3+    , cvss          >=0.2     && <0.4     , network-uri   >=2.6.3.0 && <2.8     , osv           >=0.1     && <0.3     , pandoc-types  >=1.22    && <2
src/Security/Advisories/Core/Advisory.hs view
@@ -82,7 +82,7 @@  -- Keep this list in sync with the 'ghcComponentFromText' below data GHCComponent = GHCCompiler | GHCi | GHCRTS | GHCPkg | RunGHC | IServ | HP2PS | HPC | HSC2HS | Haddock-  deriving stock (Show, Eq, Enum, Bounded)+  deriving stock (Show, Eq, Ord, Enum, Bounded)  ghcComponentToText :: GHCComponent -> Text ghcComponentToText c = case c of