josa42 / atom-svg-preview

Live SVG preview for Atom editor
MIT License
51 stars 14 forks source link

[svg-to-raster] replaces new Buffer(...) by Buffer.from(...) #42

Closed sverweij closed 7 years ago

sverweij commented 7 years ago

This PR replaces the new Buffer() call by Buffer.from() - which is the alternative suggested in the node 6 and 7 documentation.

josa42 commented 7 years ago

Better late than never ;-)

Thank you 🙏