Based on semver, you can use

  • Hyphen Ranges X.Y.Z - A.B.C 1.2.3-2.3.4 Indicates >=1.2.3 <=2.3.4

  • X-Ranges 1.2.x 1.X 1.2.*

  • Tilde Ranges ~1.2.3 ~1.2 Indicates allowing patch-level changes or minor version changes.

  • Caret Ranges ^1.2.3 ^0.2.5 ^0.0.4

    Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple

    • ^1.2.x (means >=1.2.0 <2.0.0)
    • ^0.0.x (means >=0.0.0 <0.1.0)
    • ^0.0 (means >=0.0.0 <0.1.0)

http://semver.org/

相关文章:

  • 2021-12-02
  • 2021-08-11
  • 2021-12-13
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-05-23
猜你喜欢
  • 2021-06-12
  • 2021-11-25
  • 2022-12-23
  • 2021-10-06
  • 2021-09-03
  • 2021-09-11
  • 2022-12-23
相关资源
相似解决方案