From c74c6a5ccf8a9c4b3775c7c8950dd16282f41c39 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Thu, 5 Sep 2019 09:33:47 -0700 Subject: [PATCH] n-api: mark version 5 N-APIs as stable PR-URL: https://github.com/nodejs/node/pull/29401 Backport-PR-URL: https://github.com/nodejs/node/pull/29458 Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson --- doc/api/n-api.md | 8 ------- src/node_api.h | 22 +++++++++++++------- src/node_version.h | 2 +- test/addons-napi/test_date/test_date.c | 2 -- test/addons-napi/test_general/test.js | 2 +- test/addons-napi/test_general/test_general.c | 1 - 6 files changed, 16 insertions(+), 21 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 69c7969ddb1c14..1596a4274764be 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1476,8 +1476,6 @@ added: REPLACEME napiVersion: 4 --> -> Stability: 1 - Experimental - ```C napi_status napi_create_date(napi_env env, double time, @@ -2121,8 +2119,6 @@ added: REPLACEME napiVersion: 4 --> -> Stability: 1 - Experimental - ```C napi_status napi_get_date_value(napi_env env, napi_value value, @@ -2730,8 +2726,6 @@ added: REPLACEME napiVersion: 4 --> -> Stability: 1 - Experimental - ```C napi_status napi_is_date(napi_env env, napi_value value, bool* result) ``` @@ -3823,8 +3817,6 @@ JavaScript object becomes garbage-collected. ### napi_add_finalizer -> Stability: 1 - Experimental -