Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun install not respecting version ranges #8040

Closed
zachbryant opened this issue Jan 8, 2024 · 1 comment · Fixed by #8108
Closed

bun install not respecting version ranges #8040

zachbryant opened this issue Jan 8, 2024 · 1 comment · Fixed by #8108
Labels
bug Something isn't working npm Something that relates to the npm-compatible client

Comments

@zachbryant
Copy link

zachbryant commented Jan 8, 2024

What version of Bun is running?

1.0.21+437faa944

What platform is your computer?

Linux 6.2.0-1018-azure x86_64 unknown

What steps can reproduce the bug?

  1. Add resolution to package.json:
"resolutions": {
  "vue": ">=3.3.0-beta.1 <3.4.0-beta.3"
}
  1. run bun add vue

What is the expected behavior?

Expected to see at highest vue@3.4.0-beta.3.

What do you see instead?

Vue latest is installed, 3.4.5

Additional information

I'm running on Bun canary.

@zachbryant zachbryant added the bug Something isn't working label Jan 8, 2024
@Electroid Electroid added the npm Something that relates to the npm-compatible client label Jan 8, 2024
@Electroid
Copy link
Contributor

In an hour, you can try the fix using bun upgrade --canary. Soon it will be available in Bun v1.0.23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working npm Something that relates to the npm-compatible client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants