Drop older network support
This commit is contained in:
parent
113ebdd321
commit
5ae1267578
@ -9,14 +9,10 @@ description: run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to
|
|||||||
|
|
||||||
category: Web
|
category: Web
|
||||||
stability: Stable
|
stability: Stable
|
||||||
cabal-version: >= 1.8
|
cabal-version: >= 1.8
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
homepage: http://github.com/yesodweb/haskell-xss-sanitize
|
homepage: http://github.com/yesodweb/haskell-xss-sanitize
|
||||||
extra-source-files: README.md
|
extra-source-files: README.md ChangeLog.md
|
||||||
|
|
||||||
flag network-uri
|
|
||||||
description: Get Network.URI from the network-uri package
|
|
||||||
default: True
|
|
||||||
|
|
||||||
library
|
library
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
@ -26,15 +22,10 @@ library
|
|||||||
, css-text >= 0.1.1 && < 0.2
|
, css-text >= 0.1.1 && < 0.2
|
||||||
, text >= 0.11 && < 2
|
, text >= 0.11 && < 2
|
||||||
, attoparsec >= 0.10.0.3 && < 1
|
, attoparsec >= 0.10.0.3 && < 1
|
||||||
|
, network-uri >= 2.6
|
||||||
if flag(network-uri)
|
|
||||||
build-depends: network-uri >= 2.6
|
|
||||||
else
|
|
||||||
build-depends: network < 2.6
|
|
||||||
|
|
||||||
exposed-modules: Text.HTML.SanitizeXSS
|
exposed-modules: Text.HTML.SanitizeXSS
|
||||||
other-modules: Text.HTML.SanitizeXSS.Css
|
other-modules: Text.HTML.SanitizeXSS.Css
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -51,13 +42,9 @@ test-suite test
|
|||||||
, attoparsec >= 0.10.0.3 && < 1
|
, attoparsec >= 0.10.0.3 && < 1
|
||||||
, hspec >= 1.3
|
, hspec >= 1.3
|
||||||
, HUnit >= 1.2
|
, HUnit >= 1.2
|
||||||
|
, network-uri >= 2.6
|
||||||
if flag(network-uri)
|
|
||||||
build-depends: network-uri >= 2.6
|
|
||||||
else
|
|
||||||
build-depends: network < 2.6
|
|
||||||
|
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: http://github.com/yesodweb/haskell-xss-sanitize.git
|
location: https://github.com/yesodweb/haskell-xss-sanitize.git
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user