Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Feb 24, 2023
1 parent a127b3d commit 3c11802
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions dist/zip-fs-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -10255,15 +10255,15 @@

clone(deepClone) {
const zipEntry = this;
const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
const clonedEntry = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
if (deepClone) {
clone.children = zipEntry.children.map(child => {
clonedEntry.children = zipEntry.children.map(child => {
const clone = child.clone(deepClone);
clone.parent = zipEntry;
return clone;
clone.parent = clonedEntry;
return clonedEntry;
});
}
return clone;
return clonedEntry;
}

addDirectory(name) {
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs-full.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/zip-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5031,15 +5031,15 @@

clone(deepClone) {
const zipEntry = this;
const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
const clonedEntry = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
if (deepClone) {
clone.children = zipEntry.children.map(child => {
clonedEntry.children = zipEntry.children.map(child => {
const clone = child.clone(deepClone);
clone.parent = zipEntry;
return clone;
clone.parent = clonedEntry;
return clonedEntry;
});
}
return clone;
return clonedEntry;
}

addDirectory(name) {
Expand Down
2 changes: 1 addition & 1 deletion dist/zip-fs.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10251,15 +10251,15 @@ class ZipDirectoryEntry extends ZipEntry {

clone(deepClone) {
const zipEntry = this;
const clone = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
const clonedEntry = new ZipDirectoryEntry(zipEntry.fs, zipEntry.name);
if (deepClone) {
clone.children = zipEntry.children.map(child => {
clonedEntry.children = zipEntry.children.map(child => {
const clone = child.clone(deepClone);
clone.parent = zipEntry;
return clone;
clone.parent = clonedEntry;
return clonedEntry;
});
}
return clone;
return clonedEntry;
}

addDirectory(name) {
Expand Down
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.6.73",
"version": "2.6.74",
"type": "module",
"keywords": [
"zip",
Expand Down

0 comments on commit 3c11802

Please sign in to comment.