source: frontend/node_modules/semver/ranges/to-comparators.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 282 bytes
Line 
1'use strict'
2
3const Range = require('../classes/range')
4
5// Mostly just for testing and legacy API reasons
6const toComparators = (range, options) =>
7 new Range(range, options).set
8 .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
9
10module.exports = toComparators
Note: See TracBrowser for help on using the repository browser.