Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 498 Bytes

CHANGELOG.md

File metadata and controls

22 lines (13 loc) · 498 Bytes

1.1.2

Fixes

  • Fixed error on compare when comparing IVersion values.

New Features

  • Version object has compare method.
const version = parse("1.2.3");

// returns "equal"
version.compare(parse("1.2.3.0"));
  • isVersion method logic change. Now requires major and minor to be a number, while patch and build should be a number or null.

!! BREAKING CHANGES

  • compare method is removed in the export.