pnpm 10.32.1 → 10.33.0

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 (119) hide show
  1. package/dist/node_modules/.modules.yaml +100 -100
  2. package/dist/node_modules/.pnpm/lock.yaml +5 -5
  3. package/dist/node_modules/.pnpm-workspace-state-v1.json +1 -1
  4. package/dist/node_modules/tar/dist/commonjs/create.d.ts.map +1 -1
  5. package/dist/node_modules/tar/dist/commonjs/create.js +3 -4
  6. package/dist/node_modules/tar/dist/commonjs/create.js.map +1 -1
  7. package/dist/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -1
  8. package/dist/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -1
  9. package/dist/node_modules/tar/dist/commonjs/extract.js.map +1 -1
  10. package/dist/node_modules/tar/dist/commonjs/header.d.ts.map +1 -1
  11. package/dist/node_modules/tar/dist/commonjs/header.js +14 -27
  12. package/dist/node_modules/tar/dist/commonjs/header.js.map +1 -1
  13. package/dist/node_modules/tar/dist/commonjs/index.min.js +3 -3
  14. package/dist/node_modules/tar/dist/commonjs/index.min.js.map +3 -3
  15. package/dist/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -1
  16. package/dist/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -1
  17. package/dist/node_modules/tar/dist/commonjs/list.d.ts.map +1 -1
  18. package/dist/node_modules/tar/dist/commonjs/list.js +2 -7
  19. package/dist/node_modules/tar/dist/commonjs/list.js.map +1 -1
  20. package/dist/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -1
  21. package/dist/node_modules/tar/dist/commonjs/make-command.js +3 -12
  22. package/dist/node_modules/tar/dist/commonjs/make-command.js.map +1 -1
  23. package/dist/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -1
  24. package/dist/node_modules/tar/dist/commonjs/mkdir.js +5 -6
  25. package/dist/node_modules/tar/dist/commonjs/mkdir.js.map +1 -1
  26. package/dist/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -1
  27. package/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +1 -1
  28. package/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -1
  29. package/dist/node_modules/tar/dist/commonjs/options.d.ts.map +1 -1
  30. package/dist/node_modules/tar/dist/commonjs/options.js.map +1 -1
  31. package/dist/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -1
  32. package/dist/node_modules/tar/dist/commonjs/pack.js +3 -8
  33. package/dist/node_modules/tar/dist/commonjs/pack.js.map +1 -1
  34. package/dist/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -1
  35. package/dist/node_modules/tar/dist/commonjs/parse.js +12 -22
  36. package/dist/node_modules/tar/dist/commonjs/parse.js.map +1 -1
  37. package/dist/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -1
  38. package/dist/node_modules/tar/dist/commonjs/path-reservations.js +2 -2
  39. package/dist/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -1
  40. package/dist/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -1
  41. package/dist/node_modules/tar/dist/commonjs/pax.js.map +1 -1
  42. package/dist/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -1
  43. package/dist/node_modules/tar/dist/commonjs/read-entry.js +2 -6
  44. package/dist/node_modules/tar/dist/commonjs/read-entry.js.map +1 -1
  45. package/dist/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -1
  46. package/dist/node_modules/tar/dist/commonjs/replace.js +5 -10
  47. package/dist/node_modules/tar/dist/commonjs/replace.js.map +1 -1
  48. package/dist/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -1
  49. package/dist/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -1
  50. package/dist/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -1
  51. package/dist/node_modules/tar/dist/commonjs/unpack.js +38 -63
  52. package/dist/node_modules/tar/dist/commonjs/unpack.js.map +1 -1
  53. package/dist/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -1
  54. package/dist/node_modules/tar/dist/commonjs/warn-method.js.map +1 -1
  55. package/dist/node_modules/tar/dist/commonjs/winchars.js +1 -1
  56. package/dist/node_modules/tar/dist/commonjs/winchars.js.map +1 -1
  57. package/dist/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -1
  58. package/dist/node_modules/tar/dist/commonjs/write-entry.js +12 -13
  59. package/dist/node_modules/tar/dist/commonjs/write-entry.js.map +1 -1
  60. package/dist/node_modules/tar/dist/esm/create.d.ts.map +1 -1
  61. package/dist/node_modules/tar/dist/esm/create.js +3 -4
  62. package/dist/node_modules/tar/dist/esm/create.js.map +1 -1
  63. package/dist/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -1
  64. package/dist/node_modules/tar/dist/esm/cwd-error.js.map +1 -1
  65. package/dist/node_modules/tar/dist/esm/extract.js.map +1 -1
  66. package/dist/node_modules/tar/dist/esm/header.d.ts.map +1 -1
  67. package/dist/node_modules/tar/dist/esm/header.js +14 -27
  68. package/dist/node_modules/tar/dist/esm/header.js.map +1 -1
  69. package/dist/node_modules/tar/dist/esm/index.min.js +3 -3
  70. package/dist/node_modules/tar/dist/esm/index.min.js.map +3 -3
  71. package/dist/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -1
  72. package/dist/node_modules/tar/dist/esm/large-numbers.js.map +1 -1
  73. package/dist/node_modules/tar/dist/esm/list.d.ts.map +1 -1
  74. package/dist/node_modules/tar/dist/esm/list.js +2 -7
  75. package/dist/node_modules/tar/dist/esm/list.js.map +1 -1
  76. package/dist/node_modules/tar/dist/esm/make-command.d.ts.map +1 -1
  77. package/dist/node_modules/tar/dist/esm/make-command.js +3 -12
  78. package/dist/node_modules/tar/dist/esm/make-command.js.map +1 -1
  79. package/dist/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -1
  80. package/dist/node_modules/tar/dist/esm/mkdir.js +5 -6
  81. package/dist/node_modules/tar/dist/esm/mkdir.js.map +1 -1
  82. package/dist/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -1
  83. package/dist/node_modules/tar/dist/esm/normalize-windows-path.js +1 -1
  84. package/dist/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -1
  85. package/dist/node_modules/tar/dist/esm/options.d.ts.map +1 -1
  86. package/dist/node_modules/tar/dist/esm/options.js.map +1 -1
  87. package/dist/node_modules/tar/dist/esm/pack.d.ts.map +1 -1
  88. package/dist/node_modules/tar/dist/esm/pack.js +4 -9
  89. package/dist/node_modules/tar/dist/esm/pack.js.map +1 -1
  90. package/dist/node_modules/tar/dist/esm/parse.d.ts.map +1 -1
  91. package/dist/node_modules/tar/dist/esm/parse.js +13 -23
  92. package/dist/node_modules/tar/dist/esm/parse.js.map +1 -1
  93. package/dist/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -1
  94. package/dist/node_modules/tar/dist/esm/path-reservations.js +2 -2
  95. package/dist/node_modules/tar/dist/esm/path-reservations.js.map +1 -1
  96. package/dist/node_modules/tar/dist/esm/pax.d.ts.map +1 -1
  97. package/dist/node_modules/tar/dist/esm/pax.js.map +1 -1
  98. package/dist/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -1
  99. package/dist/node_modules/tar/dist/esm/read-entry.js +2 -6
  100. package/dist/node_modules/tar/dist/esm/read-entry.js.map +1 -1
  101. package/dist/node_modules/tar/dist/esm/replace.d.ts.map +1 -1
  102. package/dist/node_modules/tar/dist/esm/replace.js +6 -11
  103. package/dist/node_modules/tar/dist/esm/replace.js.map +1 -1
  104. package/dist/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -1
  105. package/dist/node_modules/tar/dist/esm/symlink-error.js.map +1 -1
  106. package/dist/node_modules/tar/dist/esm/unpack.d.ts.map +1 -1
  107. package/dist/node_modules/tar/dist/esm/unpack.js +38 -63
  108. package/dist/node_modules/tar/dist/esm/unpack.js.map +1 -1
  109. package/dist/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -1
  110. package/dist/node_modules/tar/dist/esm/warn-method.js.map +1 -1
  111. package/dist/node_modules/tar/dist/esm/winchars.js +1 -1
  112. package/dist/node_modules/tar/dist/esm/winchars.js.map +1 -1
  113. package/dist/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -1
  114. package/dist/node_modules/tar/dist/esm/write-entry.js +14 -15
  115. package/dist/node_modules/tar/dist/esm/write-entry.js.map +1 -1
  116. package/dist/node_modules/tar/package.json +9 -4
  117. package/dist/pnpm.cjs +358 -261
  118. package/dist/worker.js +54 -14
  119. package/package.json +1 -1
