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

Run CI on Node 22 #129

Merged
merged 1 commit into from
May 4, 2024
Merged

Run CI on Node 22 #129

merged 1 commit into from
May 4, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented May 4, 2024

This runs the CI on Node 22.

t.is(new Uint8Array(bufferedData)[0], 0);
});

const CHUNK_SIZE = 2 ** 16;
Copy link
Collaborator Author

@ehmicky ehmicky May 4, 2024

Choose a reason for hiding this comment

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

Node 22 increased the maximum size of Buffer and ArrayBuffer from 4GB to 75GB. This is too high to be able to run this test without either crashing the process or making the test run for too long.

Thankfully, we run a similar test but for the other methods getStream(), etc. so they should be covering that case.

@sindresorhus sindresorhus merged commit ee6de5c into main May 4, 2024
4 checks passed
@sindresorhus sindresorhus deleted the node-22 branch May 4, 2024 18:37
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