David Junger

Results 73 comments of David Junger

I haven't triggered a download (a set of valid files would help, I guess) but I can already tell you that client-zip is indeed bundled (into _next/static/chunks/208-0156ce2acf62063b.js) and that it's...

Actually, it's [already in Node since v17.5](https://nodejs.org/dist/latest-v18.x/docs/api/stream.html#readabletoarrayoptions) — still experimental probably because they're waiting to see how the TC39 proposal will land. Anyway, might be nice to add a little...

I am not familiar with python's http server, but I don't expect it adds Content-Security-Policy headers. You don't have any trouble with instantiating the WebAssembly module in the Service Worker...

More importantly, does this happen only on your local hosting of client-zip and not [on mine](https://touffy.me/client-zip/demo/worker) ?

Ah ! I think I get it. You ran the build script (`npm run start`) to generate the `worker.js` file after cloning from git. But the build script is actually...

It would be nice if I (or somebody else) could fully automate the build. So yes, I suppose we can leave the bug open to track that. In that case,...

As you say, if you `fetch` the response into a Blob and then download it with a Blob URL, you lose the advantage of streaming so you might as well...

Hi. Interesting use case, and cool that you're using Edge Workers. I wish my clients would dump their bloated cloud platforms and did the same thing ;) Anyway… As you...

> expecting more features like a modular approach same as node-archiver > So the implementation can be platform , format agnostic About that, the answer is no. [The point of...

You can also compute the CRC32 when a file is uploaded, instead of when it is accessed. Since the upload involves streaming all the data from network to storage, just...