From 4a09d2e6f482e7b5d22080c379c2cf19af5747b4 Mon Sep 17 00:00:00 2001 From: Gildas Date: Wed, 24 Apr 2024 10:55:37 +0200 Subject: [PATCH] remove unused constant --- index-fflate.js | 1 - index.d.ts | 4 ---- index.js | 1 - lib/core/zip-reader.js | 2 -- 4 files changed, 8 deletions(-) diff --git a/index-fflate.js b/index-fflate.js index c4fd54da..0ca01f11 100644 --- a/index-fflate.js +++ b/index-fflate.js @@ -58,7 +58,6 @@ export { ERR_HTTP_RANGE, ERR_BAD_FORMAT, ERR_EOCDR_NOT_FOUND, - ERR_EOCDR_ZIP64_NOT_FOUND, ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND, ERR_CENTRAL_DIRECTORY_NOT_FOUND, ERR_LOCAL_FILE_HEADER_NOT_FOUND, diff --git a/index.d.ts b/index.d.ts index 7f59eab9..b8e9623a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1960,10 +1960,6 @@ export const ERR_BAD_FORMAT: string; * End of Central Directory Record not found error */ export const ERR_EOCDR_NOT_FOUND: string; -/** - * Zip64 End of Central Directory Record not found error - */ -export const ERR_EOCDR_ZIP64_NOT_FOUND: string; /** * Zip64 End of Central Directory Locator not found error */ diff --git a/index.js b/index.js index 8784bd90..4ffdeba6 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,6 @@ export { ERR_HTTP_RANGE, ERR_BAD_FORMAT, ERR_EOCDR_NOT_FOUND, - ERR_EOCDR_ZIP64_NOT_FOUND, ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND, ERR_CENTRAL_DIRECTORY_NOT_FOUND, ERR_LOCAL_FILE_HEADER_NOT_FOUND, diff --git a/lib/core/zip-reader.js b/lib/core/zip-reader.js index 508f9cf4..bebe955e 100644 --- a/lib/core/zip-reader.js +++ b/lib/core/zip-reader.js @@ -100,7 +100,6 @@ import { const ERR_BAD_FORMAT = "File format is not recognized"; const ERR_EOCDR_NOT_FOUND = "End of central directory not found"; -const ERR_EOCDR_ZIP64_NOT_FOUND = "End of Zip64 central directory not found"; const ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND = "End of Zip64 central directory locator not found"; const ERR_CENTRAL_DIRECTORY_NOT_FOUND = "Central directory header not found"; const ERR_LOCAL_FILE_HEADER_NOT_FOUND = "Local file header not found"; @@ -359,7 +358,6 @@ export { ZipReaderStream, ERR_BAD_FORMAT, ERR_EOCDR_NOT_FOUND, - ERR_EOCDR_ZIP64_NOT_FOUND, ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND, ERR_CENTRAL_DIRECTORY_NOT_FOUND, ERR_LOCAL_FILE_HEADER_NOT_FOUND,