fix(deps): update dependency @zip.js/zip.js to v2.7.20 #217
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.17
->2.7.20
Release Notes
gildas-lormeau/zip.js (@zip.js/zip.js)
v2.7.20
Compare Source
Circumvented a bug specific to Clouflare Workers environment when creating zip files (see #434)
v2.7.19
Compare Source
Fixed zip64 bug when creating zip files containing entries weighting more than 4GB (uncompressed), using the
Readable
API to read the uncompresssed data, and not setting explicitly thezip64
option totrue
.v2.7.18
Compare Source
Fixed potential uncaught error when reading split zip files
v2.7.17
Compare Source
Added workaround for Thunderbird where calling
Blob#slice()
andBlob#arrayBuffer()
does not work as expected (the array buffer is not sliced) (see #430)v2.7.16
Compare Source
Fixed compatibility issue with older Chromium browsers (i.e. v78) (see https://github.com/gildas-lormeau/zip.js/issues/426)
v2.7.15
Compare Source
rollup-es5.config.dev.js
androllup-es5.config.js
)ZipFileEntry#uncompressedSize
when entries are added in the filesystemv2.7.14
Compare Source
Fixed error when using
HttpReader
withuseXHR
set totrue
and the connection is lost (see #414)v2.7.13
Compare Source
Added support of zip files with invalid central directory length
v2.7.12
Compare Source
Fixed support for UTF-8 extra fields when reading zip files
v2.7.11
Compare Source
FS API:
ZipDirectoryEntry#addFile
andZipDirectoryEntry#addFileSystemHandle
ZipFileEntry.getData()
in some casesv2.7.10
Compare Source
v2.7.9
Compare Source
FS API: added
ZipDirectoryEntry#addFile
andZipDirectoryEntry#addFileSystemHandle
methodsv2.7.8
Compare Source
v2.7.7
Compare Source
Fix temporary memory leak when compressing data, or when decompressing data and verifying data integrity (see #413). The leak was only happening during the compression/decompression of an entry in a zip file.
v2.7.6
Compare Source
FS API:
cause
property on errors thrown byimport*
andexport*
methodsexport*
does not prevent the export of next entriesv2.7.5
Compare Source
FS API:
v2.7.4
Compare Source
v2.7.3
Compare Source
Added export of entry-point files from the
./lib/
in thepackage.json
file (see #410)v2.7.2
Compare Source
v2.7.1
Compare Source
index.d.ts
in versionsv2.7.0
andv2.6.84
v2.7.0
Compare Source
index.d.ts
file introduced in the previous version (v2.6.84)Entry#getData()
can returnundefined
asynchronously when the optioncheckPasswordOnly
is set totrue
v2.6.84
Compare Source
Added
checkPasswordOnly
option when creating aZipReader
instance or callingZipReader#getData()
to test if the password is valid without extracting data.FS
API:isPasswordProtected()
andcheckPassword()
methods inZipEntry
andFS
FS#import*
andZipDirectoryEntry#import*
methods return the imported entriesFS#importZip()
v2.6.83
Compare Source
(Really) fixed potential uncaught inoffensive errors in web workers
v2.6.82
Compare Source
Fixed potential uncaught errors (which did not prevent zip.js from working as expected though)
v2.6.81
Compare Source
File system API (
FS
):import...
methods keep the metadata (externalFileAttribute
,versionMadeBy
,comment
,lastModDate
) of the imported entries.add...
methods accept a new optionaloptions
argument to pass the options related to the added entryv2.6.80
Compare Source
v2.6.79
Compare Source
File system API (
FS
):entryId
which can be used to identify which entry triggered the errorv2.6.78
Compare Source
Filesytem API (
FS
):readerOptions
passed to the Reader instances when exporting a zip fileZipEntry#clone
parameter optionalv2.6.77
Compare Source
v2.6.76
Compare Source
v2.6.75
Compare Source
Added
deepClone
parameter toZipEntry#clone()
v2.6.74
Compare Source
v2.6.73
Compare Source
v2.6.72
Compare Source
v2.6.71
Compare Source
v2.6.70
Compare Source
v2.6.69
Compare Source
Added
ZipEntry#clone()
methodv2.6.68
Compare Source
Fixed: call
Reader#init
after async operations to prevent potential race condition leading to exceptions being thrownv2.6.67
Compare Source
Added
ZipEntry#rename
methodv2.6.66
Compare Source
Fixed uncaught exceptions when writing a zip file with the option
buferredWrite
set totrue
and aborting the processv2.6.65
Compare Source
Added
.npmignore
file to publish only necessary files on NPMv2.6.64
Compare Source
v2.6.63
Compare Source
What's Changed
New Contributors
Full Changelog: gildas-lormeau/zip.js@v2.6.62...v2.6.63
v2.6.62
Compare Source
Fix issue with passwords longer than 16 bytes when handling encrypted zip files in environments where
SubtleCrypto.importKey()
does not exist (see #390)v2.6.61
Compare Source
v2.6.60
Compare Source
v2.6.59
Compare Source
v2.6.58
Compare Source
v2.6.57
Compare Source
Fixed potential stream error when adding entries concurrently in a zip file with the option
keepOrder
explicitly set tofalse
v2.6.56
Compare Source
mimeType
property inZipDirectoryEntryExportOptions
importZip
andexportZip
inZipDirectoryEntry
v2.6.55
Compare Source
v2.6.54
Compare Source
Blob#slice()
when creating zip with small files (i.e. <chunkSize
, 512 KB by default) added concurrentlyv2.6.53
Compare Source
v2.6.52
Compare Source
8.5.2
of the spec)v2.6.51
Compare Source
Splitted the
Entry
interface inindex.d.ts
into theEntryMetaData
interface and theEntry
interface.Entry
extendsEntryMetaData
and adds the definition ofgetData()
(fixes https://github.com/gildas-lormeau/zip.js/pull/377 and https://github.com/gildas-lormeau/zip.js/issues/371)v2.6.50
Compare Source
maxWriter
property onWriter
instances in order to write split data without usingSplitDataWriter
or to use different values for each generatedWriter
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 documentationv2.6.49
Compare Source
v2.6.48
Compare Source
Fixed regression introduced in version 2.6.33 which could lead to errors when using
HttpReader
orHttpRangeReader
v2.6.47
Compare Source
ZipWriter#add
now accepts an Array ofReader
(orReadableStream
) instances. ASplitDataReader
instance will be automatically created under the hood.Entry#getData
now accepts generator functions generatingWriter
(orWritableStream
) instances. ASplitDataWriter
instance will be automatically created under the hood and data will be be split into chunks of 4GB.v2.6.46
Compare Source
SplitZipReader
andSplitZipWriter
. Use respectivelySplitDataReader
andSplitDataWriter
instead. (SplitZipReader
andSplitZipWriter
will be removed in the version 2.7.0)SplitDataWriter
using zip64preventClose
option when callingZipWriter#close()
v2.6.45
Compare Source
v2.6.44
Compare Source
v2.6.43
Compare Source
ReadableStream
instances)index.js
file and theindex.d.ts
file (fix warnings in VSCode when editingindex.d.ts
)v2.6.42
Compare Source
v2.6.41
Compare Source
Fixed issue where Zip64 data could be added too early when using
SplitZipWriter
and creating zip weighting 4GB+v2.6.40
Compare Source
Fixed issue with native Compression streams handling in web workers
v2.6.38
Compare Source
v2.6.37
Compare Source
Fixed uncaught error when aborting data compression/decompression and using web workers with transferable streams (see #370)
v2.6.36
Compare Source
SplitZipWriter
v2.6.35
Compare Source
v2.6.34
Compare Source
Added
SplitZipWriter
class which can be used in order to create split zip files withZipWriter
(cf. test here)v2.6.33
Compare Source
ReadableStream
andReader
instances simultaneously in a zip file weighting more than 4GBv2.6.32
Compare Source
Improved implementation of the fix from the previous version (2.6.30) for the potential race data condition in Firefox when reading zip files
v2.6.31
Compare Source
v2.6.30
Compare Source
ZipReader
via theSplitZipReader
class (see example here)transferStreams
set totrue
(introduced in version 2.6.24) that could lead to truncated filesglobalThis
isundefined
(see https://github.com/gildas-lormeau/zip.js/issues/254#issuecomment-1254145896)v2.6.29
Compare Source
Added support of CommonJS modules (see "Installation" here: https://gildas-lormeau.github.io/zip.js/)
v2.6.28
Compare Source
configure
in order to pass customCompressionStream
andDecompressionStream
implementationsnavigator.hardwareConcurrency
on Deno Deployv2.6.26
Compare Source
v2.6.25
Compare Source
Fixed TypeScript compilation issue due to a syntax error in the
index.d.ts
file (see https://github.com/gildas-lormeau/zip.js/pull/366)v2.6.24
Compare Source
Added a new option when creating a
ZipReader
instance or when callingZipReader#getData()
. This option is namedtransferStreams
and is set totrue
by default.false
, zip.js should work as before. zip.js will read/write chunks of data when decompressing data by exchanging messages between the main thread and web workers.true
, zip.js will try to transfer theReadableStream
and theWritableStream
instances used when decompressing data to the web workers. Thus, data is transferred natively between the main thread and the web workers.If the environment does not allow streams to be transferred to web workers, zip.js automatically falls back to the implementation corresponding to
transferStreams
set tofalse
.Note that transferable streams are not supported in Deno currently.
v2.6.23
Compare Source
BlobWriter
mime type not present (see #360)v2.6.22
Compare Source
v2.6.21
Compare Source
Improved automatic detection of entries that should use Zip64 data when compressing entries in parallel (i.e. if the zip file is going to weight more than 4GB)
v2.6.20
Compare Source
v2.6.19
Compare Source
FS#importUint8Array
v2.6.18
Compare Source
Improve the implementation of
BlobWriter
by using aTransformStream
instance under the hoodv2.6.17
Compare Source
v2.6.16
Compare Source
What's Changed
ZipWriter.add
returning unresolved promises by @0f-0b in https://github.com/gildas-lormeau/zip.js/pull/355Full Changelog: gildas-lormeau/zip.js@v2.6.15...v2.6.16
v2.6.15
Compare Source
v2.6.14
Compare Source
Uint8ArrayWriter
when callingEntry#getData()
v2.6.13
Compare Source
Make sure file names encoded in CP437 in zip files are properly decoded when the source code of zip.js is not parsed in UTF-8 (see #352)
v2.6.12
Compare Source
package.json
filev2.6.11
Compare Source
ZipWriter#add()
did not necessarily trigger an exception (the first entry was overridden by the second one).v2.6.10
Compare Source
18.0.0
to16.5.0
v2.6.9
Compare Source
Worker
constructor and automatic fallback on the main thread if not present, i.e. you don't need to setuserWebWorkers
tofalse
anymore.crypto
API optional when using ZipCrypto to decrypt files (fix)v2.6.8
Compare Source
Entry#internalFileAttribute
index.d.ts
file and fixed minor issuesv2.6.7
Compare Source
Fixed a regression introduced in version 2.5 that prevented the
keepOrder
option from working correctly when creating multiple entries in a zip file simultaneously (e.g. when callingawait Promise.all([zipWriter.add(...), zipWriter.add(...), ...])
).v2.6.6
Compare Source
Add support of Streams in the
FS
API(see example here: https://github.com/gildas-lormeau/zip.js/blob/master/tests/all/test-fs-streams.js)
v2.6.5
Compare Source
Fix option
checkSignature
when unzipping data with web workersv2.6.4
Compare Source
Improved the readability of the example in
README.MD
on NPMv2.6.3
Compare Source
What's Changed
level
anduseCompressionStream
being ignored by @0f-0b in https://github.com/gildas-lormeau/zip.js/pull/345New Contributors
Full Changelog: gildas-lormeau/zip.js@v2.6.2...v2.6.3
v2.6.2
Compare Source
ReadableStream
readers in theZipReader
constructor. Although they will be automatically converted into aBlobReader
readers transparently in order to allow random access to the data (see test here: https://github.com/gildas-lormeau/zip.js/blob/master/tests/all/test-readable-zip-stream.js).v2.6.1
Compare Source
getData
methods inindex.d.ts
v2.6.0
Compare Source
ERR_ABORT
has been removed. Instead, you can now check ifsignal.reason
equals to the error thrown when cancelling compression/decompression.ReadableStreamReader
andWritableStreamWriter
have been removed. Instead, you can now pass objects containing areadable
orwritable
property (respectively). See example of code in the README.MD.v2.5.26
Compare Source
Fix handling of
encoding
inTextWriter
(the parameter was ignored)v2.5.25
Compare Source
Added handling of HTTP 416 "Range Not Satisfiable" errors when doing range requests
v2.5.24
Compare Source
v2.5.23
Compare Source
Fixed a bug where aborting the addition of an entry could result in a corrupted zip file under some conditions.
v2.5.22
Compare Source
v2.5.21
Compare Source
ZipReader#comment
)v2.5.20
Compare Source
cli-deno/mc-zip.js
)v2.5.19
Compare Source
TransformStream
:writable
property (WritableStream
) as an alternative toWriter
instancesreadable
property (ReadableStream
) when callingZipWriter#add
v2.5.18
Compare Source
Configuration
📅 Schedule: Branch creation - "before 11pm" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.