redzip 4.5.1 → 4.6.0

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/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.02.28, v4.6.0
2
+
3
+ feature:
4
+ - 1f8fa48 redzip: vfs: local: date: parallel
5
+
1
6
  2026.02.26, v4.5.1
2
7
 
3
8
  feature:
package/lib/local/date.js CHANGED
@@ -17,10 +17,13 @@ export const keepParentDate = (fn) => async (outerPath, innerPath, readStream, o
17
17
  await mkdir(dirPath, {
18
18
  recursive: true,
19
19
  });
20
+
20
21
  const {date: dirDate} = await readStat(dirPath);
21
22
 
22
23
  await fn(outerPath, innerPath, readStream, options);
23
24
 
24
- await maybeSetDate(outerPath, date);
25
- await tryToCatch(utimes, dirPath, dirDate, dirDate);
25
+ await Promise.all([
26
+ maybeSetDate(outerPath, date),
27
+ maybeSetDate(dirPath, dirDate),
28
+ ]);
26
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redzip",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "type": "module",
5
5
  "main": "lib/redzip.js",
6
6
  "description": "work with files inside archives like with regular files",
@@ -40,7 +40,6 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@iocmd/wait": "^2.1.0",
43
- "c8": "^11.0.0",
44
43
  "eslint": "^10.0.1",
45
44
  "eslint-plugin-putout": "^31.0.1",
46
45
  "madrun": "^13.0.0",
@@ -50,6 +49,7 @@
50
49
  "pullout": "^5.0.1",
51
50
  "putout": "^42.0.12",
52
51
  "redlint": "^6.1.1",
52
+ "superc8": "^12.0.0",
53
53
  "supertape": "^12.2.0"
54
54
  },
55
55
  "keywords": [