admin管理员组文章数量:1335625
My current config is:
"@vue/test-utils": "^1.0.0-beta.25"
How can make it exclude a specific version of this package while still using the caret ^
rages?
The version which I want to exclude is 1.0.0-beta.31
, because this version currently broke my entire tests.
My current config is:
"@vue/test-utils": "^1.0.0-beta.25"
How can make it exclude a specific version of this package while still using the caret ^
rages?
The version which I want to exclude is 1.0.0-beta.31
, because this version currently broke my entire tests.
1 Answer
Reset to default 8I believe the syntax is something like as follows:
"@vue/test-utils": ">1.0.0-beta.25 <1.0.0-beta.31 || ^1.0.0-beta.32"
You can find the rules for version resolution here.
本文标签: javascriptHow to exclude a specific version of a npm packageStack Overflow
版权声明:本文标题:javascript - How to exclude a specific version of a npm package? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742379358a2463796.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论