massick / gulp-strip-code

A gulp plugin to remove parts of code based on regular expressions.
MIT License
25 stars 6 forks source link

Fixed Buffer() DeprecationWarning #16

Closed Mintonne closed 5 years ago

Mintonne commented 5 years ago

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Source - https://nodejs.org/dist/latest-v10.x/docs/api/buffer.html#buffer_new_buffer_array