Skip to content

ts: Remove crypto-hash dependency#3171

Merged
acheroncrypto merged 2 commits into
otter-sec:masterfrom
acheroncrypto:ts-remove-crypto-hash-dependency
Aug 15, 2024
Merged

ts: Remove crypto-hash dependency#3171
acheroncrypto merged 2 commits into
otter-sec:masterfrom
acheroncrypto:ts-remove-crypto-hash-dependency

Conversation

@acheroncrypto

Copy link
Copy Markdown
Collaborator

Problem

crypto-hash package 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-hash dependency.

@vercel

vercel Bot commented Aug 15, 2024

Copy link
Copy Markdown

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added ts fix Bug fix PR labels Aug 15, 2024
@acheroncrypto acheroncrypto merged commit 48c732d into otter-sec:master Aug 15, 2024
@acheroncrypto acheroncrypto added the dependencies Pull requests that update a dependency file label Aug 16, 2024
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
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 fix Bug fix PR ts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant