Files
starRiverProperty/frontend-source/scripts/node_modules/semver/ranges/to-comparators.js
反编译工作区 640e188270 chore: init frontend-source directory with tooling scaffold
Former-commit-id: 435fb8e3e4f8e334ad3b0e95052edbdd9547d197
2026-04-29 11:39:06 +08:00

11 lines
282 B
JavaScript

'use strict'
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