Skip to content

Basic context awareness #2491

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

DiefBell
Copy link

@DiefBell DiefBell commented Feb 25, 2025

This is to just help with some minor Electron issues we had.
Can a collaborator make a v2.x branch off of v2.11.2 to put this into please? Then I can change PR target to that

@chearon
Copy link
Collaborator

chearon commented Feb 25, 2025

The only change from v2 to v3 was increasing the minimum node version. Can you upgrade instead?

@DiefBell
Copy link
Author

Very much stuck on Node 16 currently

@DiefBell
Copy link
Author

Could v3 be made Node16 compatible?

@chearon
Copy link
Collaborator

chearon commented Feb 26, 2025

My memory is that v3 runs in node 16 just fine, but node-addon-api doesn't officially support it. I would give it a shot. I don't think I have the amount of time it takes to get the old build scripts for v2 working again, but there has been a lot of pressure to do so.

@DiefBell
Copy link
Author

So v2 can't actually be built now? Hence v3?

@DiefBell
Copy link
Author

node-addon-api@7.1.1 is actually Node16 compatible, if that's the only thing limiting Node version compatibility for canvas

@chearon
Copy link
Collaborator

chearon commented Mar 2, 2025

I think we bumped node to 18 because the earlier versions aren't supported anymore, not due to any changes to node-canvas: #2310

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