Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 行
464 B
TypeScript
15 行
464 B
TypeScript
/**
|
|
* Match [npm semver](https://docs.npmjs.com/cli/v6/using-npm/semver) version range.
|
|
*
|
|
* @param version Version number to match
|
|
* @param range Range pattern for version
|
|
* @returns `true` if the version number is within the range, `false` otherwise.
|
|
*
|
|
* @example
|
|
* ```
|
|
* satisfies('1.1.0', '^1.0.0'); // return true
|
|
* satisfies('1.1.0', '~1.0.0'); // return false
|
|
* ```
|
|
*/
|
|
export declare const satisfies: (version: string, range: string) => boolean;
|