mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43686 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 fbshipit-source-id: 8b5af9e2d7e026cbdf6aa68f71ff0f856fb164db