-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Snyk] Upgrade tronweb from 4.4.0 to 5.3.2 #6
base: master
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade tronweb from 4.4.0 to 5.3.2. See this package in npm: tronweb See this project in Snyk: https://app.snyk.io/org/okeamah/project/91391991-0ff9-4e8e-8dd4-8a9361adadd1?utm_source=github&utm_medium=referral&page=upgrade-pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
Snyk has created this PR to upgrade tronweb from 4.4.0 to 5.3.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released on 6 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-6032459
SNYK-JS-AXIOS-6124857
Release notes
Package name: tronweb
transactionBuilder
libtrx.getBandwidthPrices
andtrx.getEnergyPrices
trx.ecRecover
address[][]
for ABI params encoding intriggerSmartContract
andcreateSmartContract
#433triggerSmartContract
with error address due to the undefined callback #429freezeBalanceV2
,unfreezeBalanceV2
,delegateResource
,undelegateResource
andwithdrawExpireUnfreeze
function in transactiobBuiler lib to support stakeV2tronWeb.transactionBuilder.estimateEnergy
to estimate energy for triggersmartcontract transactiongetDelegatedResourceV2
,getDelegatedResourceAccountIndexV2
,getCanDelegatedMaxSize
,getAvailableUnfreezeCount
andgetCanWithdrawUnfreezeAmount
function to query account resource infotronWeb.utils.transaction
lib to serialize and deserialize transactiontronWeb.utils.transaction.txJsonToPb
function to convert transaction json to protobuftronWeb.utils.transaction.txPbToTxID
function to get txID from transaction protobufcreateAccount
createRandom
andfromMnemonic
functiontronWeb.utils.message
lib, which includeshashMessage
,signMessage
andverifyMessage
signMessageV2
andverifyMessageV2
intronWeb.trx
lib which can support plain text signature and verificationsize
filter for event watchImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: