-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Issues with deno outdated
#27025
Comments
Ah this is a bit of a misunderstanding, That being said, it's true that it doesn't need to be an error. I'll open a PR to allow it.
It should only narrow the selection, if it expands the selection that's a bug. Do you have an example of where that happens? I'm aware of #27038 (where pre release versions are involved), but is there another case you've encountered?
Most other tools I'm aware of don't ask for confirmation when updating. Instead, the plan is to add an
That was an idea we had considered, but the consensus was that |
Ah okay, makes sense...
Yes, it actually happens with pre-release versions...
That would probably also do...
Most other tools I'm aware of (apt-get, HomeBrew) also has this distinction, but I understand that you may not want to do that. It would probably be best if |
I've found another confusing behavior of
I would expect |
Version: Deno 2.1.0
deno outdated
is very useful command, but either it's documentation could be improved or it's behavior, because right now, it's a bit confusing.Running
deno outdated --latest
errors withBut my understanding is
--latest
is basically counterpart of--compatible
flag that can be run without--update
flag.The documentation for --compatible is also a bit confusing, as it often expands the selection, not narrows it as the only word suggests.
--compatible Only output versions that satisfy semver requirements
Running
outdated
with any selection modifier without--update
flag is in it's current implementation quite important, because--update
don't ask for any confirmation, which it probably should.Anyway, I'd rather call this command
update
since users are used to it from other package managers and get rid of the--update
flag and just ask the user for confirmation or introduce --print flag for just printing.The text was updated successfully, but these errors were encountered: