Skip to main content
Module

x/fluentci/deps.ts>semver.minSatisfying

This is the command line interface for FluentCI.
Go to Latest
function semver.minSatisfying
import { semver } from "https://deno.land/x/fluentci@v0.13.0/deps.ts";
const { minSatisfying } = semver;

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

Parameters

versions: SemVer[]

The versions to check.

The range of possible versions to compare to.

Returns

SemVer | undefined

The lowest version in versions that satisfies the range.