-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Web3.utils._ undefined #4403
Comments
We removed the underscore package recently and web3.utils._ should be removed from the docs, thank you for pointing this out :) |
Thanks, @luu-alex for the confirmation. |
@luu-alex I updated the docs and tried to push but it seems I need to get permission first? is there any way to get permission I want to be part of the community? |
@JahanzebNawaz You have to fork the repo and then make changes to it and create a pull request agains the our repo. For further details you can can check this link. You should also look our contribution guide for more details. |
Thanks, @nazarhussain |
Is there an existing issue for this?
Current Behavior
I was testing Web3 utils and in documents Web3.utils._, it is specified about underscore library, but while testing it seems we don't have underscore library in package anymore.
Web3.utils._;
returnsundefined
I have gone through the utils file in the package couldn't find the underscore library imported or mentioned.
As per this issue 2282 it seems the underscore library is no more in use. changed to lodash.
Expected Behavior
As per the documents, it should be present and in working condition. if it's deprecated please update the documents.
Steps to Reproduce
Need to update documents if the library is deprecated.
Web3.js Version
1.5.3
Environment
Anything Else?
No response
The text was updated successfully, but these errors were encountered: