@ffflorian/jszip-cli 3.6.2 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,8 +103,8 @@ class BuildService {
103
103
  normalizePaths(rawEntries) {
104
104
  return rawEntries.map(entry => entry.replace(/\\/g, '/'));
105
105
  }
106
- addFile(entry, isLink = false) {
107
- return __awaiter(this, void 0, void 0, function* () {
106
+ addFile(entry_1) {
107
+ return __awaiter(this, arguments, void 0, function* (entry, isLink = false) {
108
108
  const { resolvedPath, zipPath } = entry;
109
109
  let fileStat;
110
110
  let fileData;
@@ -61,7 +61,7 @@ class ExtractService {
61
61
  }
62
62
  });
63
63
  let lastPercent = 0;
64
- yield Promise.all(entries.map(([filePath, entry], index) => __awaiter(this, void 0, void 0, function* () {
64
+ yield Promise.all(entries.map((_a, index_1) => __awaiter(this, [_a, index_1], void 0, function* ([filePath, entry], index) {
65
65
  const resolvedFilePath = path_1.default.join(this.outputDir, filePath);
66
66
  if (entry.dir) {
67
67
  yield fs_extra_1.default.ensureDir(resolvedFilePath);
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "bin": "dist/cli.js",
4
4
  "dependencies": {
5
- "commander": "11.1.0",
5
+ "commander": "12.1.0",
6
6
  "cosmiconfig": "9.0.0",
7
7
  "fs-extra": "11.2.0",
8
- "glob": "10.3.10",
8
+ "glob": "10.4.1",
9
9
  "jszip": "3.10.1",
10
10
  "logdown": "3.3.1",
11
11
  "progress": "2.0.3"
@@ -15,10 +15,10 @@
15
15
  "@types/fs-extra": "11.0.4",
16
16
  "@types/progress": "2.0.7",
17
17
  "cross-env": "7.0.3",
18
- "rimraf": "5.0.5",
18
+ "rimraf": "5.0.7",
19
19
  "ts-node": "10.9.2",
20
- "typescript": "5.3.3",
21
- "vitest": "1.1.0"
20
+ "typescript": "5.4.5",
21
+ "vitest": "1.6.0"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">= 10.9"
@@ -43,6 +43,6 @@
43
43
  "start": "cross-env NODE_DEBUG=\"jszip-cli/*\" node --loader ts-node/esm src/cli.ts",
44
44
  "test": "vitest run"
45
45
  },
46
- "version": "3.6.2",
47
- "gitHead": "c73786d7e56bd967a8e5ce12b5e61012e7907eb5"
46
+ "version": "3.6.4",
47
+ "gitHead": "28c184f53a87d8eb082cc27c923ef7b352bbe875"
48
48
  }