This commit is contained in:
8
vscode-server-linux-x64-web/node_modules/semver/ranges/to-comparators.js
generated
vendored
Normal file
8
vscode-server-linux-x64-web/node_modules/semver/ranges/to-comparators.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
Reference in New Issue
Block a user