Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer deprecation warning on Node 10 #5753

Closed
blackxored opened this issue Apr 28, 2018 · 5 comments
Closed

Buffer deprecation warning on Node 10 #5753

blackxored opened this issue Apr 28, 2018 · 5 comments
Assignees
Labels

Comments

@blackxored
Copy link

Do you want to request a feature or report a bug?

Report a bug

What is the current behavior?

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

If the current behavior is a bug, please provide the steps to reproduce.
Most commands, other than version. yarn global bin produces the least amount of output.

What is the expected behavior?

No warnings.

Please mention your node.js, yarn and operating system version.

node -v && yarn -v
v10.0.0
1.6.0
@ghost ghost assigned torifat Apr 28, 2018
@ghost ghost added the triaged label Apr 28, 2018
@mathmarques
Copy link

mathmarques commented Apr 29, 2018

Duplicated of #5731, #5477 and #5704
Already fixed (waiting the next yarn release)

@BYK
Copy link
Member

BYK commented Apr 29, 2018

Closing in favor of #5477.

@BYK BYK closed this as completed Apr 29, 2018
@slimlime
Copy link

slimlime commented Jul 1, 2018

Fixed in the proceeding releases? 😕 Confused because those other issues show older versions 1.5.1, 1.6.0 and I am still getting this issue on yarn 1.7.0

Example:

yarn global v1.7.0
(node:14840) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.al
loc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

@rexkenley
Copy link

rexkenley commented Jul 16, 2018

I have yarn 1.7.0 and nodejs 10.6 and am getting this warning.

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

This seems to cause upgrade-interactive to "hang".

@normancarcamo
Copy link

Same issue here: Node: v10.8.0, Npm: 6.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants