Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Returns the lowest 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