在 bower(一个节点依赖包管理器)中,在某些依赖项上,版本前面有波浪号。这是什么意思?
{
"name": "mean",
"version": "1.0.0",
"dependencies": {
"bootstrap": "3.0.0",
"angular": "~1.0.6"
}
{
最佳答案
~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.
来自底层文档semver
关于javascript - Node 中的 Bower 依赖波浪号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19541494/