Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

90 lignes
2.6 KiB

  1. // just pre-load all the stuff that index.js lazily exports
  2. const internalRe = require('./internal/re')
  3. const constants = require('./internal/constants')
  4. const SemVer = require('./classes/semver')
  5. const identifiers = require('./internal/identifiers')
  6. const parse = require('./functions/parse')
  7. const valid = require('./functions/valid')
  8. const clean = require('./functions/clean')
  9. const inc = require('./functions/inc')
  10. const diff = require('./functions/diff')
  11. const major = require('./functions/major')
  12. const minor = require('./functions/minor')
  13. const patch = require('./functions/patch')
  14. const prerelease = require('./functions/prerelease')
  15. const compare = require('./functions/compare')
  16. const rcompare = require('./functions/rcompare')
  17. const compareLoose = require('./functions/compare-loose')
  18. const compareBuild = require('./functions/compare-build')
  19. const sort = require('./functions/sort')
  20. const rsort = require('./functions/rsort')
  21. const gt = require('./functions/gt')
  22. const lt = require('./functions/lt')
  23. const eq = require('./functions/eq')
  24. const neq = require('./functions/neq')
  25. const gte = require('./functions/gte')
  26. const lte = require('./functions/lte')
  27. const cmp = require('./functions/cmp')
  28. const coerce = require('./functions/coerce')
  29. const Comparator = require('./classes/comparator')
  30. const Range = require('./classes/range')
  31. const satisfies = require('./functions/satisfies')
  32. const toComparators = require('./ranges/to-comparators')
  33. const maxSatisfying = require('./ranges/max-satisfying')
  34. const minSatisfying = require('./ranges/min-satisfying')
  35. const minVersion = require('./ranges/min-version')
  36. const validRange = require('./ranges/valid')
  37. const outside = require('./ranges/outside')
  38. const gtr = require('./ranges/gtr')
  39. const ltr = require('./ranges/ltr')
  40. const intersects = require('./ranges/intersects')
  41. const simplifyRange = require('./ranges/simplify')
  42. const subset = require('./ranges/subset')
  43. module.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. }