Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @zip.js/zip.js to v2.7.20 #217

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@zip.js/zip.js (source) 2.5.17 -> 2.7.20 age adoption passing confidence

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 the zip64 option to true.

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() and Blob#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

  • Fixed scripts used to build the library with babel (i.e rollup-es5.config.dev.js and rollup-es5.config.js)
  • FS API: Set ZipFileEntry#uncompressedSize when entries are added in the filesystem

v2.7.14

Compare Source

Fixed error when using HttpReader with useXHR set to true 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:

  • Fixed returned value of ZipDirectoryEntry#addFile and ZipDirectoryEntry#addFileSystemHandle
  • Fixed error when calling ZipFileEntry.getData() in some cases

v2.7.10

Compare Source

v2.7.9

Compare Source

FS API: added ZipDirectoryEntry#addFile and ZipDirectoryEntry#addFileSystemHandle methods

v2.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:

  • added cause property on errors thrown by import* and export* methods
  • an error relative to an entry thrown when calling export* does not prevent the export of next entries

v2.7.5

Compare Source

FS API:

  • Fixed: keep directory metadata (last modification date, comment, version made by, external file attribute) when importing zip files containing directories stored as individual entries

v2.7.4

Compare Source

v2.7.3

Compare Source

Added export of entry-point files from the ./lib/ in the package.json file (see #​410)

v2.7.2

Compare Source

v2.7.1

Compare Source

  • Fixed breaking change (TS only) introduced in index.d.ts in versions v2.7.0 and v2.6.84

v2.7.0

Compare Source

  • Fixed errors in the index.d.ts file introduced in the previous version (v2.6.84)
  • Breaking change for TS users: Entry#getData() can return undefined asynchronously when the option checkPasswordOnly is set to true

v2.6.84

Compare Source

Added checkPasswordOnly option when creating a ZipReader instance or calling ZipReader#getData() to test if the password is valid without extracting data.

FS API:

  • added isPasswordProtected() and checkPassword() methods in ZipEntry and FS
  • FS#import* and ZipDirectoryEntry#import* methods return the imported entries
  • implemented FS#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 optional options argument to pass the options related to the added entry

v2.6.80

Compare Source

v2.6.79

Compare Source

File system API (FS):

  • if an error is thrown when exporting a folder to a zip file, the error object will contain a property entryId which can be used to identify which entry triggered the error

v2.6.78

Compare Source

Filesytem API (FS):

  • Added a property readerOptions passed to the Reader instances when exporting a zip file
  • Made ZipEntry#clone parameter optional

v2.6.77

Compare Source

v2.6.76

Compare Source

v2.6.75

Compare Source

Added deepClone parameter to ZipEntry#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() method

v2.6.68

Compare Source

Fixed: call Reader#init after async operations to prevent potential race condition leading to exceptions being thrown

v2.6.67

Compare Source

Added ZipEntry#rename method

v2.6.66

Compare Source

Fixed uncaught exceptions when writing a zip file with the option buferredWrite set to true and aborting the process

v2.6.65

Compare Source

Added .npmignore file to publish only necessary files on NPM

v2.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

  • Improved zip64 support when creating zip files by writing only the necessary data
  • Fixed value of the "last disk number" when reading zip files which could lead to a "split file" error with some zip file using zip64

v2.6.60

Compare Source

  • Updated dev dependencies

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 to false

v2.6.56

Compare Source

v2.6.55

Compare Source

v2.6.54

Compare Source

  • Fixed error in Node.js on macOS when encrypting/decrypting files
  • Improved performances by avoiding calling Blob#slice() when creating zip with small files (i.e. < chunkSize, 512 KB by default) added concurrently

v2.6.53

Compare Source

v2.6.52

Compare Source

  • Make sure local and central directory header records are not split across a disk boundary when creating split zip files (see section 8.5.2 of the spec)

v2.6.51

Compare Source

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)

v2.6.50

Compare Source

v2.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 or HttpRangeReader

v2.6.47

Compare Source

  • 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.

v2.6.46

Compare Source

  • Deprecated SplitZipReader and SplitZipWriter. Use respectively SplitDataReader and SplitDataWriter instead. (SplitZipReader and SplitZipWriter will be removed in the version 2.7.0)
  • Fixed disk number support when creating zip files with SplitDataWriter using zip64
  • Added preventClose option when calling ZipWriter#close()

v2.6.45

Compare Source

v2.6.44

Compare Source

v2.6.43

