bun add writes wrong version to package.json #8956
Labels
bug
Something isn't working
bun install
Something that relates to the npm-compatible client
quick fix
Something that can be fixed with low effort, but high impact
What version of Bun is running?
1.0.26+c75e768a6
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
bun add typescript@latest
orbun add typescript@5
What is the expected behavior?
the full matching version (e.g.,
5.3.3
) is added to package.json fileWhat do you see instead?
bun puts the literal from the command in package.json file (e.g.,
latest
or5
)Additional information
No response
The text was updated successfully, but these errors were encountered: