NUWCDIVNPT / stigman-watcher

A utility that watches a path for test result files on behalf of a STIG Manager Collection
Other
6 stars 4 forks source link

DeprecationWarning in node #116

Closed thukk closed 2 months ago

thukk commented 3 months ago

Noticed the below message when running Watcher 1.4.3

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

cd-rite commented 3 months ago

Used in the n-readlines package, for which there is no update. Deprecation warning only present due to binary roll-up that confuses Node deprecation warnings because dependency does not appear to be in the node_modules folder. buffer() still supported in Node22