Compare Source

  • Fixed minor issue where zip64 entries would be unnecessarily used when compressing/aborting compression of large amounts of data or data with unknown size (e.g. ReadableStream instances)
  • Added some additional info in the API documentation related to the options used when creating a zip file (see https://gildas-lormeau.github.io/zip.js/api/interfaces/ZipWriterAddDataOptions.html)
  • Fixed association between the index.js file and the index.d.ts file (fix warnings in VSCode when editing index.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

  • Fixed potential (and rare) disk number issue when using SplitZipWriter
  • Updated API documentation

v2.6.35

Compare Source

v2.6.34

Compare Source

Added SplitZipWriter class which can be used in order to create split zip files with ZipWriter (cf. test here)

v2.6.33

Compare Source

  • Fixed potential issue related to zip64 format auto-detection when adding concurrently ReadableStream and Reader instances simultaneously in a zip file weighting more than 4GB
  • Fixed unnecessary data retrieval (approx. 30 bytes) when extracting a zip entry
  • Added rollup-es5.config.js and rollup-es5.config.dev.js scripts in order to build zip.js for older engines (see instructions in the header comment)

v2.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

  • Added support of split zip files when using ZipReader via the SplitZipReader class (see example here)
  • Fixed potential data race issue in Firefox when unzipping files with the option transferStreams set to true (introduced in version 2.6.24) that could lead to truncated files
  • Make sure build scripts can run in environments where globalThis is undefined (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

  • Added new options when calling configure in order to pass custom CompressionStream and DecompressionStream implementations
  • Reduced the size of built files (~ 2%)
  • Fixed issue when getting navigator.hardwareConcurrency on Deno Deploy

v2.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 calling ZipReader#getData(). This option is named transferStreams and is set to true by default.

  • When set to 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.
  • When set to true, zip.js will try to transfer the ReadableStream and the WritableStream 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 to false.

Note that transferable streams are not supported in Deno currently.

v2.6.23

Compare Source

  • Fixed 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

  • Added the missing method FS#importUint8Array
  • Fixed a bug where zip.js would decide to use a buffer to write compressed data sequentially whereas it's not needed
  • Improved implementation of compression abort

v2.6.18

Compare Source

Improve the implementation of BlobWriter by using a TransformStream instance under the hood

v2.6.17

Compare Source

v2.6.16

Compare Source

What's Changed

Full Changelog: gildas-lormeau/zip.js@v2.6.15...v2.6.16

v2.6.15

Compare Source

  • Fixed potential data corruption issue when aborting the compression of (unbuffered) data in a zip file
  • Added basic example (i.e. not based on Streams) in the README file
  • Updated and fixed API doc on deno.land

v2.6.14

Compare Source

  • Improve the performance of Uint8ArrayWriter when calling Entry#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

  • No changes in the code of the library
  • Moved test launcher and build scripts in the package.json file
  • Improved UX of the test runner for Node.js

v2.6.11

Compare Source

  • Fixed a bug where adding 2 entries with the same filename concurrently with ZipWriter#add() did not necessarily trigger an exception (the first entry was overridden by the second one).
  • Added some examples in the API documentation.

v2.6.10

Compare Source

  • Changed the minimum required version of Node.js from 18.0.0 to 16.5.0

v2.6.9

Compare Source

v2.6.8

Compare Source

v2.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 calling await 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 workers

v2.6.4

Compare Source

Improved the readability of the example in README.MD on NPM

v2.6.3

Compare Source

What's Changed

New Contributors

Full Changelog: gildas-lormeau/zip.js@v2.6.2...v2.6.3

v2.6.2

Compare Source

v2.6.1

Compare Source

  • Fix security issue in terser (used to build minified files)
  • Fix signatures of getData methods in index.d.ts

v2.6.0

Compare Source

  • Removes obsolete features:
    • ERR_ABORT has been removed. Instead, you can now check if signal.reason equals to the error thrown when cancelling compression/decompression.
    • ReadableStreamReader and WritableStreamWriter have been removed. Instead, you can now pass objects containing a readable or writable property (respectively). See example of code in the README.MD.
  • The README.MD shows a complete example of code using zip.js

v2.5.26

Compare Source

Fix handling of encoding in TextWriter (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

  • Fixed handling of global comment when writing zip files
  • Added support of global comment when reading zip files (cf. ZipReader#comment)

v2.5.20

Compare Source

  • Fixed potential race condition bug when writing multiple entries in parallel in a zip file (reproducible in v2.5.19 with cli-deno/mc-zip.js)
  • Fixed bug when password was provided but the entry was not encrypted

v2.5.19

Compare Source

  • Improved support of TransformStream:
  • Improved the test runner for browsers by limiting the number of simultaneous tests

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) July 13, 2023 17:38
@renovate renovate bot force-pushed the renovate/zip.js-zip.js-2.x-lockfile branch 10 times, most recently from 833457a to 7fb50a3 Compare July 14, 2023 21:25
@renovate renovate bot force-pushed the renovate/zip.js-zip.js-2.x-lockfile branch from 7fb50a3 to a081781 Compare July 15, 2023 01:59
@renovate renovate bot merged commit 5147927 into master Jul 15, 2023
@renovate renovate bot deleted the renovate/zip.js-zip.js-2.x-lockfile branch July 15, 2023 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants