@ffflorian/jszip-cli 3.8.11 → 3.9.1
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.
- package/dist/ExtractService.js +4 -2
- package/package.json +7 -6
package/dist/ExtractService.js
CHANGED
|
@@ -45,7 +45,8 @@ export class ExtractService {
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
let lastPercent = 0;
|
|
48
|
-
|
|
48
|
+
let index = 0;
|
|
49
|
+
for (const [filePath, entry] of entries) {
|
|
49
50
|
const resolvedFilePath = path.join(this.outputDir, filePath);
|
|
50
51
|
if (entry.dir) {
|
|
51
52
|
await fs.ensureDir(resolvedFilePath);
|
|
@@ -70,7 +71,8 @@ export class ExtractService {
|
|
|
70
71
|
else if (entry.unixPermissions) {
|
|
71
72
|
await fs.chmod(resolvedFilePath, entry.unixPermissions);
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
index++;
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
77
|
return this;
|
|
76
78
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
3
|
"bin": "dist/cli.js",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"commander": "14.0.
|
|
5
|
+
"commander": "14.0.2",
|
|
6
6
|
"cosmiconfig": "9.0.0",
|
|
7
7
|
"fs-extra": "11.3.2",
|
|
8
8
|
"glob": "11.0.3",
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
"@types/fs-extra": "11.0.4",
|
|
16
16
|
"@types/progress": "2.0.7",
|
|
17
17
|
"cross-env": "10.1.0",
|
|
18
|
-
"rimraf": "6.0
|
|
18
|
+
"rimraf": "6.1.0",
|
|
19
|
+
"tsx": "4.20.6",
|
|
19
20
|
"typescript": "5.9.3",
|
|
20
|
-
"vitest": "
|
|
21
|
+
"vitest": "4.0.6"
|
|
21
22
|
},
|
|
22
23
|
"engines": {
|
|
23
24
|
"node": ">= 18.0"
|
|
@@ -39,10 +40,10 @@
|
|
|
39
40
|
"build": "tsc -p tsconfig.json",
|
|
40
41
|
"clean": "rimraf dist",
|
|
41
42
|
"dist": "yarn clean && yarn build",
|
|
42
|
-
"start": "
|
|
43
|
+
"start": "tsx src/cli.ts -V",
|
|
43
44
|
"test": "vitest run"
|
|
44
45
|
},
|
|
45
46
|
"type": "module",
|
|
46
|
-
"version": "3.
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"version": "3.9.1",
|
|
48
|
+
"gitHead": "f0960af4e8f76cf9995b1ac709201961c8d00dc2"
|
|
48
49
|
}
|