Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Jul 10, 2023
1 parent 67e8db8 commit 7d56437
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion dist/zip-fs-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -8609,7 +8609,7 @@
}
}
const expectedDirectoryDataLength = endOfDirectoryInfo.offset - directoryDataOffset - (reader.lastDiskOffset || 0);
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength) {
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength >= 0) {
directoryDataLength = expectedDirectoryDataLength;
directoryArray = await readUint8Array(reader, directoryDataOffset, directoryDataLength, diskNumber);
directoryView = getDataView$1(directoryArray);
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs-full.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zip-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3385,7 +3385,7 @@
}
}
const expectedDirectoryDataLength = endOfDirectoryInfo.offset - directoryDataOffset - (reader.lastDiskOffset || 0);
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength) {
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength >= 0) {
directoryDataLength = expectedDirectoryDataLength;
directoryArray = await readUint8Array(reader, directoryDataOffset, directoryDataLength, diskNumber);
directoryView = getDataView$1(directoryArray);
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zip-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -7608,7 +7608,7 @@
}
}
const expectedDirectoryDataLength = endOfDirectoryInfo.offset - directoryDataOffset - (reader.lastDiskOffset || 0);
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength) {
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength >= 0) {
directoryDataLength = expectedDirectoryDataLength;
directoryArray = await readUint8Array(reader, directoryDataOffset, directoryDataLength, diskNumber);
directoryView = getDataView$1(directoryArray);
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-full.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zip-no-worker-inflate.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zip-no-worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -3385,7 +3385,7 @@
}
}
const expectedDirectoryDataLength = endOfDirectoryInfo.offset - directoryDataOffset - (reader.lastDiskOffset || 0);
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength) {
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength >= 0) {
directoryDataLength = expectedDirectoryDataLength;
directoryArray = await readUint8Array(reader, directoryDataOffset, directoryDataLength, diskNumber);
directoryView = getDataView$1(directoryArray);
Expand Down
2 changes: 1 addition & 1 deletion dist/zip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8605,7 +8605,7 @@ class ZipReader {
}
}
const expectedDirectoryDataLength = endOfDirectoryInfo.offset - directoryDataOffset - (reader.lastDiskOffset || 0);
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength) {
if (directoryDataLength != expectedDirectoryDataLength && expectedDirectoryDataLength >= 0) {
directoryDataLength = expectedDirectoryDataLength;
directoryArray = await readUint8Array(reader, directoryDataOffset, directoryDataLength, diskNumber);
directoryView = getDataView$1(directoryArray);
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
"author": "Gildas Lormeau",
"license": "BSD-3-Clause",
"version": "2.7.17",
"version": "2.7.18",
"type": "module",
"keywords": [
"zip",
Expand Down

0 comments on commit 7d56437

Please sign in to comment.