top | item 16915969 Node v10.0.0 Released 35 points| dikiaap | 8 years ago |nodejs.org | reply 2 comments order hn newest [+] [-] Thomaschaaf|8 years ago|reply What is the reason for limiting buffers to the node_modules folder? [+] [-] uwu|8 years ago|reply you've misunderstood, it just emits a warning for using the Buffer constructor which is deprecated in favor of Buffer.from and others[1]it's limited to code outside of the node_modules folder to prevent dependencies from triggering an unactionable message[1] https://nodejs.org/api/buffer.html#buffer_new_buffer_array
[+] [-] Thomaschaaf|8 years ago|reply What is the reason for limiting buffers to the node_modules folder? [+] [-] uwu|8 years ago|reply you've misunderstood, it just emits a warning for using the Buffer constructor which is deprecated in favor of Buffer.from and others[1]it's limited to code outside of the node_modules folder to prevent dependencies from triggering an unactionable message[1] https://nodejs.org/api/buffer.html#buffer_new_buffer_array
[+] [-] uwu|8 years ago|reply you've misunderstood, it just emits a warning for using the Buffer constructor which is deprecated in favor of Buffer.from and others[1]it's limited to code outside of the node_modules folder to prevent dependencies from triggering an unactionable message[1] https://nodejs.org/api/buffer.html#buffer_new_buffer_array
[+] [-] Thomaschaaf|8 years ago|reply
[+] [-] uwu|8 years ago|reply
it's limited to code outside of the node_modules folder to prevent dependencies from triggering an unactionable message
[1] https://nodejs.org/api/buffer.html#buffer_new_buffer_array