Bump up yarn version from 1.3.2 to 1.10.0 to get rid of 'deprecated Buffer() constructor' warnings #368
Labels
Bug
Tracks issues causing errors or unintended behavior, critical to fix for reliability.
Milestone
I just did a fresh install and I ran into this issue using Yarn v1.6.0:
yarnpkg/yarn#5477
Older versions of Yarn make use of a deprecated Buffer constructor and therefore throw a security and usability error on install:
(node:88819) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Also see Node docs Deprecated APIs
It was fixed in Yarn 1.10.0, that's why I'd suggest to change the yarn version in engines in the package.json accordingly.
The text was updated successfully, but these errors were encountered: