-
Notifications
You must be signed in to change notification settings - Fork 0
/
yesod-middleware-csp.cabal
84 lines (79 loc) · 2.35 KB
/
yesod-middleware-csp.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
cabal-version: >=1.10
name: yesod-middleware-csp
version: 1.2.0
author: Jezen Thomas <[email protected]>
maintainer: Jezen Thomas <[email protected]>
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