Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(middleware): avoid using deprecated Buffer API
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