Class: Version

Version

Version
Defines a version number with major, minor, micro, and special
components. The major, minor and micro values are numeric; the special
value can be any string.


new Version(major, minor, micro, special)

Parameters:
Name Type Description
major number

The major version component, a positive integer up to nine digits long.

minor number

The minor version component, a positive integer up to nine digits long.

micro number

The micro version component, a positive integer up to nine digits long.

special string

The special version component, an arbitrary string.

Source:
Returns:

A new Version object.

Members


<static> MAX_NUM

The maximum value allowed for a numeric version component.
This reflects the maximum value allowed in PlugPlug and the manifest schema.

Source: