Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Avoid using deprecated Buffer constructor (#1510)
safe-buffer is already used and provides Buffer.alloc polyfill, so just use Buffer.alloc directly to avoid hitting deprecated API. Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor
- Loading branch information