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

x/denoify/scripts/tools/SemVer.ts>SemVer.bumpType

🦕For NPM module authors that would like to support Deno but do not want to write and maintain a port.
Latest
function SemVer.bumpType
import { SemVer } from "https://deno.land/x/denoify@v1.6.16/scripts/tools/SemVer.ts";
const { bumpType } = SemVer;

Parameters

params: { versionBehind: string | SemVer; versionAhead: string | SemVer; }

Returns

BumpType | "no bump"