home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
8
home/ags/node_modules/semver/ranges/to-comparators.js
generated
vendored
Normal file
8
home/ags/node_modules/semver/ranges/to-comparators.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
const Range = require('../classes/range')
|
||||
|
||||
// Mostly just for testing and legacy API reasons
|
||||
const toComparators = (range, options) =>
|
||||
new Range(range, options).set
|
||||
.map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
|
||||
|
||||
module.exports = toComparators
|
||||
Loading…
Add table
Add a link
Reference in a new issue