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

Update bn.js to latest version due to Buffer() deprecation warnings. #120

Open
tabarra opened this issue Feb 10, 2020 · 0 comments
Open

Comments

@tabarra
Copy link

tabarra commented Feb 10, 2020

The dependency bn.js is currently on version 5.1.1 and asn1.js requires ^4.0.0.
This will likely solve a deprecation warning on the Buffer() usage.

(node:21760) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
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

1 participant