-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for node version 20.17.0 #976
Conversation
fixed linkage error for multiple function definitions. refs nodejs#973
Thank you, I will take a closer look at this in the coming days. However, assuming that this works backwards for relatively old versions of Node.js (I do not know where to reasonably draw the cut-off line), I still have some concerns about the issues mentioned at the end of my latest comment on the issue related to (javascript) exception handling. That is, even if it compiles, there might be runtime inconsistencies lurking beneath the surface. |
Just wanted to add that the issue is also present in upcoming Node.js 23 as this commit deps: update V8 to 12.8.374.13 was added to main node branch about a week before #973 was opened. I tested this PR with main node branch (AKA 23) and it resolves issues with node native modules that have dependency on Node.js without Electron. Without it the failure is the exact same as with Electron 32, my findings are documented in this comment: #973 (comment). Multiple people including myself reported that this PR does resolve #973. |
|
@toshiyuki-rs Would you be able to take a look at failing tests by any chance? |
Yes, I will check test/cpp/methodswithdata.cpp and test/cpp/methodswithdata.cpp |
I removed wrong preprocessor directive. refs nodejs#973
I removed wrong preprocessor directive and ran test.
|
Wonderful, this is looking a lot better: https://ci.appveyor.com/project/RodVagg/nan/builds/50749401 I shall take a closer look once it has finished. |
Looks great, I only have one small request: Could you redo the |
Can confirm this pr allows me to compile [edit] |
The patch made IdleNotification deprecated and updated documents. refs nodejs#974
I made IdleNotification deprecated and updated documents. |
Thank you. I will wait for the results of the regression tests to finish, then merge this and push a new release. |
Unfortunately NAN |
I modified some implementations to be able to compile for node version 20.17.0.
This modification may resolve #973 .