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

std/semver/types.ts>SemVerRange

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface SemVerRange
Deprecated
Deprecated

(will be removed in 0.216.0) Use Range instead.

import { type SemVerRange } from "https://deno.land/std@0.215.0/semver/types.ts";

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.