gkz / LiveScript

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
http://livescript.net
MIT License
2.32k stars 155 forks source link

Ensure using newer implementation of `Buffer.from` #1062

Closed pepkin88 closed 6 years ago

pepkin88 commented 6 years ago

Prior to Node v5.10 (and v4.5) it's impossible to use Buffer.from for creating buffers from string. Existence of Buffer.alloc implies the newer implementation of Buffer.from and possibility to use it with strings.

rhendric commented 6 years ago

Thanks for sleuthing this out!