JSZip v3.9.0 Release Notes

Release Date: 2022-04-04 // 3 months ago
    • ⚡️ Update types JSZip#loadAsync to accept a promise for data, and remove arguments from new JSZip() (see #752)
    • ⚡️ Update types for compressionOptions to JSZipFileOptions and JSZipGeneratorOptions (see #722)
    • ➕ Add types for generateInternalStream (see #774)

Previous changes from v3.8.0

    • Santize filenames when files are loaded with loadAsync, to avoid "zip slip" attacks. The original filename is available on each zip entry as unsafeOriginalName. See the documentation. Many thanks to McCaulay Hudson for reporting.