Tim Yung d9c2cdae41 JS: Switch from new Buffer to Buffer.from
Summary:
Constructing `Buffer` using the constructor [[https://nodesource.com/blog/understanding-the-buffer-deprecation-in-node-js-10/ | has been deprecated in Node 10 due to security considerations]].

This is a simple and straightforward conversion.

Reviewed By: mjesun

Differential Revision: D13080655

fbshipit-source-id: 100d8f28c3b255422b26e820aaadcc4f32f41e0d
2018-11-15 12:13:05 -08:00
..
2018-11-01 14:29:16 -07:00
2018-11-05 13:57:47 -08:00
2018-11-02 00:28:28 -07:00
2018-11-05 13:57:47 -08:00
2018-10-30 14:39:33 -07:00