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

x/release_up/deps.ts>semver.compareLoose

🌱 Automate releases with breeze
Go to Latest
function semver.compareLoose
import { semver } from "https://deno.land/x/release_up@0.6.0/deps.ts";
const { compareLoose } = semver;

Parameters

a: string | SemVer
b: string | SemVer

Returns

1 | 0 | -1