tar-iterator 1.2.9 → 1.2.10

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 (2) hide show
  1. package/README.md +4 -8
  2. package/package.json +10 -15
package/README.md CHANGED
@@ -24,8 +24,7 @@ var TarIterator = require('tar-iterator'));
24
24
  // create links after directories and files
25
25
  for (const entry of links) await entry.create(dest, options);
26
26
  } catch (err) {
27
- assert.ok(!err, err ? err.message : '');
28
- }
27
+ }
29
28
 
30
29
  iterator.destroy();
31
30
  iterator = null;
@@ -45,8 +44,7 @@ var TarIterator = require('tar-iterator'));
45
44
  // create links after directories and files
46
45
  for (const entry of links) await entry.create(dest, options);
47
46
  } catch (err) {
48
- assert.ok(!err, err ? err.message : '');
49
- }
47
+ }
50
48
 
51
49
  iterator.destroy();
52
50
  iterator = null;
@@ -74,8 +72,7 @@ var TarIterator = require('tar-iterator'));
74
72
  // create links after directories and files
75
73
  for (const entry of links) await entry.create(dest, options);
76
74
  } catch (err) {
77
- assert.ok(!err, err ? err.message : '');
78
- }
75
+ }
79
76
 
80
77
  iterator.destroy();
81
78
  iterator = null;
@@ -130,8 +127,7 @@ iterator.forEach(
130
127
  },
131
128
  { callbacks: true, concurrency: 1 },
132
129
  function (err) {
133
- assert.ok(!err, err ? err.message : '');
134
-
130
+
135
131
  // create links after directories and files
136
132
  var queue = new Queue();
137
133
  for (var index = 0; index < links.length; index++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tar-iterator",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Extract contents from tar archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms",
5
5
  "keywords": [
6
6
  "extract",
@@ -40,12 +40,9 @@
40
40
  "author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)",
41
41
  "type": "module",
42
42
  "exports": {
43
- ".": {
44
- "import": "./dist/esm/index.mjs",
45
- "require": "./dist/cjs/index.cjs",
46
- "types": "./dist/types/index.d.ts"
47
- },
48
- "./*": "./*"
43
+ "import": "./dist/esm/index.mjs",
44
+ "require": "./dist/cjs/index.cjs",
45
+ "types": "./dist/types/index.d.ts"
49
46
  },
50
47
  "main": "dist/cjs/index.cjs",
51
48
  "module": "dist/esm/index.mjs",
@@ -55,32 +52,30 @@
55
52
  ],
56
53
  "scripts": {
57
54
  "build": "tsds build",
58
- "deploy": "tsds deploy",
59
- "docs": "tsds docs",
60
55
  "format": "biome check --write --unsafe src/ test/",
61
56
  "test": "tsds test:node --no-timeouts",
62
57
  "test:engines": "nvu engines npm test",
63
58
  "version": "tsds version"
64
59
  },
65
60
  "dependencies": {
66
- "call-once-fn": "^1.0.5",
61
+ "call-once-fn": "^1.0.7",
67
62
  "end-of-stream": "^1.4.4",
68
63
  "extract-base-iterator": "^1.2.10",
69
- "fs-access-compat": "^1.1.4",
64
+ "fs-access-compat": "^1.1.6",
70
65
  "lifecycle": "^1.0.4",
71
66
  "lodash.compact": "^3.0.1",
72
67
  "mkdirp-classic": "^0.5.3",
73
- "queue-cb": "^1.4.9",
68
+ "queue-cb": "^1.4.11",
74
69
  "rimraf2": "^2.8.2",
75
70
  "tar-stream-compat": "2.1.5"
76
71
  },
77
72
  "devDependencies": {
78
73
  "@biomejs/biome": "^1.9.4",
79
74
  "@types/mocha": "^10.0.10",
80
- "@types/node": "^22.10.2",
75
+ "@types/node": "^22.10.5",
81
76
  "cr": "^0.1.0",
82
- "fs-iterator": "^5.2.1",
83
- "fs-stats-spys": "^1.1.0",
77
+ "fs-iterator": "^5.2.10",
78
+ "fs-stats-spys": "^1.1.7",
84
79
  "pinkie-promise": "^2.0.1",
85
80
  "unbzip2-stream": "^1.4.3"
86
81
  },