mirror of https://github.com/nodejs/node.git
src: tie process.versions.uv to uv_version_string()
parent
1b5ec033ee
commit
902d6cb6d7
|
@ -2356,9 +2356,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
|
||||||
versions->Set(String::NewSymbol("node"), String::New(NODE_VERSION+1));
|
versions->Set(String::NewSymbol("node"), String::New(NODE_VERSION+1));
|
||||||
versions->Set(String::NewSymbol("v8"), String::New(V8::GetVersion()));
|
versions->Set(String::NewSymbol("v8"), String::New(V8::GetVersion()));
|
||||||
versions->Set(String::NewSymbol("ares"), String::New(ARES_VERSION_STR));
|
versions->Set(String::NewSymbol("ares"), String::New(ARES_VERSION_STR));
|
||||||
versions->Set(String::NewSymbol("uv"), String::New(
|
versions->Set(String::NewSymbol("uv"), String::New(uv_version_string()));
|
||||||
NODE_STRINGIFY(UV_VERSION_MAJOR) "."
|
|
||||||
NODE_STRINGIFY(UV_VERSION_MINOR)));
|
|
||||||
versions->Set(String::NewSymbol("zlib"), String::New(ZLIB_VERSION));
|
versions->Set(String::NewSymbol("zlib"), String::New(ZLIB_VERSION));
|
||||||
#if HAVE_OPENSSL
|
#if HAVE_OPENSSL
|
||||||
// Stupid code to slice out the version string.
|
// Stupid code to slice out the version string.
|
||||||
|
|
Loading…
Reference in New Issue