diff --git a/html-entities.cabal b/html-entities.cabal
--- a/html-entities.cabal
+++ b/html-entities.cabal
@@ -1,7 +1,7 @@
 name:
   html-entities
 version:
-  1.1.3
+  1.1.4
 synopsis:
   A codec library for HTML-escaped text and HTML-entities
 description:
@@ -18,7 +18,7 @@
 homepage:
   https://github.com/nikita-volkov/html-entities
 bug-reports:
-  https://github.com/nikita-volkov/html-entities/issues 
+  https://github.com/nikita-volkov/html-entities/issues
 author:
   Nikita Volkov <nikita.y.volkov@mail.ru>
 maintainer:
@@ -83,7 +83,7 @@
     Haskell2010
   build-depends:
     doctest == 0.11.*,
-    directory == 1.2.*,
-    filepath >= 1.3 && < 1.5,
+    directory >= 1.2 && < 2,
+    filepath >= 1.3 && < 2,
     base-prelude,
     base
