wai-app-static 1.3.1.3 → 1.3.1.4
raw patch · 3 files changed
+7/−5 lines, 3 filesdep +crypto-apidep +cryptohash-cryptoapidep −cryptohashdep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependencies added: crypto-api, cryptohash-cryptoapi
Dependencies removed: cryptohash
Dependency ranges changed: bytestring
API changes (from Hackage documentation)
Files
- WaiAppStatic/Storage/Embedded.hs +3/−2
- WaiAppStatic/Storage/Filesystem.hs +1/−1
- wai-app-static.cabal +3/−2
WaiAppStatic/Storage/Embedded.hs view
@@ -15,7 +15,8 @@ import qualified Data.Text as T import Data.Ord import qualified Data.ByteString as S-import qualified Crypto.Hash.MD5 as MD5+import qualified Crypto.Classes as CR+import Crypto.Hash.CryptoAPI (hash', MD5) import qualified Data.ByteString.Base64 as B64 import WaiAppStatic.Storage.Filesystem (defaultFileServerSettings) @@ -89,4 +90,4 @@ } runHash :: ByteString -> ByteString-runHash = B64.encode . MD5.hash+runHash = B64.encode . CR.encode . (hash' :: S.ByteString -> MD5)
WaiAppStatic/Storage/Filesystem.hs view
@@ -27,7 +27,7 @@ import Data.Maybe (catMaybes) import qualified Crypto.Conduit import Data.Serialize (encode)-import Crypto.Hash.MD5 (MD5)+import Crypto.Hash.CryptoAPI (MD5) import qualified Data.ByteString.Base64 as B64 -- | Construct a new path from a root and some @Pieces@.
wai-app-static.cabal view
@@ -1,5 +1,5 @@ name: wai-app-static-version: 1.3.1.3+version: 1.3.1.4 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -37,7 +37,8 @@ , text >= 0.7 , blaze-builder >= 0.2.1.4 , base64-bytestring >= 0.1- , cryptohash >= 0.7+ , crypto-api >= 0.12.2+ , cryptohash-cryptoapi >= 0.1.0 , system-filepath >= 0.4 , system-fileio >= 0.3 , http-date