redzip 4.5.1 → 4.6.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/ChangeLog CHANGED
@@ -1,3 +1,14 @@
1
+ 2026.03.17, v4.6.1
2
+
3
+ feature:
4
+ - 9b8dbb9 redzip: @cloudcmd/formatify v3.0.0
5
+ - 78c8580 redzip: readify v11.0.0
6
+
7
+ 2026.02.28, v4.6.0
8
+
9
+ feature:
10
+ - 1f8fa48 redzip: vfs: local: date: parallel
11
+
1
12
  2026.02.26, v4.5.1
2
13
 
3
14
  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
  };
@@ -12,7 +12,7 @@ import {
12
12
  lstat,
13
13
  opendir,
14
14
  } from 'node:fs/promises';
15
- import readify from 'readify';
15
+ import {readify} from 'readify';
16
16
  import trammel from 'trammel';
17
17
  import {tryToCatch} from 'try-to-catch';
18
18
  import pipe from 'pipe-io';
@@ -1,6 +1,6 @@
1
1
  import {posix} from 'node:path';
2
2
  import sortify from '@cloudcmd/sortify';
3
- import formatify from '@cloudcmd/formatify';
3
+ import {formatify} from '@cloudcmd/formatify';
4
4
  import {readzip} from 'readzip';
5
5
 
6
6
  const {sep} = posix;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redzip",
3
- "version": "4.5.1",
3
+ "version": "4.6.1",
4
4
  "type": "module",
5
5
  "main": "lib/redzip.js",
6
6
  "description": "work with files inside archives like with regular files",
@@ -24,12 +24,12 @@
24
24
  "fix:lint": "madrun fix:lint"
25
25
  },
26
26
  "dependencies": {
27
- "@cloudcmd/formatify": "^2.0.1",
27
+ "@cloudcmd/formatify": "^3.0.0",
28
28
  "@cloudcmd/sortify": "^2.0.1",
29
29
  "format-io": "^2.0.0",
30
30
  "once": "^1.4.0",
31
31
  "pipe-io": "^4.0.1",
32
- "readify": "^10.0.0",
32
+ "readify": "^11.0.0",
33
33
  "readzip": "^3.0.0",
34
34
  "totalist": "^3.0.1",
35
35
  "trammel": "^6.0.0",
@@ -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": [