File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
32
32
endif ()
33
33
endif ()
34
34
35
- add_definitions (-DNAPI_VERSION=8 ) # Keep in sync with binding-options.cjs
35
+ add_definitions (-DNAPI_VERSION=9 ) # Keep in sync with binding-options.cjs
36
36
add_definitions (-DNAPI_DISABLE_CPP_EXCEPTIONS )
37
37
38
38
set (SOURCES
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
name : 'node_canbridge' ,
3
- napi_versions : [ 8 ] , // Keep in sync with CMakeLists.txt
3
+ napi_versions : [ 9 ] , // Keep in sync with CMakeLists.txt
4
4
}
Original file line number Diff line number Diff line change 25
25
"scripts" : {
26
26
"install" : " pkg-prebuilds-verify binding-options.cjs || npm run build" ,
27
27
"build" : " node scripts/download-CanBridge.mjs && cmake-js compile && tsc" ,
28
- "prepublishOnly" : " npm run build && pkg-prebuilds-copy --baseDir build/Release --source node_canbridge.node --name node_canbridge --napi_version=8 " ,
28
+ "prepublishOnly" : " npm run build && pkg-prebuilds-copy --baseDir build/Release --source node_canbridge.node --name node_canbridge --napi_version=9 " ,
29
29
"pretest" : " npm run build" ,
30
30
"test" : " echo running test && node --napi-modules test/test_binding.js"
31
31
},
You can’t perform that action at this time.
0 commit comments