-
Notifications
You must be signed in to change notification settings - Fork 506
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
support
#480
Comments
Hi @ghoullier! First of all, I'd like to take this opportunity to wish you a happy new year :) Thanks for reporting the bug, I've reproduced it and fixed it. The next version should be compatible with Bun out of the box. However, it looks like Bun (still) doesn't support Blob URIs (returned by As a consequence, in order to use workers in Bun you have to call import { configure } from "@zip.js/zip.js";
configure({
workerScripts: {
deflate: ["path/to/z-worker.js"],
inflate: ["path/to/z-worker.js"]
}
}); |
The new version |
Happy new year too gildas 😀
|
You're welcome! |
Purpose
The example below does not works with
bun
.It raises the following exception:
The problem seems to came here, the
url()
call returnundefined
.Context
Darwin 23.0.0 arm64 arm
1.0.25
The text was updated successfully, but these errors were encountered: