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

std/semver/types.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.212.0/semver/types.ts";

Interfaces

The shape of a valid semantic version comparator

A SemVer object parsed into its constituent parts.

A type representing a semantic version range. The ranges consist of a nested array, which represents a set of OR comparisons while the inner array represents AND comparisons.

Type Aliases

T
FormatStyle
deprecated

The style to use when formatting a SemVer object into a string

SemVer comparison operators.

The possible release types are used as an operator for the increment function and as a result of the difference function.