slachiewicz opened a new pull request, #3819:
URL: https://github.com/apache/thrift/pull/3819

   Replace deprecated `new Buffer()` constructor calls with `Buffer.alloc()` 
and `Buffer.from()` across `lib/nodejs/lib` and `lib/nodejs/test`.
   
   - `new Buffer(size)` -> `Buffer.alloc(size)`
   - `new Buffer(data[, encoding])` -> `Buffer.from(data[, encoding])`
   
   Eliminates the Node.js `DEP0005` runtime deprecation warning emitted 
whenever the library or tests run. Supersedes stale/closed PR #2163.
   
   - [X] Did you create an [Apache 
Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ticket? 
(THRIFT-5224)
   - [X] If a ticket exists: Does your pull request title follow the pattern 
"THRIFT-NNNN: describe my issue"?
   - [X] Did you squash your changes to a single commit?
   - [X] Did you do your best to avoid breaking changes?
   - [ ] If your change does not involve any code, include `[skip ci]` anywhere 
in the commit message to free up build resources.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to