Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/semver/mod.ts>rangeMax

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function rangeMax
import { rangeMax } from "https://deno.land/std@0.195.0/semver/mod.ts";

The maximum valid SemVer for a given range or INVALID

Parameters

The range to calculate the max for

Returns

SemVer | undefined

A valid SemVer or INVALID