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 Aug 10, 2023
1 parent 9ffb1df commit f8f053d
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 45 deletions.
29 changes: 16 additions & 13 deletions dist/zip-fs-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -11429,26 +11429,29 @@

async function processChild(child) {
const name = options.relativePath ? child.getRelativeName(selectedEntry) : child.getFullname();
let externalFileAttribute;
let versionMadeBy;
let comment;
let lastModDate;
let childOptions = child.options || {};
let zipEntryOptions = {};
if (child.data instanceof Entry) {
({
const {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
creationDate,
lastAccessDate
} = child.data;
zipEntryOptions = {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate
} = child.data);
lastModDate,
creationDate,
lastAccessDate
};
}
await zipWriter.add(name, child.reader, Object.assign({
directory: child.directory
}, Object.assign({}, options, {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
}, Object.assign({}, options, zipEntryOptions, childOptions, {
onprogress: async indexProgress => {
if (options.onprogress) {
entryOffsets.set(name, indexProgress);
Expand All @@ -11459,7 +11462,7 @@
}
}
}
}, childOptions)));
})));
await process(zipWriter, child);
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs-full.min.js

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions dist/zip-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5576,26 +5576,29 @@

async function processChild(child) {
const name = options.relativePath ? child.getRelativeName(selectedEntry) : child.getFullname();
let externalFileAttribute;
let versionMadeBy;
let comment;
let lastModDate;
let childOptions = child.options || {};
let zipEntryOptions = {};
if (child.data instanceof Entry) {
({
const {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
creationDate,
lastAccessDate
} = child.data;
zipEntryOptions = {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate
} = child.data);
lastModDate,
creationDate,
lastAccessDate
};
}
await zipWriter.add(name, child.reader, Object.assign({
directory: child.directory
}, Object.assign({}, options, {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
}, Object.assign({}, options, zipEntryOptions, childOptions, {
onprogress: async indexProgress => {
if (options.onprogress) {
entryOffsets.set(name, indexProgress);
Expand All @@ -5606,7 +5609,7 @@
}
}
}
}, childOptions)));
})));
await process(zipWriter, child);
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs.min.js

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11425,26 +11425,29 @@ async function exportZip(zipWriter, entry, totalSize, options) {

async function processChild(child) {
const name = options.relativePath ? child.getRelativeName(selectedEntry) : child.getFullname();
let externalFileAttribute;
let versionMadeBy;
let comment;
let lastModDate;
let childOptions = child.options || {};
let zipEntryOptions = {};
if (child.data instanceof Entry) {
({
const {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
creationDate,
lastAccessDate
} = child.data;
zipEntryOptions = {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate
} = child.data);
lastModDate,
creationDate,
lastAccessDate
};
}
await zipWriter.add(name, child.reader, Object.assign({
directory: child.directory
}, Object.assign({}, options, {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
}, Object.assign({}, options, zipEntryOptions, childOptions, {
onprogress: async indexProgress => {
if (options.onprogress) {
entryOffsets.set(name, indexProgress);
Expand All @@ -11455,7 +11458,7 @@ async function exportZip(zipWriter, entry, totalSize, options) {
}
}
}
}, childOptions)));
})));
await process(zipWriter, child);
}
}
Expand Down
2 changes: 1 addition & 1 deletion index.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 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.23",
"version": "2.7.24",
"type": "module",
"keywords": [
"zip",
Expand Down

0 comments on commit f8f053d

Please sign in to comment.