~alcinnz/haskell-stylist

d2460bd36483695b854e9011ada64d3480168f78 — Adrian Cochrane 1 year, 8 months ago 4308cee
Fixes for broader dependency bounds.
2 files changed, 2 insertions(+), 2 deletions(-)

M src/Data/CSS/Preprocessor/PsuedoClasses.hs
M stylist-traits/stylist-traits.cabal
M src/Data/CSS/Preprocessor/PsuedoClasses.hs => src/Data/CSS/Preprocessor/PsuedoClasses.hs +1 -1
@@ 49,7 49,7 @@ extractPseudoEl ps (Descendant _ sel) = extractPseudoEl' ps sel
extractPseudoEl ps (Adjacent _ sel) = extractPseudoEl' ps sel
extractPseudoEl ps (Sibling _ sel) = extractPseudoEl' ps sel
extractPseudoEl' :: [Text] -> [SimpleSelector] -> Maybe Text
extractPseudoEl' ps sel = listToMaybe [p | Psuedoclass p [] <- sel, p `elem` ps]
extractPseudoEl' ps sel = listToMaybe [p | Psuedoclass p [] <- sel, p `Prelude.elem` ps]

lowerSelector :: HashMap Text Text -> RewriteMap -> Selector -> Selector
lowerSelector ns rewrites (Element sel') = Element $ lowerSelector' ns rewrites sel'

M stylist-traits/stylist-traits.cabal => stylist-traits/stylist-traits.cabal +1 -1
@@ 60,7 60,7 @@ library
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.12 && <4.13, css-syntax >=0.1 && <0.2, text, network-uri >= 2.6 && <2.7
  build-depends:       base >=4.12 && <4.16, css-syntax >=0.1 && <0.2, text, network-uri >= 2.6 && <2.7

  -- Directories containing source files.
  hs-source-dirs:      src