How to get latest version number of a package

Using Pkg.update(“PackageName”), we can update the package. I would like to just get latest version number of a package, not update it. For example Pkg.get_latest_version() → v0.19.2 like that. Does someone know how to do it?