Skip to content

Commit cb9e247

Browse files
committed
VERSION 1.5.0
1 parent 27cf6d3 commit cb9e247

File tree

5 files changed

+112
-100
lines changed

5 files changed

+112
-100
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
node_modules
22
.vscode
33
build
4-
log
4+
prebuilds
5+
6+
log
7+
.prebuildrc

binding.gyp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
'dependencies': [
1919
"<!(node -p \"require('node-addon-api').gyp\")"
2020
],
21-
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ]
21+
'defines': [
22+
'NAPI_DISABLE_CPP_EXCEPTIONS',
23+
"NAPI_VERSION=<(napi_build_version)"
24+
]
2225
}]
2326
}

cppsrc/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* cppsrc/main.cpp */
22

3-
#define NAPI_EXPERIMENTAL
43
#include <napi.h>
54
#include <cstdint>
65
#include <string>

package-lock.json

Lines changed: 84 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)