redzip 4.6.0 → 4.6.2

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,15 @@
1
+ 2026.11.25, v4.6.2
2
+
3
+ feature:
4
+ - 7416d2b redzip: supertape v13.6.2
5
+ - 65b886b redzip: @cloudcmd/sortify v3.1.0
6
+
7
+ 2026.03.17, v4.6.1
8
+
9
+ feature:
10
+ - 9b8dbb9 redzip: @cloudcmd/formatify v3.0.0
11
+ - 78c8580 redzip: readify v11.0.0
12
+
1
13
  2026.02.28, v4.6.0
2
14
 
3
15
  feature:
package/README.md CHANGED
@@ -51,10 +51,12 @@ console.log(dirStream.type);
51
51
  'directory';
52
52
 
53
53
  console.log(dirStream.contentLength);
54
+
54
55
  // outputs
55
56
  280;
56
57
 
57
58
  dirStream.pipe(process.stdout);
59
+
58
60
  // outputs
59
61
  ({
60
62
  path: '/',
@@ -103,6 +105,7 @@ fileStream.pipe(process.stdout);
103
105
  'hello';
104
106
 
105
107
  console.log(fileStream.contentLength);
108
+
106
109
  // outputs
107
110
  6;
108
111
  ```
@@ -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';
@@ -7,7 +7,9 @@ import _redfs from '../../redfs.js';
7
7
  const {assign} = Object;
8
8
  const {stringify} = JSON;
9
9
  const isString = (a) => typeof a === 'string';
10
- const preparePath = (a, b) => normalize(addSlashToEnd(a).replace(b, '/'));
10
+ const preparePath = (a, b) => normalize(
11
+ addSlashToEnd(a).replace(b, '/'),
12
+ );
11
13
 
12
14
  export const read = async (path, options = {}) => {
13
15
  const {
package/lib/zip/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import readZip from './read/index.js';
2
2
  import readZipSize from './read-size/index.js';
3
3
  import readZipStat from './read-stat/index.js';
4
-
5
- export {list} from './list/index.js';
6
4
  import writeZip from './write/index.js';
7
5
  import removeZip from './remove/index.js';
8
6
 
7
+ export {list} from './list/index.js';
8
+
9
9
  export const read = async (outerPath, innerPath, options) => {
10
10
  return await readZip(outerPath, innerPath, options);
11
11
  };
@@ -1,6 +1,6 @@
1
1
  import {posix} from 'node:path';
2
- import sortify from '@cloudcmd/sortify';
3
- import formatify from '@cloudcmd/formatify';
2
+ import {sortify} from '@cloudcmd/sortify';
3
+ import {formatify} from '@cloudcmd/formatify';
4
4
  import {readzip} from 'readzip';
5
5
 
6
6
  const {sep} = posix;
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "redzip",
3
- "version": "4.6.0",
3
+ "version": "4.6.2",
4
4
  "type": "module",
5
5
  "main": "lib/redzip.js",
6
+ "imports": {
7
+ "#mock-file": "./test/mock-file.js"
8
+ },
6
9
  "description": "work with files inside archives like with regular files",
7
10
  "author": "",
8
11
  "homepage": "http://github.com/coderaiser/redzip",
@@ -24,12 +27,12 @@
24
27
  "fix:lint": "madrun fix:lint"
25
28
  },
26
29
  "dependencies": {
27
- "@cloudcmd/formatify": "^2.0.1",
28
- "@cloudcmd/sortify": "^2.0.1",
30
+ "@cloudcmd/formatify": "^3.0.0",
31
+ "@cloudcmd/sortify": "^3.1.0",
29
32
  "format-io": "^2.0.0",
30
33
  "once": "^1.4.0",
31
34
  "pipe-io": "^4.0.1",
32
- "readify": "^10.0.0",
35
+ "readify": "^11.0.0",
33
36
  "readzip": "^3.0.0",
34
37
  "totalist": "^3.0.1",
35
38
  "trammel": "^6.0.0",
@@ -44,13 +47,12 @@
44
47
  "eslint-plugin-putout": "^31.0.1",
45
48
  "madrun": "^13.0.0",
46
49
  "memfs": "^4.2.1",
47
- "mock-fs": "^5.0.0",
48
50
  "nodemon": "^3.0.1",
49
51
  "pullout": "^5.0.1",
50
52
  "putout": "^42.0.12",
51
53
  "redlint": "^6.1.1",
52
54
  "superc8": "^12.0.0",
53
- "supertape": "^12.2.0"
55
+ "supertape": "^13.6.2"
54
56
  },
55
57
  "keywords": [
56
58
  "directory",