Skip to content

A deprecation warning is shown when tns debug ios command is executed with node v10 #3660

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

Closed
Fatme opened this issue Jun 4, 2018 · 2 comments
Assignees
Milestone

Comments

@Fatme
Copy link
Contributor

Fatme commented Jun 4, 2018

Please, provide the details below:

Which platform(s) does your issue occur on?

iOS

Please tell us how to recreate the issue in as much detail as possible.

Steps to reproduce:

  1. Ensure node v10 is used (node --version)
  2. Run tns debug ios command and open the provided debug chrome dev tools url.
  3. The following deprecation warning is shown on console:
(node:93714) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
@Fatme Fatme added this to the 4.1.1 milestone Jun 4, 2018
@Fatme Fatme self-assigned this Jun 4, 2018
@Natalia-Hristova
Copy link

Cannot reproduce the old behavior that is mention in the PR #3635 using node v10 and [email protected]

@rosen-vladimirov
Copy link
Contributor

The issue can be reproduced only when using CLI from the GitHub repository. When you install it from npm, the package is inside node_modules and Node.js does not print the warning in such case (check Buffer section here https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.0.0 )

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

No branches or pull requests

3 participants