-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Description
The version list should be sorted.
Current Behaviour:
process.versions
{
node: '20.0.0-pre',
v8: '10.8.168.20-node.8',
uv: '1.44.2',
zlib: '1.2.13',
brotli: '1.0.9',
ares: '1.18.1',
modules: '111',
nghttp2: '1.51.0',
napi: '8',
llhttp: '8.1.0',
cjs_module_lexer: '1.2.2',
base64: '0.5.0',
openssl: '3.0.7+quic',
cldr: '42.0',
icu: '72.1',
tz: '2022f',
unicode: '15.0',
ngtcp2: '0.8.1',
nghttp3: '0.7.0'
}
Problem with the current order:
Since the current version list is not sorted, it's hard to compare with the source code (mainly the deps
folder).
Solution:
Except the node
, sort all other versions by name.
Eg:
process.versions
{
node: '20.0.0-pre',
ares: '1.18.1',
base64: '0.5.0',
brotli: '1.0.9',
cjs_module_lexer: '1.2.2',
cldr: '42.0',
...
...
uv: '1.44.2',
v8: '10.8.168.20-node.8',
zlib: '1.2.13',
}
Neustradamus and himself65
Metadata
Metadata
Assignees
Labels
No labels