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

x/mongo/tests/test.deps.ts>semver.inc

MongoDB driver for Deno
Extremely Popular
Go to Latest
function semver.inc
import { semver } from "https://deno.land/x/mongo@v0.31.1/tests/test.deps.ts";
const { inc } = semver;

Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.

Parameters

version: string | SemVer
release: ReleaseType
optional
optionsOrLoose: boolean | Options
optional
identifier: string

Returns

string | null