src: remove unconditional NAPI_EXPERIMENTAL in node.h

PR-URL: https://github.com/nodejs/node/pull/60345
Fixes: https://github.com/nodejs/node/issues/60311
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
This commit is contained in:
Chengzhong Wu authored and Antoine du Hamel committed 2025-11-13 22:44:14 +01:00
1 parent ac3dbe48f7
commit 02fb7f4ecb
6 files changed
+9 -2

No files matched your search

+2
View File
@@ -1,7 +1,9 @@
#include "async_context_frame.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#ifndef NAPI_EXPERIMENTAL
#define NAPI_EXPERIMENTAL
#endif
#include "js_native_api_v8.h"
#include "memory_tracker-inl.h"
#include "node_api.h"