martin-g opened a new pull request #1285:
URL: https://github.com/apache/avro/pull/1285
Use Buffer.alloc(), allocUnsafeSlow() and from() factory methods instead
### Jira
https://issues.apache.org/jira/browse/AVRO-3174
### Tests
Several test files are also updated.
Now running `npm run test` no more produces this warning:
```
(node:1205780) [DEP0005] DeprecationWarning: Buffer() is deprecated due to
security and usability issues. Please use the Buffer.alloc(),
Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
```
### Documentation
No public facing API has been changed. No need of documentation updates.
--
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]