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

std/semver/range_max.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.218.2/semver/range_max.ts";

The maximum valid SemVer for a given range or INVALID

Parameters

range: Range

The range to calculate the max for

Returns

A valid SemVer or INVALID