You are not logged in.
# pacman -Syu
$ curl -s https://archlinux.org/packages/extra/x86_64/lf/ | grep '<h2>'
<h2>lf 30-1</h2>
$ pacman -Q lf
lf 29-1Why is pacman not reflecting the version on the website?
I'm suspecting it has to do with currently selected mirrors not updating to latest.
Offline
You can see the time the package was uploaded on the website (2023-05-21 19:23 UTC). That should be sufficient time for the package to propagate, but However, switching to a better mirror may be in order.
Offline