the-tip-top-backend/node_modules/semver/ranges/to-comparators.js
soufiane fc67cf6415
All checks were successful
the-tip-top-backend/pipeline/head This commit looks good
push
2025-10-24 14:14:46 +02: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