yesod-static 1.5.3 → 1.5.3.1
raw patch · 3 files changed
+14/−8 lines, 3 filesdep +cryptonitedep +cryptonite-conduitdep +memorydep −cryptohashdep −cryptohash-conduit
Dependencies added: cryptonite, cryptonite-conduit, memory
Dependencies removed: cryptohash, cryptohash-conduit
Files
- ChangeLog.md +4/−0
- Yesod/Static.hs +3/−3
- yesod-static.cabal +7/−5
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.5.3.1++* Switch to cryptonite+ ## 1.5.3 * Add `staticFilesMap` function
Yesod/Static.hs view
@@ -81,7 +81,7 @@ import Control.Monad.Catch (MonadThrow) import Control.Monad.Trans.State -import qualified Data.Byteable as Byteable+import qualified Data.ByteArray as ByteArray import qualified Data.ByteString.Base64 import qualified Data.ByteString.Char8 as S8 import qualified Data.ByteString.Lazy as L@@ -420,7 +420,7 @@ base64md5File :: FilePath -> IO String base64md5File = fmap (base64 . encode) . hashFile- where encode d = Byteable.toBytes (d :: Digest MD5)+ where encode d = ByteArray.convert (d :: Digest MD5) base64md5 :: L.ByteString -> String base64md5 lbs =@@ -428,7 +428,7 @@ $ runIdentity $ sourceList (L.toChunks lbs) $$ sinkHash where- encode d = Byteable.toBytes (d :: Digest MD5)+ encode d = ByteArray.convert (d :: Digest MD5) base64 :: S.ByteString -> String base64 = map tr
yesod-static.cabal view
@@ -1,5 +1,5 @@ name: yesod-static-version: 1.5.3+version: 1.5.3.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -44,8 +44,9 @@ , unix-compat >= 0.2 , conduit >= 0.5 , conduit-extra- , cryptohash-conduit >= 0.1- , cryptohash >= 0.11+ , cryptonite-conduit >= 0.1+ , cryptonite >= 0.11+ , memory , data-default , mime-types >= 0.1 , hjsmin@@ -112,8 +113,9 @@ , http-types , unix-compat , conduit- , cryptohash-conduit- , cryptohash+ , cryptonite-conduit+ , cryptonite+ , memory , data-default , mime-types , hjsmin