Skip to content

FIx "Buffer() is deprecated" warning from inspector proxy#43686

Closed
robhogan wants to merge 1 commit into
facebook:mainfrom
robhogan:export-D55472025
Closed

FIx "Buffer() is deprecated" warning from inspector proxy#43686
robhogan wants to merge 1 commit into
facebook:mainfrom
robhogan:export-D55472025

Conversation

@robhogan
Copy link
Copy Markdown
Contributor

Summary:
Under Node 20, the use of new Buffer(string) is deprecated and logs a warning. This replaces it with the recommended Buffer.from(string).

Changelog:
[General][Fixed] FIx "Buffer() is deprecated" warning from debugger proxy.

Differential Revision: D55472025

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 28, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55472025

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55472025

Summary:

Under Node 20, the use of `new Buffer(string)` is deprecated and logs a warning. This replaces it with the recommended `Buffer.from(string)`.

Changelog: 
[General][Fixed] FIx "Buffer() is deprecated" warning from debugger proxy.

Reviewed By: huntie

Differential Revision: D55472025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55472025

robhogan added a commit to robhogan/react-native that referenced this pull request Mar 28, 2024
…book#43686)

Summary:

Under Node 20, the use of `new Buffer(string)` is deprecated and logs a warning. This replaces it with the recommended `Buffer.from(string)`.

Changelog: 
[General][Fixed] FIx "Buffer() is deprecated" warning from debugger proxy.

Reviewed By: huntie

Differential Revision: D55472025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in fd1e5e7.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants