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

build: (deps) [Snyk] Upgrade web3 from 4.11.1 to 4.12.1 #2996

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

swirlds-automation
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade web3 from 4.11.1 to 4.12.1.

ℹ️ 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 16 versions ahead of your current version.

  • The recommended version was released on 25 days ago.

Release notes
Package name: web3
  • 4.12.1 - 2024-08-23

    Hot fix

    [4.12.1]

    Fixed

    web3-eth-accounts

    • Revert TransactionFactory.registerTransactionType if there is a version mistatch between web3-eth and web3-eth-accounts and fix nextjs problem. (#7216)

    What's Changed

  • 4.12.1-dev.e746566.0 - 2024-08-22
  • 4.12.1-dev.0b75589.0 - 2024-08-23
  • 4.12.0 - 2024-08-22

    [4.12.0]

    Fixed

    web3-core

    • setConfig() fix for setMaxListenerWarningThreshold fix (#5079)

    web3-eth-accounts

    • Fix TransactionFactory.registerTransactionType not working, if there is a version mistatch between web3-eth and web3-eth-accounts by saving extraTxTypes at globals. (#7197)

    Added

    web3-eth-accounts

    • Added public function signMessageWithPrivateKey (#7174)

    web3-eth-contract

    • Added populateTransaction to the contract.deploy(...) properties. (#7197)

    web3-providers-http

    • Added statusCode of response in ResponseError, statusCode is optional property in ResponseError.

    web3-rpc-providers

    • Updated rate limit error of QuickNode provider for HTTP transport
    • Added optional HttpProviderOptions | SocketOptions in Web3ExternalProvider and QuickNodeProvider for provider configs

    web3-errors

    • Added optional statusCode property of response in ResponseError.

    Changed

    web3-eth-contract

    • The returnred properties of contract.deploy(...) are structured with a newly created class named DeployerMethodClass. (#7197)
    • Add a missed accepted type for the abi parameter, at dataInputEncodeMethodHelper and getSendTxParams. (#7197)

    What's Changed

    New Contributors

  • 4.11.2-dev.f87ffbe.0 - 2024-08-01
  • 4.11.2-dev.dee14ec.0 - 2024-07-30
  • 4.11.2-dev.d9d0391.0 - 2024-08-20
  • 4.11.2-dev.cbbbd84.0 - 2024-07-24
  • 4.11.2-dev.8b435c1.0 - 2024-08-06
  • 4.11.2-dev.61e9e06.0 - 2024-08-02
  • 4.11.2-dev.60fc197.0 - 2024-08-21
  • 4.11.2-dev.5080e80.0 - 2024-08-02
  • 4.11.2-dev.4f8e8cc.0 - 2024-08-21
  • 4.11.2-dev.2ef694c.0 - 2024-08-21
  • 4.11.2-dev.0db2b18.0 - 2024-08-08
  • 4.11.2-dev.2706805.0 - 2024-08-02
  • 4.11.1 - 2024-07-24

    [4.11.1]

    Fixed

    web3-errors

    • Fixed the undefined data in Eip838ExecutionError constructor (#6905)

    web3-eth

    • Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#7151)
    • Change method getTransactionReceipt to not be casted as TransactionReceipt to give proper return type (#7159)

    web3

    • Remove redundant constructor of contractBuilder (#7150)

    What's Changed

    New Contributors

    Full Changelog: v4.11.0...v4.11.1

from web3 GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Copy link

github-actions bot commented Sep 17, 2024

Acceptance Tests

  17 files  227 suites   29m 50s ⏱️
604 tests 598 ✔️ 4 💤 2
687 runs  679 ✔️ 6 💤 2

Results for commit e609e9a.

♻️ This comment has been updated with latest results.

Snyk has created this PR to upgrade web3 from 4.11.1 to 4.12.1.

See this package in npm:
web3

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/9e95a688-4e8c-4400-bbd9-181a47c69778?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>
@ebadiere ebadiere force-pushed the snyk-upgrade-76614021f9192049d4fe6e4571a30969 branch from 208b800 to e609e9a Compare September 17, 2024 13:30
@ebadiere ebadiere added this to the 0.57.0 milestone Sep 17, 2024
@ebadiere ebadiere added the dependencies Pull requests that update a dependency file label Sep 17, 2024
@ebadiere ebadiere changed the title [Snyk] Upgrade web3 from 4.11.1 to 4.12.1 build (deps) [Snyk] Upgrade web3 from 4.11.1 to 4.12.1 Sep 17, 2024
Copy link

sonarcloud bot commented Sep 17, 2024

Copy link

Tests

       3 files     297 suites   19s ⏱️
1 349 tests 1 348 ✔️ 1 💤 0
1 361 runs  1 360 ✔️ 1 💤 0

Results for commit e609e9a.

@ebadiere ebadiere changed the title build (deps) [Snyk] Upgrade web3 from 4.11.1 to 4.12.1 build: (deps) [Snyk] Upgrade web3 from 4.11.1 to 4.12.1 Sep 17, 2024
@quiet-node quiet-node merged commit b1f1fa2 into main Sep 17, 2024
42 of 44 checks passed
@quiet-node quiet-node deleted the snyk-upgrade-76614021f9192049d4fe6e4571a30969 branch September 17, 2024 16:07
@quiet-node quiet-node modified the milestones: 0.57.0, 0.56.0 Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.61%. Comparing base (e54bb85) to head (e609e9a).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2996      +/-   ##
==========================================
+ Coverage   89.18%   89.61%   +0.42%     
==========================================
  Files          54       58       +4     
  Lines        3783     3879      +96     
  Branches      774      782       +8     
==========================================
+ Hits         3374     3476     +102     
+ Misses        362      356       -6     
  Partials       47       47              
Flag Coverage Δ
relay 89.76% <ø> (+0.16%) ⬆️
server 88.15% <ø> (+0.89%) ⬆️
ws-server 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 9 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants