#54 What does the caret ^ do in front of version numbers?

已关闭
nero9 年之前创建 · 0 条评论

Originally at 2015-02-02T15:22:15Z by Hannes Hirzel closed at 2015-02-10T02:31:51Z

A caret in front of a version number in bower.json as for example ^0.14 means that if you run bower install the latest compatible version will be pulled in. bower.json still shows the earlier version number but the file bower.json which is contained in bower_components/amber shows the more recent version number.

Originally at 2015-02-02T15:22:15Z by Hannes Hirzel closed at 2015-02-10T02:31:51Z A caret in front of a version number in ``bower.json`` as for example ``^0.14`` means that if you run ``bower install`` the latest compatible version will be pulled in. ``bower.json`` still shows the earlier version number but the file ``bower.json`` which is contained in ``bower_components/amber`` shows the more recent version number.
nero8 年之前 关闭
登录 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。