natevw / fatfs

Standalone FAT16/FAT32 filesystem implementation in JavaScript
47 stars 13 forks source link

Buffer deprecation warning on node 10 #29

Closed natevw closed 5 years ago

natevw commented 5 years ago

This library is triggering the following deprecation warning:

(node:30726) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Should be a relatively easy fix.

natevw commented 5 years ago

Fixed in https://github.com/natevw/fatfs/commit/ea53bdc4e5482ade19d346c21b38ae27de59beee (wrong issue tagged in commit)