Skip to content

Commit

Permalink
bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Sep 3, 2023
1 parent 0030c92 commit 5ed7605
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 36 deletions.
10 changes: 7 additions & 3 deletions dist/zip-fs-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -10020,16 +10020,16 @@
await writeData(writable, signatureArray);
zipWriter.offset += 4;
}
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
if (!bufferedWrite) {
await lockPreviousFileEntry;
await skipDiskIfNeeded(writable);
}
const { diskNumber } = writer;
writingEntryData = true;
fileEntry.diskNumberStart = diskNumber;
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
writingEntryData = false;
files.set(name, fileEntry);
Expand Down Expand Up @@ -11290,6 +11290,10 @@
return this.root.addData64URI(name, dataURI, options);
}

addUint8Array(name, array, options) {
return this.root.addUint8Array(name, array, options);
}

addHttpContent(name, url, options) {
return this.root.addHttpContent(name, url, options);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs-full.min.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions dist/zip-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4166,16 +4166,16 @@
await writeData(writable, signatureArray);
zipWriter.offset += 4;
}
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
if (!bufferedWrite) {
await lockPreviousFileEntry;
await skipDiskIfNeeded(writable);
}
const { diskNumber } = writer;
writingEntryData = true;
fileEntry.diskNumberStart = diskNumber;
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
writingEntryData = false;
files.set(name, fileEntry);
Expand Down Expand Up @@ -5436,6 +5436,10 @@
return this.root.addData64URI(name, dataURI, options);
}

addUint8Array(name, array, options) {
return this.root.addUint8Array(name, array, options);
}

addHttpContent(name, url, options) {
return this.root.addHttpContent(name, url, options);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/zip-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -8389,16 +8389,16 @@
await writeData(writable, signatureArray);
zipWriter.offset += 4;
}
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
if (!bufferedWrite) {
await lockPreviousFileEntry;
await skipDiskIfNeeded(writable);
}
const { diskNumber } = writer;
writingEntryData = true;
fileEntry.diskNumberStart = diskNumber;
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
writingEntryData = false;
files.set(name, fileEntry);
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-deflate.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.

6 changes: 3 additions & 3 deletions dist/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -4166,16 +4166,16 @@
await writeData(writable, signatureArray);
zipWriter.offset += 4;
}
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
if (!bufferedWrite) {
await lockPreviousFileEntry;
await skipDiskIfNeeded(writable);
}
const { diskNumber } = writer;
writingEntryData = true;
fileEntry.diskNumberStart = diskNumber;
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
writingEntryData = false;
files.set(name, fileEntry);
Expand Down
2 changes: 1 addition & 1 deletion dist/zip.min.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10016,16 +10016,16 @@ async function getFileEntry(zipWriter, name, reader, entryInfo, options) {
await writeData(writable, signatureArray);
zipWriter.offset += 4;
}
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
if (!bufferedWrite) {
await lockPreviousFileEntry;
await skipDiskIfNeeded(writable);
}
const { diskNumber } = writer;
writingEntryData = true;
fileEntry.diskNumberStart = diskNumber;
if (usdz) {
appendExtraFieldUSDZ(entryInfo, zipWriter.offset - diskOffset);
}
fileEntry = await createFileEntry(reader, fileWriter, fileEntry, entryInfo, zipWriter.config, options);
writingEntryData = false;
files.set(name, fileEntry);
Expand Down Expand Up @@ -11286,6 +11286,10 @@ class FS {
return this.root.addData64URI(name, dataURI, options);
}

addUint8Array(name, array, options) {
return this.root.addUint8Array(name, array, options);
}

addHttpContent(name, url, options) {
return this.root.addHttpContent(name, url, options);
}
Expand Down
2 changes: 1 addition & 1 deletion index.min.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 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.27",
"version": "2.7.28",
"type": "module",
"keywords": [
"zip",
Expand Down

0 comments on commit 5ed7605

Please sign in to comment.