-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
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.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.