| | |
| | | static get ANY () { |
| | | return ANY |
| | | } |
| | | |
| | | constructor (comp, options) { |
| | | options = parseOptions(options) |
| | | |
| | |
| | | if (!options || typeof options !== 'object') { |
| | | options = { |
| | | loose: !!options, |
| | | includePrerelease: false |
| | | includePrerelease: false, |
| | | } |
| | | } |
| | | |
| | |
| | | module.exports = Comparator |
| | | |
| | | const parseOptions = require('../internal/parse-options') |
| | | const {re, t} = require('../internal/re') |
| | | const { re, t } = require('../internal/re') |
| | | const cmp = require('../functions/cmp') |
| | | const debug = require('../internal/debug') |
| | | const SemVer = require('./semver') |