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 11'use strict'
22
3- const bindings = require ( '../build/Release/canvas.node' )
3+ const bindings = require ( '../build/Release/napi-v7/ canvas.node' )
44
55module . exports = bindings
66
Original file line number Diff line number Diff line change 3737 },
3838 "binary" : {
3939 "module_name" : " canvas" ,
40- "module_path" : " build/Release" ,
40+ "module_path" : " build/Release/napi-v{napi_build_version} " ,
4141 "host" : " https://github.com/Automattic/node-canvas/releases/download/" ,
4242 "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"
4445 },
4546 "files" : [
4647 " binding.gyp" ,
You can’t perform that action at this time.
0 commit comments