diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2018-01-09 15:06:28 -0500 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2018-01-11 16:53:53 -0500 |
commit | 8938c4c22d720c33441ce95d801056532b99ec18 (patch) | |
tree | c0be7d6176f744da1925fad90d8ae5500b63d9c9 /test | |
parent | b225970e6ca05cab568273b100c5967b4209f621 (diff) | |
download | android-node-v8-8938c4c22d720c33441ce95d801056532b99ec18.tar.gz android-node-v8-8938c4c22d720c33441ce95d801056532b99ec18.tar.bz2 android-node-v8-8938c4c22d720c33441ce95d801056532b99ec18.zip |
n-api: expose n-api version in process.versions
Expose n-api version in process.versions so that it is
available for use in javascript by external modules
like node-pre-gyp. It was previously accessible through
a functon available in the N-API.
PR-URL: https://github.com/nodejs/node/pull/18067
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Tobias Nießn <tniessen@tnie.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-process-versions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-process-versions.js b/test/parallel/test-process-versions.js index 5644ac4658..8f706c6954 100644 --- a/test/parallel/test-process-versions.js +++ b/test/parallel/test-process-versions.js @@ -3,7 +3,7 @@ const common = require('../common'); const assert = require('assert'); const expected_keys = ['ares', 'http_parser', 'modules', 'node', - 'uv', 'v8', 'zlib', 'nghttp2']; + 'uv', 'v8', 'zlib', 'nghttp2', 'napi']; if (common.hasCrypto) { expected_keys.push('openssl'); |