From 7893659533de35bada5da354fec60652025956a8 Mon Sep 17 00:00:00 2001 From: akhesacaro Date: Thu, 18 Nov 2021 14:22:43 +0100 Subject: [PATCH] being more lax! --- servant-auth/servant-auth-client/servant-auth-client.cabal | 4 ++-- servant-auth/servant-auth-server/servant-auth-server.cabal | 4 ++-- servant-auth/servant-auth/servant-auth.cabal | 5 +++-- servant-docs/servant-docs.cabal | 2 +- servant-server/servant-server.cabal | 2 +- servant-swagger/servant-swagger.cabal | 4 ++-- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/servant-auth/servant-auth-client/servant-auth-client.cabal b/servant-auth/servant-auth-client/servant-auth-client.cabal index 0a3b7f1d1..7b8279b1f 100644 --- a/servant-auth/servant-auth-client/servant-auth-client.cabal +++ b/servant-auth/servant-auth-client/servant-auth-client.cabal @@ -64,7 +64,7 @@ test-suite spec build-depends: hspec >= 2.5.5 && < 2.9 , QuickCheck >= 2.11.3 && < 2.15 - , aeson >= 2.0.1.0 && < 3 + , aeson >= 1.3.1.1 && < 3 , bytestring >= 0.10.6.0 && < 0.11 , http-client >= 0.5.13.1 && < 0.8 , http-types >= 0.12.2 && < 0.13 @@ -74,7 +74,7 @@ test-suite spec , transformers >= 0.4.2.0 && < 0.6 , wai >= 3.2.1.2 && < 3.3 , warp >= 3.2.25 && < 3.4 - , jose >= 0.9 && < 0.10 + , jose >= 0.7.0.0 && < 0.10 other-modules: Servant.Auth.ClientSpec default-language: Haskell2010 diff --git a/servant-auth/servant-auth-server/servant-auth-server.cabal b/servant-auth/servant-auth-server/servant-auth-server.cabal index fe1ecce54..b300b2acc 100644 --- a/servant-auth/servant-auth-server/servant-auth-server.cabal +++ b/servant-auth/servant-auth-server/servant-auth-server.cabal @@ -32,7 +32,7 @@ library ghc-options: -Wall build-depends: base >= 4.10 && < 4.16 - , aeson >= 2.0.1.0 && < 3 + , aeson >= 1.0.0.1 && < 3 , base64-bytestring >= 1.0.0.1 && < 2 , blaze-builder >= 0.4.1.0 && < 0.5 , bytestring >= 0.10.6.0 && < 0.11 @@ -41,7 +41,7 @@ library , data-default-class >= 0.1.2.0 && < 0.2 , entropy >= 0.4.1.3 && < 0.5 , http-types >= 0.12.2 && < 0.13 - , jose >= 0.9 && < 0.10 + , jose >= 0.7.0.0 && < 0.10 , lens >= 4.16.1 && < 5.1 , memory >= 0.14.16 && < 0.17 , monad-time >= 0.3.1.0 && < 0.4 diff --git a/servant-auth/servant-auth/servant-auth.cabal b/servant-auth/servant-auth/servant-auth.cabal index 49a4605e2..36528d3e2 100644 --- a/servant-auth/servant-auth/servant-auth.cabal +++ b/servant-auth/servant-auth/servant-auth.cabal @@ -35,11 +35,12 @@ library build-depends: base >= 4.10 && < 4.16 , containers >= 0.6 && < 0.7 - , aeson >= 2.0.1.0 && < 3 - , jose >= 0.9 && < 0.10 + , aeson >= 1.3.1.1 && < 3 + , jose >= 0.7.0.0 && < 0.10 , lens >= 4.16.1 && < 5.1 , servant >= 0.15 && < 0.19 , text >= 1.2.3.0 && < 1.3 + , unordered-containers >= 0.2.9.0 && < 0.3 exposed-modules: Servant.Auth Servant.Auth.JWT diff --git a/servant-docs/servant-docs.cabal b/servant-docs/servant-docs.cabal index bf0dc7d80..857e87a9f 100644 --- a/servant-docs/servant-docs.cabal +++ b/servant-docs/servant-docs.cabal @@ -52,7 +52,7 @@ library -- Other dependencies: Lower bound around what is in the latest Stackage LTS. -- Here can be exceptions if we really need features from the newer versions. build-depends: - aeson >= 2.0.1.0 && < 3 + aeson >= 1.4.1.0 && < 3 , aeson-pretty >= 0.8.5 && < 0.9 , base-compat >= 0.10.5 && < 0.12 , case-insensitive >= 1.2.0.11 && < 1.3 diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index dfd0f6dd5..60f12e911 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -157,7 +157,7 @@ test-suite spec -- Additional dependencies build-depends: - aeson >= 2.0.1.0 && < 3 + aeson >= 1.4.1.0 && < 3 , directory >= 1.3.0.0 && < 1.4 , hspec >= 2.6.0 && < 2.9 , hspec-wai >= 0.10.1 && < 0.12 diff --git a/servant-swagger/servant-swagger.cabal b/servant-swagger/servant-swagger.cabal index 8960a86d8..f4595e10a 100644 --- a/servant-swagger/servant-swagger.cabal +++ b/servant-swagger/servant-swagger.cabal @@ -68,7 +68,7 @@ library Servant.Swagger.Internal.TypeLevel.Every Servant.Swagger.Internal.TypeLevel.TMap hs-source-dirs: src - build-depends: aeson >=2.0.1.0 && <3 + build-depends: aeson >=1.4.2.0 && <3 , aeson-pretty >=0.8.7 && <0.9 , base >=4.9.1.0 && <5 , base-compat >=0.10.5 && <0.12 @@ -108,7 +108,7 @@ test-suite spec build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8 build-depends: base , base-compat - , aeson >=2.0.1.0 && <3 + , aeson >=1.4.2.0 && <3 , hspec >=2.6.0 && <2.8 , QuickCheck , lens