gpt4 book ai didi

javascript - Node 中的 Bower 依赖波浪号

转载 作者:IT王子 更新时间:2023-10-29 02:59:08 26 4
gpt4 key购买 nike

在 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com