Releases: gildas-lormeau/zip.js
Releases · gildas-lormeau/zip.js
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
v2.7.53
v2.7.52
- Added option
compressionMethod
inZipWriter
for handling custom compression methods (e.g. zstd) when setting the optionpassThrough
totrue
- Fixed issue with Uint8Array size in
ZipReader
when settingpassThrough
totrue
and using aUint8Writer
class to get the uncompressed data - Fixed optional
checkPasswordOnly
property in the type definitions (index.d.ts
)
v2.7.51
- Fixed issue when passing
passThrough: true
option in theimport*
methods of theFS
API with AES-encrypted files where the encryption strength is not set to the default value (i.e.3
)
v2.7.50
- Added the new option
passThrough
inZipReader
,ZipWriter
, andZipDirectoryEntry#import
methods. This allows reading/writing directly the raw data of zip entries without processing it (i.e. compressing or/and encrypting data) - Added the new option
offset
inZipWriter
. This allows setting the offset of the first entry in the file to a value > 0. This can be useful when creating zip files with prepended data - Completed the implementation of the
bitFlag
property inZipWriter
. It will now take into account the level of compression and update the bit flag value accordingly. - Updated dev dependencies
v2.7.48
What's Changed
- Support ignoring Language Encoding flag with the new option
useUnicodeFileNames
by @eliandoran in #521
New Contributors
- @eliandoran made their first contribution in #521
Full Changelog: v2.7.47...v2.7.48