diff --git a/composer.json b/composer.json
index 1558e7a..535ed88 100644
--- a/composer.json
+++ b/composer.json
@@ -13,7 +13,7 @@
 	"require": {
 		"php": "^7.2 || ^8.0",
 		"nette/application": "^3.1.5",
-		"nette/utils": "^3.0"
+		"nette/utils": "^3.0 || ^4.0"
 	},
 	"require-dev": {
 		"nette/tester": "^2.2",