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

x/fresh/src/dev/deps.ts>semver.INVALID

The next-gen web framework.
Extremely Popular
Go to Latest
variable semver.INVALID
Re-export
import { semver } from "https://deno.land/x/fresh@1.4.0/src/dev/deps.ts";
const { INVALID } = semver;

A sentinel value used to denote an invalid SemVer object which may be the result of impossible ranges or comparator operations.

Examples

Example 1

import { eq } from "https://deno.land/std@0.224.0/semver/eq.ts";
import { parse } from "https://deno.land/std@0.224.0/semver/parse.ts";
import { INVALID } from "https://deno.land/std@0.224.0/semver/constants.ts"
eq(parse("1.2.3"), INVALID);