hpack-ify

This commit is contained in:
Michael Snoyman 2018-06-28 12:36:06 +03:00
parent 5ae1267578
commit e1581e4006
No known key found for this signature in database
GPG Key ID: A048E8C057E86876
3 changed files with 43 additions and 50 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ dist
.cabal-sandbox/ .cabal-sandbox/
cabal.sandbox.config cabal.sandbox.config
.stack-work/ .stack-work/
xss-sanitize.cabal

42
package.yaml Normal file
View File

@ -0,0 +1,42 @@
name: xss-sanitize
version: 0.3.5.7
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
author: Greg Weber <greg@gregweber.info>
maintainer: Michael Snoyman <michael@snoyman.com>
license: BSD2
github: yesodweb/haskell-xss-sanitize
stability: Stable
extra-source-files:
- README.md
- ChangeLog.md
dependencies:
- base ==4.*
- containers
- tagsoup >=0.12.2 && <1
- utf8-string >=0.3 && <1.1
- css-text >=0.1.1 && <0.2
- text >=0.11 && <2
- attoparsec >=0.10.0.3 && <1
- network-uri >=2.6
library:
source-dirs: src
exposed-modules:
- Text.HTML.SanitizeXSS
tests:
test:
main: main.hs
source-dirs:
- test
- src
cpp-options: -DTEST
dependencies:
- hspec >=1.3
- HUnit >=1.2

View File

@ -1,50 +0,0 @@
name: xss-sanitize
version: 0.3.5.7
license: BSD2
license-file: LICENSE
author: Greg Weber <greg@gregweber.info>
maintainer: Greg Weber <greg@gregweber.info>
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
cabal-version: >= 1.8
build-type: Simple
homepage: http://github.com/yesodweb/haskell-xss-sanitize
extra-source-files: README.md ChangeLog.md
library
hs-source-dirs: src
build-depends: base == 4.*, containers
, tagsoup >= 0.12.2 && < 1
, utf8-string >= 0.3 && < 1.1
, css-text >= 0.1.1 && < 0.2
, text >= 0.11 && < 2
, attoparsec >= 0.10.0.3 && < 1
, network-uri >= 2.6
exposed-modules: Text.HTML.SanitizeXSS
other-modules: Text.HTML.SanitizeXSS.Css
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test, src
main-is: main.hs
other-modules: Text.HTML.SanitizeXSS
Text.HTML.SanitizeXSS.Css
cpp-options: -DTEST
build-depends: base == 4.* , containers
, tagsoup >= 0.12.2 && < 1
, utf8-string >= 0.3 && < 1.1
, css-text >= 0.1.1 && < 0.2
, text >= 0.11 && < 2
, attoparsec >= 0.10.0.3 && < 1
, hspec >= 1.3
, HUnit >= 1.2
, network-uri >= 2.6
source-repository head
type: git
location: https://github.com/yesodweb/haskell-xss-sanitize.git