Skip to main content
Go to Latest
function comparatorMax
import { comparatorMax } from "";

The maximum version that could match this comparator.

If an invalid comparator is given such as <0.0.0 then an out of range semver will be returned.


semver: SemVer
operator: Operator


the version, the MAX version or the next smallest patch version