Closed ChALkeR closed 6 years ago
Use Buffer.alloc when it's available instead of new Bufer(number).
Buffer.alloc
new Bufer(number)
Fixes: https://github.com/unclechu/node-deep-extend/issues/37 Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor Tracking: https://github.com/nodejs/node/issues/19079
Use
Buffer.alloc
when it's available instead ofnew Bufer(number)
.Fixes: https://github.com/unclechu/node-deep-extend/issues/37 Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor Tracking: https://github.com/nodejs/node/issues/19079