Skip to content

Conversation

legobeat
Copy link
Collaborator

@legobeat legobeat commented Feb 23, 2024

Buffer.alloc is not available in Node.js <v4.

Fall back to legacy constructor for those cases.

This can be removed when node.engines is bumped to at least v4.

…r.from not available

Buffer.alloc is not available in Node.js <v4. Fall back to legacy
constructor.
@legobeat legobeat marked this pull request as ready for review February 23, 2024 02:21
@thlorenz thlorenz merged commit ea1051a into thlorenz:master Feb 24, 2024
@legobeat legobeat mentioned this pull request Feb 25, 2024
5 tasks
@legobeat legobeat mentioned this pull request Mar 13, 2024
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