Closed NickKilo closed 7 months ago
PS:
The error Unexpected private name #g
cannot be thrown on packages published on NPM or Deno. I guess you used the built files from GitHub or a mirror. Anyway, I reverted the changes related to this error on GitHub. Could you try to update zip.js and run again your code?
Hi, thanks for your prompt reply. I confirm you I'm using the built files from GitHub, downloaded and added to the main app directory.
After updating zip.js with version 2.7.36, I now receive this error in Safari :
Unhandled Promise Rejection: TypeError: options.signal must be AbortSignal
It actually is the same error I was receiving with versions 2.7.34.
Hoping to find a fix to this, thank your for your time.
I don't don't know what you are doing. Please provide some code and the full stack-trace at least.
I'm converting the issue to a question because using AbortController
is not mandatory. Feel free to provide some code if you need some help.
Hi there, I've written a code to download a file, which works perfectly in Chrome but in Safari on MacOS (Safari Version 14.1.2 (16611.3.10.1.6)) it returns the message: " ReferenceError: Can't find variable: zip". This refers to a part of my code in which I create a new zip writer, like: const zipWriter = new zip.ZipWriter(new zip.BlobWriter("application/zip"));
Is it because this Safari version does not support FileReader/Filewriter?
Thank you in advance for your help.