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.220.1/semver/types.ts";

Interfaces

The shape of a valid semantic version comparator

A SemVer object parsed into its constituent parts.

Type Aliases

SemVer comparison operators.

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.

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