What's Changed
* Narrowed the return-type of `version_compare` from `int` to `Union[-1, 0, 1]`. This ensures better type safety and compatibility with type checkers. For example, the following code will now pass the type checker:
python
from php_version_compare import version_compare
match version_compare("1.0.0", "1.0.1"):
case -1:
print("LESS")
case 0:
print("EQUAL")
case 1:
print("GREATER")