cabal-version: >=1.10 name: yesod-middleware-csp version: 1.2.0 author: Jezen Thomas maintainer: Jezen Thomas license: MIT license-file: LICENSE build-type: Simple description: Deals with CSP without disabling it. This is done by overriding the default yesod provided addScript functionalities and adding a nonce to the tag, and the right headers to the request. extra-source-files: changelog.md README.md test/static/js/*.js category: Web, Yesod synopsis: A middleware for building CSP headers on the fly library default-language: Haskell2010 hs-source-dirs: src ghc-options: -Wall default-extensions: NoImplicitPrelude exposed-modules: Yesod.Middleware.CSP build-depends: base >=4 && <5 , base64-bytestring >=1.0.0 && <1.3 , bytestring >=0.9 && <0.12 , classy-prelude >=1.5.0 && <1.6 , conduit >=1.3.1 && <1.4 , containers >=0.6.0 && <0.7 , directory >=1.3.3 && <1.4 , filepath >=1.4.2 && <1.5 , http-client >=0.6.4 && <0.8 , network-uri >=2.6.1 && <2.7 , template-haskell >=2.14.0 && <3.0 , text >=1.2.3 && <3.0 , time >=1.8.0 && <2.0 , uuid >=1.3.13 && <1.4 , yesod >=1.6.0 && <1.7 , yesod-core >=1.6.16 && <1.7 , yesod-static >=1.6 && <1.7 test-suite spec type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: src test ghc-options: -Wall default-extensions: NoImplicitPrelude main-is: Spec.hs build-depends: base , base64-bytestring , bytestring >=0.9 , case-insensitive , classy-prelude >=0.10.2 , classy-prelude-yesod >=1.1 , conduit , containers , directory , fast-logger , filepath , hspec , http-types , monad-logger , network-uri , template-haskell , text , uuid , wai-extra >=3.0 , yesod , yesod-core >=1.6.15 , yesod-static >=1.6 , yesod-test other-modules: ExampleApp TestImport Yesod.Middleware.CSP Yesod.Middleware.CSPSpec