Add cabal file
This commit is contained in:
parent
074ed7c881
commit
dc928c3a45
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,4 +4,4 @@ dist
|
|||||||
.cabal-sandbox/
|
.cabal-sandbox/
|
||||||
cabal.sandbox.config
|
cabal.sandbox.config
|
||||||
.stack-work/
|
.stack-work/
|
||||||
xss-sanitize.cabal
|
|
||||||
|
|||||||
71
xss-sanitize.cabal
Normal file
71
xss-sanitize.cabal
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
cabal-version: 1.12
|
||||||
|
|
||||||
|
-- This file has been generated from package.yaml by hpack version 0.33.0.
|
||||||
|
--
|
||||||
|
-- see: https://github.com/sol/hpack
|
||||||
|
--
|
||||||
|
-- hash: ede14cd4a2004a36fc4ccbcc4744dd07fa840331e09d4add9589665a71512bda
|
||||||
|
|
||||||
|
name: xss-sanitize
|
||||||
|
version: 0.3.6
|
||||||
|
synopsis: sanitize untrusted HTML to prevent XSS attacks
|
||||||
|
description: run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <http://github.com/yesodweb/haskell-xss-sanitize> for more details
|
||||||
|
category: Web
|
||||||
|
stability: Stable
|
||||||
|
homepage: https://github.com/yesodweb/haskell-xss-sanitize#readme
|
||||||
|
bug-reports: https://github.com/yesodweb/haskell-xss-sanitize/issues
|
||||||
|
author: Greg Weber <greg@gregweber.info>
|
||||||
|
maintainer: Michael Snoyman <michael@snoyman.com>
|
||||||
|
license: BSD2
|
||||||
|
license-file: LICENSE
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
README.md
|
||||||
|
ChangeLog.md
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/yesodweb/haskell-xss-sanitize
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
Text.HTML.SanitizeXSS
|
||||||
|
other-modules:
|
||||||
|
Text.HTML.SanitizeXSS.Css
|
||||||
|
Paths_xss_sanitize
|
||||||
|
hs-source-dirs:
|
||||||
|
src
|
||||||
|
build-depends:
|
||||||
|
attoparsec >=0.10.0.3 && <1
|
||||||
|
, base >=4.9.1 && <5
|
||||||
|
, containers
|
||||||
|
, css-text >=0.1.1 && <0.2
|
||||||
|
, network-uri >=2.6
|
||||||
|
, tagsoup >=0.12.2 && <1
|
||||||
|
, text >=0.11 && <2
|
||||||
|
, utf8-string >=0.3 && <1.1
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite test
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: main.hs
|
||||||
|
other-modules:
|
||||||
|
Text.HTML.SanitizeXSS
|
||||||
|
Text.HTML.SanitizeXSS.Css
|
||||||
|
Paths_xss_sanitize
|
||||||
|
hs-source-dirs:
|
||||||
|
test
|
||||||
|
src
|
||||||
|
cpp-options: -DTEST
|
||||||
|
build-depends:
|
||||||
|
HUnit >=1.2
|
||||||
|
, attoparsec >=0.10.0.3 && <1
|
||||||
|
, base >=4.9.1 && <5
|
||||||
|
, containers
|
||||||
|
, css-text >=0.1.1 && <0.2
|
||||||
|
, hspec >=1.3
|
||||||
|
, network-uri >=2.6
|
||||||
|
, tagsoup >=0.12.2 && <1
|
||||||
|
, text >=0.11 && <2
|
||||||
|
, utf8-string >=0.3 && <1.1
|
||||||
|
default-language: Haskell2010
|
||||||
Loading…
Reference in New Issue
Block a user