Sha256: 0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
import semver = require("../index"); import SemVer = require("../classes/semver"); /** * Compares two versions including build identifiers (the bit after `+` in the semantic version string). * * Sorts in ascending order when passed to `Array.sort()`. * * @return * - `0` if `v1` == `v2` * - `1` if `v1` is greater * - `-1` if `v2` is greater. * * @since 6.1.0 */ declare function compareBuild( a: string | SemVer, b: string | SemVer, optionsOrLoose?: boolean | semver.Options, ): 1 | 0 | -1; export = compareBuild;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-0.0.6 | node_modules/@types/semver/functions/compare-build.d.ts |
pcp-server-ruby-sdk-0.1.0 | node_modules/@types/semver/functions/compare-build.d.ts |