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

[Bun v1.1.34] - Invalid arg type Blob on CryptoHasher.update #14957

Open
TiBianMod opened this issue Nov 2, 2024 · 0 comments
Open

[Bun v1.1.34] - Invalid arg type Blob on CryptoHasher.update #14957

TiBianMod opened this issue Nov 2, 2024 · 0 comments
Labels
bug Something isn't working bun:crypto regression

Comments

@TiBianMod
Copy link

What version of Bun is running?

1.1.34+5e5e7c60f

What platform is your computer?

Darwin 21.6.0 x86_64 i386

What steps can reproduce the bug?

the following code throws on Bun 1.1.34

import { CryptoHasher } from "bun";

const hasher = new CryptoHasher("sha256");

hasher.update(new Blob());

console.log(hasher.digest("hex"));

What is the expected behavior?

like before, working :p

What do you see instead?

Image

Additional information

No response

@TiBianMod TiBianMod added bug Something isn't working needs triage labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun:crypto regression
Projects
None yet
Development

No branches or pull requests

3 participants