Unzip a zip file to a directory using batch decompression.
Equivalent to unzip -o <zipFilePath> -d <destDir>
This function loads the entire zip file into memory before decompression.
Faster for small files (<5MB). For large files, consider using unzipStream instead.
Entries that would be written outside of destDir (zip-slip) fail the whole
operation instead of being extracted.
Unzip a zip file to a directory using batch decompression. Equivalent to
unzip -o <zipFilePath> -d <destDir>This function loads the entire zip file into memory before decompression. Faster for small files (<5MB). For large files, consider using unzipStream instead.
Entries that would be written outside of
destDir(zip-slip) fail the whole operation instead of being extracted.Use fflate as the unzip backend.