@@ -3660,6 +3660,58 @@ All attempts at serializing an uncaught exception from a worker thread failed. |
3660 | 3660 |
|
3661 | 3661 | The requested functionality is not supported in worker threads. |
3662 | 3662 |
|
| 3663 | +<a id="ERR_ZIP_ARCHIVE_TOO_LARGE"></a> |
| 3664 | + |
| 3665 | +### `ERR_ZIP_ARCHIVE_TOO_LARGE` |
| 3666 | + |
| 3667 | +An archive-level structure exceeds a limit: the archive comment exceeds the |
| 3668 | +65,535-byte encoded length that the ZIP format allows, or the archive's |
| 3669 | +central directory is too large to buffer in memory. |
| 3670 | + |
| 3671 | +<a id="ERR_ZIP_ENTRY_CORRUPT"></a> |
| 3672 | + |
| 3673 | +### `ERR_ZIP_ENTRY_CORRUPT` |
| 3674 | + |
| 3675 | +A ZIP archive entry failed CRC-32 verification, or produced more or fewer |
| 3676 | +bytes than its declared uncompressed size, while being read. |
| 3677 | + |
| 3678 | +<a id="ERR_ZIP_ENTRY_NOT_FOUND"></a> |
| 3679 | + |
| 3680 | +### `ERR_ZIP_ENTRY_NOT_FOUND` |
| 3681 | + |
| 3682 | +A named entry was requested from a [`ZipFile`][] or [`ZipBuffer`][] that does |
| 3683 | +not contain an entry with that name. |
| 3684 | + |
| 3685 | +<a id="ERR_ZIP_ENTRY_TOO_LARGE"></a> |
| 3686 | + |
| 3687 | +### `ERR_ZIP_ENTRY_TOO_LARGE` |
| 3688 | + |
| 3689 | +A ZIP archive entry's declared size exceeds the configured limit, or a |
| 3690 | +provided entry name or comment exceeds the 65,535-byte encoded length that |
| 3691 | +the ZIP format allows. |
| 3692 | + |
| 3693 | +<a id="ERR_ZIP_INVALID_ARCHIVE"></a> |
| 3694 | + |
| 3695 | +### `ERR_ZIP_INVALID_ARCHIVE` |
| 3696 | + |
| 3697 | +Data that was expected to be a ZIP archive, or a structure within one, is |
| 3698 | +missing, out of bounds, or otherwise inconsistent with the ZIP format. |
| 3699 | + |
| 3700 | +<a id="ERR_ZIP_NOT_WRITABLE"></a> |
| 3701 | + |
| 3702 | +### `ERR_ZIP_NOT_WRITABLE` |
| 3703 | + |
| 3704 | +A mutating method (such as `zipFile.addEntry()` or `zipFile.delete()`) was |
| 3705 | +called on a [`ZipFile`][] that was not opened with `{ writable: true }`. |
| 3706 | + |
| 3707 | +<a id="ERR_ZIP_UNSUPPORTED_FEATURE"></a> |
| 3708 | + |
| 3709 | +### `ERR_ZIP_UNSUPPORTED_FEATURE` |
| 3710 | + |
| 3711 | +A ZIP archive uses a feature outside of what this implementation supports, |
| 3712 | +such as entry encryption, an unsupported compression method, or a multi-disk |
| 3713 | +archive. |
| 3714 | + |
3663 | 3715 | <a id="ERR_ZLIB_INITIALIZATION_FAILED"></a> |
3664 | 3716 |
|
3665 | 3717 | ### `ERR_ZLIB_INITIALIZATION_FAILED` |
@@ -4603,6 +4655,8 @@ An error occurred trying to allocate memory. This should never happen. |
4603 | 4655 | [`ServerResponse`]: http.md#class-httpserverresponse |
4604 | 4656 | [`Temporal`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal |
4605 | 4657 | [`Writable`]: stream.md#class-streamwritable |
| 4658 | +[`ZipBuffer`]: zlib.md#class-zlibzipbuffer |
| 4659 | +[`ZipFile`]: zlib.md#class-zlibzipfile |
4606 | 4660 | [`child_process`]: child_process.md |
4607 | 4661 | [`cipher.getAuthTag()`]: crypto.md#ciphergetauthtag |
4608 | 4662 | [`crypto.getDiffieHellman()`]: crypto.md#cryptogetdiffiehellmangroupname |
|