yesod-middleware-csp 1.1.0 → 1.2.0
raw patch · 3 files changed
+65/−57 lines, 3 filesdep ~base64-bytestringdep ~bytestringdep ~classy-preludePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base64-bytestring, bytestring, classy-prelude, conduit, containers, directory, filepath, http-client, network-uri, template-haskell, text, time, uuid, yesod, yesod-core, yesod-static
API changes (from Hackage documentation)
Files
- changelog.md +6/−0
- test/TestImport.hs +0/−1
- yesod-middleware-csp.cabal +59/−56
changelog.md view
@@ -2,6 +2,12 @@ This format is based on [Keep A Changelog](https://keepachangelog.com/en/1.0.0). +## 1.2.0 - 2023-06-14+++ bump bounds++ add upperboudns from cabal-gen-bounds++ add stackage ci+ ## 1.1.0 - 2022-07-15 + Add new directive ManifestSrc
test/TestImport.hs view
@@ -12,7 +12,6 @@ import qualified Yesod.Default.Config2 as C import ClassyPrelude as X hiding (Handler, delete, deleteBy)-import Control.Monad (when) import Data.CaseInsensitive (CI) import ExampleApp as X import Network.Wai.Test (SResponse(..))
yesod-middleware-csp.cabal view
@@ -1,62 +1,64 @@-Cabal-Version: >= 1.10-Name: yesod-middleware-csp-Version: 1.1.0-Author: Jezen Thomas <jezen@supercede.com>-Maintainer: Jezen Thomas <jezen@supercede.com>-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:- README.md- , test/static/js/*.js- , changelog.md-Category: Web, Yesod-Synopsis: A middleware for building CSP headers on the fly+cabal-version: >=1.10+name: yesod-middleware-csp+version: 1.2.0+author: Jezen Thomas <jezen@supercede.com>+maintainer: Jezen Thomas <jezen@supercede.com>+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. -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- , bytestring >=0.9 && <0.11- , classy-prelude >=0.10.2- , conduit- , containers- , directory- , filepath- , http-client- , network-uri- , template-haskell- , text- , time- , uuid- , yesod >= 1.6.0- , yesod-core >= 1.6.15- , yesod-static >= 1.6 && <1.7+extra-source-files:+ changelog.md+ README.md+ test/static/js/*.js -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:+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 && <0.11+ , bytestring >=0.9 , case-insensitive , classy-prelude >=0.10.2- , classy-prelude-yesod >= 1.1+ , classy-prelude-yesod >=1.1 , conduit , containers , directory@@ -71,10 +73,11 @@ , uuid , wai-extra >=3.0 , yesod- , yesod-core >= 1.6.15 && < 1.7- , yesod-static >=1.6 && <1.7+ , yesod-core >=1.6.15 + , yesod-static >=1.6 , yesod-test- Other-Modules:++ other-modules: ExampleApp TestImport Yesod.Middleware.CSP