Optional
optionsOrLoose: Optional
identifier: stringReturn the version incremented by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if it's not valid.
Optional
identifier: stringOptional
identifierBase: false | IdentifierBase
Return the version incremented by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if it's not valid.