From a1a707f1729faed35201a2eedac196fd5c6e39cc Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Mon, 7 Feb 2022 17:04:10 +0000 Subject: [PATCH] chore(aeson): Bump Aeson to at least 2.0. We do this in order to ameliorate the DoS issue in previous versions. --- primer-rel8/primer-rel8.cabal | 2 +- primer-service/primer-service.cabal | 4 ++-- primer/primer.cabal | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/primer-rel8/primer-rel8.cabal b/primer-rel8/primer-rel8.cabal index 1d99b9793..597cc3b79 100644 --- a/primer-rel8/primer-rel8.cabal +++ b/primer-rel8/primer-rel8.cabal @@ -38,7 +38,7 @@ library -Wcompat -Widentities -Wredundant-constraints -fhide-source-paths build-depends: - , aeson >=1.5.2.0 && <=2.1 + , aeson ^>=2.0 , base >=4.12 && <=4.17 , bytestring >=0.10.8.2 && <=0.12 , containers >=0.6.0.1 && <=0.7 diff --git a/primer-service/primer-service.cabal b/primer-service/primer-service.cabal index 4a9f6d519..de88164c8 100644 --- a/primer-service/primer-service.cabal +++ b/primer-service/primer-service.cabal @@ -40,12 +40,12 @@ library -Wcompat -Widentities -Wredundant-constraints -fhide-source-paths build-depends: - , aeson >=1.5.2.0 && <=2.1 + , aeson ^>=2.0 , base >=4.12 && <=4.17 , exceptions >=0.10.4 && <=0.11 , http-media >=0.8 && <=0.9 , mtl >=2.2.2 && <=2.3 - , openapi3 >=3.1.0 && <=3.2 + , openapi3 ^>=3.2 , optics >=0.4 && <=0.5 , primer ^>=0.7 , servant >=0.18 && <=0.20 diff --git a/primer/primer.cabal b/primer/primer.cabal index 98385c340..3e95bd565 100644 --- a/primer/primer.cabal +++ b/primer/primer.cabal @@ -63,7 +63,7 @@ library -Wcompat -Widentities -Wredundant-constraints -fhide-source-paths build-depends: - , aeson >=1.5.2.0 && <=2.1 + , aeson ^>=2.0 , base >=4.12 && <=4.17 , bytestring >=0.10.8.2 && <=0.12 , containers >=0.6.0.1 && <=0.7