Finding out hex package version numbers

Check the source code of the mix deps.update command:

https://github.com/elixir-lang/elixir/blob/12a36a54b7e9744d3f86b9136cc7487b2f9b799d/lib/mix/lib/mix/tasks/deps.update.ex#L1