Sha256: c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
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;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-0.0.6 | node_modules/@types/semver/ranges/simplify.d.ts |
pcp-server-ruby-sdk-0.1.0 | node_modules/@types/semver/ranges/simplify.d.ts |