redzip 4.5.0 → 4.5.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,8 @@
1
+ 2026.02.26, v4.5.1
2
+
3
+ feature:
4
+ - 5e01663 redzip: local: date: create directory and then read stat (coderaiser/cloudcmd#457)
5
+
1
6
  2026.02.26, v4.5.0
2
7
 
3
8
  feature:
package/lib/local/date.js CHANGED
@@ -12,13 +12,12 @@ const maybeSetDate = async (path, date) => {
12
12
 
13
13
  export const keepParentDate = (fn) => async (outerPath, innerPath, readStream, options = {}) => {
14
14
  const {date} = options;
15
-
16
15
  const dirPath = dirname(outerPath);
17
- const {date: dirDate} = await readStat(dirPath);
18
16
 
19
17
  await mkdir(dirPath, {
20
18
  recursive: true,
21
19
  });
20
+ const {date: dirDate} = await readStat(dirPath);
22
21
 
23
22
  await fn(outerPath, innerPath, readStream, options);
24
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redzip",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "type": "module",
5
5
  "main": "lib/redzip.js",
6
6
  "description": "work with files inside archives like with regular files",