Skip to content

Commit 2fd1cdd

Browse files
bump napi version
1 parent 8764240 commit 2fd1cdd

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/kerberos.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
#ifndef KERBEROS_NATIVE_EXTENSION_H
22
#define KERBEROS_NATIVE_EXTENSION_H
33

4-
// We generally only target N-API version 4, but the instance data
5-
// feature is only available in N-API version 6. However, it is
6-
// available in all Node.js versions that have N-API version 4
7-
#define NAPI_VERSION 6
8-
// as an experimental feature (that has not been changed since then).
9-
#define NAPI_EXPERIMENTAL
10-
#define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
4+
#define NAPI_VERSION 9
115

126
#include <napi.h>
7+
138
#include "kerberos_common.h"
149

1510
namespace node_kerberos {
@@ -74,6 +69,6 @@ void TestMethod(const Napi::CallbackInfo& info);
7469

7570
std::string ToStringWithNonStringAsEmpty(Napi::Value value);
7671

77-
}
72+
} // namespace node_kerberos
7873

7974
#endif // KERBEROS_NATIVE_EXTENSION_H

0 commit comments

Comments
 (0)