@ffflorian/jszip-cli 3.9.0 → 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.
@@ -45,7 +45,8 @@ export class ExtractService {
45
45
  }
46
46
  });
47
47
  let lastPercent = 0;
48
- await Promise.all(entries.map(async ([filePath, entry], index) => {
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
@@ -44,6 +44,6 @@
44
44
  "test": "vitest run"
45
45
  },
46
46
  "type": "module",
47
- "version": "3.9.0",
48
- "gitHead": "710af5a32b89acf0765daa81ced41e5031f67116"
47
+ "version": "3.9.1",
48
+ "gitHead": "f0960af4e8f76cf9995b1ac709201961c8d00dc2"
49
49
  }