@@ -16,41 +16,35 @@
16
16
  "node-gyp@11.5.0": [
17
17
  "node_modules/node-gyp"
18
18
  ],
19
- "tar@7.5.11": [
19
+ "tar@7.5.12": [
20
20
  "node_modules/tar"
21
21
  ],
22
- "nopt@8.1.0": [
23
- "node_modules/nopt"
24
- ],
25
- "env-paths@2.2.1": [
26
- "node_modules/env-paths"
27
- ],
28
- "tinyglobby@0.2.15": [
29
- "node_modules/tinyglobby"
30
- ],
31
22
  "proc-log@5.0.0": [
32
23
  "node_modules/proc-log"
33
24
  ],
34
25
  "which@5.0.0": [
35
26
  "node_modules/which"
36
27
  ],
28
+ "graceful-fs@4.2.11": [
29
+ "node_modules/graceful-fs"
30
+ ],
37
31
  "exponential-backoff@3.1.3": [
38
32
  "node_modules/exponential-backoff"
39
33
  ],
40
- "graceful-fs@4.2.11": [
41
- "node_modules/graceful-fs"
34
+ "env-paths@2.2.1": [
35
+ "node_modules/env-paths"
42
36
  ],
43
37
  "semver@7.7.4": [
44
38
  "node_modules/semver"
45
39
  ],
40
+ "nopt@8.1.0": [
41
+ "node_modules/nopt"
42
+ ],
46
43
  "make-fetch-happen@14.0.3": [
47
44
  "node_modules/make-fetch-happen"
48
45
  ],
49
- "chownr@3.0.0": [
50
- "node_modules/chownr"
51
- ],
52
- "@isaacs/fs-minipass@4.0.1": [
53
- "node_modules/@isaacs/fs-minipass"
46
+ "tinyglobby@0.2.15": [
47
+ "node_modules/tinyglobby"
54
48
  ],
55
49
  "yallist@5.0.0": [
56
50
  "node_modules/yallist"
@@ -61,24 +55,24 @@
61
55
  "minipass@7.1.3": [
62
56
  "node_modules/minipass"
63
57
  ],
64
- "abbrev@3.0.1": [
65
- "node_modules/abbrev"
66
- ],
67
- "fdir@6.5.0(picomatch@4.0.3)": [
68
- "node_modules/fdir"
58
+ "@isaacs/fs-minipass@4.0.1": [
59
+ "node_modules/@isaacs/fs-minipass"
69
60
  ],
70
- "picomatch@4.0.3": [
71
- "node_modules/picomatch"
61
+ "chownr@3.0.0": [
62
+ "node_modules/chownr"
72
63
  ],
73
64
  "isexe@3.1.1": [
74
65
  "node_modules/isexe"
75
66
  ],
76
- "ssri@12.0.0": [
77
- "node_modules/ssri"
67
+ "abbrev@3.0.1": [
68
+ "node_modules/abbrev"
78
69
  ],
79
70
  "negotiator@1.0.0": [
80
71
  "node_modules/negotiator"
81
72
  ],
73
+ "ssri@12.0.0": [
74
+ "node_modules/ssri"
75
+ ],
82
76
  "minipass@3.3.6": [
83
77
  "node_modules/minipass-flush/node_modules/minipass",
84
78
  "node_modules/minipass-pipeline/node_modules/minipass",
@@ -89,26 +83,29 @@
89
83
  "node_modules/minipass-pipeline/node_modules/yallist",
90
84
  "node_modules/minipass-sized/node_modules/yallist"
91
85
  ],
92
- "promise-retry@2.0.1": [
93
- "node_modules/promise-retry"
94
- ],
95
86
  "cacache@19.0.1": [
96
87
  "node_modules/cacache"
97
88
  ],
98
- "@npmcli/agent@3.0.0": [
99
- "node_modules/@npmcli/agent"
100
- ],
101
89
  "minipass-fetch@4.0.1": [
102
90
  "node_modules/minipass-fetch"
103
91
  ],
92
+ "promise-retry@2.0.1": [
93
+ "node_modules/promise-retry"
94
+ ],
95
+ "@npmcli/agent@3.0.0": [
96
+ "node_modules/@npmcli/agent"
97
+ ],
104
98
  "http-cache-semantics@4.2.0": [
105
99
  "node_modules/http-cache-semantics"
106
100
  ],
107
- "err-code@2.0.3": [
108
- "node_modules/err-code"
101
+ "picomatch@4.0.3": [
102
+ "node_modules/picomatch"
109
103
  ],
110
- "retry@0.12.0": [
111
- "node_modules/retry"
104
+ "fdir@6.5.0(picomatch@4.0.3)": [
105
+ "node_modules/fdir"
106
+ ],
107
+ "minipass-collect@2.0.1": [
108
+ "node_modules/minipass-collect"
112
109
  ],
113
110
  "p-map@7.0.4": [
114
111
  "node_modules/p-map"
@@ -119,50 +116,56 @@
119
116
  "fs-minipass@3.0.3": [
120
117
  "node_modules/fs-minipass"
121
118
  ],
122
- "minipass-collect@2.0.1": [
123
- "node_modules/minipass-collect"
119
+ "lru-cache@10.4.3": [
120
+ "node_modules/lru-cache"
121
+ ],
122
+ "glob@10.5.0": [
123
+ "node_modules/glob"
124
124
  ],
125
125
  "@npmcli/fs@4.0.0": [
126
126
  "node_modules/@npmcli/fs"
127
127
  ],
128
- "glob@10.5.0": [
129
- "node_modules/glob"
128
+ "encoding@0.1.13": [
129
+ "node_modules/encoding"
130
130
  ],
131
- "lru-cache@10.4.3": [
132
- "node_modules/lru-cache"
131
+ "retry@0.12.0": [
132
+ "node_modules/retry"
133
133
  ],
134
- "https-proxy-agent@7.0.6": [
135
- "node_modules/https-proxy-agent"
134
+ "err-code@2.0.3": [
135
+ "node_modules/err-code"
136
+ ],
137
+ "agent-base@7.1.4": [
138
+ "node_modules/agent-base"
136
139
  ],
137
140
  "http-proxy-agent@7.0.2": [
138
141
  "node_modules/http-proxy-agent"
139
142
  ],
143
+ "https-proxy-agent@7.0.6": [
144
+ "node_modules/https-proxy-agent"
145
+ ],
140
146
  "socks-proxy-agent@8.0.5": [
141
147
  "node_modules/socks-proxy-agent"
142
148
  ],
143
- "agent-base@7.1.4": [
144
- "node_modules/agent-base"
145
- ],
146
- "encoding@0.1.13": [
147
- "node_modules/encoding"
148
- ],
149
149
  "unique-slug@5.0.0": [
150
150
  "node_modules/unique-slug"
151
151
  ],
152
- "foreground-child@3.3.1": [
153
- "node_modules/foreground-child"
154
- ],
155
152
  "path-scurry@1.11.1": [
156
153
  "node_modules/path-scurry"
157
154
  ],
158
- "jackspeak@3.4.3": [
159
- "node_modules/jackspeak"
155
+ "package-json-from-dist@1.0.1": [
156
+ "node_modules/package-json-from-dist"
160
157
  ],
161
158
  "minimatch@9.0.9": [
162
159
  "node_modules/minimatch"
163
160
  ],
164
- "package-json-from-dist@1.0.1": [
165
- "node_modules/package-json-from-dist"
161
+ "foreground-child@3.3.1": [
162
+ "node_modules/foreground-child"
163
+ ],
164
+ "jackspeak@3.4.3": [
165
+ "node_modules/jackspeak"
166
+ ],
167
+ "iconv-lite@0.6.3": [
168
+ "node_modules/iconv-lite"
166
169
  ],
167
170
  "debug@4.4.3": [
168
171
  "node_modules/debug"
@@ -170,29 +173,29 @@
170
173
  "socks@2.8.7": [
171
174
  "node_modules/socks"
172
175
  ],
173
- "iconv-lite@0.6.3": [
174
- "node_modules/iconv-lite"
175
- ],
176
176
  "imurmurhash@0.1.4": [
177
177
  "node_modules/imurmurhash"
178
178
  ],
179
+ "brace-expansion@2.0.2": [
180
+ "node_modules/brace-expansion"
181
+ ],
182
+ "signal-exit@4.1.0": [
183
+ "node_modules/signal-exit"
184
+ ],
179
185
  "which@2.0.2": [
180
186
  "node_modules/cross-spawn/node_modules/which"
181
187
  ],
182
188
  "isexe@2.0.0": [
183
189
  "node_modules/cross-spawn/node_modules/isexe"
184
190
  ],
185
- "signal-exit@4.1.0": [
186
- "node_modules/signal-exit"
187
- ],
188
191
  "@isaacs/cliui@8.0.2": [
189
192
  "node_modules/@isaacs/cliui"
190
193
  ],
191
194
  "@pkgjs/parseargs@0.11.0": [
192
195
  "node_modules/@pkgjs/parseargs"
193
196
  ],
194
- "brace-expansion@2.0.2": [
195
- "node_modules/brace-expansion"
197
+ "safer-buffer@2.1.2": [
198
+ "node_modules/safer-buffer"
196
199
  ],
197
200
  "ms@2.1.3": [
198
201
  "node_modules/ms"
@@ -203,8 +206,8 @@
203
206
  "ip-address@10.1.0": [
204
207
  "node_modules/ip-address"
205
208
  ],
206
- "safer-buffer@2.1.2": [
207
- "node_modules/safer-buffer"
209
+ "balanced-match@1.0.2": [
210
+ "node_modules/balanced-match"
208
211
  ],
209
212
  "shebang-command@2.0.0": [
210
213
  "node_modules/shebang-command"
@@ -212,29 +215,14 @@
212
215
  "path-key@3.1.1": [
213
216
  "node_modules/path-key"
214
217
  ],
215
- "strip-ansi@7.2.0": [
216
- "node_modules/strip-ansi"
217
- ],
218
- "ansi-regex@5.0.1": [
219
- "node_modules/strip-ansi-cjs/node_modules/ansi-regex",
220
- "node_modules/string-width-cjs/node_modules/ansi-regex",
221
- "node_modules/wrap-ansi-cjs/node_modules/ansi-regex"
222
- ],
223
- "string-width@5.1.2": [
224
- "node_modules/string-width"
218
+ "wrap-ansi@8.1.0": [
219
+ "node_modules/wrap-ansi"
225
220
  ],
226
221
  "strip-ansi@6.0.1": [
227
- "node_modules/string-width-cjs/node_modules/strip-ansi",
228
222
  "node_modules/wrap-ansi-cjs/node_modules/strip-ansi",
223
+ "node_modules/string-width-cjs/node_modules/strip-ansi",
229
224
  "node_modules/strip-ansi-cjs"
230
225
  ],
231
- "emoji-regex@8.0.0": [
232
- "node_modules/string-width-cjs/node_modules/emoji-regex",
233
- "node_modules/wrap-ansi-cjs/node_modules/emoji-regex"
234
- ],
235
- "wrap-ansi@8.1.0": [
236
- "node_modules/wrap-ansi"
237
- ],
238
226
  "string-width@4.2.3": [
239
227
  "node_modules/wrap-ansi-cjs/node_modules/string-width",
240
228
  "node_modules/string-width-cjs"
@@ -242,30 +230,42 @@
242
230
  "ansi-styles@4.3.0": [
243
231
  "node_modules/wrap-ansi-cjs/node_modules/ansi-styles"
244
232
  ],
245
- "balanced-match@1.0.2": [
246
- "node_modules/balanced-match"
247
- ],
248
- "shebang-regex@3.0.0": [
249
- "node_modules/shebang-regex"
233
+ "ansi-regex@5.0.1": [
234
+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex",
235
+ "node_modules/string-width-cjs/node_modules/ansi-regex",
236
+ "node_modules/strip-ansi-cjs/node_modules/ansi-regex"
250
237
  ],
251
- "ansi-regex@6.2.2": [
252
- "node_modules/ansi-regex"
238
+ "emoji-regex@8.0.0": [
239
+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex",
240
+ "node_modules/string-width-cjs/node_modules/emoji-regex"
253
241
  ],
254
- "eastasianwidth@0.2.0": [
255
- "node_modules/eastasianwidth"
242
+ "string-width@5.1.2": [
243
+ "node_modules/string-width"
256
244
  ],
257
- "emoji-regex@9.2.2": [
258
- "node_modules/emoji-regex"
245
+ "strip-ansi@7.2.0": [
246
+ "node_modules/strip-ansi"
259
247
  ],
260
- "is-fullwidth-code-point@3.0.0": [
261
- "node_modules/is-fullwidth-code-point"
248
+ "shebang-regex@3.0.0": [
249
+ "node_modules/shebang-regex"
262
250
  ],
263
251
  "ansi-styles@6.2.3": [
264
252
  "node_modules/ansi-styles"
265
253
  ],
254
+ "is-fullwidth-code-point@3.0.0": [
255
+ "node_modules/is-fullwidth-code-point"
256
+ ],
266
257
  "color-convert@2.0.1": [
267
258
  "node_modules/color-convert"
268
259
  ],
260
+ "emoji-regex@9.2.2": [
261
+ "node_modules/emoji-regex"
262
+ ],
263
+ "eastasianwidth@0.2.0": [
264
+ "node_modules/eastasianwidth"
265
+ ],
266
+ "ansi-regex@6.2.2": [
267
+ "node_modules/ansi-regex"
268
+ ],
269
269
  "color-name@1.1.4": [
270
270
  "node_modules/color-name"
271
271
  ],
@@ -286,10 +286,10 @@
286
286
  ]
287
287
  },
288
288
  "nodeLinker": "hoisted",
289
- "packageManager": "pnpm@10.32.0",
289
+ "packageManager": "pnpm@10.32.1",
290
290
  "pendingBuilds": [],
291
291
  "publicHoistPattern": [],
292
- "prunedAt": "Wed, 11 Mar 2026 01:37:47 GMT",
292
+ "prunedAt": "Tue, 24 Mar 2026 16:40:49 GMT",
293
293
  "registries": {
294
294
  "default": "https://registry.npmjs.org/",
295
295
  "@jsr": "https://npm.jsr.io/"
@@ -358,8 +358,8 @@ packages:
358
358
  resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==}
359
359
  engines: {node: '>=12'}
360
360
 
361
- tar@7.5.11:
362
- resolution: {integrity: sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==}
361
+ tar@7.5.12:
362
+ resolution: {integrity: sha512-9TsuLcdhOn4XztcQqhNyq1KOwOOED/3k58JAvtULiYqbO8B/0IBAAIE1hj0Svmm58k27TmcigyDI0deMlgG3uw==}
363
363
  engines: {node: '>=18'}
364
364
 
365
365
  tinyglobby@0.2.15:
@@ -478,7 +478,7 @@ snapshots:
478
478
  minipass-pipeline: 1.2.4
479
479
  p-map: 7.0.4
480
480
  ssri: 12.0.0
481
- tar: 7.5.11
481
+ tar: 7.5.12
482
482
  unique-filename: 4.0.0
483
483
  optional: true
484
484
 
@@ -685,7 +685,7 @@ snapshots:
685
685
  nopt: 8.1.0
686
686
  proc-log: 5.0.0
687
687
  semver: 7.7.4
688
- tar: 7.5.11
688
+ tar: 7.5.12
689
689
  tinyglobby: 0.2.15
690
690
  which: 5.0.0
691
691
  transitivePeerDependencies:
@@ -791,7 +791,7 @@ snapshots:
791
791
  ansi-regex: 6.2.2
792
792
  optional: true
793
793
 
794
- tar@7.5.11:
794
+ tar@7.5.12:
795
795
  dependencies:
796
796
  '@isaacs/fs-minipass': 4.0.1
797
797
  chownr: 3.0.0
@@ -1,5 +1,5 @@
1
1
  {
2
- "lastValidatedTimestamp": 1773193067208,
2
+ "lastValidatedTimestamp": 1774370449201,
3
3
  "projects": {},
4
4
  "pnpmfiles": [],
5
5
  "settings": {
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AA8E1C,eAAO,MAAM,MAAM,wDAUlB,CAAA"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AA0E1C,eAAO,MAAM,MAAM,wDAUlB,CAAA"}
@@ -28,7 +28,7 @@ const createFile = (opt, files) => {
28
28
  stream.on('close', res);
29
29
  p.on('error', rej);
30
30
  });
31
- addFilesAsync(p, files);
31
+ addFilesAsync(p, files).catch(er => p.emit('error', er));
32
32
  return promise;
33
33
  };
34
34
  const addFilesSync = (p, files) => {
@@ -48,8 +48,7 @@ const addFilesSync = (p, files) => {
48
48
  p.end();
49
49
  };
50
50
  const addFilesAsync = async (p, files) => {
51
- for (let i = 0; i < files.length; i++) {
52
- const file = String(files[i]);
51
+ for (const file of files) {
53
52
  if (file.charAt(0) === '@') {
54
53
  await (0, list_js_1.list)({
55
54
  file: node_path_1.default.resolve(String(p.cwd), file.slice(1)),
@@ -72,7 +71,7 @@ const createSync = (opt, files) => {
72
71
  };
73
72
  const createAsync = (opt, files) => {
74
73
  const p = new pack_js_1.Pack(opt);
75
- addFilesAsync(p, files);
74
+ addFilesAsync(p, files).catch(er => p.emit('error', er));
76
75
  return p;
77
76
  };
78
77
  exports.create = (0, make_command_js_1.makeCommand)(createFileSync, createFile, createSync, createAsync, (_opt, files) => {
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAkE;AAElE,0DAA4B;AAC5B,uCAAgC;AAChC,uDAA+C;AAO/C,uCAA0C;AAE1C,MAAM,cAAc,GAAG,CAAC,GAAuB,EAAE,KAAe,EAAE,EAAE;IAClE,MAAM,CAAC,GAAG,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IAC3B,MAAM,MAAM,GAAG,IAAI,6BAAe,CAAC,GAAG,CAAC,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,MAAM,WAAW,GAAG,CAAC,GAAe,EAAE,KAAe,EAAE,EAAE;IACvD,MAAM,CAAC,GAAG,IAAI,cAAI,CAAC,GAAG,CAAC,CAAA;IACvB,aAAa,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;IACvB,OAAO,CAAC,CAAA;AACV,CAAC,CAAA;AAEY,QAAA,MAAM,GAAG,IAAA,6BAAW,EAC/B,cAAc,EACd,UAAU,EACV,UAAU,EACV,WAAW,EACX,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;IACd,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;QACnB,MAAM,IAAI,SAAS,CAAC,sCAAsC,CAAC,CAAA;IAC7D,CAAC;AACH,CAAC,CACF,CAAA","sourcesContent":["import { WriteStream, WriteStreamSync } from '@isaacs/fs-minipass'\nimport { Minipass } from 'minipass'\nimport path from 'node:path'\nimport { list } from './list.js'\nimport { makeCommand } from './make-command.js'\nimport {\n TarOptions,\n TarOptionsFile,\n TarOptionsSync,\n TarOptionsSyncFile,\n} from './options.js'\nimport { Pack, PackSync } from './pack.js'\n\nconst createFileSync = (opt: TarOptionsSyncFile, files: string[]) => {\n const p = new PackSync(opt)\n const stream = new WriteStreamSync(opt.file, {\n mode: opt.mode || 0o666,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n addFilesSync(p, files)\n}\n\nconst createFile = (opt: TarOptionsFile, files: string[]) => {\n const p = new Pack(opt)\n const stream = new WriteStream(opt.file, {\n mode: opt.mode || 0o666,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n\n const promise = new Promise<void>((res, rej) => {\n stream.on('error', rej)\n stream.on('close', res)\n p.on('error', rej)\n })\n\n addFilesAsync(p, files)\n\n return promise\n}\n\nconst addFilesSync = (p: PackSync, files: string[]) => {\n files.forEach(file => {\n if (file.charAt(0) === '@') {\n list({\n file: path.resolve(p.cwd, file.slice(1)),\n sync: true,\n noResume: true,\n onReadEntry: entry => p.add(entry),\n })\n } else {\n p.add(file)\n }\n })\n p.end()\n}\n\nconst addFilesAsync = async (\n p: Pack,\n files: string[],\n): Promise<void> => {\n for (let i = 0; i < files.length; i++) {\n const file = String(files[i])\n if (file.charAt(0) === '@') {\n await list({\n file: path.resolve(String(p.cwd), file.slice(1)),\n noResume: true,\n onReadEntry: entry => {\n p.add(entry)\n },\n })\n } else {\n p.add(file)\n }\n }\n p.end()\n}\n\nconst createSync = (opt: TarOptionsSync, files: string[]) => {\n const p = new PackSync(opt)\n addFilesSync(p, files)\n return p\n}\n\nconst createAsync = (opt: TarOptions, files: string[]) => {\n const p = new Pack(opt)\n addFilesAsync(p, files)\n return p\n}\n\nexport const create = makeCommand(\n createFileSync,\n createFile,\n createSync,\n createAsync,\n (_opt, files) => {\n if (!files?.length) {\n throw new TypeError('no paths specified to add to archive')\n }\n },\n)\n"]}
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAkE;AAElE,0DAA4B;AAC5B,uCAAgC;AAChC,uDAA+C;AAO/C,uCAA0C;AAE1C,MAAM,cAAc,GAAG,CAAC,GAAuB,EAAE,KAAe,EAAE,EAAE;IAClE,MAAM,CAAC,GAAG,IAAI,kBAAQ,CAAC,GAAG,CAAC,CAAA;IAC3B,MAAM,MAAM,GAAG,IAAI,6BAAe,CAAC,GAAG,CAAC,IAAI,EAAE;QAC3C,IAAI,EAAE,GAAG,CAAC,IAAI,IAAI,KAAK;KACxB,CAAC,CAAA;IACF,CAAC,CAAC,IAAI,CAAC,MAAsC,CAAC,CAAA;IAC9C,YAAY,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;AACxB,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,GAAmB,EAAE,KAAe,EAAE,EAAE;IAC1D,MAAM,CAAC,GAAG,IAAI,cAAI,CAAC,GAAG,CAAC,CAAA;IACvB,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,GAAG,CAAC,IAAI,EAAE;QACvC,IAAI,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IACd,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;QACnB,MAAM,IAAI,SAAS,CAAC,sCAAsC,CAAC,CAAA;IAC7D,CAAC;AACH,CAAC,CACF,CAAA","sourcesContent":["import { WriteStream, WriteStreamSync } from '@isaacs/fs-minipass'\nimport type { Minipass } from 'minipass'\nimport path from 'node:path'\nimport { list } from './list.js'\nimport { makeCommand } from './make-command.js'\nimport type {\n TarOptions,\n TarOptionsFile,\n TarOptionsSync,\n TarOptionsSyncFile,\n} from './options.js'\nimport { Pack, PackSync } from './pack.js'\n\nconst createFileSync = (opt: TarOptionsSyncFile, files: string[]) => {\n const p = new PackSync(opt)\n const stream = new WriteStreamSync(opt.file, {\n mode: opt.mode || 0o666,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n addFilesSync(p, files)\n}\n\nconst createFile = (opt: TarOptionsFile, files: string[]) => {\n const p = new Pack(opt)\n const stream = new WriteStream(opt.file, {\n mode: opt.mode || 0o666,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n\n const promise = new Promise<void>((res, rej) => {\n stream.on('error', rej)\n stream.on('close', res)\n p.on('error', rej)\n })\n\n addFilesAsync(p, files).catch(er => p.emit('error', er))\n\n return promise\n}\n\nconst addFilesSync = (p: PackSync, files: string[]) => {\n files.forEach(file => {\n if (file.charAt(0) === '@') {\n list({\n file: path.resolve(p.cwd, file.slice(1)),\n sync: true,\n noResume: true,\n onReadEntry: entry => p.add(entry),\n })\n } else {\n p.add(file)\n }\n })\n p.end()\n}\n\nconst addFilesAsync = async (p: Pack, files: string[]): Promise<void> => {\n for (const file of files) {\n if (file.charAt(0) === '@') {\n await list({\n file: path.resolve(String(p.cwd), file.slice(1)),\n noResume: true,\n onReadEntry: entry => {\n p.add(entry)\n },\n })\n } else {\n p.add(file)\n }\n }\n p.end()\n}\n\nconst createSync = (opt: TarOptionsSync, files: string[]) => {\n const p = new PackSync(opt)\n addFilesSync(p, files)\n return p\n}\n\nconst createAsync = (opt: TarOptions, files: string[]) => {\n const p = new Pack(opt)\n addFilesAsync(p, files).catch(er => p.emit('error', er))\n return p\n}\n\nexport const create = makeCommand(\n createFileSync,\n createFile,\n createSync,\n createAsync,\n (_opt, files) => {\n if (!files?.length) {\n throw new TypeError('no paths specified to add to archive')\n }\n },\n)\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"cwd-error.d.ts","sourceRoot":"","sources":["../../src/cwd-error.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAU;gBAEd,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAMtC,IAAI,IAAI,WAEP;CACF"}
1
+ {"version":3,"file":"cwd-error.d.ts","sourceRoot":"","sources":["../../src/cwd-error.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAG,OAAO,CAAS;gBAEd,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAMtC,IAAI,IAAI,WAEP;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"cwd-error.js","sourceRoot":"","sources":["../../src/cwd-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAS,SAAQ,KAAK;IACjC,IAAI,CAAQ;IACZ,IAAI,CAAQ;IACZ,OAAO,GAAY,OAAO,CAAA;IAE1B,YAAY,IAAY,EAAE,IAAY;QACpC,KAAK,CAAC,GAAG,IAAI,qBAAqB,IAAI,GAAG,CAAC,CAAA;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAdD,4BAcC","sourcesContent":["export class CwdError extends Error {\n path: string\n code: string\n syscall: 'chdir' = 'chdir'\n\n constructor(path: string, code: string) {\n super(`${code}: Cannot cd into '${path}'`)\n this.path = path\n this.code = code\n }\n\n get name() {\n return 'CwdError'\n }\n}\n"]}
1
+ {"version":3,"file":"cwd-error.js","sourceRoot":"","sources":["../../src/cwd-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAS,SAAQ,KAAK;IACjC,IAAI,CAAQ;IACZ,IAAI,CAAQ;IACZ,OAAO,GAAG,OAAgB,CAAA;IAE1B,YAAY,IAAY,EAAE,IAAY;QACpC,KAAK,CAAC,GAAG,IAAI,qBAAqB,IAAI,GAAG,CAAC,CAAA;QAC1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAdD,4BAcC","sourcesContent":["export class CwdError extends Error {\n path: string\n code: string\n syscall = 'chdir' as const\n\n constructor(path: string, code: string) {\n super(`${code}: Cannot cd into '${path}'`)\n this.path = path\n this.code = code\n }\n\n get name() {\n return 'CwdError'\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"extract.js","sourceRoot":"","sources":["../../src/extract.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS;AACT,yDAA0C;AAC1C,sDAAwB;AACxB,uCAAuC;AACvC,uDAA+C;AAE/C,2CAAgD;AAEhD,MAAM,eAAe,GAAG,CAAC,GAAuB,EAAE,EAAE;IAClD,MAAM,CAAC,GAAG,IAAI,sBAAU,CAAC,GAAG,CAAC,CAAA;IAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,iBAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC9B,oDAAoD;IACpD,4DAA4D;IAC5D,MAAM,QAAQ,GAAG,GAA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AC,CAAC,CAAA;IACF,OAAO,CAAC,CAAA;AACV,CAAC,CAAA;AAEY,QAAA,OAAO,GAAG,IAAA,6BAAW,EAChC,eAAe,EACf,WAAW,EACX,GAAG,CAAC,EAAE,CAAC,IAAI,sBAAU,CAAC,GAAG,CAAC,EAC1B,GAAG,CAAC,EAAE,CAAC,IAAI,kBAAM,CAAC,GAAG,CAAC,EACtB,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE;IACb,IAAI,KAAK,EAAE,MAAM;QAAE,IAAA,qBAAW,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AAC5C,CAAC,CACF,CAAA","sourcesContent":["// tar -x\nimport * as fsm from '@isaacs/fs-minipass'\nimport fs from 'node:fs'\nimport { filesFilter } from './list.js'\nimport { makeCommand } from './make-command.js'\nimport { TarOptionsFile, TarOptionsSyncFile } from './options.js'\nimport { Unpack, UnpackSync } from './unpack.js'\n\nconst extractFileSync = (opt: TarOptionsSyncFile) => {\n const u = new UnpackSync(opt)\n const file = opt.file\n const stat = fs.statSync(file)\n // This trades a zero-byte read() syscall for a stat\n // However, it will usually result in less memory allocation\n const readSize = opt.maxReadSize || 16 * 1024 * 1024\n const stream = new fsm.ReadStreamSync(file, {\n readSize: readSize,\n size: stat.size,\n })\n stream.pipe(u)\n}\n\nconst extractFile = (opt: TarOptionsFile, _?: string[]) => {\n const u = new Unpack(opt)\n const readSize = opt.maxReadSize || 16 * 1024 * 1024\n\n const file = opt.file\n const p = new Promise<void>((resolve, reject) => {\n u.on('error', reject)\n u.on('close', resolve)\n\n // This trades a zero-byte read() syscall for a stat\n // However, it will usually result in less memory allocation\n fs.stat(file, (er, stat) => {\n if (er) {\n reject(er)\n } else {\n const stream = new fsm.ReadStream(file, {\n readSize: readSize,\n size: stat.size,\n })\n stream.on('error', reject)\n stream.pipe(u)\n }\n })\n })\n return p\n}\n\nexport const extract = makeCommand<Unpack, UnpackSync>(\n extractFileSync,\n extractFile,\n opt => new UnpackSync(opt),\n opt => new Unpack(opt),\n (opt, files) => {\n if (files?.length) filesFilter(opt, files)\n },\n)\n"]}
1
+ {"version":3,"file":"extract.js","sourceRoot":"","sources":["../../src/extract.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS;AACT,yDAA0C;AAC1C,sDAAwB;AACxB,uCAAuC;AACvC,uDAA+C;AAE/C,2CAAgD;AAEhD,MAAM,eAAe,GAAG,CAAC,GAAuB,EAAE,EAAE;IAClD,MAAM,CAAC,GAAG,IAAI,sBAAU,CAAC,GAAG,CAAC,CAAA;IAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,iBAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC9B,oDAAoD;IACpD,4DAA4D;IAC5D,MAAM,QAAQ,GAAG,GAAG,CAAC,WAAW,IAAI,EAAE,GAAG,IAAI,GAAG,IAAI,CAAA;IACpD,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE;QAC1C,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,IAAI,CAAC,IAAI;KAChB,CAAC,CAAA;IACF,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,GAAmB,EAAE,CAAY,EAAE,EAAE;IACxD,MAAM,CAAC,GAAG,IAAI,kBAAM,CAAC,GAAG,CAAC,CAAA;IACzB,MAAM,QAAQ,GAAG,GAAG,CAAC,WAAW,IAAI,EAAE,GAAG,IAAI,GAAG,IAAI,CAAA;IAEpD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAA;IACrB,MAAM,CAAC,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC9C,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;QACrB,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QAEtB,oDAAoD;QACpD,4DAA4D;QAC5D,iBAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE;YACzB,IAAI,EAAE,EAAE,CAAC;gBACP,MAAM,CAAC,EAAE,CAAC,CAAA;YACZ,CAAC;iBAAM,CAAC;gBACN,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE;oBACtC,QAAQ,EAAE,QAAQ;oBAClB,IAAI,EAAE,IAAI,CAAC,IAAI;iBAChB,CAAC,CAAA;gBACF,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;gBAC1B,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;YAChB,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IACF,OAAO,CAAC,CAAA;AACV,CAAC,CAAA;AAEY,QAAA,OAAO,GAAG,IAAA,6BAAW,EAChC,eAAe,EACf,WAAW,EACX,GAAG,CAAC,EAAE,CAAC,IAAI,sBAAU,CAAC,GAAG,CAAC,EAC1B,GAAG,CAAC,EAAE,CAAC,IAAI,kBAAM,CAAC,GAAG,CAAC,EACtB,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE;IACb,IAAI,KAAK,EAAE,MAAM;QAAE,IAAA,qBAAW,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AAC5C,CAAC,CACF,CAAA","sourcesContent":["// tar -x\nimport * as fsm from '@isaacs/fs-minipass'\nimport fs from 'node:fs'\nimport { filesFilter } from './list.js'\nimport { makeCommand } from './make-command.js'\nimport type { TarOptionsFile, TarOptionsSyncFile } from './options.js'\nimport { Unpack, UnpackSync } from './unpack.js'\n\nconst extractFileSync = (opt: TarOptionsSyncFile) => {\n const u = new UnpackSync(opt)\n const file = opt.file\n const stat = fs.statSync(file)\n // This trades a zero-byte read() syscall for a stat\n // However, it will usually result in less memory allocation\n const readSize = opt.maxReadSize || 16 * 1024 * 1024\n const stream = new fsm.ReadStreamSync(file, {\n readSize: readSize,\n size: stat.size,\n })\n stream.pipe(u)\n}\n\nconst extractFile = (opt: TarOptionsFile, _?: string[]) => {\n const u = new Unpack(opt)\n const readSize = opt.maxReadSize || 16 * 1024 * 1024\n\n const file = opt.file\n const p = new Promise<void>((resolve, reject) => {\n u.on('error', reject)\n u.on('close', resolve)\n\n // This trades a zero-byte read() syscall for a stat\n // However, it will usually result in less memory allocation\n fs.stat(file, (er, stat) => {\n if (er) {\n reject(er)\n } else {\n const stream = new fsm.ReadStream(file, {\n readSize: readSize,\n size: stat.size,\n })\n stream.on('error', reject)\n stream.pipe(u)\n }\n })\n })\n return p\n}\n\nexport const extract = makeCommand<Unpack, UnpackSync>(\n extractFileSync,\n extractFile,\n opt => new UnpackSync(opt),\n opt => new Unpack(opt),\n (opt, files) => {\n if (files?.length) filesFilter(opt, files)\n },\n)\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../src/header.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG9D,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,aAAa,GAAG,aAAa,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,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gex?.gid ?? decNumber(buf, off + 116, 8);
85
85
  this.size = ex?.size ?? gex?.size ?? decNumber(buf, off + 124, 12);
86
- this.mtime =
87
- ex?.mtime ?? gex?.mtime ?? decDate(buf, off + 136, 12);
86
+ this.mtime = ex?.mtime ?? gex?.mtime ?? decDate(buf, off + 136, 12);
88
87
  this.cksum = decNumber(buf, off + 148, 12);
89
88
  // if we have extended or global extended headers, apply them now
90
89
  // See https://github.com/npm/node-tar/pull/187
@@ -110,13 +109,10 @@ class Header {
110
109
  this.size = 0;
111
110
  }
112
111
  this.linkpath = decString(buf, off + 157, 100);
113
- if (buf.subarray(off + 257, off + 265).toString() ===
114
- 'ustar\u000000') {
112
+ if (buf.subarray(off + 257, off + 265).toString() === 'ustar\u000000') {
115
113
  /* c8 ignore start */
116
- this.uname =
117
- ex?.uname ?? gex?.uname ?? decString(buf, off + 265, 32);
118
- this.gname =
119
- ex?.gname ?? gex?.gname ?? decString(buf, off + 297, 32);
114
+ this.uname = ex?.uname ?? gex?.uname ?? decString(buf, off + 265, 32);
115
+ this.gname = ex?.gname ?? gex?.gname ?? decString(buf, off + 297, 32);
120
116
  this.devmaj =
121
117
  ex?.devmaj ?? gex?.devmaj ?? decNumber(buf, off + 329, 8) ?? 0;
122
118
  this.devmin =
@@ -133,10 +129,8 @@ class Header {
133
129
  this.path = prefix + '/' + this.path;
134
130
  }
135
131
  /* c8 ignore start */
136
- this.atime =
137
- ex?.atime ?? gex?.atime ?? decDate(buf, off + 476, 12);
138
- this.ctime =
139
- ex?.ctime ?? gex?.ctime ?? decDate(buf, off + 488, 12);
132
+ this.atime = ex?.atime ?? gex?.atime ?? decDate(buf, off + 476, 12);
133
+ this.ctime = ex?.ctime ?? gex?.ctime ?? decDate(buf, off + 488, 12);
140
134
  /* c8 ignore stop */
141
135
  }
142
136
  }
@@ -180,17 +174,12 @@ class Header {
180
174
  const prefix = split[1];
181
175
  this.needPax = !!split[2];
182
176
  this.needPax = encString(buf, off, 100, path) || this.needPax;
183
- this.needPax =
184
- encNumber(buf, off + 100, 8, this.mode) || this.needPax;
185
- this.needPax =
186
- encNumber(buf, off + 108, 8, this.uid) || this.needPax;
187
- this.needPax =
188
- encNumber(buf, off + 116, 8, this.gid) || this.needPax;
189
- this.needPax =
190
- encNumber(buf, off + 124, 12, this.size) || this.needPax;
191
- this.needPax =
192
- encDate(buf, off + 136, 12, this.mtime) || this.needPax;
193
- buf[off + 156] = this.#type.charCodeAt(0);
177
+ this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
178
+ this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
179
+ this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
180
+ this.needPax = encNumber(buf, off + 124, 12, this.size) || this.needPax;
181
+ this.needPax = encDate(buf, off + 136, 12, this.mtime) || this.needPax;
182
+ buf[off + 156] = Number(this.#type.codePointAt(0));
194
183
  this.needPax =
195
184
  encString(buf, off + 157, 100, this.linkpath) || this.needPax;
196
185
  buf.write('ustar\u000000', off + 257, 8);
@@ -205,12 +194,10 @@ class Header {
205
194
  this.needPax =
206
195
  encString(buf, off + 345, prefixSize, prefix) || this.needPax;
207
196
  if (buf[off + 475] !== 0) {
208
- this.needPax =
209
- encString(buf, off + 345, 155, prefix) || this.needPax;
197
+ this.needPax = encString(buf, off + 345, 155, prefix) || this.needPax;
210
198
  }
211
199
  else {
212
- this.needPax =
213
- encString(buf, off + 345, 130, prefix) || this.needPax;
200
+ this.needPax = encString(buf, off + 345, 130, prefix) || this.needPax;
214
201
  this.needPax =
215
202
  encDate(buf, off + 476, 12, this.atime) || this.needPax;
216
203
  this.needPax =