To update all dependencies to the latest version that's compatible with the version range specified in your package.json
:
bun update
--force
Alias — -f
By default, Bun respects the version range defined in your package.json. To ignore this and update to the latest version, you can pass in the force
flag.
bun update --force