UNPKG

keep-a-changelog

Version:

Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.

24 lines 742 B
import type { SemVer } from "./types.js"; /** * Not equal comparison for two SemVers. * * This is equal to `compare(version1, version2) !== 0`. * * @example Usage * ```ts * import { parse, notEquals } from "@std/semver"; * import { assert } from "@std/assert"; * * const version1 = parse("1.2.3"); * const version2 = parse("1.2.4"); * * assert(notEquals(version1, version2)); * assert(!notEquals(version1, version1)); * ``` * * @param version1 The first version to compare * @param version2 The second version to compare * @returns `true` if `version1` is not equal to `version2`, `false` otherwise */ export declare function notEquals(version1: SemVer, version2: SemVer): boolean; //# sourceMappingURL=not_equals.d.ts.map