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
Re-export
import { rangeMax } from "https://deno.land/std@0.216.0/semver/mod.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