pacman-deptest
Check each dependency specified and return a list of dependencies that are not currently satisfied on the system.
TLDR
Print the package names of the dependencies that aren't installed
$ pacman --deptest [package_name1] [package_name2]
Check if the installed package satisfies the given minimum version
$ pacman --deptest "[bash>=5]"
Check if a later version of a package is installed
$ pacman --deptest "[bash>5]"
Display help
$ pacman --deptest --help