volta install <package>
should use latest LTS allowed by engines
#480
Labels
Projects
volta install <package>
should use latest LTS allowed by engines
#480
Currently, running
volta install some-package
Volta will usesome-package
'sengines
field to decide what version of Node to pin the tool too in future invocations. Conversely,volta install node
will automatically use the most recent Node LTS (notlatest
).I believe that we should change the logic such that we default to using the most recent LTS that is allowed within the engines configuration for the package. Specifically, it is very common (a best practice even) that packages do not limit the upper bounds of engines because most packages work just fine across many many Node versions. This would make
volta install some-package
have matching behavior tovolta install node
.tldr;
engines
usage is most commonly>= 8
or something like that,volta install
choosing thelatest
(instead of latest LTS) means that its not uncommon (once every 6 months or so as new Node major versions are released) that folks would be installing with a Node that is fundamentally less tested/bulletproof.The text was updated successfully, but these errors were encountered: