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

x/actionify/deploy/deps/semver.ts>semver.default

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
class semver.default
import { semver } from "https://deno.land/x/actionify@0.3.0/deploy/deps/semver.ts";
const { default } = semver;

Constructors

new
default(version: string | SemVer, optionsOrLoose?: boolean | Options)

Properties

build: ReadonlyArray<string>
loose: boolean
major: number
minor: number
options: Options
patch: number
prerelease: Array<string | number>
raw: string
version: string

Methods

compare(other: string | SemVer): 1 | 0 | -1
compareBuild(other: string | SemVer): 1 | 0 | -1
compareMain(other: string | SemVer): 1 | 0 | -1
comparePre(other: string | SemVer): 1 | 0 | -1
format(): string
inc(release: ReleaseType, identifier?: string): SemVer
toString(): string