w0rm / gulp-svgstore

Combine svg files into one with symbol elements
https://www.npmjs.com/package/gulp-svgstore
645 stars 33 forks source link

Moving away from the Buffer constructor #93

Closed gabrielschulhof closed 6 years ago

gabrielschulhof commented 6 years ago

new Buffer(...) is deprecated and unsafe. Would it be possible to use Buffer.from(...) in the relevant places instead?

w0rm commented 6 years ago

I’m not sure. This would require dropping 0.12 support.

w0rm commented 6 years ago

Released 7.0.0 that stops using new Buffer()