JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by gildas-lormeau over 1 year ago
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.6.62...v2.6.63
mimeType
property in ZipDirectoryEntryExportOptions
importZip
and exportZip
in ZipDirectoryEntry
8.5.2
of the spec)Splitted the Entry
interface in index.d.ts
into the EntryMetaData
interface and the Entry
interface. Entry
extends EntryMetaData
and adds the definition of getData()
(fixes https://github.com/gildas-lormeau/zip.js/pull/377 and https://github.com/gildas-lormeau/zip.js/issues/371)
Published by gildas-lormeau almost 2 years ago
maxWriter
property on Writer
instances in order to write split data without using SplitDataWriter
or to use different values for each generated Writer
instances (see test here https://github.com/gildas-lormeau/zip.js/blob/master/tests/all/test-split-zip.js)index.d.ts
to improve the navigation in the API documentationFixed regression introduced in version 2.6.33 which could lead to errors when using HttpReader
or HttpRangeReader
ZipWriter#add
now accepts an Array of Reader
(or ReadableStream
) instances. A SplitDataReader
instance will be automatically created under the hood.Entry#getData
now accepts generator functions generating Writer
(or WritableStream
) instances. A SplitDataWriter
instance will be automatically created under the hood and data will be be split into chunks of 4GB.SplitZipReader
and SplitZipWriter
. Use respectively SplitDataReader
and SplitDataWriter
instead. (SplitZipReader
and SplitZipWriter
will be removed in the version 2.7.0)SplitDataWriter
using zip64preventClose
option when calling ZipWriter#close()
ReadableStream
instances)index.js
file and the index.d.ts
file (fix warnings in VSCode when editing index.d.ts
)