diff --git a/json-spec-openapi.cabal b/json-spec-openapi.cabal
--- a/json-spec-openapi.cabal
+++ b/json-spec-openapi.cabal
@@ -1,6 +1,6 @@
 cabal-version:       3.0
 name:                json-spec-openapi
-version:             0.1.0.2
+version:             0.1.0.3
 synopsis:            json-spec-openapi
 description:
   This package provides a way to produce
@@ -62,12 +62,12 @@
 
 common dependencies
   build-depends:
-    , aeson     >= 2.1.2.1 && < 2.2
-    , base      >= 4.17    && < 4.18
-    , json-spec >= 0.2.0.0 && < 0.3
-    , lens      >= 5.2.2   && < 5.3
-    , openapi3  >= 3.2.3   && < 3.3
-    , text      >= 2.0.2   && < 2.1
+    , aeson     >= 2.2.1.0  && < 2.3
+    , base      >= 4.19.0.0 && < 4.20
+    , json-spec >= 0.2.1.3  && < 0.3
+    , lens      >= 5.2.3    && < 5.3
+    , openapi3  >= 3.2.4    && < 3.3
+    , text      >= 2.1      && < 2.2
 
 common warnings
   ghc-options:
@@ -95,9 +95,7 @@
   build-depends:
     , json-spec-openapi
 
-    , aeson      >= 2.1.2.1  && < 2.2
-    , bytestring >= 0.11.4.0 && < 0.12
+    , bytestring >= 0.12.0.2 && < 0.13
     , hspec      >= 2.11.1   && < 2.12
-    , scientific >= 0.3.7.0  && < 0.4
     , time       >= 1.12.2   && < 1.13
 
diff --git a/test/test.hs b/test/test.hs
--- a/test/test.hs
+++ b/test/test.hs
@@ -4,6 +4,7 @@
 {-# LANGUAGE NamedFieldPuns #-}
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE TypeAbstractions #-}
 {-# LANGUAGE TypeApplications #-}
 {-# LANGUAGE TypeFamilies #-}
 {-# LANGUAGE UndecidableInstances #-}
