source:
trip-planner-front/node_modules/semver/ranges/to-comparators.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 268 bytes |
Line | |
---|---|
1 | const Range = require('../classes/range') |
2 | |
3 | // Mostly just for testing and legacy API reasons |
4 | const toComparators = (range, options) => |
5 | new Range(range, options).set |
6 | .map(comp => comp.map(c => c.value).join(' ').trim().split(' ')) |
7 | |
8 | module.exports = toComparators |
Note:
See TracBrowser
for help on using the repository browser.