bun icon indicating copy to clipboard operation
bun copied to clipboard

Include multiple sets of versions not working

Open gander opened this issue 2 years ago • 1 comments

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.10
  • 1.0.0-rc.11

image

gander avatar Sep 11 '23 10:09 gander

@dylan-conway i think this was already fixed right?

Jarred-Sumner avatar May 16 '24 11:05 Jarred-Sumner

@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.

dylan-conway avatar May 25 '24 03:05 dylan-conway