cmp.js 210 B

1234567891011121314
  1. var cmp = require('../');
  2. var versions = [
  3. '1.2.3',
  4. '4.11.6',
  5. '4.2.0',
  6. '1.5.19',
  7. '1.5.5',
  8. '4.1.3',
  9. '2.3.1',
  10. '10.5.5',
  11. '11.3.0'
  12. ];
  13. console.log(versions.sort(cmp).join('\n'));