how to check which is the old package or dependency in composer command code example
Example 1: composer update
php composer.phar update
Example 2: composer list packages
composer show -i //local packages
composer global show -i //global packages