podexit
    Preparing search index...

    Function latestVersion

    • The newest release in a list of versions. Pre-releases count only when the list has nothing else, so a 6.0.0-beta.1 does not hide the 5.10.2 most projects should compare against.

      Parameters

      • versions: readonly string[]

      Returns string | null