Skip to content

[Snyk] Security upgrade viem from 2.52.2 to 2.58.10 - #904

Open
hongtao023 wants to merge 1 commit into
mainfrom
snyk-fix-41488403f607ffab47ab365dcce8b2d2
Open

hongtao023 wants to merge 1 commit into
mainfrom
snyk-fix-41488403f607ffab47ab365dcce8b2d2

Conversation

@hongtao023

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • sdk/ts/package.json
  • sdk/ts/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-WS-23188836
  710  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • 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 fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

@hongtao023

Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This is a minor version upgrade for viem from 2.52.2 to 2.58.10. While there are no major API removals or renamings in this range, the updates include numerous bug fixes and performance improvements that could subtly alter behavior in specific use cases.

Key Changes:

  • Bug Fixes: The releases include several fixes that might change behavior for applications relying on previous, incorrect logic. For example, parseTransaction for Celo was fixed to correctly include the signature, and getLogs was fixed for cases involving integer filters and bigint values.
  • Performance Improvements: A minor version bump introduced significant performance enhancements across various modules like ABI encoding/decoding, multicall, and formatters.
  • New Features: Support for new chains and features, particularly within viem/op-stack and other chain-specific modules, has been added.

Risk Assessment:
The risk is assessed as medium not because of definite breaking API changes, but because the volume of bug fixes could impact applications that have inadvertently built workarounds for the previous behavior. Verification is recommended.

Recommendation:
Review the official changelog for the releases between v2.52.2 and v2.58.10 to ensure none of the bug fixes affect your specific implementation.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0912d451-fd7d-4736-a873-3cd8c6d6110a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

3 participants