.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / semver / ranges / to-comparators.js
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