You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same problem here. I try to read contents subfolder wise but I always get the whole zip content. This is quite frustrating and not intuitive. Is this a bug? I hope there can be a fix.
The new forEach method is aware of the root folder level: it will only
show entries that start with `zip.root`.
When used in generate methods, it means the generated zip file will be
restricted to the current subfolder, fixStuk#203.
For a zip file that looks like:
As
JSZip.folder
sets the root, I expected thatcontent
would be restricted to just the files withinsubfolder
, i.e.:Instead I just get the original zip contents. I have managed to produce the expected behaviour with:
The text was updated successfully, but these errors were encountered: