1// just pre-load all the stuff that index.js lazily exports 2const internalRe = require('./internal/re') 3const constants = require('./internal/constants') 4const SemVer = require('./classes/semver') 5const identifiers = require('./internal/identifiers') 6const parse = require('./functions/parse') 7const valid = require('./functions/valid') 8const clean = require('./functions/clean') 9const inc = require('./functions/inc') 10const diff = require('./functions/diff') 11const major = require('./functions/major') 12const minor = require('./functions/minor') 13const patch = require('./functions/patch') 14const prerelease = require('./functions/prerelease') 15const compare = require('./functions/compare') 16const rcompare = require('./functions/rcompare') 17const compareLoose = require('./functions/compare-loose') 18const compareBuild = require('./functions/compare-build') 19const sort = require('./functions/sort') 20const rsort = require('./functions/rsort') 21const gt = require('./functions/gt') 22const lt = require('./functions/lt') 23const eq = require('./functions/eq') 24const neq = require('./functions/neq') 25const gte = require('./functions/gte') 26const lte = require('./functions/lte') 27const cmp = require('./functions/cmp') 28const coerce = require('./functions/coerce') 29const Comparator = require('./classes/comparator') 30const Range = require('./classes/range') 31const satisfies = require('./functions/satisfies') 32const toComparators = require('./ranges/to-comparators') 33const maxSatisfying = require('./ranges/max-satisfying') 34const minSatisfying = require('./ranges/min-satisfying') 35const minVersion = require('./ranges/min-version') 36const validRange = require('./ranges/valid') 37const outside = require('./ranges/outside') 38const gtr = require('./ranges/gtr') 39const ltr = require('./ranges/ltr') 40const intersects = require('./ranges/intersects') 41const simplifyRange = require('./ranges/simplify') 42const subset = require('./ranges/subset') 43module.exports = { 44 parse, 45 valid, 46 clean, 47 inc, 48 diff, 49 major, 50 minor, 51 patch, 52 prerelease, 53 compare, 54 rcompare, 55 compareLoose, 56 compareBuild, 57 sort, 58 rsort, 59 gt, 60 lt, 61 eq, 62 neq, 63 gte, 64 lte, 65 cmp, 66 coerce, 67 Comparator, 68 Range, 69 satisfies, 70 toComparators, 71 maxSatisfying, 72 minSatisfying, 73 minVersion, 74 validRange, 75 outside, 76 gtr, 77 ltr, 78 intersects, 79 simplifyRange, 80 subset, 81 SemVer, 82 re: internalRe.re, 83 src: internalRe.src, 84 tokens: internalRe.t, 85 SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION, 86 RELEASE_TYPES: constants.RELEASE_TYPES, 87 compareIdentifiers: identifiers.compareIdentifiers, 88 rcompareIdentifiers: identifiers.rcompareIdentifiers, 89} 90