Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
781 B
Plaintext
16 lines
781 B
Plaintext
/** Interface for the options to configure semantic versioning satisfy check. */
|
|
export interface SatisfiesOptions {
|
|
/**
|
|
* If set to true, the pre-release checks will be included
|
|
* as described [here](https://github.com/npm/node-semver#prerelease-tags).
|
|
*/
|
|
includePrerelease?: boolean;
|
|
}
|
|
/**
|
|
* Checks given version whether it satisfies given range expression.
|
|
* @param version the [version](https://github.com/npm/node-semver#versions) to be checked
|
|
* @param range the [range](https://github.com/npm/node-semver#ranges) expression for version check
|
|
* @param options options to configure semver satisfy check
|
|
*/
|
|
export declare function satisfies(version: string, range: string, options?: SatisfiesOptions): boolean;
|
|
//# sourceMappingURL=semver.d.ts.map |