Skip to content

Commit

Permalink
deps: add simdutf version to metadata
Browse files Browse the repository at this point in the history
PR-URL: #46145
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
roth-mike authored and juanarbol committed Jan 31, 2023
1 parent fab72b1 commit 874054f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/node_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "llhttp.h"
#include "nghttp2/nghttp2ver.h"
#include "node.h"
#include "simdutf.h"
#include "undici_version.h"
#include "util.h"
#include "uv.h"
Expand Down Expand Up @@ -112,6 +113,8 @@ Metadata::Versions::Versions() {
ngtcp2 = NGTCP2_VERSION;
nghttp3 = NGHTTP3_VERSION;
#endif

simdutf = SIMDUTF_VERSION;
}

Metadata::Release::Release() : name(NODE_RELEASE) {
Expand Down
1 change: 1 addition & 0 deletions src/node_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ namespace node {
V(llhttp) \
V(uvwasi) \
V(acorn) \
V(simdutf) \
NODE_VERSIONS_KEY_UNDICI(V)

#if HAVE_OPENSSL
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-process-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const expected_keys = [
'llhttp',
'uvwasi',
'acorn',
'simdutf',
];

const hasUndici = process.config.variables.node_builtin_shareable_builtins.includes('deps/undici/undici.js');
Expand Down

0 comments on commit 874054f

Please sign in to comment.