composer/composer — pull request #1366 by GordonSchmidt (2012-11-28 11:00:21+00:00)
Title: Fixed highlighting of installed version in the output of composer show

In the output of the command 'composer show [packages]', several versions may be highlighted as the installed version. For example if the installed version is '2.4.13' and other versions are available, which contain '2.4.13' in their name as '2.4.13.x-dev' or 'dev-2.4.13'.

This pull request fixes this problem.