Skip to main content
Module

x/deno/tools/release/deps.ts>semver.maxSatisfying

A modern runtime for JavaScript and TypeScript.
Latest
function semver.maxSatisfying
import { semver } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { maxSatisfying } = semver;

Returns the highest version in the list that satisfies the range, or null if none of them do.

Type Parameters

T extends string | SemVer

Parameters

versions: ReadonlyArray<T>
range: string | Range
optional
options: Options

Returns

T | null