| Server IP : 46.62.235.243 / Your IP : 216.73.216.163 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/node_modules/@types/semver/ranges/ |
Upload File : |
import Range = require('../classes/range');
import semver = require('../index');
/**
* Return a "simplified" range that matches the same items in `versions` list as the range specified.
* Note that it does *not* guarantee that it would match the same versions in all cases,
* only for the set of versions provided.
* This is useful when generating ranges by joining together multiple versions with `||` programmatically,
* to provide the user with something a bit more ergonomic.
* If the provided range is shorter in string-length than the generated range, then that is returned.
*/
declare function simplify(ranges: string[], range: string | Range, options?: semver.Options): string | Range;
export = simplify;