memory-fs icon indicating copy to clipboard operation
memory-fs copied to clipboard

Avoid using deprecated Buffer constructor

Open ChALkeR opened this issue 7 years ago • 1 comments

Use Buffer.from/Buffer.alloc instead.

This bumps the minimal Node.js version from 4.3.0 to 4.5.0, but Node.js v4.x.x is long unsupported by upstream.

Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor Refs: https://github.com/nodejs/node/pull/21351

/cc @sokra

ChALkeR avatar Aug 08 '18 13:08 ChALkeR

Someday maybe XD

Amirault avatar Jan 04 '21 11:01 Amirault