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

x/release_up/deps.ts>semver.Range

🌱 Automate releases with breeze
Go to Latest
class semver.Range
import { semver } from "https://deno.land/x/release_up@0.6.0/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