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

chore(crypto): switch Wasm crate's sha-1 dependency to sha1 to reflect rename by maintainer #4516

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

jeremyBanks
Copy link
Contributor

The SHA-1 implementation from @RustCrypto used by our Wasm bundle used to be published as sha-1, but is now published as sha1 (see https://crates.io/crates/sha_1 or RustCrypto/hashes#438 for confirmation). This dependency was changed in denoland/deno at denoland/deno#16327, but the change was never made in this repository. The old package is no longer receiving updates, so we're now a few patches behind.

I doubt this is consequential in practice, but we might as well switch to the correct crate, so this PR does so and updates to the latest version. There are no observable changes in performance or size.

@jeremyBanks jeremyBanks requested a review from kt3k as a code owner March 24, 2024 01:27
Copy link
Contributor

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

Nice catch! Thank you.

@iuioiua iuioiua merged commit 1341b89 into denoland:main Mar 24, 2024
12 checks passed
@jeremyBanks jeremyBanks deleted the sha1 branch March 24, 2024 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants