版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

18 righe
467 B

  1. // Note: this is the semver.org version of the spec that it implements
  2. // Not necessarily the package version of this code.
  3. const SEMVER_SPEC_VERSION = '2.0.0'
  4. const MAX_LENGTH = 256
  5. const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
  6. /* istanbul ignore next */ 9007199254740991
  7. // Max safe segment length for coercion.
  8. const MAX_SAFE_COMPONENT_LENGTH = 16
  9. module.exports = {
  10. SEMVER_SPEC_VERSION,
  11. MAX_LENGTH,
  12. MAX_SAFE_INTEGER,
  13. MAX_SAFE_COMPONENT_LENGTH,
  14. }