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

Fix 647 Support Node 18 as Target #649

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ronilan
Copy link
Contributor

@ronilan ronilan commented May 4, 2022

Overview

This pull request fixes #647

Change

  • Updated abi_crosswalk.json to include node 18 (current) (via script).
  • Added test coverage for cases of unsupported/unknown targets.

- Updated abi_crosswalk.json to include node 18 (current).
- Added test coverage for cases of unsupported/unknown targets.
@acalcutt
Copy link

Would love to see this merged for the node 18 support

Copy link
Contributor

@axrj axrj left a comment

Choose a reason for hiding this comment

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

Thanks!

@axrj
Copy link
Contributor

axrj commented Jul 13, 2023

Hey! I noticed CI job is missing for node 18, mind adding that?

@axrj axrj self-requested a review July 13, 2023 11:45
@ronilan
Copy link
Contributor Author

ronilan commented Jul 19, 2023

Hey! I noticed CI job is missing for node 18, mind adding that?

@axrj assuming this was referring me, I wrote this PR (and all others leading to #656) last year using two weeks of @solarwindscloud time. I’m no longer on their paycheck (and I think they moved away from this package, @cheempz can confirm).

As said earlier this year in #657, if there is interest from corporate users of the package to fund more active maintenance and/or tackling some of the more prominent open issues, and/or potentially taking it off @mapbox - I should be technically able.

Copy link

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

},
"18.1.0": {
"node_abi": 108,
"v8": "10.1"
}
Copy link

@cclauss cclauss Apr 11, 2024

Choose a reason for hiding this comment

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

Below a ⛔ symbol appears here because the GitHub editor wants all text files to end with one and only one blank line.

@cclauss
Copy link

cclauss commented Apr 11, 2024

@ronilan, @ewanharris Would you be willing to collaborate to make a single pull request that supports all current versions of Node.js with successful AppVeyor tests?

@ronilan you could bring in the changes from #709 into this pull request and update support for Node.js up to v21 to lib/util/abi_crosswalk.json.

@ewanharris you could help me to add your patch-package trick (#710 (comment)) to the AppVeyor process.

By combining our knowledge we should provide a working example of taking the current codebase and patching in updates to lib/util/abi_crosswalk.json and passing tests on all currently supported versions of Node.js.

Thoughts?

@ewanharris
Copy link
Contributor

ewanharris commented Apr 11, 2024

@cclauss the patch-package process is more for consumers of node-pre-gyp to workaround the lack of updates, it allows patching the abi_crosswalk.json file after installing node_modules to allow builds to work on newer versions.

I'd be happy to PR an updated abi_crosswalk.json file to the branch for this update in @ronilan's repo so that this PR then gets updated with the latest versions once that PR is merged, or I can PR onto the branch used for #709

@acalcutt
Copy link

acalcutt commented Apr 11, 2024

Just an FYI for anyone interested. I have updated abi_crosswalk.json to node 21 in my fork of node-pre-gyp at @acalcutt/node-pre-gyp , which I forked for the node version of maplibre-native (a fork of mapbox-native).

Unfortunately it doesn't seem like anyone is maintaining this here.... since this has been open a while with no interest and now needs further updating.

@acalcutt
Copy link

I added #711 to update abi_crosswalk.json to node 21 if anyone is interested in updating the support.

@acalcutt
Copy link

acalcutt commented Apr 11, 2024

I added a second PR #712 which I think makes the changes requsted by @cclauss in #649 (comment) , which is an alternate to #711

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.

node 18 support
5 participants