[Method] Compare 2 specified versions starting from left to right
String The current version to compare to.
String The target version to compare to.
number
Number Returns -1 if the current version is smaller than the target version, 1 if greater, and 0 if they're equivalent.
[Method] Converts a version component to a comparable value
Object The value to convert
any
Object