Closed
Description
Is your feature request related to a problem? Please describe.
Following https://github.com/nodejs/node/discussions/40957, Node.js version format contains a v
-prefix prior the version, e.g. node -v
returns v17.1.0
. According to the https://semver.org/#is-v123-a-semantic-version, v17.1.0
is not semver compliant.
Describe the solution you'd like
Drop v
from the version number and return 17.1.0
for node -v
.
It should not be a problem at all if implemented in a major version:
MAJOR version when you make incompatible API changes
Besides, if a Node.js version check implemented properly, not just substringing the first char, it should not break anything.