Releases: gildas-lormeau/zip.js
Releases · gildas-lormeau/zip.js
v2.7.64
- added the ability in the
ZipWriter#add()
method to include the "ZIP64 extended information extra field" in the local headers when thezip64
option is enabled. This makes the ZIP file more robust when trying to recover data from a damaged ZIP file (see #579). - added the
ZipWriter#remove()
method to remove entries from the central directory - added the
ZipWriter#prependZip()
method to allow appending/removing entries to/from an existing ZIP file (see example, example). This can also be useful to create a (large) ZIP file in multiple passes. - circumvented a Node.js bug when using a
Buffer
instance (as aUint8Array
instance) with aUint8ArrayReader
reader (see #580) - fixed a ZipCrypto (legacy ZIP encryption) bug in
ZipWriter
when setting thedataDescriptor
option tofalse
explicitly (the option istrue
by default, it will also be automatically set totrue
in that case) - updated dev dependencies
v2.7.63
What's Changed
- feat: discriminate
Entry
toDirectoryEntry
andFileEntry
by @tpoisseau in #576
New Contributors
- @tpoisseau made their first contribution in #576
Full Changelog: v2.7.62...v2.7.63
v2.7.62
What's Changed
- fix types of Uint8Array methods by @xollaborator in #571
- Fix UNIX permissions by @lephilousophe in #569
New Contributors
- @xollaborator made their first contribution in #571
- @lephilousophe made their first contribution in #569
Full Changelog: v2.7.61...v2.7.62
v2.7.61
v2.7.60
v2.7.59
v2.7.58
- Added ArrayBuffer type parameter to
Uint8Array
by @UnsungHero97 in the type definition file (see #549) - Added exception "Writer not initialized" when using
Writer
classes implementingWriter#writeUint8Array
ifWriter#init()
has not been previously called (see #560) - Fixed infinite loop when using
readable.getReader()
fromReader
classes (see #559) - Added more info about
encryptionStrength
in the documentation (see #558) - Updated development dependencies
- Added JSR integration via an Action
v2.7.57
- Changed the external file attributes format to
UNIX
(more info here part 4.4.2). As a consequence, themsDosCompatible
option is now set tofalse
by default. - Added the
executable
option to indicate an entry is a UNIX executable file when creating zip files
v2.7.56
- Fixed
Entry#directory
value when reading a zip flle created on Unix - Added
Entry#executable
boolean property to identify entries with executable files (Unix) when reading a zip file - Renamed
Entry#internalFileAttribute
andEntry#externalFileAttribute
(now deprecated) toEntry#internalFileAttributes
andEntry#externalFileAttributes
respectively
v2.7.54
- Setting
compressionMethod
to0
will create valid (uncompressed) entries when usingZipWriter
- Removed some useless
async
function calls - Updated dev dependencies