Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/node_metadata.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,6 +6,7 @@
#include "node.h"
#include "util.h"
#include "uv.h"
#include "uvwasi.h"
#include "v8.h"
#include "zlib.h"

Expand DownExpand Up@@ -90,6 +91,8 @@ Metadata::Versions::Versions(){
"." +
std::to_string(BrotliEncoderVersion() & 0xFFF);

uvwasi = UVWASI_VERSION_STRING;

#if HAVE_OPENSSL
openssl = GetOpenSSLVersion();
#endif
Expand Down
1 change: 1 addition & 0 deletions src/node_metadata.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -38,6 +38,7 @@ namespace node{
V(nghttp2) \
V(napi) \
V(llhttp) \
V(uvwasi)

#if HAVE_OPENSSL
#define NODE_VERSIONS_KEY_CRYPTO(V) V(openssl)
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-process-versions.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,6 +13,7 @@ const expected_keys = [
'nghttp2',
'napi',
'llhttp',
'uvwasi',
];

if (common.hasCrypto){
Expand Down