Skip to content
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

feat: add support for node 22 #88

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

ewanharris
Copy link
Contributor

node-pre-gyp is still dead so update the patch we use to build and nan to bring in Node 22 compatibility, still outputs some deprecations but builds just fine. Tested locally and .devices works as expected and is able to load the binding, have not tested anything further as I don't have the ability to

Closes #87

@ewanharris ewanharris mentioned this pull request Jun 18, 2024
@cb1kenobi
Copy link
Contributor

@ewanharris Looks good and works, but CI is failing. Would you kindly bump the Node.js verision for the the build and publish CI scripts to Node 18 and see if that helps?

@ewanharris
Copy link
Contributor Author

It looks like the issue is because of the python version which node-gyp fixed (nodejs/node-gyp/issues/2869), we need npm 10.2.2 or newer which 🤞🏻 should be in Node 18, if not I'll just add installing a new npm version

@ewanharris
Copy link
Contributor Author

@cb1kenobi done and looks too be good!

Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cb1kenobi cb1kenobi merged commit 7d76a93 into tidev:1_X Jun 18, 2024
1 check passed
@cb1kenobi
Copy link
Contributor

[email protected] published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants