Extract a zip file to a directory.
Entry names are confined to that directory: a name climbing out of it (".." or an absolute path) is an attempt at a zip slip and is refused.
path of the zip file
directory to extract into
Optional
password for encrypted archives. If the archive is encrypted and this is missing or wrong, the thrown error carries requiresPassword: true.
requiresPassword: true
Extract a zip file to a directory.
Entry names are confined to that directory: a name climbing out of it (".." or an absolute path) is an attempt at a zip slip and is refused.