ts: Remove crypto-hash dependency#3171
Merged
acheroncrypto merged 2 commits intoAug 15, 2024
Merged
Conversation
|
@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
alexchenai
added a commit
to alexchenai/anchor
that referenced
this pull request
Mar 19, 2026
The `crypto-hash` package was removed in otter-sec#3171 but its type definitions (`@types/crypto-hash`) were left behind in package.json and yarn.lock. This removes the orphaned devDependency and its transitive lockfile entries. Closes otter-sec#4312
alexchenai
added a commit
to alexchenai/anchor
that referenced
this pull request
Mar 19, 2026
The `crypto-hash` package was removed in otter-sec#3171 but its type definitions (`@types/crypto-hash`) were left behind in package.json and yarn.lock. Closes otter-sec#4312
alexchenai
added a commit
to alexchenai/anchor
that referenced
this pull request
Mar 24, 2026
The `crypto-hash` package was removed in otter-sec#3171 but its type definitions (`@types/crypto-hash`) were left behind in package.json and yarn.lock. Closes otter-sec#4312
Otter-0x4ka5h
pushed a commit
to Otter-0x4ka5h/anchor
that referenced
this pull request
Mar 25, 2026
claygeo
added a commit
to claygeo/anchor
that referenced
this pull request
Apr 5, 2026
crypto-hash was removed in otter-sec#3171 but its type definitions package was left behind. No code imports crypto-hash anywhere in the TS workspace. Fixes otter-sec#4312
2 tasks
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.
Problem
crypto-hashpackage is not used in@coral-xyz/anchor, but we depend on it:https://github.com/coral-xyz/anchor/blob/d6b6ac7a4d4920e418a613815bf9c8057d44a609/ts/packages/anchor/package.json#L45
Summary of changes
Remove the
crypto-hashdependency.