GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — zlib: add ZipEntry, ZipFile, and ZipBuffer · nodejs/node@df48191

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc
    • api
      • errors.md
      • zlib.md
    • type-map.json
  • lib
    • internal
      • errors.js
      • zip.js
      • zip
        • archive.js
        • binary.js
        • buffer.js
        • compression.js
        • constants.js
        • content-size.js
        • dos.js
        • entry.js
        • extra-fields.js
        • file.js
        • fs-util.js
        • header-builders.js
        • headers.js
    • zlib.js
  • test
    • parallel
      • test-zlib-zip-coverage.js
      • test-zlib-zip-edgecases.js
      • test-zlib-zip-encoding.js
      • test-zlib-zip-experimental-warning.js
      • test-zlib-zip-files.js
      • test-zlib-zip-fuzz.js
      • test-zlib-zip-hardening.js
      • test-zlib-zip-internals.js
      • test-zlib-zip-interop.js
      • test-zlib-zip-metadata.js
      • test-zlib-zip-property.js
      • test-zlib-zip-security.js
      • test-zlib-zip-sync.js
      • test-zlib-zip-writable.js
      • test-zlib-zip-zip64.js
      • test-zlib-zip.js
    • pummel
      • test-zlib-zip-slow.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+54Lines changed: 54 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3660,6 +3660,58 @@ All attempts at serializing an uncaught exception from a worker thread failed.
36603660

36613661
The requested functionality is not supported in worker threads.
36623662

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+
36633715
<a id="ERR_ZLIB_INITIALIZATION_FAILED"></a>
36643716

36653717
### `ERR_ZLIB_INITIALIZATION_FAILED`
@@ -4603,6 +4655,8 @@ An error occurred trying to allocate memory. This should never happen.
46034655
[`ServerResponse`]: http.md#class-httpserverresponse
46044656
[`Temporal`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
46054657
[`Writable`]: stream.md#class-streamwritable
4658+
[`ZipBuffer`]: zlib.md#class-zlibzipbuffer
4659+
[`ZipFile`]: zlib.md#class-zlibzipfile
46064660
[`child_process`]: child_process.md
46074661
[`cipher.getAuthTag()`]: crypto.md#ciphergetauthtag
46084662
[`crypto.getDiffieHellman()`]: crypto.md#cryptogetdiffiehellmangroupname

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.