File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
- const bindings = require ( '../build/Release/canvas.node' )
3
+ const bindings = require ( '../build/Release/napi-v7/ canvas.node' )
4
4
5
5
module . exports = bindings
6
6
Original file line number Diff line number Diff line change 37
37
},
38
38
"binary" : {
39
39
"module_name" : " canvas" ,
40
- "module_path" : " build/Release" ,
40
+ "module_path" : " build/Release/napi-v{napi_build_version} " ,
41
41
"host" : " https://github.com/Automattic/node-canvas/releases/download/" ,
42
42
"remote_path" : " v{version}" ,
43
- "package_name" : " {module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
43
+ "napi_versions" : [7 ],
44
+ "package_name" : " {module_name}-v{napi_build_version}-{platform}-{libc}-{arch}.tar.gz"
44
45
},
45
46
"files" : [
46
47
" binding.gyp" ,
You can’t perform that action at this time.
0 commit comments