This PR fixes an error that was thrown when running the jsr show <pkg> command on a package which has no stable versions. In those cases latest is not set. We didn't handle that case.
Error:
$ npx jsr show @fresh/update
TypeError: Cannot read properties of undefined (reading 'dist')
# ...snip
This PR fixes an error that was thrown when running the
jsr show <pkg>
command on a package which has no stable versions. In those caseslatest
is not set. We didn't handle that case.Error: