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

[Snyk] Upgrade web3 from 4.1.0 to 4.1.1 #1731

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

swirlds-automation
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade web3 from 4.1.0 to 4.1.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 10 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-08-21.
Release notes
Package name: web3
  • 4.1.1 - 2023-08-21

    Added

    web3

    • To fix issue #6190, added the functionality to introduce different timeout value for Web3. (#6336)

    web3-core

    • To fix issue #6190, added the functionality to introduce different timeout value for Web3. (#6336)

    web3-eth-contract

    • In case of error events there will be inner error also available for details

    Fixed

    web3-eth

    • Added return type for formatSubscriptionResult in class NewHeadsSubscription (#6368)

    web3-core

    • Fixed rpc errors not being sent as an inner error when using the send method on request manager (#6300).

    web3-errors

    web3-eth-contract

    • Fixed bug in contract.events.allEvents

    web3-validator

    Changed

    • Updated web3 dependencies of other packages
  • 4.1.1-dev.f4fd498.0 - 2023-08-15
  • 4.1.1-dev.ec6e117.0 - 2023-08-17
  • 4.1.1-dev.d41a49e.0 - 2023-08-17
  • 4.1.1-dev.c41d356.0 - 2023-08-15
  • 4.1.1-dev.a4cae6f.0 - 2023-08-15
  • 4.1.1-dev.86f0cdb.0 - 2023-08-18
  • 4.1.1-dev.7a38fee.0 - 2023-08-17
  • 4.1.1-dev.622174c.0 - 2023-08-15
  • 4.1.1-dev.1cdc86c.0 - 2023-08-18
  • 4.1.0 - 2023-08-15

    Added

    web3

    • Added minimum support of web3.extend function

    web3-core

    • Added minimum support of web3.extend function

    web3-errors

    • RpcErrorMessages that contains mapping for standard RPC Errors and their messages. (#6230)
    • created TransactionGasMismatchInnerError for clarity on the error in TransactionGasMismatchError (#6215)
    • created MissingGasInnerError for clarity on the error in MissingGasError (#6215)

    web3-eth

    • A rpc_method_wrapper (signTypedData) for the rpc calls eth_signTypedData and eth_signTypedData_v4 (#6286)
    • A signTypedData method to the Web3Eth class (#6286)

    web3-eth-abi

    • A getEncodedEip712Data method that takes an EIP-712 typed data object and returns the encoded data with the option to also keccak256 hash it (#6286)

    web3-rpc-methods

    • A signTypedData method to eth_rpc_methods for the rpc calls eth_signTypedData and eth_signTypedData_v4 (#6286)

    web3-types

    • eth_signTypedData and eth_signTypedData_v4 to web3_eth_execution_api (#6286)
    • Eip712TypeDetails and Eip712TypedData to eth_types (#6286)

    web3-validator

    • Added json-schema as a main json schema type (#6264)

    Fixed

    web3-core

    • Fixed the issue: "Version 4.x does not fire connected event for subscriptions. #6252". (#6262)

    web3-errors

    • Fixed: "'disconnect' in Eip1193 provider must emit ProviderRpcError #6003".(#6230)

    web3-eth

    • sendTransaction will have gas filled by default using method estimateGas unless transaction builder options.fillGas is false. (#6249)
    • Missing blockHeaderSchema properties causing some properties to not appear in response of newHeads subscription (#6243)
    • Missing blockHeaderSchema properties causing some properties to not appear in response of newHeads subscription (#6243)

    web3-providers-ws

    • Ensure a fixed version for "@ types/ws": "8.5.3" (#6309)

    Changed

    web3-core

    • No need to pass CommonSubscriptionEvents & at every child class of Web3Subscription (#6262)
    • Implementation of _processSubscriptionResult and _processSubscriptionError has been written in the base class Web3Subscription and maid public. (#6262)
    • A new optional protected method formatSubscriptionResult could be used to customize data formatting instead of re-implementing _processSubscriptionResult. (#6262)
    • No more needed to pass CommonSubscriptionEvents & for the first generic parameter of Web3Subscription when inheriting from it. (#6262)

    web3-eth

    • MissingGasError error message changed for clarity (#6215)
    • input and data are no longer auto populated for transaction objects if they are not present. Instead, whichever property is provided by the user is formatted and sent to the RPC provider. Transaction objects returned from RPC responses are still formatted to contain both input and data properties (#6294)

    web3-eth-accounts

    • Dependencies updated

    web3-eth-contract

    • Dependencies updated

    web3-eth-ens

    • Dependencies updated

    web3-eth-iban

    • Dependencies updated

    web3-eth-personal

    • Dependencies updated

    web3-net

    • Dependencies updated

    web3-providers-http

    • Dependencies updated

    web3-providers-ipc

    • Dependencies updated

    web3-types

    • input and data are now optional properties on PopulatedUnsignedBaseTransaction (previously input was a required property, and data was not available) (#6294)

    web3-utils

    • Dependencies updated

    web3-validator

    • Replace is-my-json-valid with zod dependency. Related code was changed (#6264)
    • Types ValidationError and JsonSchema were changed (#6264)

    Removed

    web3-eth

    • Missing blockHeaderSchema properties causing some properties to not appear in response of newHeads subscription (#6243)
    • Type RawValidationError was removed (#6264)

    web3-validator

    • Type RawValidationError was removed (#6264)
from web3 GitHub release notes
Commit messages
Package name: web3
  • f2665c7 changelog update
  • 1a878c2 Merge branch '4.x' into release/4.1.1
  • 1cdc86c update formatsubscriptionResult type (#6369)
  • 6e74d98 version bumps
  • c3514a8 changelog updates
  • 86f0cdb ESM import fix (#6362)
  • ec6e117 Bump @ openzeppelin/contracts from 4.9.2 to 4.9.3 (#6348)
  • d41a49e added the functionality to introduce different timeout value for Web3… (#6336)
  • 7a38fee Tests fix due to geth release changes (#6354)
  • 622174c add inner error to errors on send 6300 (#6350)
  • a4cae6f chore: add links to example plugins and plugin registry (#6341)
  • c41d356 6306 allEvents bug fix (#6346)
  • f4fd498 Release/4.1.0 (#6342)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.83% ⚠️

Comparison is base (24b48c4) 77.48% compared to head (8406dec) 76.65%.

❗ Current head 8406dec differs from pull request most recent head 923ba5c. Consider uploading reports for the commit 923ba5c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1731      +/-   ##
==========================================
- Coverage   77.48%   76.65%   -0.83%     
==========================================
  Files          26       39      +13     
  Lines        2323     2913     +590     
  Branches      475      584     +109     
==========================================
+ Hits         1800     2233     +433     
- Misses        379      499     +120     
- Partials      144      181      +37     

see 14 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@AlfredoG87 AlfredoG87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlfredoG87 AlfredoG87 self-assigned this Sep 11, 2023
@AlfredoG87 AlfredoG87 added P2 dependencies Pull requests that update a dependency file labels Sep 11, 2023
@AlfredoG87 AlfredoG87 added this to the 0.32.0 milestone Sep 11, 2023
@AlfredoG87 AlfredoG87 merged commit 590446d into main Sep 11, 2023
@AlfredoG87 AlfredoG87 deleted the snyk-upgrade-86cff2808c85793c3c45ac3b56362ed5 branch September 11, 2023 22:32
ebadiere pushed a commit that referenced this pull request Sep 18, 2023
fix: upgrade web3 from 4.1.0 to 4.1.1

Snyk has created this PR to upgrade web3 from 4.1.0 to 4.1.1.

See this package in npm:
https://www.npmjs.com/package/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

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere pushed a commit that referenced this pull request Sep 20, 2023
fix: upgrade web3 from 4.1.0 to 4.1.1

Snyk has created this PR to upgrade web3 from 4.1.0 to 4.1.1.

See this package in npm:
https://www.npmjs.com/package/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

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Signed-off-by: ebadiere <ebadiere@gmail.com>
mshakeg pushed a commit to mshakeg/hedera-json-rpc-relay that referenced this pull request Oct 18, 2023
fix: upgrade web3 from 4.1.0 to 4.1.1

Snyk has created this PR to upgrade web3 from 4.1.0 to 4.1.1.

See this package in npm:
https://www.npmjs.com/package/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

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Signed-off-by: Mo Shaikjee <shaikjeemohammed@gmail.com>
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 P2
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants