Skip to content

Commit 43dc439

Browse files
authored
Disable N-API by default (nodejs#169)
1 parent 7e2cbb9 commit 43dc439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ std::string icu_data_dir; // NOLINT(runtime/string)
181181
#endif
182182

183183
// By default we accept N-API addons
184-
bool load_napi_modules = true;
184+
bool load_napi_modules = false;
185185

186186
// used by C++ modules as well
187187
bool no_deprecation = false;

0 commit comments

Comments
 (0)