-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix: made to work with node 14+ #43
base: master
Are you sure you want to change the base?
Conversation
Supersedes #39 |
Hi Peter, Thanks for the work. Am I to understand that this change will break node 10, node 12, node 14 ? In the meantime I am glad that you are sharing this work. Kind regards, |
Hi @DanCummins-SAP! I have tested this on node 14 and 16 and this is known to work. It might also build perfectly fine on node 12 and 10, but I don't know since I have not tested. Node 10 support has ended already (it is not even on the compatibility-matrix anymore) and node 12 support will end in april of 2022. I mean I understand that you don't want to break the compatibility-matrix, but currently most of the supported node versions (14, 16 and 17) are not supported by this library (see https://nodejs.org/en/about/releases/). If you were to release this as a major version bump, users still have an option (they can use the old major version) and, more importantly, are still able to use your databases with the more actual versions of nodejs. |
Hi, I had really successful dev times with the 39 pull request. But recently decided to try upgrade node and install the 43 pull request. It looks like npm is having hard time finding the git repo. I run "npm install sqlanywhere/node-sqlanywhere#pull/43/head" and the error I'm getting is "npm ERR! code ENOENT Please help out. |
@fanjian5i5i It looks like your npm installation is having a hard time finding the git binary. I would look into my npm config if I were you. Doesn't seem to have anything to do with the PR. |
Thanks so much for your response. I updated node to 16 and npm to 8 and it did find the git repo and install the pull request |
Are there any plans to merge this PR or update this repo to work on the current versions of NodeJS? Node 14 has been EOL since April 2023 and Node 16 was marked as EOL a few months ago in September 2023. For a full list of EOL dates please see: https://github.com/nodejs/Release#end-of-life-releases |
Updated to also work with node 16. Please note that this MR will drop support for Node versions below 14. Additionally, it might be a good idea to migrate to
node-addon-api
eventually. Node 12 and 14 are currently in maintenance mode and maintenance for 12 will end in April next year (https://nodejs.org/en/about/releases/)