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

std/semver/mod.ts>patch

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

(will be removed after 0.200.0) Use parse(...).patch instead.

import { patch } from "https://deno.land/std@0.195.0/semver/mod.ts";

Parameters

v: string | SemVer
optional
options: { includePrerelease: boolean; }