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

x/dnit/deps.ts>semver.Range

dnit: typescript (deno) task executor
Go to Latest
class semver.Range
import { semver } from "https://deno.land/x/dnit@dnit-v1.14.3/deps.ts";
const { Range } = semver;

Constructors

new
Range(range: string | Range | Comparator, optionsOrLoose?: boolean | Options)

Properties

includePrerelease: boolean
loose: boolean
options: Options
range: string
raw: string
set: ReadonlyArray<ReadonlyArray<Comparator>>

Methods

format(): string
intersects(range?: Range, optionsOrLoose?: boolean | Options): boolean
parseRange(range: string): ReadonlyArray<Comparator>
test(version: string | SemVer): boolean
toString(): string