Repository navigation
fix: update vulnerable dependencies and tolerate thin mainnet DEX liquidity - #857
Merged
Merged
Conversation
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
Contributor
|
Contributor
|
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Contributor
|
Contributor
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
New advisories for
axios,brace-expansion,@grpc/grpc-js,dompurify,fast-uri,honoandip-addressmakepnpm auditfail onmain(30 findings). That breaks theVerify / Checksjob on every open PR, and the release workflow runs the same audit gate before publishing.What
pnpm-workspace.yamlto the first patched versions:@grpc/grpc-js1.14.5axios1.20.0brace-expansion1.1.21/2.1.7/5.0.12dompurify3.4.16fast-uri3.1.8hono4.13.7ip-address10.7.1honocatalog floor to^4.13.7so the root importer resolves the patched version too.minimumReleaseAgeExcludeentries for the old override targets. All the new targets were published more than 24 hours ago, so they don't need exclusions.Also included: mainnet autoSwap test
This PR also carries the test fix from #858. The audit fix and the test fix each clear the other PR's red check, so they're combined here to land together.
relay.localnet.test.ts > mainnet autoSwap with USDC.e → PathUSDruns against live mainnet. Mainnet stablecoin DEX liquidity for USDC.e → PathUSD is currently too thin for the test's 0.5 PathUSD swap (the quote reverts withInsufficientLiquidity; 0.001 still quotes). The test now:0.001PathUSD instead of0.5The relay assertions are unchanged.
Validation
pnpm audit: exits 0 (the 2 remaining findings are already inauditConfig.ignoreGhsas)pnpm install --frozen-lockfile,pnpm -w build,pnpm -w check,tsc -b: passedplaygrounds/wagmibuild: passed0.001, skips at0.5Prompted by: @brendanjryan