By using yay's output instead of pacman's, we can easily see what version of a package we have and what version it will be updated to.