I recently disabled some modules and after an upgrade I feel that new dependencies got introduced (when disabling and re-enabling a custom module I got errors).
Is there a command to check if the current dependencies are all met?
There's a command to show the dependencies not sure if it is exactly what you need but it can help:
php bin/magento info:dependencies:show-modulesfor modules dependencies
php bin/magento info:dependencies:show-modules-circularfor circular dependencies
php bin/magento info:dependencies:show-frameworkfor Magento framework dependencies
composer update --dry-run