bun
bun copied to clipboard
Include multiple sets of versions not working
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 5.15.0-83-generic x86_64 x86_64
What steps can reproduce the bug?
Prepare package.json dependencies:
"devDependencies": {
"vitepress": "^1.0.0-rc.10 <1.0.0-rc.12 || >1.0.0-rc.12"
}
OR
bun install "vitepress@^1.0.0-rc.10 <1.0.0-rc.12 || >1.0.0-rc.12"
What is the expected behavior?
bun update v1.0.0 (822a00c4)
+ [email protected]
OR
bun add v1.0.0 (822a00c4)
installed [email protected] with binaries:
- vitepress
What do you see instead?
bun update v1.0.0 (822a00c4)
+ [email protected]
OR
bun add v1.0.0 (822a00c4)
installed [email protected] with binaries:
- vitepress
Additional information
Testing on semver.npmjs.com this syntax should install one of:
1.0.0-rc.101.0.0-rc.11
@dylan-conway i think this was already fixed right?
@dylan-conway i think this was already fixed right?
Yes this was fixed around ~1.0.5.
Closing this as fixed, please reopen or create a new issue if you continue to have problems with semver versions.