Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function semver.patch
import { semver } from "https://deno.land/std@0.157.0/_tools/release/deps.ts";
const { patch } = semver;

Return the patch version number.

Parameters

v: string | SemVer
optional
optionsOrLoose: boolean | Options

Returns

number