Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  18] [ 1]  / answers: 1 / hits: 16338  / 11 Years ago, wed, october 23, 2013, 12:00:00

In bower (a node dependency package manager), on some dependencies the version is preceded by a tilde. What does this mean?



{
name: mean,
version: 1.0.0,
dependencies: {
bootstrap: 3.0.0,
angular: ~1.0.6
}
{

More From » bower

 Answers
4

~1.2.3 := >=1.2.3-0 <1.3.0-0 Reasonably close to 1.2.3. When using
tilde operators, prerelease versions are supported as well, but a
prerelease of the next significant digit will NOT be satisfactory, so
1.3.0-beta will not satisfy ~1.2.3.




From the documentation of the underlying semver


[#74789] Tuesday, October 22, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
morrismilom

Total Points: 230
Total Questions: 96
Total Answers: 114

Location: Mayotte
Member since Mon, Sep 12, 2022
2 Years ago
;