source: node_modules/semver/ranges/to-comparators.js@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • 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.