packages feed

css-text 0.1.0.1 → 0.1.1

raw patch · 2 files changed

+10/−9 lines, 2 filesdep +attoparsecdep −attoparsec-textdep ~HUnitdep ~hspecdep ~textPVP ok

version bump matches the API change (PVP)

Dependencies added: attoparsec

Dependencies removed: attoparsec-text

Dependency ranges changed: HUnit, hspec, text

API changes (from Hackage documentation)

Files

Text/CSS/Parse.hs view
@@ -13,7 +13,8 @@ import Prelude hiding (takeWhile) import Data.Attoparsec.Text import Data.Text (Text, strip)-import Control.Applicative ((<|>))+import Control.Applicative ((<|>), many)+import Data.Char (isSpace)  parseAttrs :: Text -> Either String [(Text, Text)] parseAttrs = parseOnly attrsParser@@ -29,7 +30,7 @@  skipWS :: Parser () skipWS = (string "/*" >> endComment >> skipWS)-     <|> (space >> skipSpace >> skipWS)+     <|> (skip isSpace >> skipWhile isSpace >> skipWS)      <|> return ()   where     endComment = do
css-text.cabal view
@@ -1,5 +1,5 @@ name:            css-text-version:         0.1.0.1+version:         0.1.1 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -14,8 +14,8 @@  library     build-depends:   base                      >= 4        && < 5-                   , text                      >= 0.11     && < 0.12-                   , attoparsec-text           >= 0.8.5.1  && < 0.9+                   , text                      >= 0.11+                   , attoparsec                >= 0.10     exposed-modules: Text.CSS.Parse                      Text.CSS.Render     ghc-options:     -Wall@@ -24,10 +24,10 @@     type: exitcode-stdio-1.0     main-is: runtests.hs     build-depends:   base                      >= 4        && < 5-                   , text                      >= 0.11     && < 0.12-                   , attoparsec-text           >= 0.8.5.1  && < 0.9-                   , HUnit                     >= 1.2      && < 1.3-                   , hspec                     >= 0.6.1    && < 0.7+                   , text                      >= 0.11+                   , attoparsec                >= 0.10+                   , HUnit                     >= 1.2+                   , hspec                     >= 0.6.1                    , QuickCheck  source-repository head