mozilla-b2g/npm-mirror — pull request #16 by emielrombouts (2014-01-02 10:58:51+00:00)
Title: User semver.compare to make sure latest version is detected correctly

1.16 should be later than 1.8.

I had the issue that mocha 1.8.2 was selected as the latest version while 1.16.2 was mirrored as well.