mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
9 lines
439 B
Markdown
9 lines
439 B
Markdown
Composer uses Semver-like versioning, however some package authors may use versions that are not completely valid, e.g. `1.2` instead of `1.2.0`.
|
|
|
|
Composer supports ranges in a similar manner to npm, but not identical. The main difference is with tilde ranges.
|
|
|
|
Tilde ranges with "short" versions are different to npm. e.g.
|
|
|
|
`~4` is equivalent to `^4` in npm
|
|
`~4.1` is equivalent to `^4.1` in npm
|
|
`~0.4` is equivalent to `>=0.4 <1` in npm
|