devsnek / esvu

esvu is your one-stop shop for all implementations of ECMAScript.
MIT License
175 stars 21 forks source link

Graaljs version isn't "latest"? #20

Closed rwaldron closed 3 years ago

rwaldron commented 3 years ago

If by default, esvu should be looking for the "latest" version when installing (unless explicitly specified?), then resolveVersion implementation for Graaljs is incorrect. Presently, it's getting 19.x, when the actual "latest" is 21.x (as of right now, that's 21.1.0), which is not a prerelease version.

devsnek commented 3 years ago

maybe a bug in github's release api? idk. the 19.x release has the highest id and its first in the list.

rwaldron commented 3 years ago

Alternatively, if esvu allowed me to do something like esvu install engine@version --default, so I could install whatever version I want without it being created as engine-version