redzip 3.0.0 → 3.0.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.
Files changed (3) hide show
  1. package/ChangeLog +5 -0
  2. package/README.md +3 -1
  3. package/package.json +2 -2
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2023.08.10, v3.0.1
2
+
3
+ feature:
4
+ - 9fca27c package: readzip v2.0.0
5
+
1
6
  2023.08.09, v3.0.0
2
7
 
3
8
  feature:
package/README.md CHANGED
@@ -46,6 +46,7 @@ const dirStream = await redzip.read(dirPath, {
46
46
  sort,
47
47
  order,
48
48
  });
49
+
49
50
  console.log(dirStream.type);
50
51
  // outputs
51
52
  'directory';
@@ -120,7 +121,7 @@ fileStream.pipe(process.stdout);
120
121
  // outputs
121
122
  '10kb';
122
123
 
123
- fileStream.contentLength;// 4
124
+ fileStream.contentLength; // 4
124
125
  ```
125
126
 
126
127
  ### readStat(path[, options])
@@ -179,6 +180,7 @@ import {createGzip} from 'zlib';
179
180
  const zipStream = Readable
180
181
  .from('hello')
181
182
  .pipe(createGzip());
183
+
182
184
  await write(path, zipStream, {
183
185
  unzip: true,
184
186
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redzip",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "commonjs",
5
5
  "main": "lib/redzip.js",
6
6
  "description": "work with files inside archives like with regular files",
@@ -30,7 +30,7 @@
30
30
  "once": "^1.4.0",
31
31
  "pipe-io": "^4.0.1",
32
32
  "readify": "^9.0.0",
33
- "readzip": "^1.0.0",
33
+ "readzip": "^2.0.0",
34
34
  "totalist": "^3.0.1",
35
35
  "trammel": "^5.0.0",
36
36
  "try-to-catch": "^3.0.0",