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

[INTERNAL] Replace deprecated new Buffer() calls #1064

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Jul 22, 2024

Replacing deprecated 'new Buffer(string)' with 'Buffer.from(string)'.

Resolves a TypeError being thrown in our tests when executed with
Node 20.15.0 or 22.3.0.

Root cause: nodejs/node#53075

(cherry picked from commit 934956a)

Replacing deprecated 'new Buffer(string)' with 'Buffer.from(string)'.

Resolves a TypeError being thrown in our tests when executed with
Node 20.15.0 or 22.3.0.

Root cause: nodejs/node#53075

(cherry picked from commit 934956a)
@coveralls
Copy link

Coverage Status

coverage: 94.621%. remained the same
when pulling 72a5cf3 on v3-remove-new-buffer
into 8805842 on v3.

@RandomByte RandomByte merged commit 0d2e62c into v3 Jul 22, 2024
16 checks passed
@RandomByte RandomByte deleted the v3-remove-new-buffer branch July 22, 2024 14:24
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.

3 participants