Skip to content

C: add Node 24 #15408

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

Merged
merged 2 commits into from
May 7, 2025
Merged

C: add Node 24 #15408

merged 2 commits into from
May 7, 2025

Conversation

stscoundrel
Copy link
Contributor

Add Node 24 to version matrix, as it is the "current" and upcoming LTS version.

Required small change to two test cases:

The prevValue tests used "nulls" in expected values. This comparison fails in Node 24, as the actual value is "undefined".

However, the original value seems to be "undefined" in previous Node versions too. Therefore it does not seem like a change in behaviour, but only a change in how strict the assert is. Changing the expected value to "undefined" works in both Node 24 and previous Node versions.

stscoundrel and others added 2 commits May 7, 2025 08:47
Add Node 24 to version matrix, as it is the "current" and upcoming LTS version.
The prevValue tests used "nulls" in expected values. This comparison fails in Node 24, as the actual value is "undefined".

However, the original value seems to be "undefined" in previous Node versions too. Therefore it does not seem like a change in behaviour, but only a change in how strict the assert is. Changing the expected value to "undefined" works in both Node 24 and previous Node versions.
@vkarpov15 vkarpov15 added this to the 8.14.2 milestone May 7, 2025
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 merged commit 3d160cf into Automattic:master May 7, 2025
35 checks passed
@stscoundrel stscoundrel deleted the ci-node-24 branch May 7, 2025 18:11
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