pnpm 6.22.1 → 6.22.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.
Files changed (2) hide show
  1. package/dist/pnpm.cjs +476 -465
  2. package/package.json +2 -2
package/dist/pnpm.cjs CHANGED
@@ -47,56 +47,56 @@ var require_polyfills = __commonJS({
47
47
  }
48
48
  var chdir;
49
49
  module2.exports = patch;
50
- function patch(fs) {
50
+ function patch(fs2) {
51
51
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
52
- patchLchmod(fs);
53
- }
54
- if (!fs.lutimes) {
55
- patchLutimes(fs);
56
- }
57
- fs.chown = chownFix(fs.chown);
58
- fs.fchown = chownFix(fs.fchown);
59
- fs.lchown = chownFix(fs.lchown);
60
- fs.chmod = chmodFix(fs.chmod);
61
- fs.fchmod = chmodFix(fs.fchmod);
62
- fs.lchmod = chmodFix(fs.lchmod);
63
- fs.chownSync = chownFixSync(fs.chownSync);
64
- fs.fchownSync = chownFixSync(fs.fchownSync);
65
- fs.lchownSync = chownFixSync(fs.lchownSync);
66
- fs.chmodSync = chmodFixSync(fs.chmodSync);
67
- fs.fchmodSync = chmodFixSync(fs.fchmodSync);
68
- fs.lchmodSync = chmodFixSync(fs.lchmodSync);
69
- fs.stat = statFix(fs.stat);
70
- fs.fstat = statFix(fs.fstat);
71
- fs.lstat = statFix(fs.lstat);
72
- fs.statSync = statFixSync(fs.statSync);
73
- fs.fstatSync = statFixSync(fs.fstatSync);
74
- fs.lstatSync = statFixSync(fs.lstatSync);
75
- if (!fs.lchmod) {
76
- fs.lchmod = function(path, mode, cb) {
52
+ patchLchmod(fs2);
53
+ }
54
+ if (!fs2.lutimes) {
55
+ patchLutimes(fs2);
56
+ }
57
+ fs2.chown = chownFix(fs2.chown);
58
+ fs2.fchown = chownFix(fs2.fchown);
59
+ fs2.lchown = chownFix(fs2.lchown);
60
+ fs2.chmod = chmodFix(fs2.chmod);
61
+ fs2.fchmod = chmodFix(fs2.fchmod);
62
+ fs2.lchmod = chmodFix(fs2.lchmod);
63
+ fs2.chownSync = chownFixSync(fs2.chownSync);
64
+ fs2.fchownSync = chownFixSync(fs2.fchownSync);
65
+ fs2.lchownSync = chownFixSync(fs2.lchownSync);
66
+ fs2.chmodSync = chmodFixSync(fs2.chmodSync);
67
+ fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
68
+ fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
69
+ fs2.stat = statFix(fs2.stat);
70
+ fs2.fstat = statFix(fs2.fstat);
71
+ fs2.lstat = statFix(fs2.lstat);
72
+ fs2.statSync = statFixSync(fs2.statSync);
73
+ fs2.fstatSync = statFixSync(fs2.fstatSync);
74
+ fs2.lstatSync = statFixSync(fs2.lstatSync);
75
+ if (!fs2.lchmod) {
76
+ fs2.lchmod = function(path, mode, cb) {
77
77
  if (cb)
78
78
  process.nextTick(cb);
79
79
  };
80
- fs.lchmodSync = function() {
80
+ fs2.lchmodSync = function() {
81
81
  };
82
82
  }
83
- if (!fs.lchown) {
84
- fs.lchown = function(path, uid, gid, cb) {
83
+ if (!fs2.lchown) {
84
+ fs2.lchown = function(path, uid, gid, cb) {
85
85
  if (cb)
86
86
  process.nextTick(cb);
87
87
  };
88
- fs.lchownSync = function() {
88
+ fs2.lchownSync = function() {
89
89
  };
90
90
  }
91
91
  if (platform === "win32") {
92
- fs.rename = function(fs$rename) {
92
+ fs2.rename = function(fs$rename) {
93
93
  return function(from, to, cb) {
94
94
  var start = Date.now();
95
95
  var backoff = 0;
96
96
  fs$rename(from, to, function CB(er) {
97
97
  if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
98
98
  setTimeout(function() {
99
- fs.stat(to, function(stater, st) {
99
+ fs2.stat(to, function(stater, st) {
100
100
  if (stater && stater.code === "ENOENT")
101
101
  fs$rename(from, to, CB);
102
102
  else
@@ -111,9 +111,9 @@ var require_polyfills = __commonJS({
111
111
  cb(er);
112
112
  });
113
113
  };
114
- }(fs.rename);
114
+ }(fs2.rename);
115
115
  }
116
- fs.read = function(fs$read) {
116
+ fs2.read = function(fs$read) {
117
117
  function read(fd, buffer, offset, length, position, callback_) {
118
118
  var callback;
119
119
  if (callback_ && typeof callback_ === "function") {
@@ -121,23 +121,23 @@ var require_polyfills = __commonJS({
121
121
  callback = function(er, _, __) {
122
122
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
123
123
  eagCounter++;
124
- return fs$read.call(fs, fd, buffer, offset, length, position, callback);
124
+ return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
125
125
  }
126
126
  callback_.apply(this, arguments);
127
127
  };
128
128
  }
129
- return fs$read.call(fs, fd, buffer, offset, length, position, callback);
129
+ return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
130
130
  }
131
131
  if (Object.setPrototypeOf)
132
132
  Object.setPrototypeOf(read, fs$read);
133
133
  return read;
134
- }(fs.read);
135
- fs.readSync = function(fs$readSync) {
134
+ }(fs2.read);
135
+ fs2.readSync = function(fs$readSync) {
136
136
  return function(fd, buffer, offset, length, position) {
137
137
  var eagCounter = 0;
138
138
  while (true) {
139
139
  try {
140
- return fs$readSync.call(fs, fd, buffer, offset, length, position);
140
+ return fs$readSync.call(fs2, fd, buffer, offset, length, position);
141
141
  } catch (er) {
142
142
  if (er.code === "EAGAIN" && eagCounter < 10) {
143
143
  eagCounter++;
@@ -147,85 +147,85 @@ var require_polyfills = __commonJS({
147
147
  }
148
148
  }
149
149
  };
150
- }(fs.readSync);
151
- function patchLchmod(fs2) {
152
- fs2.lchmod = function(path, mode, callback) {
153
- fs2.open(path, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
150
+ }(fs2.readSync);
151
+ function patchLchmod(fs3) {
152
+ fs3.lchmod = function(path, mode, callback) {
153
+ fs3.open(path, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
154
154
  if (err) {
155
155
  if (callback)
156
156
  callback(err);
157
157
  return;
158
158
  }
159
- fs2.fchmod(fd, mode, function(err2) {
160
- fs2.close(fd, function(err22) {
159
+ fs3.fchmod(fd, mode, function(err2) {
160
+ fs3.close(fd, function(err22) {
161
161
  if (callback)
162
162
  callback(err2 || err22);
163
163
  });
164
164
  });
165
165
  });
166
166
  };
167
- fs2.lchmodSync = function(path, mode) {
168
- var fd = fs2.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
167
+ fs3.lchmodSync = function(path, mode) {
168
+ var fd = fs3.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
169
169
  var threw = true;
170
170
  var ret;
171
171
  try {
172
- ret = fs2.fchmodSync(fd, mode);
172
+ ret = fs3.fchmodSync(fd, mode);
173
173
  threw = false;
174
174
  } finally {
175
175
  if (threw) {
176
176
  try {
177
- fs2.closeSync(fd);
177
+ fs3.closeSync(fd);
178
178
  } catch (er) {
179
179
  }
180
180
  } else {
181
- fs2.closeSync(fd);
181
+ fs3.closeSync(fd);
182
182
  }
183
183
  }
184
184
  return ret;
185
185
  };
186
186
  }
187
- function patchLutimes(fs2) {
187
+ function patchLutimes(fs3) {
188
188
  if (constants.hasOwnProperty("O_SYMLINK")) {
189
- fs2.lutimes = function(path, at, mt, cb) {
190
- fs2.open(path, constants.O_SYMLINK, function(er, fd) {
189
+ fs3.lutimes = function(path, at, mt, cb) {
190
+ fs3.open(path, constants.O_SYMLINK, function(er, fd) {
191
191
  if (er) {
192
192
  if (cb)
193
193
  cb(er);
194
194
  return;
195
195
  }
196
- fs2.futimes(fd, at, mt, function(er2) {
197
- fs2.close(fd, function(er22) {
196
+ fs3.futimes(fd, at, mt, function(er2) {
197
+ fs3.close(fd, function(er22) {
198
198
  if (cb)
199
199
  cb(er2 || er22);
200
200
  });
201
201
  });
202
202
  });
203
203
  };
204
- fs2.lutimesSync = function(path, at, mt) {
205
- var fd = fs2.openSync(path, constants.O_SYMLINK);
204
+ fs3.lutimesSync = function(path, at, mt) {
205
+ var fd = fs3.openSync(path, constants.O_SYMLINK);
206
206
  var ret;
207
207
  var threw = true;
208
208
  try {
209
- ret = fs2.futimesSync(fd, at, mt);
209
+ ret = fs3.futimesSync(fd, at, mt);
210
210
  threw = false;
211
211
  } finally {
212
212
  if (threw) {
213
213
  try {
214
- fs2.closeSync(fd);
214
+ fs3.closeSync(fd);
215
215
  } catch (er) {
216
216
  }
217
217
  } else {
218
- fs2.closeSync(fd);
218
+ fs3.closeSync(fd);
219
219
  }
220
220
  }
221
221
  return ret;
222
222
  };
223
223
  } else {
224
- fs2.lutimes = function(_a, _b, _c, cb) {
224
+ fs3.lutimes = function(_a, _b, _c, cb) {
225
225
  if (cb)
226
226
  process.nextTick(cb);
227
227
  };
228
- fs2.lutimesSync = function() {
228
+ fs3.lutimesSync = function() {
229
229
  };
230
230
  }
231
231
  }
@@ -233,7 +233,7 @@ var require_polyfills = __commonJS({
233
233
  if (!orig)
234
234
  return orig;
235
235
  return function(target, mode, cb) {
236
- return orig.call(fs, target, mode, function(er) {
236
+ return orig.call(fs2, target, mode, function(er) {
237
237
  if (chownErOk(er))
238
238
  er = null;
239
239
  if (cb)
@@ -246,7 +246,7 @@ var require_polyfills = __commonJS({
246
246
  return orig;
247
247
  return function(target, mode) {
248
248
  try {
249
- return orig.call(fs, target, mode);
249
+ return orig.call(fs2, target, mode);
250
250
  } catch (er) {
251
251
  if (!chownErOk(er))
252
252
  throw er;
@@ -257,7 +257,7 @@ var require_polyfills = __commonJS({
257
257
  if (!orig)
258
258
  return orig;
259
259
  return function(target, uid, gid, cb) {
260
- return orig.call(fs, target, uid, gid, function(er) {
260
+ return orig.call(fs2, target, uid, gid, function(er) {
261
261
  if (chownErOk(er))
262
262
  er = null;
263
263
  if (cb)
@@ -270,7 +270,7 @@ var require_polyfills = __commonJS({
270
270
  return orig;
271
271
  return function(target, uid, gid) {
272
272
  try {
273
- return orig.call(fs, target, uid, gid);
273
+ return orig.call(fs2, target, uid, gid);
274
274
  } catch (er) {
275
275
  if (!chownErOk(er))
276
276
  throw er;
@@ -295,14 +295,14 @@ var require_polyfills = __commonJS({
295
295
  if (cb)
296
296
  cb.apply(this, arguments);
297
297
  }
298
- return options ? orig.call(fs, target, options, callback) : orig.call(fs, target, callback);
298
+ return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
299
299
  };
300
300
  }
301
301
  function statFixSync(orig) {
302
302
  if (!orig)
303
303
  return orig;
304
304
  return function(target, options) {
305
- var stats = options ? orig.call(fs, target, options) : orig.call(fs, target);
305
+ var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
306
306
  if (stats.uid < 0)
307
307
  stats.uid += 4294967296;
308
308
  if (stats.gid < 0)
@@ -331,7 +331,7 @@ var require_legacy_streams = __commonJS({
331
331
  "../../node_modules/.pnpm/graceful-fs@4.2.8/node_modules/graceful-fs/legacy-streams.js"(exports2, module2) {
332
332
  var Stream = require("stream").Stream;
333
333
  module2.exports = legacy;
334
- function legacy(fs) {
334
+ function legacy(fs2) {
335
335
  return {
336
336
  ReadStream,
337
337
  WriteStream
@@ -376,7 +376,7 @@ var require_legacy_streams = __commonJS({
376
376
  });
377
377
  return;
378
378
  }
379
- fs.open(this.path, this.flags, this.mode, function(err, fd) {
379
+ fs2.open(this.path, this.flags, this.mode, function(err, fd) {
380
380
  if (err) {
381
381
  self2.emit("error", err);
382
382
  self2.readable = false;
@@ -416,7 +416,7 @@ var require_legacy_streams = __commonJS({
416
416
  this.busy = false;
417
417
  this._queue = [];
418
418
  if (this.fd === null) {
419
- this._open = fs.open;
419
+ this._open = fs2.open;
420
420
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
421
421
  this.flush();
422
422
  }
@@ -451,7 +451,7 @@ var require_clone = __commonJS({
451
451
  // ../../node_modules/.pnpm/graceful-fs@4.2.8/node_modules/graceful-fs/graceful-fs.js
452
452
  var require_graceful_fs = __commonJS({
453
453
  "../../node_modules/.pnpm/graceful-fs@4.2.8/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
454
- var fs = require("fs");
454
+ var fs2 = require("fs");
455
455
  var polyfills = require_polyfills();
456
456
  var legacy = require_legacy_streams();
457
457
  var clone = require_clone();
@@ -483,12 +483,12 @@ var require_graceful_fs = __commonJS({
483
483
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
484
484
  console.error(m);
485
485
  };
486
- if (!fs[gracefulQueue]) {
486
+ if (!fs2[gracefulQueue]) {
487
487
  queue = global[gracefulQueue] || [];
488
- publishQueue(fs, queue);
489
- fs.close = function(fs$close) {
488
+ publishQueue(fs2, queue);
489
+ fs2.close = function(fs$close) {
490
490
  function close(fd, cb) {
491
- return fs$close.call(fs, fd, function(err) {
491
+ return fs$close.call(fs2, fd, function(err) {
492
492
  if (!err) {
493
493
  resetQueue();
494
494
  }
@@ -500,40 +500,40 @@ var require_graceful_fs = __commonJS({
500
500
  value: fs$close
501
501
  });
502
502
  return close;
503
- }(fs.close);
504
- fs.closeSync = function(fs$closeSync) {
503
+ }(fs2.close);
504
+ fs2.closeSync = function(fs$closeSync) {
505
505
  function closeSync(fd) {
506
- fs$closeSync.apply(fs, arguments);
506
+ fs$closeSync.apply(fs2, arguments);
507
507
  resetQueue();
508
508
  }
509
509
  Object.defineProperty(closeSync, previousSymbol, {
510
510
  value: fs$closeSync
511
511
  });
512
512
  return closeSync;
513
- }(fs.closeSync);
513
+ }(fs2.closeSync);
514
514
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
515
515
  process.on("exit", function() {
516
- debug(fs[gracefulQueue]);
517
- require("assert").equal(fs[gracefulQueue].length, 0);
516
+ debug(fs2[gracefulQueue]);
517
+ require("assert").equal(fs2[gracefulQueue].length, 0);
518
518
  });
519
519
  }
520
520
  }
521
521
  var queue;
522
522
  if (!global[gracefulQueue]) {
523
- publishQueue(global, fs[gracefulQueue]);
524
- }
525
- module2.exports = patch(clone(fs));
526
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
527
- module2.exports = patch(fs);
528
- fs.__patched = true;
529
- }
530
- function patch(fs2) {
531
- polyfills(fs2);
532
- fs2.gracefulify = patch;
533
- fs2.createReadStream = createReadStream;
534
- fs2.createWriteStream = createWriteStream;
535
- var fs$readFile = fs2.readFile;
536
- fs2.readFile = readFile;
523
+ publishQueue(global, fs2[gracefulQueue]);
524
+ }
525
+ module2.exports = patch(clone(fs2));
526
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs2.__patched) {
527
+ module2.exports = patch(fs2);
528
+ fs2.__patched = true;
529
+ }
530
+ function patch(fs3) {
531
+ polyfills(fs3);
532
+ fs3.gracefulify = patch;
533
+ fs3.createReadStream = createReadStream;
534
+ fs3.createWriteStream = createWriteStream;
535
+ var fs$readFile = fs3.readFile;
536
+ fs3.readFile = readFile;
537
537
  function readFile(path, options, cb) {
538
538
  if (typeof options === "function")
539
539
  cb = options, options = null;
@@ -549,8 +549,8 @@ var require_graceful_fs = __commonJS({
549
549
  });
550
550
  }
551
551
  }
552
- var fs$writeFile = fs2.writeFile;
553
- fs2.writeFile = writeFile;
552
+ var fs$writeFile = fs3.writeFile;
553
+ fs3.writeFile = writeFile;
554
554
  function writeFile(path, data, options, cb) {
555
555
  if (typeof options === "function")
556
556
  cb = options, options = null;
@@ -566,9 +566,9 @@ var require_graceful_fs = __commonJS({
566
566
  });
567
567
  }
568
568
  }
569
- var fs$appendFile = fs2.appendFile;
569
+ var fs$appendFile = fs3.appendFile;
570
570
  if (fs$appendFile)
571
- fs2.appendFile = appendFile;
571
+ fs3.appendFile = appendFile;
572
572
  function appendFile(path, data, options, cb) {
573
573
  if (typeof options === "function")
574
574
  cb = options, options = null;
@@ -584,9 +584,9 @@ var require_graceful_fs = __commonJS({
584
584
  });
585
585
  }
586
586
  }
587
- var fs$copyFile = fs2.copyFile;
587
+ var fs$copyFile = fs3.copyFile;
588
588
  if (fs$copyFile)
589
- fs2.copyFile = copyFile;
589
+ fs3.copyFile = copyFile;
590
590
  function copyFile(src, dest, flags, cb) {
591
591
  if (typeof flags === "function") {
592
592
  cb = flags;
@@ -604,8 +604,8 @@ var require_graceful_fs = __commonJS({
604
604
  });
605
605
  }
606
606
  }
607
- var fs$readdir = fs2.readdir;
608
- fs2.readdir = readdir;
607
+ var fs$readdir = fs3.readdir;
608
+ fs3.readdir = readdir;
609
609
  function readdir(path, options, cb) {
610
610
  if (typeof options === "function")
611
611
  cb = options, options = null;
@@ -624,21 +624,21 @@ var require_graceful_fs = __commonJS({
624
624
  }
625
625
  }
626
626
  if (process.version.substr(0, 4) === "v0.8") {
627
- var legStreams = legacy(fs2);
627
+ var legStreams = legacy(fs3);
628
628
  ReadStream = legStreams.ReadStream;
629
629
  WriteStream = legStreams.WriteStream;
630
630
  }
631
- var fs$ReadStream = fs2.ReadStream;
631
+ var fs$ReadStream = fs3.ReadStream;
632
632
  if (fs$ReadStream) {
633
633
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
634
634
  ReadStream.prototype.open = ReadStream$open;
635
635
  }
636
- var fs$WriteStream = fs2.WriteStream;
636
+ var fs$WriteStream = fs3.WriteStream;
637
637
  if (fs$WriteStream) {
638
638
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
639
639
  WriteStream.prototype.open = WriteStream$open;
640
640
  }
641
- Object.defineProperty(fs2, "ReadStream", {
641
+ Object.defineProperty(fs3, "ReadStream", {
642
642
  get: function() {
643
643
  return ReadStream;
644
644
  },
@@ -648,7 +648,7 @@ var require_graceful_fs = __commonJS({
648
648
  enumerable: true,
649
649
  configurable: true
650
650
  });
651
- Object.defineProperty(fs2, "WriteStream", {
651
+ Object.defineProperty(fs3, "WriteStream", {
652
652
  get: function() {
653
653
  return WriteStream;
654
654
  },
@@ -659,7 +659,7 @@ var require_graceful_fs = __commonJS({
659
659
  configurable: true
660
660
  });
661
661
  var FileReadStream = ReadStream;
662
- Object.defineProperty(fs2, "FileReadStream", {
662
+ Object.defineProperty(fs3, "FileReadStream", {
663
663
  get: function() {
664
664
  return FileReadStream;
665
665
  },
@@ -670,7 +670,7 @@ var require_graceful_fs = __commonJS({
670
670
  configurable: true
671
671
  });
672
672
  var FileWriteStream = WriteStream;
673
- Object.defineProperty(fs2, "FileWriteStream", {
673
+ Object.defineProperty(fs3, "FileWriteStream", {
674
674
  get: function() {
675
675
  return FileWriteStream;
676
676
  },
@@ -719,13 +719,13 @@ var require_graceful_fs = __commonJS({
719
719
  });
720
720
  }
721
721
  function createReadStream(path, options) {
722
- return new fs2.ReadStream(path, options);
722
+ return new fs3.ReadStream(path, options);
723
723
  }
724
724
  function createWriteStream(path, options) {
725
- return new fs2.WriteStream(path, options);
725
+ return new fs3.WriteStream(path, options);
726
726
  }
727
- var fs$open = fs2.open;
728
- fs2.open = open;
727
+ var fs$open = fs3.open;
728
+ fs3.open = open;
729
729
  function open(path, flags, mode, cb) {
730
730
  if (typeof mode === "function")
731
731
  cb = mode, mode = null;
@@ -741,20 +741,20 @@ var require_graceful_fs = __commonJS({
741
741
  });
742
742
  }
743
743
  }
744
- return fs2;
744
+ return fs3;
745
745
  }
746
746
  function enqueue(elem) {
747
747
  debug("ENQUEUE", elem[0].name, elem[1]);
748
- fs[gracefulQueue].push(elem);
748
+ fs2[gracefulQueue].push(elem);
749
749
  retry();
750
750
  }
751
751
  var retryTimer;
752
752
  function resetQueue() {
753
753
  var now = Date.now();
754
- for (var i = 0; i < fs[gracefulQueue].length; ++i) {
755
- if (fs[gracefulQueue][i].length > 2) {
756
- fs[gracefulQueue][i][3] = now;
757
- fs[gracefulQueue][i][4] = now;
754
+ for (var i = 0; i < fs2[gracefulQueue].length; ++i) {
755
+ if (fs2[gracefulQueue][i].length > 2) {
756
+ fs2[gracefulQueue][i][3] = now;
757
+ fs2[gracefulQueue][i][4] = now;
758
758
  }
759
759
  }
760
760
  retry();
@@ -762,9 +762,9 @@ var require_graceful_fs = __commonJS({
762
762
  function retry() {
763
763
  clearTimeout(retryTimer);
764
764
  retryTimer = void 0;
765
- if (fs[gracefulQueue].length === 0)
765
+ if (fs2[gracefulQueue].length === 0)
766
766
  return;
767
- var elem = fs[gracefulQueue].shift();
767
+ var elem = fs2[gracefulQueue].shift();
768
768
  var fn2 = elem[0];
769
769
  var args2 = elem[1];
770
770
  var err = elem[2];
@@ -786,7 +786,7 @@ var require_graceful_fs = __commonJS({
786
786
  debug("RETRY", fn2.name, args2);
787
787
  fn2.apply(null, args2.concat([startTime]));
788
788
  } else {
789
- fs[gracefulQueue].push(elem);
789
+ fs2[gracefulQueue].push(elem);
790
790
  }
791
791
  }
792
792
  if (retryTimer === void 0) {
@@ -3138,7 +3138,7 @@ var require_load_json_file = __commonJS({
3138
3138
  "use strict";
3139
3139
  var path = require("path");
3140
3140
  var { promisify } = require("util");
3141
- var fs = require_graceful_fs();
3141
+ var fs2 = require_graceful_fs();
3142
3142
  var stripBom = require_strip_bom();
3143
3143
  var parseJson = require_parse_json();
3144
3144
  var parse = (data, filePath, options = {}) => {
@@ -3148,8 +3148,8 @@ var require_load_json_file = __commonJS({
3148
3148
  }
3149
3149
  return parseJson(data, options.reviver, path.relative(process.cwd(), filePath));
3150
3150
  };
3151
- module2.exports = async (filePath, options) => parse(await promisify(fs.readFile)(filePath, "utf8"), filePath, options);
3152
- module2.exports.sync = (filePath, options) => parse(fs.readFileSync(filePath, "utf8"), filePath, options);
3151
+ module2.exports = async (filePath, options) => parse(await promisify(fs2.readFile)(filePath, "utf8"), filePath, options);
3152
+ module2.exports.sync = (filePath, options) => parse(fs2.readFileSync(filePath, "utf8"), filePath, options);
3153
3153
  }
3154
3154
  });
3155
3155
 
@@ -3165,7 +3165,7 @@ var require_lib4 = __commonJS({
3165
3165
  var load_json_file_1 = __importDefault(require_load_json_file());
3166
3166
  var defaultManifest = {
3167
3167
  name: "pnpm" != null && true ? "pnpm" : "pnpm",
3168
- version: "6.22.1" != null && true ? "6.22.1" : "0.0.0"
3168
+ version: "6.22.2" != null && true ? "6.22.2" : "0.0.0"
3169
3169
  };
3170
3170
  var pkgJson;
3171
3171
  if (require.main == null) {
@@ -8316,13 +8316,13 @@ var require_src = __commonJS({
8316
8316
  // ../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/utils/tabtabDebug.js
8317
8317
  var require_tabtabDebug = __commonJS({
8318
8318
  "../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/utils/tabtabDebug.js"(exports2, module2) {
8319
- var fs = require("fs");
8319
+ var fs2 = require("fs");
8320
8320
  var util = require("util");
8321
8321
  var tabtabDebug = (name) => {
8322
8322
  let debug = require_src()(name);
8323
8323
  if (process.env.TABTAB_DEBUG) {
8324
8324
  const file = process.env.TABTAB_DEBUG;
8325
- const stream = fs.createWriteStream(file, {
8325
+ const stream = fs2.createWriteStream(file, {
8326
8326
  flags: "a+"
8327
8327
  });
8328
8328
  const log2 = (...args2) => {
@@ -8422,10 +8422,10 @@ var require_systemShell = __commonJS({
8422
8422
  // ../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/utils/exists.js
8423
8423
  var require_exists = __commonJS({
8424
8424
  "../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/utils/exists.js"(exports2, module2) {
8425
- var fs = require("fs");
8425
+ var fs2 = require("fs");
8426
8426
  var untildify = require_untildify();
8427
8427
  var { promisify } = require("util");
8428
- var readFile = promisify(fs.readFile);
8428
+ var readFile = promisify(fs2.readFile);
8429
8429
  module2.exports = async (file) => {
8430
8430
  let fileExists;
8431
8431
  try {
@@ -8456,16 +8456,16 @@ var require_utils2 = __commonJS({
8456
8456
  // ../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/installer.js
8457
8457
  var require_installer = __commonJS({
8458
8458
  "../../node_modules/.pnpm/@pnpm+tabtab@0.1.2/node_modules/@pnpm/tabtab/lib/installer.js"(exports2, module2) {
8459
- var fs = require("fs");
8459
+ var fs2 = require("fs");
8460
8460
  var path = require("path");
8461
8461
  var untildify = require_untildify();
8462
8462
  var { promisify } = require("util");
8463
8463
  var { tabtabDebug, systemShell, exists } = require_utils2();
8464
8464
  var debug = tabtabDebug("tabtab:installer");
8465
- var readFile = promisify(fs.readFile);
8466
- var writeFile = promisify(fs.writeFile);
8467
- var unlink = promisify(fs.unlink);
8468
- var mkdir = promisify(fs.mkdir);
8465
+ var readFile = promisify(fs2.readFile);
8466
+ var writeFile = promisify(fs2.writeFile);
8467
+ var unlink = promisify(fs2.unlink);
8468
+ var mkdir = promisify(fs2.mkdir);
8469
8469
  var {
8470
8470
  BASH_LOCATION,
8471
8471
  FISH_LOCATION,
@@ -8524,7 +8524,7 @@ var require_installer = __commonJS({
8524
8524
  const filepath = untildify(filename);
8525
8525
  debug("Creating directory for %s file", filepath);
8526
8526
  mkdir(path.dirname(filepath), { recursive: true }).then(() => {
8527
- const stream = fs.createWriteStream(filepath, { flags: "a" });
8527
+ const stream = fs2.createWriteStream(filepath, { flags: "a" });
8528
8528
  stream.on("error", reject);
8529
8529
  stream.on("finish", () => resolve());
8530
8530
  debug("Writing to shell configuration file (%s)", filename);
@@ -12820,11 +12820,11 @@ var require_can_write_to_dir = __commonJS({
12820
12820
  var defaultFS = require("fs");
12821
12821
  var pathTemp = require_path_temp();
12822
12822
  module2.exports = async (dir, customFS) => {
12823
- const fs = customFS || defaultFS;
12823
+ const fs2 = customFS || defaultFS;
12824
12824
  const tempFile = pathTemp(dir);
12825
12825
  try {
12826
- await fs.promises.writeFile(tempFile, "", "utf8");
12827
- fs.promises.unlink(tempFile).catch(() => {
12826
+ await fs2.promises.writeFile(tempFile, "", "utf8");
12827
+ fs2.promises.unlink(tempFile).catch(() => {
12828
12828
  });
12829
12829
  return true;
12830
12830
  } catch (err) {
@@ -12835,11 +12835,11 @@ var require_can_write_to_dir = __commonJS({
12835
12835
  }
12836
12836
  };
12837
12837
  module2.exports.sync = (dir, customFS) => {
12838
- const fs = customFS || defaultFS;
12838
+ const fs2 = customFS || defaultFS;
12839
12839
  const tempFile = pathTemp(dir);
12840
12840
  try {
12841
- fs.writeFileSync(tempFile, "", "utf8");
12842
- fs.unlinkSync(tempFile);
12841
+ fs2.writeFileSync(tempFile, "", "utf8");
12842
+ fs2.unlinkSync(tempFile);
12843
12843
  return true;
12844
12844
  } catch (err) {
12845
12845
  if (err.code === "EACCES" || err.code === "EPERM" || err.code === "EROFS") {
@@ -15408,7 +15408,7 @@ var require_config_chain = __commonJS({
15408
15408
  "../../node_modules/.pnpm/config-chain@1.1.13/node_modules/config-chain/index.js"(exports2, module2) {
15409
15409
  var ProtoList = require_proto_list();
15410
15410
  var path = require("path");
15411
- var fs = require("fs");
15411
+ var fs2 = require("fs");
15412
15412
  var ini = require_ini();
15413
15413
  var EE = require("events").EventEmitter;
15414
15414
  var url = require("url");
@@ -15427,7 +15427,7 @@ var require_config_chain = __commonJS({
15427
15427
  function find2(start, rel2) {
15428
15428
  var file = path.join(start, rel2);
15429
15429
  try {
15430
- fs.statSync(file);
15430
+ fs2.statSync(file);
15431
15431
  return file;
15432
15432
  } catch (err) {
15433
15433
  if (path.dirname(start) !== start)
@@ -15465,7 +15465,7 @@ var require_config_chain = __commonJS({
15465
15465
  var file = path.join.apply(null, args2);
15466
15466
  var content;
15467
15467
  try {
15468
- content = fs.readFileSync(file, "utf-8");
15468
+ content = fs2.readFileSync(file, "utf-8");
15469
15469
  } catch (err) {
15470
15470
  return;
15471
15471
  }
@@ -15561,7 +15561,7 @@ var require_config_chain = __commonJS({
15561
15561
  data = ini.stringify(data);
15562
15562
  }
15563
15563
  this._saving++;
15564
- fs.writeFile(target.path, data, "utf8", function(er) {
15564
+ fs2.writeFile(target.path, data, "utf8", function(er) {
15565
15565
  this._saving--;
15566
15566
  if (er) {
15567
15567
  if (cb)
@@ -15583,7 +15583,7 @@ var require_config_chain = __commonJS({
15583
15583
  this.sources[name] = { path: file, type };
15584
15584
  this.push(marker);
15585
15585
  this._await();
15586
- fs.readFile(file, "utf8", function(er, data) {
15586
+ fs2.readFile(file, "utf8", function(er, data) {
15587
15587
  if (er)
15588
15588
  this.emit("error", er);
15589
15589
  this.addString(data, file, type, marker);
@@ -15684,7 +15684,7 @@ var require_envKeyToSetting = __commonJS({
15684
15684
  var require_util2 = __commonJS({
15685
15685
  "../../node_modules/.pnpm/@zkochan+npm-conf@2.0.2/node_modules/@zkochan/npm-conf/lib/util.js"(exports2) {
15686
15686
  "use strict";
15687
- var fs = require("fs");
15687
+ var fs2 = require("fs");
15688
15688
  var path = require("path");
15689
15689
  var envReplace = (str) => {
15690
15690
  if (typeof str !== "string" || !str) {
@@ -15765,7 +15765,7 @@ var require_util2 = __commonJS({
15765
15765
  return original;
15766
15766
  }
15767
15767
  try {
15768
- const files = fs.readdirSync(name2);
15768
+ const files = fs2.readdirSync(name2);
15769
15769
  if (files.includes("node_modules") || files.includes("package.json") || files.includes("package.json5") || files.includes("package.yaml") || files.includes("pnpm-workspace.yaml")) {
15770
15770
  return name2;
15771
15771
  }
@@ -15931,7 +15931,7 @@ var require_types2 = __commonJS({
15931
15931
  var require_conf = __commonJS({
15932
15932
  "../../node_modules/.pnpm/@zkochan+npm-conf@2.0.2/node_modules/@zkochan/npm-conf/lib/conf.js"(exports2, module2) {
15933
15933
  "use strict";
15934
- var fs = require("fs");
15934
+ var fs2 = require("fs");
15935
15935
  var path = require("path");
15936
15936
  var { ConfigChain } = require_config_chain();
15937
15937
  var envKeyToSetting = require_envKeyToSetting();
@@ -15959,7 +15959,7 @@ var require_conf = __commonJS({
15959
15959
  this.push(marker);
15960
15960
  this._await();
15961
15961
  try {
15962
- const contents = fs.readFileSync(file, "utf8");
15962
+ const contents = fs2.readFileSync(file, "utf8");
15963
15963
  this.addString(contents, file, "ini", marker);
15964
15964
  } catch (error) {
15965
15965
  this.add({}, marker);
@@ -16026,7 +16026,7 @@ var require_conf = __commonJS({
16026
16026
  return;
16027
16027
  }
16028
16028
  try {
16029
- const contents = fs.readFileSync(file, "utf8");
16029
+ const contents = fs2.readFileSync(file, "utf8");
16030
16030
  const delim = "-----END CERTIFICATE-----";
16031
16031
  const output = contents.split(delim).filter((x) => Boolean(x.trim())).map((x) => x.trimLeft() + delim);
16032
16032
  this.set("ca", output);
@@ -16048,7 +16048,7 @@ var require_conf = __commonJS({
16048
16048
  }
16049
16049
  const prefix = path.resolve(this.get("prefix"));
16050
16050
  try {
16051
- const stats = fs.statSync(prefix);
16051
+ const stats = fs2.statSync(prefix);
16052
16052
  defConf.user = stats.uid;
16053
16053
  } catch (error) {
16054
16054
  if (error.code === "ENOENT") {
@@ -16334,10 +16334,10 @@ var require_fromPairs = __commonJS({
16334
16334
  // ../../node_modules/.pnpm/realpath-missing@1.1.0/node_modules/realpath-missing/index.js
16335
16335
  var require_realpath_missing = __commonJS({
16336
16336
  "../../node_modules/.pnpm/realpath-missing@1.1.0/node_modules/realpath-missing/index.js"(exports2, module2) {
16337
- var fs = require("fs");
16337
+ var fs2 = require("fs");
16338
16338
  module2.exports = async function realpathMissing(path) {
16339
16339
  try {
16340
- return await fs.promises.realpath(path);
16340
+ return await fs2.promises.realpath(path);
16341
16341
  } catch (err) {
16342
16342
  if (err.code === "ENOENT") {
16343
16343
  return path;
@@ -16353,7 +16353,7 @@ var require_windows = __commonJS({
16353
16353
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports2, module2) {
16354
16354
  module2.exports = isexe;
16355
16355
  isexe.sync = sync;
16356
- var fs = require("fs");
16356
+ var fs2 = require("fs");
16357
16357
  function checkPathExt(path, options) {
16358
16358
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
16359
16359
  if (!pathext) {
@@ -16378,12 +16378,12 @@ var require_windows = __commonJS({
16378
16378
  return checkPathExt(path, options);
16379
16379
  }
16380
16380
  function isexe(path, options, cb) {
16381
- fs.stat(path, function(er, stat) {
16381
+ fs2.stat(path, function(er, stat) {
16382
16382
  cb(er, er ? false : checkStat(stat, path, options));
16383
16383
  });
16384
16384
  }
16385
16385
  function sync(path, options) {
16386
- return checkStat(fs.statSync(path), path, options);
16386
+ return checkStat(fs2.statSync(path), path, options);
16387
16387
  }
16388
16388
  }
16389
16389
  });
@@ -16393,14 +16393,14 @@ var require_mode = __commonJS({
16393
16393
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports2, module2) {
16394
16394
  module2.exports = isexe;
16395
16395
  isexe.sync = sync;
16396
- var fs = require("fs");
16396
+ var fs2 = require("fs");
16397
16397
  function isexe(path, options, cb) {
16398
- fs.stat(path, function(er, stat) {
16398
+ fs2.stat(path, function(er, stat) {
16399
16399
  cb(er, er ? false : checkStat(stat, options));
16400
16400
  });
16401
16401
  }
16402
16402
  function sync(path, options) {
16403
- return checkStat(fs.statSync(path), options);
16403
+ return checkStat(fs2.statSync(path), options);
16404
16404
  }
16405
16405
  function checkStat(stat, options) {
16406
16406
  return stat.isFile() && checkMode(stat, options);
@@ -16424,7 +16424,7 @@ var require_mode = __commonJS({
16424
16424
  // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
16425
16425
  var require_isexe = __commonJS({
16426
16426
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2, module2) {
16427
- var fs = require("fs");
16427
+ var fs2 = require("fs");
16428
16428
  var core;
16429
16429
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
16430
16430
  core = require_windows();
@@ -36524,16 +36524,16 @@ var require_shebang_command = __commonJS({
36524
36524
  var require_readShebang = __commonJS({
36525
36525
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
36526
36526
  "use strict";
36527
- var fs = require("fs");
36527
+ var fs2 = require("fs");
36528
36528
  var shebangCommand = require_shebang_command();
36529
36529
  function readShebang(command) {
36530
36530
  const size = 150;
36531
36531
  const buffer = Buffer.alloc(size);
36532
36532
  let fd;
36533
36533
  try {
36534
- fd = fs.openSync(command, "r");
36535
- fs.readSync(fd, buffer, 0, size, 0);
36536
- fs.closeSync(fd);
36534
+ fd = fs2.openSync(command, "r");
36535
+ fs2.readSync(fd, buffer, 0, size, 0);
36536
+ fs2.closeSync(fd);
36537
36537
  } catch (e) {
36538
36538
  }
36539
36539
  return shebangCommand(buffer.toString());
@@ -39607,7 +39607,7 @@ var require_write_file_atomic = __commonJS({
39607
39607
  module2.exports.sync = writeFileSync;
39608
39608
  module2.exports._getTmpname = getTmpname;
39609
39609
  module2.exports._cleanupOnExit = cleanupOnExit;
39610
- var fs = require("fs");
39610
+ var fs2 = require("fs");
39611
39611
  var MurmurHash3 = require_imurmurhash();
39612
39612
  var onExit = require_signal_exit();
39613
39613
  var path = require("path");
@@ -39630,7 +39630,7 @@ var require_write_file_atomic = __commonJS({
39630
39630
  function cleanupOnExit(tmpfile) {
39631
39631
  return () => {
39632
39632
  try {
39633
- fs.unlinkSync(typeof tmpfile === "function" ? tmpfile() : tmpfile);
39633
+ fs2.unlinkSync(typeof tmpfile === "function" ? tmpfile() : tmpfile);
39634
39634
  } catch (_) {
39635
39635
  }
39636
39636
  };
@@ -39666,10 +39666,10 @@ var require_write_file_atomic = __commonJS({
39666
39666
  const absoluteName = path.resolve(filename);
39667
39667
  try {
39668
39668
  await serializeActiveFile(absoluteName);
39669
- const truename = await promisify(fs.realpath)(filename).catch(() => filename);
39669
+ const truename = await promisify(fs2.realpath)(filename).catch(() => filename);
39670
39670
  tmpfile = getTmpname(truename);
39671
39671
  if (!options.mode || !options.chown) {
39672
- const stats = await promisify(fs.stat)(truename).catch(() => {
39672
+ const stats = await promisify(fs2.stat)(truename).catch(() => {
39673
39673
  });
39674
39674
  if (stats) {
39675
39675
  if (options.mode == null) {
@@ -39680,7 +39680,7 @@ var require_write_file_atomic = __commonJS({
39680
39680
  }
39681
39681
  }
39682
39682
  }
39683
- fd = await promisify(fs.open)(tmpfile, "w", options.mode);
39683
+ fd = await promisify(fs2.open)(tmpfile, "w", options.mode);
39684
39684
  if (options.tmpfileCreated) {
39685
39685
  await options.tmpfileCreated(tmpfile);
39686
39686
  }
@@ -39688,37 +39688,37 @@ var require_write_file_atomic = __commonJS({
39688
39688
  data = typedArrayToBuffer(data);
39689
39689
  }
39690
39690
  if (Buffer.isBuffer(data)) {
39691
- await promisify(fs.write)(fd, data, 0, data.length, 0);
39691
+ await promisify(fs2.write)(fd, data, 0, data.length, 0);
39692
39692
  } else if (data != null) {
39693
- await promisify(fs.write)(fd, String(data), 0, String(options.encoding || "utf8"));
39693
+ await promisify(fs2.write)(fd, String(data), 0, String(options.encoding || "utf8"));
39694
39694
  }
39695
39695
  if (options.fsync !== false) {
39696
- await promisify(fs.fsync)(fd);
39696
+ await promisify(fs2.fsync)(fd);
39697
39697
  }
39698
- await promisify(fs.close)(fd);
39698
+ await promisify(fs2.close)(fd);
39699
39699
  fd = null;
39700
39700
  if (options.chown) {
39701
- await promisify(fs.chown)(tmpfile, options.chown.uid, options.chown.gid).catch((err) => {
39701
+ await promisify(fs2.chown)(tmpfile, options.chown.uid, options.chown.gid).catch((err) => {
39702
39702
  if (!isChownErrOk(err)) {
39703
39703
  throw err;
39704
39704
  }
39705
39705
  });
39706
39706
  }
39707
39707
  if (options.mode) {
39708
- await promisify(fs.chmod)(tmpfile, options.mode).catch((err) => {
39708
+ await promisify(fs2.chmod)(tmpfile, options.mode).catch((err) => {
39709
39709
  if (!isChownErrOk(err)) {
39710
39710
  throw err;
39711
39711
  }
39712
39712
  });
39713
39713
  }
39714
- await promisify(fs.rename)(tmpfile, truename);
39714
+ await promisify(fs2.rename)(tmpfile, truename);
39715
39715
  } finally {
39716
39716
  if (fd) {
39717
- await promisify(fs.close)(fd).catch(() => {
39717
+ await promisify(fs2.close)(fd).catch(() => {
39718
39718
  });
39719
39719
  }
39720
39720
  removeOnExitHandler();
39721
- await promisify(fs.unlink)(tmpfile).catch(() => {
39721
+ await promisify(fs2.unlink)(tmpfile).catch(() => {
39722
39722
  });
39723
39723
  activeFiles[absoluteName].shift();
39724
39724
  if (activeFiles[absoluteName].length > 0) {
@@ -39744,13 +39744,13 @@ var require_write_file_atomic = __commonJS({
39744
39744
  else if (!options)
39745
39745
  options = {};
39746
39746
  try {
39747
- filename = fs.realpathSync(filename);
39747
+ filename = fs2.realpathSync(filename);
39748
39748
  } catch (ex) {
39749
39749
  }
39750
39750
  const tmpfile = getTmpname(filename);
39751
39751
  if (!options.mode || !options.chown) {
39752
39752
  try {
39753
- const stats = fs.statSync(filename);
39753
+ const stats = fs2.statSync(filename);
39754
39754
  options = Object.assign({}, options);
39755
39755
  if (!options.mode) {
39756
39756
  options.mode = stats.mode;
@@ -39766,7 +39766,7 @@ var require_write_file_atomic = __commonJS({
39766
39766
  const removeOnExitHandler = onExit(cleanup);
39767
39767
  let threw = true;
39768
39768
  try {
39769
- fd = fs.openSync(tmpfile, "w", options.mode || 438);
39769
+ fd = fs2.openSync(tmpfile, "w", options.mode || 438);
39770
39770
  if (options.tmpfileCreated) {
39771
39771
  options.tmpfileCreated(tmpfile);
39772
39772
  }
@@ -39774,18 +39774,18 @@ var require_write_file_atomic = __commonJS({
39774
39774
  data = typedArrayToBuffer(data);
39775
39775
  }
39776
39776
  if (Buffer.isBuffer(data)) {
39777
- fs.writeSync(fd, data, 0, data.length, 0);
39777
+ fs2.writeSync(fd, data, 0, data.length, 0);
39778
39778
  } else if (data != null) {
39779
- fs.writeSync(fd, String(data), 0, String(options.encoding || "utf8"));
39779
+ fs2.writeSync(fd, String(data), 0, String(options.encoding || "utf8"));
39780
39780
  }
39781
39781
  if (options.fsync !== false) {
39782
- fs.fsyncSync(fd);
39782
+ fs2.fsyncSync(fd);
39783
39783
  }
39784
- fs.closeSync(fd);
39784
+ fs2.closeSync(fd);
39785
39785
  fd = null;
39786
39786
  if (options.chown) {
39787
39787
  try {
39788
- fs.chownSync(tmpfile, options.chown.uid, options.chown.gid);
39788
+ fs2.chownSync(tmpfile, options.chown.uid, options.chown.gid);
39789
39789
  } catch (err) {
39790
39790
  if (!isChownErrOk(err)) {
39791
39791
  throw err;
@@ -39794,19 +39794,19 @@ var require_write_file_atomic = __commonJS({
39794
39794
  }
39795
39795
  if (options.mode) {
39796
39796
  try {
39797
- fs.chmodSync(tmpfile, options.mode);
39797
+ fs2.chmodSync(tmpfile, options.mode);
39798
39798
  } catch (err) {
39799
39799
  if (!isChownErrOk(err)) {
39800
39800
  throw err;
39801
39801
  }
39802
39802
  }
39803
39803
  }
39804
- fs.renameSync(tmpfile, filename);
39804
+ fs2.renameSync(tmpfile, filename);
39805
39805
  threw = false;
39806
39806
  } finally {
39807
39807
  if (fd) {
39808
39808
  try {
39809
- fs.closeSync(fd);
39809
+ fs2.closeSync(fd);
39810
39810
  } catch (ex) {
39811
39811
  }
39812
39812
  }
@@ -42640,7 +42640,7 @@ var require_write_yaml_file = __commonJS({
42640
42640
  "../../node_modules/.pnpm/write-yaml-file@4.2.0/node_modules/write-yaml-file/index.js"(exports2, module2) {
42641
42641
  "use strict";
42642
42642
  var path = require("path");
42643
- var fs = require("fs");
42643
+ var fs2 = require("fs");
42644
42644
  var writeFileAtomic = require_write_file_atomic();
42645
42645
  var YAML = require_js_yaml();
42646
42646
  var main = (fn2, fp, data, opts) => {
@@ -42655,11 +42655,11 @@ var require_write_yaml_file = __commonJS({
42655
42655
  return fn2(fp, yaml, { mode: opts.mode });
42656
42656
  };
42657
42657
  module2.exports = async (fp, data, opts) => {
42658
- await fs.promises.mkdir(path.dirname(fp), { recursive: true });
42658
+ await fs2.promises.mkdir(path.dirname(fp), { recursive: true });
42659
42659
  return main(writeFileAtomic, fp, data, opts);
42660
42660
  };
42661
42661
  module2.exports.sync = (fp, data, opts) => {
42662
- fs.mkdirSync(path.dirname(fp), { recursive: true });
42662
+ fs2.mkdirSync(path.dirname(fp), { recursive: true });
42663
42663
  main(writeFileAtomic.sync, fp, data, opts);
42664
42664
  };
42665
42665
  }
@@ -42701,14 +42701,14 @@ var require_lib19 = __commonJS({
42701
42701
  var require_read_yaml_file = __commonJS({
42702
42702
  "../../node_modules/.pnpm/read-yaml-file@2.1.0/node_modules/read-yaml-file/index.js"(exports2, module2) {
42703
42703
  "use strict";
42704
- var fs = require("fs");
42704
+ var fs2 = require("fs");
42705
42705
  var stripBom = require_strip_bom();
42706
42706
  var yaml = require_js_yaml();
42707
42707
  var parse = (data) => yaml.load(stripBom(data));
42708
- var readYamlFile = (fp) => fs.promises.readFile(fp, "utf8").then((data) => parse(data));
42708
+ var readYamlFile = (fp) => fs2.promises.readFile(fp, "utf8").then((data) => parse(data));
42709
42709
  module2.exports = readYamlFile;
42710
42710
  module2.exports.default = readYamlFile;
42711
- module2.exports.sync = (fp) => parse(fs.readFileSync(fp, "utf8"));
42711
+ module2.exports.sync = (fp) => parse(fs2.readFileSync(fp, "utf8"));
42712
42712
  }
42713
42713
  });
42714
42714
 
@@ -46627,8 +46627,8 @@ var require_utils5 = __commonJS({
46627
46627
  exports2.array = array;
46628
46628
  var errno = require_errno();
46629
46629
  exports2.errno = errno;
46630
- var fs = require_fs();
46631
- exports2.fs = fs;
46630
+ var fs2 = require_fs();
46631
+ exports2.fs = fs2;
46632
46632
  var path = require_path2();
46633
46633
  exports2.path = path;
46634
46634
  var pattern = require_pattern();
@@ -46790,12 +46790,12 @@ var require_fs2 = __commonJS({
46790
46790
  "use strict";
46791
46791
  Object.defineProperty(exports2, "__esModule", { value: true });
46792
46792
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
46793
- var fs = require("fs");
46793
+ var fs2 = require("fs");
46794
46794
  exports2.FILE_SYSTEM_ADAPTER = {
46795
- lstat: fs.lstat,
46796
- stat: fs.stat,
46797
- lstatSync: fs.lstatSync,
46798
- statSync: fs.statSync
46795
+ lstat: fs2.lstat,
46796
+ stat: fs2.stat,
46797
+ lstatSync: fs2.lstatSync,
46798
+ statSync: fs2.statSync
46799
46799
  };
46800
46800
  function createFileSystemAdapter(fsMethods) {
46801
46801
  if (fsMethods === void 0) {
@@ -46812,12 +46812,12 @@ var require_settings = __commonJS({
46812
46812
  "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports2) {
46813
46813
  "use strict";
46814
46814
  Object.defineProperty(exports2, "__esModule", { value: true });
46815
- var fs = require_fs2();
46815
+ var fs2 = require_fs2();
46816
46816
  var Settings = class {
46817
46817
  constructor(_options = {}) {
46818
46818
  this._options = _options;
46819
46819
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
46820
- this.fs = fs.createFileSystemAdapter(this._options.fs);
46820
+ this.fs = fs2.createFileSystemAdapter(this._options.fs);
46821
46821
  this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
46822
46822
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
46823
46823
  }
@@ -46975,8 +46975,8 @@ var require_utils6 = __commonJS({
46975
46975
  "use strict";
46976
46976
  Object.defineProperty(exports2, "__esModule", { value: true });
46977
46977
  exports2.fs = void 0;
46978
- var fs = require_fs3();
46979
- exports2.fs = fs;
46978
+ var fs2 = require_fs3();
46979
+ exports2.fs = fs2;
46980
46980
  }
46981
46981
  });
46982
46982
 
@@ -47171,14 +47171,14 @@ var require_fs4 = __commonJS({
47171
47171
  "use strict";
47172
47172
  Object.defineProperty(exports2, "__esModule", { value: true });
47173
47173
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
47174
- var fs = require("fs");
47174
+ var fs2 = require("fs");
47175
47175
  exports2.FILE_SYSTEM_ADAPTER = {
47176
- lstat: fs.lstat,
47177
- stat: fs.stat,
47178
- lstatSync: fs.lstatSync,
47179
- statSync: fs.statSync,
47180
- readdir: fs.readdir,
47181
- readdirSync: fs.readdirSync
47176
+ lstat: fs2.lstat,
47177
+ stat: fs2.stat,
47178
+ lstatSync: fs2.lstatSync,
47179
+ statSync: fs2.statSync,
47180
+ readdir: fs2.readdir,
47181
+ readdirSync: fs2.readdirSync
47182
47182
  };
47183
47183
  function createFileSystemAdapter(fsMethods) {
47184
47184
  if (fsMethods === void 0) {
@@ -47197,12 +47197,12 @@ var require_settings2 = __commonJS({
47197
47197
  Object.defineProperty(exports2, "__esModule", { value: true });
47198
47198
  var path = require("path");
47199
47199
  var fsStat = require_out();
47200
- var fs = require_fs4();
47200
+ var fs2 = require_fs4();
47201
47201
  var Settings = class {
47202
47202
  constructor(_options = {}) {
47203
47203
  this._options = _options;
47204
47204
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
47205
- this.fs = fs.createFileSystemAdapter(this._options.fs);
47205
+ this.fs = fs2.createFileSystemAdapter(this._options.fs);
47206
47206
  this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
47207
47207
  this.stats = this._getValue(this._options.stats, false);
47208
47208
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
@@ -48476,16 +48476,16 @@ var require_settings4 = __commonJS({
48476
48476
  "use strict";
48477
48477
  Object.defineProperty(exports2, "__esModule", { value: true });
48478
48478
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
48479
- var fs = require("fs");
48479
+ var fs2 = require("fs");
48480
48480
  var os = require("os");
48481
48481
  var CPU_COUNT = Math.max(os.cpus().length, 1);
48482
48482
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = {
48483
- lstat: fs.lstat,
48484
- lstatSync: fs.lstatSync,
48485
- stat: fs.stat,
48486
- statSync: fs.statSync,
48487
- readdir: fs.readdir,
48488
- readdirSync: fs.readdirSync
48483
+ lstat: fs2.lstat,
48484
+ lstatSync: fs2.lstatSync,
48485
+ stat: fs2.stat,
48486
+ statSync: fs2.statSync,
48487
+ readdir: fs2.readdir,
48488
+ readdirSync: fs2.readdirSync
48489
48489
  };
48490
48490
  var Settings = class {
48491
48491
  constructor(_options = {}) {
@@ -50600,11 +50600,11 @@ var require_locate_path = __commonJS({
50600
50600
  "../../node_modules/.pnpm/locate-path@6.0.0/node_modules/locate-path/index.js"(exports2, module2) {
50601
50601
  "use strict";
50602
50602
  var path = require("path");
50603
- var fs = require("fs");
50603
+ var fs2 = require("fs");
50604
50604
  var { promisify } = require("util");
50605
50605
  var pLocate = require_p_locate();
50606
- var fsStat = promisify(fs.stat);
50607
- var fsLStat = promisify(fs.lstat);
50606
+ var fsStat = promisify(fs2.stat);
50607
+ var fsLStat = promisify(fs2.lstat);
50608
50608
  var typeMappings = {
50609
50609
  directory: "isDirectory",
50610
50610
  file: "isFile"
@@ -50642,7 +50642,7 @@ var require_locate_path = __commonJS({
50642
50642
  ...options
50643
50643
  };
50644
50644
  checkType(options);
50645
- const statFn = options.allowSymlinks ? fs.statSync : fs.lstatSync;
50645
+ const statFn = options.allowSymlinks ? fs2.statSync : fs2.lstatSync;
50646
50646
  for (const path_ of paths) {
50647
50647
  try {
50648
50648
  const stat = statFn(path.resolve(options.cwd, path_));
@@ -50660,9 +50660,9 @@ var require_locate_path = __commonJS({
50660
50660
  var require_path_exists = __commonJS({
50661
50661
  "../../node_modules/.pnpm/path-exists@4.0.0/node_modules/path-exists/index.js"(exports2, module2) {
50662
50662
  "use strict";
50663
- var fs = require("fs");
50663
+ var fs2 = require("fs");
50664
50664
  var { promisify } = require("util");
50665
- var pAccess = promisify(fs.access);
50665
+ var pAccess = promisify(fs2.access);
50666
50666
  module2.exports = async (path) => {
50667
50667
  try {
50668
50668
  await pAccess(path);
@@ -50673,7 +50673,7 @@ var require_path_exists = __commonJS({
50673
50673
  };
50674
50674
  module2.exports.sync = (path) => {
50675
50675
  try {
50676
- fs.accessSync(path);
50676
+ fs2.accessSync(path);
50677
50677
  return true;
50678
50678
  } catch (_) {
50679
50679
  return false;
@@ -56155,15 +56155,15 @@ var require_cmd_shim = __commonJS({
56155
56155
  ]);
56156
56156
  function ingestOptions(opts) {
56157
56157
  const opts_ = { ...DEFAULT_OPTIONS, ...opts };
56158
- const fs = opts_.fs;
56158
+ const fs2 = opts_.fs;
56159
56159
  opts_.fs_ = {
56160
- chmod: fs.chmod ? util_1.promisify(fs.chmod) : async () => {
56160
+ chmod: fs2.chmod ? util_1.promisify(fs2.chmod) : async () => {
56161
56161
  },
56162
- mkdir: util_1.promisify(fs.mkdir),
56163
- readFile: util_1.promisify(fs.readFile),
56164
- stat: util_1.promisify(fs.stat),
56165
- unlink: util_1.promisify(fs.unlink),
56166
- writeFile: util_1.promisify(fs.writeFile)
56162
+ mkdir: util_1.promisify(fs2.mkdir),
56163
+ readFile: util_1.promisify(fs2.readFile),
56164
+ stat: util_1.promisify(fs2.stat),
56165
+ unlink: util_1.promisify(fs2.unlink),
56166
+ writeFile: util_1.promisify(fs2.writeFile)
56167
56167
  };
56168
56168
  return opts_;
56169
56169
  }
@@ -61576,9 +61576,9 @@ var require_lib31 = __commonJS({
61576
61576
  // ../../node_modules/.pnpm/@zkochan+rimraf@2.1.1/node_modules/@zkochan/rimraf/index.js
61577
61577
  var require_rimraf = __commonJS({
61578
61578
  "../../node_modules/.pnpm/@zkochan+rimraf@2.1.1/node_modules/@zkochan/rimraf/index.js"(exports2, module2) {
61579
- var fs = require("fs");
61580
- var rm = fs.promises.rm ? fs.promises.rm : fs.promises.rmdir;
61581
- var rmdirSync = fs.rmSync ? fs.rmSync : fs.rmdirSync;
61579
+ var fs2 = require("fs");
61580
+ var rm = fs2.promises.rm ? fs2.promises.rm : fs2.promises.rmdir;
61581
+ var rmdirSync = fs2.rmSync ? fs2.rmSync : fs2.rmdirSync;
61582
61582
  module2.exports = async (p) => {
61583
61583
  try {
61584
61584
  await rm(p, { recursive: true, maxRetries: 3 });
@@ -61604,12 +61604,12 @@ var require_rimraf = __commonJS({
61604
61604
  var require_rename_overwrite = __commonJS({
61605
61605
  "../../node_modules/.pnpm/rename-overwrite@4.0.0/node_modules/rename-overwrite/index.js"(exports2, module2) {
61606
61606
  "use strict";
61607
- var fs = require("fs");
61607
+ var fs2 = require("fs");
61608
61608
  var path = require("path");
61609
61609
  var rimraf = require_rimraf();
61610
61610
  module2.exports = async function renameOverwrite(oldPath, newPath) {
61611
61611
  try {
61612
- await fs.promises.rename(oldPath, newPath);
61612
+ await fs2.promises.rename(oldPath, newPath);
61613
61613
  } catch (err) {
61614
61614
  switch (err.code) {
61615
61615
  case "ENOTEMPTY":
@@ -61626,7 +61626,7 @@ var require_rename_overwrite = __commonJS({
61626
61626
  while (Date.now() - start < 6e4 && (lastError.code === "EPERM" || lastError.code === "EACCESS")) {
61627
61627
  await new Promise((resolve) => setTimeout(resolve, backoff));
61628
61628
  try {
61629
- await fs.promises.rename(oldPath, newPath);
61629
+ await fs2.promises.rename(oldPath, newPath);
61630
61630
  return;
61631
61631
  } catch (err2) {
61632
61632
  lastError = err2;
@@ -61639,13 +61639,13 @@ var require_rename_overwrite = __commonJS({
61639
61639
  }
61640
61640
  case "ENOENT":
61641
61641
  try {
61642
- await fs.promises.stat(oldPath);
61642
+ await fs2.promises.stat(oldPath);
61643
61643
  } catch (statErr) {
61644
61644
  if (statErr.code === "ENOENT") {
61645
61645
  throw statErr;
61646
61646
  }
61647
61647
  }
61648
- await fs.promises.mkdir(path.dirname(newPath), { recursive: true });
61648
+ await fs2.promises.mkdir(path.dirname(newPath), { recursive: true });
61649
61649
  await renameOverwrite(oldPath, newPath);
61650
61650
  break;
61651
61651
  default:
@@ -61655,17 +61655,17 @@ var require_rename_overwrite = __commonJS({
61655
61655
  };
61656
61656
  module2.exports.sync = function renameOverwriteSync(oldPath, newPath) {
61657
61657
  try {
61658
- fs.renameSync(oldPath, newPath);
61658
+ fs2.renameSync(oldPath, newPath);
61659
61659
  } catch (err) {
61660
61660
  switch (err.code) {
61661
61661
  case "ENOTEMPTY":
61662
61662
  case "EEXIST":
61663
61663
  case "EPERM":
61664
61664
  rimraf.sync(newPath);
61665
- fs.renameSync(oldPath, newPath);
61665
+ fs2.renameSync(oldPath, newPath);
61666
61666
  return;
61667
61667
  case "ENOENT":
61668
- fs.mkdirSync(path.dirname(newPath), { recursive: true });
61668
+ fs2.mkdirSync(path.dirname(newPath), { recursive: true });
61669
61669
  renameOverwriteSync(oldPath, newPath);
61670
61670
  return;
61671
61671
  default:
@@ -66726,7 +66726,7 @@ var require_pump = __commonJS({
66726
66726
  "../../node_modules/.pnpm/pump@2.0.1/node_modules/pump/index.js"(exports2, module2) {
66727
66727
  var once = require_once();
66728
66728
  var eos = require_end_of_stream2();
66729
- var fs = require("fs");
66729
+ var fs2 = require("fs");
66730
66730
  var noop = function() {
66731
66731
  };
66732
66732
  var ancient = /^v?\.0/.test(process.version);
@@ -66736,9 +66736,9 @@ var require_pump = __commonJS({
66736
66736
  var isFS = function(stream) {
66737
66737
  if (!ancient)
66738
66738
  return false;
66739
- if (!fs)
66739
+ if (!fs2)
66740
66740
  return false;
66741
- return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) && isFn(stream.close);
66741
+ return (stream instanceof (fs2.ReadStream || noop) || stream instanceof (fs2.WriteStream || noop)) && isFn(stream.close);
66742
66742
  };
66743
66743
  var isRequest = function(stream) {
66744
66744
  return stream.setHeader && isFn(stream.abort);
@@ -72782,7 +72782,7 @@ var require_semver3 = __commonJS({
72782
72782
  var require_make_dir = __commonJS({
72783
72783
  "../../node_modules/.pnpm/make-dir@3.1.0/node_modules/make-dir/index.js"(exports2, module2) {
72784
72784
  "use strict";
72785
- var fs = require("fs");
72785
+ var fs2 = require("fs");
72786
72786
  var path = require("path");
72787
72787
  var { promisify } = require("util");
72788
72788
  var semver = require_semver3();
@@ -72800,7 +72800,7 @@ var require_make_dir = __commonJS({
72800
72800
  var processOptions = (options) => {
72801
72801
  const defaults = {
72802
72802
  mode: 511,
72803
- fs
72803
+ fs: fs2
72804
72804
  };
72805
72805
  return {
72806
72806
  ...defaults,
@@ -72820,7 +72820,7 @@ var require_make_dir = __commonJS({
72820
72820
  options = processOptions(options);
72821
72821
  const mkdir = promisify(options.fs.mkdir);
72822
72822
  const stat = promisify(options.fs.stat);
72823
- if (useNativeRecursiveOption && options.fs.mkdir === fs.mkdir) {
72823
+ if (useNativeRecursiveOption && options.fs.mkdir === fs2.mkdir) {
72824
72824
  const pth = path.resolve(input);
72825
72825
  await mkdir(pth, {
72826
72826
  mode: options.mode,
@@ -72863,9 +72863,9 @@ var require_make_dir = __commonJS({
72863
72863
  module2.exports.sync = (input, options) => {
72864
72864
  checkPath(input);
72865
72865
  options = processOptions(options);
72866
- if (useNativeRecursiveOption && options.fs.mkdirSync === fs.mkdirSync) {
72866
+ if (useNativeRecursiveOption && options.fs.mkdirSync === fs2.mkdirSync) {
72867
72867
  const pth = path.resolve(input);
72868
- fs.mkdirSync(pth, {
72868
+ fs2.mkdirSync(pth, {
72869
72869
  mode: options.mode,
72870
72870
  recursive: true
72871
72871
  });
@@ -72909,13 +72909,13 @@ var require_write_json_file = __commonJS({
72909
72909
  "use strict";
72910
72910
  var { promisify } = require("util");
72911
72911
  var path = require("path");
72912
- var fs = require_graceful_fs();
72912
+ var fs2 = require_graceful_fs();
72913
72913
  var writeFileAtomic = require_write_file_atomic();
72914
72914
  var sortKeys = require_sort_keys();
72915
72915
  var makeDir = require_make_dir();
72916
72916
  var detectIndent = require_detect_indent();
72917
72917
  var isPlainObj = require_is_plain_obj();
72918
- var readFile = promisify(fs.readFile);
72918
+ var readFile = promisify(fs2.readFile);
72919
72919
  var init = (fn2, filePath, data, options) => {
72920
72920
  if (!filePath) {
72921
72921
  throw new TypeError("Expected a filepath");
@@ -72959,7 +72959,7 @@ var require_write_json_file = __commonJS({
72959
72959
  let { indent } = options;
72960
72960
  let trailingNewline = "\n";
72961
72961
  try {
72962
- const file = fs.readFileSync(filePath, "utf8");
72962
+ const file = fs2.readFileSync(filePath, "utf8");
72963
72963
  if (!file.endsWith("\n")) {
72964
72964
  trailingNewline = "";
72965
72965
  }
@@ -72975,11 +72975,11 @@ var require_write_json_file = __commonJS({
72975
72975
  return writeFileAtomic.sync(filePath, `${json}${trailingNewline}`, { mode: options.mode, chown: false });
72976
72976
  };
72977
72977
  module2.exports = async (filePath, data, options) => {
72978
- await makeDir(path.dirname(filePath), { fs });
72978
+ await makeDir(path.dirname(filePath), { fs: fs2 });
72979
72979
  return init(main, filePath, data, options);
72980
72980
  };
72981
72981
  module2.exports.sync = (filePath, data, options) => {
72982
- makeDir.sync(path.dirname(filePath), { fs });
72982
+ makeDir.sync(path.dirname(filePath), { fs: fs2 });
72983
72983
  init(mainSync, filePath, data, options);
72984
72984
  };
72985
72985
  }
@@ -73064,15 +73064,15 @@ var require_sanitize_filename = __commonJS({
73064
73064
  var require_make_empty_dir = __commonJS({
73065
73065
  "../../node_modules/.pnpm/make-empty-dir@2.0.0/node_modules/make-empty-dir/index.js"(exports2, module2) {
73066
73066
  "use strict";
73067
- var fs = require("fs").promises;
73067
+ var fs2 = require("fs").promises;
73068
73068
  var path = require("path");
73069
73069
  var rimraf = require_rimraf();
73070
73070
  module2.exports = async function makeEmptyDir(dir, opts) {
73071
73071
  if (opts && opts.recursive) {
73072
- await fs.mkdir(path.dirname(dir), { recursive: true });
73072
+ await fs2.mkdir(path.dirname(dir), { recursive: true });
73073
73073
  }
73074
73074
  try {
73075
- await fs.mkdir(dir);
73075
+ await fs2.mkdir(dir);
73076
73076
  return "created";
73077
73077
  } catch (err) {
73078
73078
  if (err.code === "EEXIST") {
@@ -73083,7 +73083,7 @@ var require_make_empty_dir = __commonJS({
73083
73083
  }
73084
73084
  };
73085
73085
  async function removeContentsOfDir(dir) {
73086
- const items = await fs.readdir(dir);
73086
+ const items = await fs2.readdir(dir);
73087
73087
  for (const item of items) {
73088
73088
  await rimraf(path.join(dir, item));
73089
73089
  }
@@ -73635,10 +73635,10 @@ var require_can_link = __commonJS({
73635
73635
  "use strict";
73636
73636
  var defaultFS = require("fs");
73637
73637
  module2.exports = async (existingPath, newPath, customFS) => {
73638
- const fs = customFS || defaultFS;
73638
+ const fs2 = customFS || defaultFS;
73639
73639
  try {
73640
- await fs.promises.link(existingPath, newPath);
73641
- fs.promises.unlink(newPath).catch(() => {
73640
+ await fs2.promises.link(existingPath, newPath);
73641
+ fs2.promises.unlink(newPath).catch(() => {
73642
73642
  });
73643
73643
  return true;
73644
73644
  } catch (err) {
@@ -73649,10 +73649,10 @@ var require_can_link = __commonJS({
73649
73649
  }
73650
73650
  };
73651
73651
  module2.exports.sync = (existingPath, newPath, customFS) => {
73652
- const fs = customFS || defaultFS;
73652
+ const fs2 = customFS || defaultFS;
73653
73653
  try {
73654
- fs.linkSync(existingPath, newPath);
73655
- fs.unlinkSync(newPath);
73654
+ fs2.linkSync(existingPath, newPath);
73655
+ fs2.unlinkSync(newPath);
73656
73656
  return true;
73657
73657
  } catch (err) {
73658
73658
  if (err.code === "EXDEV" || err.code === "EACCES" || err.code === "EPERM") {
@@ -73726,7 +73726,7 @@ var require_touch = __commonJS({
73726
73726
  "use strict";
73727
73727
  var EE = require("events").EventEmitter;
73728
73728
  var cons = require("constants");
73729
- var fs = require("fs");
73729
+ var fs2 = require("fs");
73730
73730
  module2.exports = (f, options, cb) => {
73731
73731
  if (typeof options === "function")
73732
73732
  cb = options, options = {};
@@ -73791,11 +73791,11 @@ var require_touch = __commonJS({
73791
73791
  }
73792
73792
  close() {
73793
73793
  if (typeof this.fd === "number" && this.closeAfter)
73794
- fs.close(this.fd, () => {
73794
+ fs2.close(this.fd, () => {
73795
73795
  });
73796
73796
  }
73797
73797
  open() {
73798
- fs.open(this.path, this.oflags, (er, fd) => this.onopen(er, fd));
73798
+ fs2.open(this.path, this.oflags, (er, fd) => this.onopen(er, fd));
73799
73799
  }
73800
73800
  onopen(er, fd) {
73801
73801
  if (er) {
@@ -73816,7 +73816,7 @@ var require_touch = __commonJS({
73816
73816
  }
73817
73817
  }
73818
73818
  statref() {
73819
- fs.stat(this.ref, (er, st) => {
73819
+ fs2.stat(this.ref, (er, st) => {
73820
73820
  if (er)
73821
73821
  this.emit("error", er);
73822
73822
  else
@@ -73834,7 +73834,7 @@ var require_touch = __commonJS({
73834
73834
  fstat() {
73835
73835
  const stat = this.fd ? "fstat" : "stat";
73836
73836
  const target = this.fd || this.path;
73837
- fs[stat](target, (er, st) => {
73837
+ fs2[stat](target, (er, st) => {
73838
73838
  if (er)
73839
73839
  this.emit("error", er);
73840
73840
  else
@@ -73851,7 +73851,7 @@ var require_touch = __commonJS({
73851
73851
  futimes() {
73852
73852
  const utimes = this.fd ? "futimes" : "utimes";
73853
73853
  const target = this.fd || this.path;
73854
- fs[utimes](target, "" + this.atime, "" + this.mtime, (er) => {
73854
+ fs2[utimes](target, "" + this.atime, "" + this.mtime, (er) => {
73855
73855
  if (er)
73856
73856
  this.emit("error", er);
73857
73857
  else
@@ -73862,7 +73862,7 @@ var require_touch = __commonJS({
73862
73862
  var TouchSync = class extends Touch {
73863
73863
  open() {
73864
73864
  try {
73865
- this.onopen(null, fs.openSync(this.path, this.oflags));
73865
+ this.onopen(null, fs2.openSync(this.path, this.oflags));
73866
73866
  } catch (er) {
73867
73867
  this.onopen(er);
73868
73868
  }
@@ -73870,7 +73870,7 @@ var require_touch = __commonJS({
73870
73870
  statref() {
73871
73871
  let threw = true;
73872
73872
  try {
73873
- this.onstatref(fs.statSync(this.ref));
73873
+ this.onstatref(fs2.statSync(this.ref));
73874
73874
  threw = false;
73875
73875
  } finally {
73876
73876
  if (threw)
@@ -73882,7 +73882,7 @@ var require_touch = __commonJS({
73882
73882
  const stat = this.fd ? "fstatSync" : "statSync";
73883
73883
  const target = this.fd || this.path;
73884
73884
  try {
73885
- this.onfstat(fs[stat](target));
73885
+ this.onfstat(fs2[stat](target));
73886
73886
  threw = false;
73887
73887
  } finally {
73888
73888
  if (threw)
@@ -73894,7 +73894,7 @@ var require_touch = __commonJS({
73894
73894
  const utimes = this.fd ? "futimesSync" : "utimesSync";
73895
73895
  const target = this.fd || this.path;
73896
73896
  try {
73897
- fs[utimes](target, this.atime, this.mtime);
73897
+ fs2[utimes](target, this.atime, this.mtime);
73898
73898
  threw = false;
73899
73899
  } finally {
73900
73900
  if (threw)
@@ -73905,7 +73905,7 @@ var require_touch = __commonJS({
73905
73905
  close() {
73906
73906
  if (typeof this.fd === "number" && this.closeAfter)
73907
73907
  try {
73908
- fs.closeSync(this.fd);
73908
+ fs2.closeSync(this.fd);
73909
73909
  } catch (er) {
73910
73910
  }
73911
73911
  }
@@ -74109,11 +74109,11 @@ var require_locate_path2 = __commonJS({
74109
74109
  "../../node_modules/.pnpm/locate-path@5.0.0/node_modules/locate-path/index.js"(exports2, module2) {
74110
74110
  "use strict";
74111
74111
  var path = require("path");
74112
- var fs = require("fs");
74112
+ var fs2 = require("fs");
74113
74113
  var { promisify } = require("util");
74114
74114
  var pLocate = require_p_locate2();
74115
- var fsStat = promisify(fs.stat);
74116
- var fsLStat = promisify(fs.lstat);
74115
+ var fsStat = promisify(fs2.stat);
74116
+ var fsLStat = promisify(fs2.lstat);
74117
74117
  var typeMappings = {
74118
74118
  directory: "isDirectory",
74119
74119
  file: "isFile"
@@ -74151,7 +74151,7 @@ var require_locate_path2 = __commonJS({
74151
74151
  ...options
74152
74152
  };
74153
74153
  checkType(options);
74154
- const statFn = options.allowSymlinks ? fs.statSync : fs.lstatSync;
74154
+ const statFn = options.allowSymlinks ? fs2.statSync : fs2.lstatSync;
74155
74155
  for (const path_ of paths) {
74156
74156
  try {
74157
74157
  const stat = statFn(path.resolve(options.cwd, path_));
@@ -77301,13 +77301,13 @@ var require_js_yaml3 = __commonJS({
77301
77301
  var require_load_yaml_file = __commonJS({
77302
77302
  "../../node_modules/.pnpm/load-yaml-file@0.2.0/node_modules/load-yaml-file/index.js"(exports2, module2) {
77303
77303
  "use strict";
77304
- var fs = require_graceful_fs();
77304
+ var fs2 = require_graceful_fs();
77305
77305
  var pify = require_pify();
77306
77306
  var stripBom = require_strip_bom2();
77307
77307
  var yaml = require_js_yaml3();
77308
77308
  var parse = (data) => yaml.safeLoad(stripBom(data));
77309
- module2.exports = (fp) => pify(fs.readFile)(fp, "utf8").then((data) => parse(data));
77310
- module2.exports.sync = (fp) => parse(fs.readFileSync(fp, "utf8"));
77309
+ module2.exports = (fp) => pify(fs2.readFile)(fp, "utf8").then((data) => parse(data));
77310
+ module2.exports.sync = (fp) => parse(fs2.readFileSync(fp, "utf8"));
77311
77311
  }
77312
77312
  });
77313
77313
 
@@ -78210,9 +78210,9 @@ var require_errors2 = __commonJS({
78210
78210
  // ../../node_modules/.pnpm/adm-zip@0.5.9/node_modules/adm-zip/util/fattr.js
78211
78211
  var require_fattr = __commonJS({
78212
78212
  "../../node_modules/.pnpm/adm-zip@0.5.9/node_modules/adm-zip/util/fattr.js"(exports2, module2) {
78213
- var fs = require_fileSystem().require();
78213
+ var fs2 = require_fileSystem().require();
78214
78214
  var pth = require("path");
78215
- fs.existsSync = fs.existsSync || pth.existsSync;
78215
+ fs2.existsSync = fs2.existsSync || pth.existsSync;
78216
78216
  module2.exports = function(path) {
78217
78217
  var _path = path || "", _obj = newAttr(), _stat = null;
78218
78218
  function newAttr() {
@@ -78225,8 +78225,8 @@ var require_fattr = __commonJS({
78225
78225
  atime: 0
78226
78226
  };
78227
78227
  }
78228
- if (_path && fs.existsSync(_path)) {
78229
- _stat = fs.statSync(_path);
78228
+ if (_path && fs2.existsSync(_path)) {
78229
+ _stat = fs2.statSync(_path);
78230
78230
  _obj.directory = _stat.isDirectory();
78231
78231
  _obj.mtime = _stat.mtime;
78232
78232
  _obj.atime = _stat.atime;
@@ -79870,12 +79870,12 @@ var require_adm_zip = __commonJS({
79870
79870
  var require_temp_dir = __commonJS({
79871
79871
  "../../node_modules/.pnpm/temp-dir@2.0.0/node_modules/temp-dir/index.js"(exports2, module2) {
79872
79872
  "use strict";
79873
- var fs = require("fs");
79873
+ var fs2 = require("fs");
79874
79874
  var os = require("os");
79875
79875
  var tempDirectorySymbol = Symbol.for("__RESOLVED_TEMP_DIRECTORY__");
79876
79876
  if (!global[tempDirectorySymbol]) {
79877
79877
  Object.defineProperty(global, tempDirectorySymbol, {
79878
- value: fs.realpathSync(os.tmpdir())
79878
+ value: fs2.realpathSync(os.tmpdir())
79879
79879
  });
79880
79880
  }
79881
79881
  module2.exports = global[tempDirectorySymbol];
@@ -79897,13 +79897,13 @@ var require_path_type = __commonJS({
79897
79897
  "../../node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.js"(exports2) {
79898
79898
  "use strict";
79899
79899
  var { promisify } = require("util");
79900
- var fs = require("fs");
79900
+ var fs2 = require("fs");
79901
79901
  async function isType(fsStatType, statsMethodName, filePath) {
79902
79902
  if (typeof filePath !== "string") {
79903
79903
  throw new TypeError(`Expected a string, got ${typeof filePath}`);
79904
79904
  }
79905
79905
  try {
79906
- const stats = await promisify(fs[fsStatType])(filePath);
79906
+ const stats = await promisify(fs2[fsStatType])(filePath);
79907
79907
  return stats[statsMethodName]();
79908
79908
  } catch (error) {
79909
79909
  if (error.code === "ENOENT") {
@@ -79917,7 +79917,7 @@ var require_path_type = __commonJS({
79917
79917
  throw new TypeError(`Expected a string, got ${typeof filePath}`);
79918
79918
  }
79919
79919
  try {
79920
- return fs[fsStatType](filePath)[statsMethodName]();
79920
+ return fs2[fsStatType](filePath)[statsMethodName]();
79921
79921
  } catch (error) {
79922
79922
  if (error.code === "ENOENT") {
79923
79923
  return false;
@@ -80259,7 +80259,7 @@ var require_gitignore = __commonJS({
80259
80259
  "../../node_modules/.pnpm/globby@11.0.4/node_modules/globby/gitignore.js"(exports2, module2) {
80260
80260
  "use strict";
80261
80261
  var { promisify } = require("util");
80262
- var fs = require("fs");
80262
+ var fs2 = require("fs");
80263
80263
  var path = require("path");
80264
80264
  var fastGlob = require_out4();
80265
80265
  var gitIgnore = require_ignore();
@@ -80270,7 +80270,7 @@ var require_gitignore = __commonJS({
80270
80270
  "**/coverage/**",
80271
80271
  "**/.git"
80272
80272
  ];
80273
- var readFileP = promisify(fs.readFile);
80273
+ var readFileP = promisify(fs2.readFile);
80274
80274
  var mapGitIgnorePatternTo = (base) => (ignore) => {
80275
80275
  if (ignore.startsWith("!")) {
80276
80276
  return "!" + path.posix.join(base, ignore.slice(1));
@@ -80315,7 +80315,7 @@ var require_gitignore = __commonJS({
80315
80315
  };
80316
80316
  var getFileSync = (file, cwd) => {
80317
80317
  const filePath = path.join(cwd, file);
80318
- const content = fs.readFileSync(filePath, "utf8");
80318
+ const content = fs2.readFileSync(filePath, "utf8");
80319
80319
  return {
80320
80320
  cwd,
80321
80321
  filePath,
@@ -80399,7 +80399,7 @@ var require_stream_utils = __commonJS({
80399
80399
  var require_globby = __commonJS({
80400
80400
  "../../node_modules/.pnpm/globby@11.0.4/node_modules/globby/index.js"(exports2, module2) {
80401
80401
  "use strict";
80402
- var fs = require("fs");
80402
+ var fs2 = require("fs");
80403
80403
  var arrayUnion = require_array_union();
80404
80404
  var merge2 = require_merge22();
80405
80405
  var fastGlob = require_out4();
@@ -80419,7 +80419,7 @@ var require_globby = __commonJS({
80419
80419
  }
80420
80420
  let stat;
80421
80421
  try {
80422
- stat = fs.statSync(options.cwd);
80422
+ stat = fs2.statSync(options.cwd);
80423
80423
  } catch {
80424
80424
  return;
80425
80425
  }
@@ -80427,7 +80427,7 @@ var require_globby = __commonJS({
80427
80427
  throw new Error("The `cwd` option must be a path to a directory");
80428
80428
  }
80429
80429
  };
80430
- var getPathString = (p) => p.stats instanceof fs.Stats ? p.path : p;
80430
+ var getPathString = (p) => p.stats instanceof fs2.Stats ? p.path : p;
80431
80431
  var generateGlobTasks = (patterns, taskOptions) => {
80432
80432
  patterns = arrayUnion([].concat(patterns));
80433
80433
  assertPatternsInput(patterns);
@@ -80565,7 +80565,7 @@ var require_old = __commonJS({
80565
80565
  "../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(exports2) {
80566
80566
  var pathModule = require("path");
80567
80567
  var isWindows = process.platform === "win32";
80568
- var fs = require("fs");
80568
+ var fs2 = require("fs");
80569
80569
  var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
80570
80570
  function rethrow() {
80571
80571
  var callback;
@@ -80630,7 +80630,7 @@ var require_old = __commonJS({
80630
80630
  base = m[0];
80631
80631
  previous = "";
80632
80632
  if (isWindows && !knownHard[base]) {
80633
- fs.lstatSync(base);
80633
+ fs2.lstatSync(base);
80634
80634
  knownHard[base] = true;
80635
80635
  }
80636
80636
  }
@@ -80648,7 +80648,7 @@ var require_old = __commonJS({
80648
80648
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
80649
80649
  resolvedLink = cache[base];
80650
80650
  } else {
80651
- var stat = fs.lstatSync(base);
80651
+ var stat = fs2.lstatSync(base);
80652
80652
  if (!stat.isSymbolicLink()) {
80653
80653
  knownHard[base] = true;
80654
80654
  if (cache)
@@ -80663,8 +80663,8 @@ var require_old = __commonJS({
80663
80663
  }
80664
80664
  }
80665
80665
  if (linkTarget === null) {
80666
- fs.statSync(base);
80667
- linkTarget = fs.readlinkSync(base);
80666
+ fs2.statSync(base);
80667
+ linkTarget = fs2.readlinkSync(base);
80668
80668
  }
80669
80669
  resolvedLink = pathModule.resolve(previous, linkTarget);
80670
80670
  if (cache)
@@ -80701,7 +80701,7 @@ var require_old = __commonJS({
80701
80701
  base = m[0];
80702
80702
  previous = "";
80703
80703
  if (isWindows && !knownHard[base]) {
80704
- fs.lstat(base, function(err) {
80704
+ fs2.lstat(base, function(err) {
80705
80705
  if (err)
80706
80706
  return cb(err);
80707
80707
  knownHard[base] = true;
@@ -80729,7 +80729,7 @@ var require_old = __commonJS({
80729
80729
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
80730
80730
  return gotResolvedLink(cache[base]);
80731
80731
  }
80732
- return fs.lstat(base, gotStat);
80732
+ return fs2.lstat(base, gotStat);
80733
80733
  }
80734
80734
  function gotStat(err, stat) {
80735
80735
  if (err)
@@ -80746,10 +80746,10 @@ var require_old = __commonJS({
80746
80746
  return gotTarget(null, seenLinks[id], base);
80747
80747
  }
80748
80748
  }
80749
- fs.stat(base, function(err2) {
80749
+ fs2.stat(base, function(err2) {
80750
80750
  if (err2)
80751
80751
  return cb(err2);
80752
- fs.readlink(base, function(err3, target) {
80752
+ fs2.readlink(base, function(err3, target) {
80753
80753
  if (!isWindows)
80754
80754
  seenLinks[id] = target;
80755
80755
  gotTarget(err3, target);
@@ -80781,9 +80781,9 @@ var require_fs5 = __commonJS({
80781
80781
  realpath.realpathSync = realpathSync;
80782
80782
  realpath.monkeypatch = monkeypatch;
80783
80783
  realpath.unmonkeypatch = unmonkeypatch;
80784
- var fs = require("fs");
80785
- var origRealpath = fs.realpath;
80786
- var origRealpathSync = fs.realpathSync;
80784
+ var fs2 = require("fs");
80785
+ var origRealpath = fs2.realpath;
80786
+ var origRealpathSync = fs2.realpathSync;
80787
80787
  var version = process.version;
80788
80788
  var ok = /^v[0-5]\./.test(version);
80789
80789
  var old = require_old();
@@ -80821,12 +80821,12 @@ var require_fs5 = __commonJS({
80821
80821
  }
80822
80822
  }
80823
80823
  function monkeypatch() {
80824
- fs.realpath = realpath;
80825
- fs.realpathSync = realpathSync;
80824
+ fs2.realpath = realpath;
80825
+ fs2.realpathSync = realpathSync;
80826
80826
  }
80827
80827
  function unmonkeypatch() {
80828
- fs.realpath = origRealpath;
80829
- fs.realpathSync = origRealpathSync;
80828
+ fs2.realpath = origRealpath;
80829
+ fs2.realpathSync = origRealpathSync;
80830
80830
  }
80831
80831
  }
80832
80832
  });
@@ -81657,7 +81657,7 @@ var require_common6 = __commonJS({
81657
81657
  function ownProp(obj, field) {
81658
81658
  return Object.prototype.hasOwnProperty.call(obj, field);
81659
81659
  }
81660
- var fs = require("fs");
81660
+ var fs2 = require("fs");
81661
81661
  var path = require("path");
81662
81662
  var minimatch = require_minimatch();
81663
81663
  var isAbsolute = require_path_is_absolute();
@@ -81712,7 +81712,7 @@ var require_common6 = __commonJS({
81712
81712
  self2.stat = !!options.stat;
81713
81713
  self2.noprocess = !!options.noprocess;
81714
81714
  self2.absolute = !!options.absolute;
81715
- self2.fs = options.fs || fs;
81715
+ self2.fs = options.fs || fs2;
81716
81716
  self2.maxLength = options.maxLength || Infinity;
81717
81717
  self2.cache = options.cache || Object.create(null);
81718
81718
  self2.statCache = options.statCache || Object.create(null);
@@ -82792,7 +82792,7 @@ var require_rimraf2 = __commonJS({
82792
82792
  "../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(exports2, module2) {
82793
82793
  var assert = require("assert");
82794
82794
  var path = require("path");
82795
- var fs = require("fs");
82795
+ var fs2 = require("fs");
82796
82796
  var glob = void 0;
82797
82797
  try {
82798
82798
  glob = require_glob();
@@ -82814,9 +82814,9 @@ var require_rimraf2 = __commonJS({
82814
82814
  "readdir"
82815
82815
  ];
82816
82816
  methods.forEach((m) => {
82817
- options[m] = options[m] || fs[m];
82817
+ options[m] = options[m] || fs2[m];
82818
82818
  m = m + "Sync";
82819
- options[m] = options[m] || fs[m];
82819
+ options[m] = options[m] || fs2[m];
82820
82820
  });
82821
82821
  options.maxBusyTries = options.maxBusyTries || 3;
82822
82822
  options.emfileWait = options.emfileWait || 1e3;
@@ -83338,7 +83338,7 @@ var require_del = __commonJS({
83338
83338
  var require_tempy = __commonJS({
83339
83339
  "../../node_modules/.pnpm/tempy@1.0.1/node_modules/tempy/index.js"(exports2, module2) {
83340
83340
  "use strict";
83341
- var fs = require("fs");
83341
+ var fs2 = require("fs");
83342
83342
  var path = require("path");
83343
83343
  var uniqueString = require_unique_string();
83344
83344
  var tempDir = require_temp_dir();
@@ -83347,9 +83347,9 @@ var require_tempy = __commonJS({
83347
83347
  var stream = require("stream");
83348
83348
  var { promisify } = require("util");
83349
83349
  var pipeline = promisify(stream.pipeline);
83350
- var { writeFile } = fs.promises;
83350
+ var { writeFile } = fs2.promises;
83351
83351
  var getPath = (prefix = "") => path.join(tempDir, prefix + uniqueString());
83352
- var writeStream = async (filePath, data) => pipeline(data, fs.createWriteStream(filePath));
83352
+ var writeStream = async (filePath, data) => pipeline(data, fs2.createWriteStream(filePath));
83353
83353
  var createTask = (tempyFunction, { extraArguments = 0 } = {}) => async (...arguments_) => {
83354
83354
  const [callback, options] = arguments_.slice(extraArguments);
83355
83355
  const result = await tempyFunction(...arguments_.slice(0, extraArguments), options);
@@ -83374,7 +83374,7 @@ var require_tempy = __commonJS({
83374
83374
  module2.exports.file.task = createTask(module2.exports.file);
83375
83375
  module2.exports.directory = ({ prefix = "" } = {}) => {
83376
83376
  const directory = getPath(prefix);
83377
- fs.mkdirSync(directory);
83377
+ fs2.mkdirSync(directory);
83378
83378
  return directory;
83379
83379
  };
83380
83380
  module2.exports.directory.task = createTask(module2.exports.directory);
@@ -83387,7 +83387,7 @@ var require_tempy = __commonJS({
83387
83387
  module2.exports.write.task = createTask(module2.exports.write, { extraArguments: 1 });
83388
83388
  module2.exports.writeSync = (data, options) => {
83389
83389
  const filename = module2.exports.file(options);
83390
- fs.writeFileSync(filename, data);
83390
+ fs2.writeFileSync(filename, data);
83391
83391
  return filename;
83392
83392
  };
83393
83393
  Object.defineProperty(module2.exports, "root", {
@@ -85414,7 +85414,7 @@ var require_npm_normalize_package_bin = __commonJS({
85414
85414
  var require_npm_bundled = __commonJS({
85415
85415
  "../../node_modules/.pnpm/npm-bundled@1.1.2/node_modules/npm-bundled/index.js"(exports2, module2) {
85416
85416
  "use strict";
85417
- var fs = require("fs");
85417
+ var fs2 = require("fs");
85418
85418
  var path = require("path");
85419
85419
  var EE = require("events").EventEmitter;
85420
85420
  var normalizePackageBin = require_npm_normalize_package_bin();
@@ -85476,7 +85476,7 @@ var require_npm_bundled = __commonJS({
85476
85476
  return this;
85477
85477
  }
85478
85478
  readPackageJson(pj) {
85479
- fs.readFile(pj, (er, data) => er ? this.done() : this.onPackageJson(pj, data));
85479
+ fs2.readFile(pj, (er, data) => er ? this.done() : this.onPackageJson(pj, data));
85480
85480
  }
85481
85481
  onPackageJson(pj, data) {
85482
85482
  try {
@@ -85543,7 +85543,7 @@ var require_npm_bundled = __commonJS({
85543
85543
  }
85544
85544
  readPackageJson(pj) {
85545
85545
  try {
85546
- this.onPackageJson(pj, fs.readFileSync(pj));
85546
+ this.onPackageJson(pj, fs2.readFileSync(pj));
85547
85547
  } catch (er) {
85548
85548
  }
85549
85549
  return this;
@@ -85563,7 +85563,7 @@ var require_npm_bundled = __commonJS({
85563
85563
  }
85564
85564
  };
85565
85565
  var readdirNodeModules = (nm, cb) => {
85566
- fs.readdir(nm, (er, set) => {
85566
+ fs2.readdir(nm, (er, set) => {
85567
85567
  if (er)
85568
85568
  cb(er);
85569
85569
  else {
@@ -85574,7 +85574,7 @@ var require_npm_bundled = __commonJS({
85574
85574
  const unscoped = set.filter((f) => !/^@/.test(f));
85575
85575
  let count = scopes.length;
85576
85576
  scopes.forEach((scope) => {
85577
- fs.readdir(nm + "/" + scope, (er2, pkgs) => {
85577
+ fs2.readdir(nm + "/" + scope, (er2, pkgs) => {
85578
85578
  if (er2 || !pkgs.length)
85579
85579
  unscoped.push(scope);
85580
85580
  else
@@ -85588,11 +85588,11 @@ var require_npm_bundled = __commonJS({
85588
85588
  });
85589
85589
  };
85590
85590
  var readdirNodeModulesSync = (nm) => {
85591
- const set = fs.readdirSync(nm);
85591
+ const set = fs2.readdirSync(nm);
85592
85592
  const unscoped = set.filter((f) => !/^@/.test(f));
85593
85593
  const scopes = set.filter((f) => /^@/.test(f)).map((scope) => {
85594
85594
  try {
85595
- const pkgs = fs.readdirSync(nm + "/" + scope);
85595
+ const pkgs = fs2.readdirSync(nm + "/" + scope);
85596
85596
  return pkgs.length ? pkgs.map((p) => scope + "/" + p) : [scope];
85597
85597
  } catch (er) {
85598
85598
  return [scope];
@@ -85620,7 +85620,7 @@ var require_npm_bundled = __commonJS({
85620
85620
  var require_ignore_walk = __commonJS({
85621
85621
  "../../node_modules/.pnpm/ignore-walk@3.0.4/node_modules/ignore-walk/index.js"(exports2, module2) {
85622
85622
  "use strict";
85623
- var fs = require("fs");
85623
+ var fs2 = require("fs");
85624
85624
  var path = require("path");
85625
85625
  var EE = require("events").EventEmitter;
85626
85626
  var Minimatch = require_minimatch().Minimatch;
@@ -85660,7 +85660,7 @@ var require_ignore_walk = __commonJS({
85660
85660
  return ret;
85661
85661
  }
85662
85662
  start() {
85663
- fs.readdir(this.path, (er, entries) => er ? this.emit("error", er) : this.onReaddir(entries));
85663
+ fs2.readdir(this.path, (er, entries) => er ? this.emit("error", er) : this.onReaddir(entries));
85664
85664
  return this;
85665
85665
  }
85666
85666
  isIgnoreFile(e) {
@@ -85691,7 +85691,7 @@ var require_ignore_walk = __commonJS({
85691
85691
  }
85692
85692
  addIgnoreFile(file, then) {
85693
85693
  const ig = path.resolve(this.path, file);
85694
- fs.readFile(ig, "utf8", (er, data) => er ? this.emit("error", er) : this.onReadIgnoreFile(file, data, then));
85694
+ fs2.readFile(ig, "utf8", (er, data) => er ? this.emit("error", er) : this.onReadIgnoreFile(file, data, then));
85695
85695
  }
85696
85696
  onReadIgnoreFile(file, data, then) {
85697
85697
  const mmopt = {
@@ -85741,7 +85741,7 @@ var require_ignore_walk = __commonJS({
85741
85741
  }
85742
85742
  stat(entry, file, dir, then) {
85743
85743
  const abs = this.path + "/" + entry;
85744
- fs[this.follow ? "stat" : "lstat"](abs, (er, st) => {
85744
+ fs2[this.follow ? "stat" : "lstat"](abs, (er, st) => {
85745
85745
  if (er)
85746
85746
  this.emit("error", er);
85747
85747
  else
@@ -85785,16 +85785,16 @@ var require_ignore_walk = __commonJS({
85785
85785
  super(opt);
85786
85786
  }
85787
85787
  start() {
85788
- this.onReaddir(fs.readdirSync(this.path));
85788
+ this.onReaddir(fs2.readdirSync(this.path));
85789
85789
  return this;
85790
85790
  }
85791
85791
  addIgnoreFile(file, then) {
85792
85792
  const ig = path.resolve(this.path, file);
85793
- this.onReadIgnoreFile(file, fs.readFileSync(ig, "utf8"), then);
85793
+ this.onReadIgnoreFile(file, fs2.readFileSync(ig, "utf8"), then);
85794
85794
  }
85795
85795
  stat(entry, file, dir, then) {
85796
85796
  const abs = this.path + "/" + entry;
85797
- const st = fs[this.follow ? "statSync" : "lstatSync"](abs);
85797
+ const st = fs2[this.follow ? "statSync" : "lstatSync"](abs);
85798
85798
  this.onstat(st, entry, file, dir, then);
85799
85799
  }
85800
85800
  walker(entry, then) {
@@ -85835,7 +85835,7 @@ var require_npm_packlist = __commonJS({
85835
85835
  var packageMustHaveFileNames = "readme|copying|license|licence";
85836
85836
  var packageMustHaves = `@(${packageMustHaveFileNames}){,.*[^~$]}`;
85837
85837
  var packageMustHavesRE = new RegExp(`^(${packageMustHaveFileNames})(\\..*[^~$])?$`, "i");
85838
- var fs = require("fs");
85838
+ var fs2 = require("fs");
85839
85839
  var glob = require_glob();
85840
85840
  var defaultRules = [
85841
85841
  ".npmignore",
@@ -86049,7 +86049,7 @@ var require_npm_packlist = __commonJS({
86049
86049
  glob(pattern, { dot: true, cwd: this.path, nocase: true }, cb);
86050
86050
  }
86051
86051
  readPackageJson(entries) {
86052
- fs.readFile(this.path + "/package.json", (er, pkg) => this.onReadPackageJson(entries, er, pkg));
86052
+ fs2.readFile(this.path + "/package.json", (er, pkg) => this.onReadPackageJson(entries, er, pkg));
86053
86053
  }
86054
86054
  walker(entry, then) {
86055
86055
  new Walker(this.walkerOpt(entry)).on("done", then).start();
@@ -86062,7 +86062,7 @@ var require_npm_packlist = __commonJS({
86062
86062
  readPackageJson(entries) {
86063
86063
  const p = this.path + "/package.json";
86064
86064
  try {
86065
- this.onReadPackageJson(entries, null, fs.readFileSync(p));
86065
+ this.onReadPackageJson(entries, null, fs2.readFileSync(p));
86066
86066
  } catch (er) {
86067
86067
  this.onReadPackageJson(entries, er);
86068
86068
  }
@@ -91278,9 +91278,9 @@ var require_lib65 = __commonJS({
91278
91278
  }
91279
91279
  });
91280
91280
 
91281
- // ../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.0/node_modules/@pnpm/npm-lifecycle/lib/spawn.js
91281
+ // ../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/lib/spawn.js
91282
91282
  var require_spawn = __commonJS({
91283
- "../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.0/node_modules/@pnpm/npm-lifecycle/lib/spawn.js"(exports2, module2) {
91283
+ "../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/lib/spawn.js"(exports2, module2) {
91284
91284
  "use strict";
91285
91285
  module2.exports = spawn;
91286
91286
  var _spawn = require("child_process").spawn;
@@ -103068,7 +103068,7 @@ var require_resolve_from = __commonJS({
103068
103068
  "use strict";
103069
103069
  var path = require("path");
103070
103070
  var Module = require("module");
103071
- var fs = require("fs");
103071
+ var fs2 = require("fs");
103072
103072
  var resolveFrom = (fromDirectory, moduleId, silent) => {
103073
103073
  if (typeof fromDirectory !== "string") {
103074
103074
  throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDirectory}\``);
@@ -103077,7 +103077,7 @@ var require_resolve_from = __commonJS({
103077
103077
  throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
103078
103078
  }
103079
103079
  try {
103080
- fromDirectory = fs.realpathSync(fromDirectory);
103080
+ fromDirectory = fs2.realpathSync(fromDirectory);
103081
103081
  } catch (error) {
103082
103082
  if (error.code === "ENOENT") {
103083
103083
  fromDirectory = path.resolve(fromDirectory);
@@ -103107,9 +103107,62 @@ var require_resolve_from = __commonJS({
103107
103107
  }
103108
103108
  });
103109
103109
 
103110
- // ../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.0/node_modules/@pnpm/npm-lifecycle/index.js
103110
+ // ../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/lib/extendPath.js
103111
+ var require_extendPath = __commonJS({
103112
+ "../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/lib/extendPath.js"(exports2, module2) {
103113
+ var path = require("path");
103114
+ var which = require_which();
103115
+ module2.exports = (wd, originalPath, nodeGyp, opts) => {
103116
+ const pathArr = [...opts.extraBinPaths || []];
103117
+ const p = wd.split(/[\\/]node_modules[\\/]/);
103118
+ let acc = path.resolve(p.shift());
103119
+ pathArr.unshift(nodeGyp);
103120
+ p.forEach((pp) => {
103121
+ pathArr.unshift(path.join(acc, "node_modules", ".bin"));
103122
+ acc = path.join(acc, "node_modules", pp);
103123
+ });
103124
+ pathArr.unshift(path.join(acc, "node_modules", ".bin"));
103125
+ if (shouldPrependCurrentNodeDirToPATH(opts)) {
103126
+ pathArr.push(path.dirname(process.execPath));
103127
+ }
103128
+ if (originalPath)
103129
+ pathArr.push(originalPath);
103130
+ return pathArr.join(process.platform === "win32" ? ";" : ":");
103131
+ };
103132
+ function shouldPrependCurrentNodeDirToPATH(opts) {
103133
+ const cfgsetting = opts.scriptsPrependNodePath;
103134
+ if (cfgsetting === false)
103135
+ return false;
103136
+ if (cfgsetting === true)
103137
+ return true;
103138
+ let isDifferentNodeInPath;
103139
+ const isWindows = process.platform === "win32";
103140
+ let foundExecPath;
103141
+ try {
103142
+ foundExecPath = which.sync(path.basename(process.execPath), { pathExt: isWindows ? ";" : ":" });
103143
+ isDifferentNodeInPath = fs.realpathSync(process.execPath).toUpperCase() !== fs.realpathSync(foundExecPath).toUpperCase();
103144
+ } catch (e) {
103145
+ isDifferentNodeInPath = true;
103146
+ }
103147
+ if (cfgsetting === "warn-only") {
103148
+ if (isDifferentNodeInPath && !shouldPrependCurrentNodeDirToPATH.hasWarned) {
103149
+ if (foundExecPath) {
103150
+ opts.log.warn("lifecycle", "The node binary used for scripts is", foundExecPath, "but npm is using", process.execPath, "itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.");
103151
+ } else {
103152
+ opts.log.warn("lifecycle", "npm is using", process.execPath, "but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.");
103153
+ }
103154
+ shouldPrependCurrentNodeDirToPATH.hasWarned = true;
103155
+ }
103156
+ return false;
103157
+ }
103158
+ return isDifferentNodeInPath;
103159
+ }
103160
+ }
103161
+ });
103162
+
103163
+ // ../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/index.js
103111
103164
  var require_npm_lifecycle = __commonJS({
103112
- "../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.0/node_modules/@pnpm/npm-lifecycle/index.js"(exports2, module2) {
103165
+ "../../node_modules/.pnpm/@pnpm+npm-lifecycle@1.0.2/node_modules/@pnpm/npm-lifecycle/index.js"(exports2, module2) {
103113
103166
  "use strict";
103114
103167
  exports2 = module2.exports = lifecycle;
103115
103168
  exports2.makeEnv = makeEnv;
@@ -103118,14 +103171,14 @@ var require_npm_lifecycle = __commonJS({
103118
103171
  var { execute } = require_lib68();
103119
103172
  var path = require("path");
103120
103173
  var Stream = require("stream").Stream;
103121
- var fs = require("fs");
103174
+ var fs2 = require("fs");
103122
103175
  var chain = require_slide().chain;
103123
103176
  var uidNumber = require_uid_number();
103124
103177
  var umask = require_umask();
103125
- var which = require_which();
103126
103178
  var byline = require_byline();
103127
103179
  var resolveFrom = require_resolve_from();
103128
103180
  var { PassThrough } = require("stream");
103181
+ var extendPath = require_extendPath();
103129
103182
  var DEFAULT_NODE_GYP_PATH;
103130
103183
  try {
103131
103184
  DEFAULT_NODE_GYP_PATH = resolveFrom(__dirname, "node-gyp/bin/node-gyp");
@@ -103148,7 +103201,7 @@ var require_npm_lifecycle = __commonJS({
103148
103201
  const hook = path.join(dir, ".hooks", stage);
103149
103202
  const cachedStatError = hookStatCache.get(hook);
103150
103203
  if (cachedStatError === void 0) {
103151
- return fs.stat(hook, (statError) => {
103204
+ return fs2.stat(hook, (statError) => {
103152
103205
  hookStatCache.set(hook, statError);
103153
103206
  cb(statError);
103154
103207
  });
@@ -103208,21 +103261,7 @@ var require_npm_lifecycle = __commonJS({
103208
103261
  return wd.lastIndexOf(pkg.name) !== wd.length - pkg.name.length;
103209
103262
  }
103210
103263
  function lifecycle_(pkg, stage, wd, opts, env, cb) {
103211
- const pathArr = [...opts.extraBinPaths || []];
103212
- const p = wd.split(/[\\/]node_modules[\\/]/);
103213
- let acc = path.resolve(p.shift());
103214
- p.forEach((pp) => {
103215
- pathArr.unshift(path.join(acc, "node_modules", ".bin"));
103216
- acc = path.join(acc, "node_modules", pp);
103217
- });
103218
- pathArr.unshift(path.join(acc, "node_modules", ".bin"));
103219
- pathArr.unshift(path.join(__dirname, "node-gyp-bin"));
103220
- if (shouldPrependCurrentNodeDirToPATH(opts)) {
103221
- pathArr.push(path.dirname(process.execPath));
103222
- }
103223
- if (env[PATH])
103224
- pathArr.push(env[PATH]);
103225
- env[PATH] = pathArr.join(process.platform === "win32" ? ";" : ":");
103264
+ env[PATH] = extendPath(wd, env[PATH], path.join(__dirname, "node-gyp-bin"), opts);
103226
103265
  let packageLifecycle = pkg.scripts && pkg.scripts.hasOwnProperty(stage);
103227
103266
  if (opts.ignoreScripts) {
103228
103267
  opts.log.info("lifecycle", logid(pkg, stage), "ignored because ignore-scripts is set to true", pkg._id);
@@ -103249,36 +103288,8 @@ var require_npm_lifecycle = __commonJS({
103249
103288
  [runHookLifecycle, pkg, stage, env, wd, opts]
103250
103289
  ], done);
103251
103290
  }
103252
- function shouldPrependCurrentNodeDirToPATH(opts) {
103253
- const cfgsetting = opts.scriptsPrependNodePath;
103254
- if (cfgsetting === false)
103255
- return false;
103256
- if (cfgsetting === true)
103257
- return true;
103258
- let isDifferentNodeInPath;
103259
- const isWindows = process.platform === "win32";
103260
- let foundExecPath;
103261
- try {
103262
- foundExecPath = which.sync(path.basename(process.execPath), { pathExt: isWindows ? ";" : ":" });
103263
- isDifferentNodeInPath = fs.realpathSync(process.execPath).toUpperCase() !== fs.realpathSync(foundExecPath).toUpperCase();
103264
- } catch (e) {
103265
- isDifferentNodeInPath = true;
103266
- }
103267
- if (cfgsetting === "warn-only") {
103268
- if (isDifferentNodeInPath && !shouldPrependCurrentNodeDirToPATH.hasWarned) {
103269
- if (foundExecPath) {
103270
- opts.log.warn("lifecycle", "The node binary used for scripts is", foundExecPath, "but npm is using", process.execPath, "itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.");
103271
- } else {
103272
- opts.log.warn("lifecycle", "npm is using", process.execPath, "but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.");
103273
- }
103274
- shouldPrependCurrentNodeDirToPATH.hasWarned = true;
103275
- }
103276
- return false;
103277
- }
103278
- return isDifferentNodeInPath;
103279
- }
103280
103291
  function validWd(d, cb) {
103281
- fs.stat(d, (er, st) => {
103292
+ fs2.stat(d, (er, st) => {
103282
103293
  if (er || !st.isDirectory()) {
103283
103294
  const p = path.dirname(d);
103284
103295
  if (p === d) {
@@ -103416,7 +103427,7 @@ ${er.message}`;
103416
103427
  if (er.code !== "EPERM") {
103417
103428
  er.code = "ELIFECYCLE";
103418
103429
  }
103419
- fs.stat(opts.dir, (statError, d) => {
103430
+ fs2.stat(opts.dir, (statError, d) => {
103420
103431
  if (statError && statError.code === "ENOENT" && opts.dir.split(path.sep).slice(-1)[0] === "node_modules") {
103421
103432
  opts.log.warn("", "Local package.json exists, but node_modules missing, did you mean to install?");
103422
103433
  }
@@ -104199,15 +104210,15 @@ var require_unnest = __commonJS({
104199
104210
  // ../../node_modules/.pnpm/bin-links@2.3.0/node_modules/bin-links/lib/fix-bin.js
104200
104211
  var require_fix_bin = __commonJS({
104201
104212
  "../../node_modules/.pnpm/bin-links@2.3.0/node_modules/bin-links/lib/fix-bin.js"(exports2, module2) {
104202
- var fs = require("fs");
104213
+ var fs2 = require("fs");
104203
104214
  var { promisify } = require("util");
104204
104215
  var execMode = 511 & ~process.umask();
104205
104216
  var writeFileAtomic = require_write_file_atomic();
104206
- var open = promisify(fs.open);
104207
- var close = promisify(fs.close);
104208
- var read = promisify(fs.read);
104209
- var chmod = promisify(fs.chmod);
104210
- var readFile = promisify(fs.readFile);
104217
+ var open = promisify(fs2.open);
104218
+ var close = promisify(fs2.close);
104219
+ var read = promisify(fs2.read);
104220
+ var chmod = promisify(fs2.chmod);
104221
+ var readFile = promisify(fs2.readFile);
104211
104222
  var isWindowsHashBang = (buf) => buf[0] === "#".charCodeAt(0) && buf[1] === "!".charCodeAt(0) && /^#![^\n]+\r\n/.test(buf.toString());
104212
104223
  var isWindowsHashbangFile = (file) => {
104213
104224
  const FALSE = () => false;
@@ -113661,18 +113672,18 @@ var require_lib89 = __commonJS({
113661
113672
  var require_resolve_link_target = __commonJS({
113662
113673
  "../../node_modules/.pnpm/resolve-link-target@2.0.0/node_modules/resolve-link-target/index.js"(exports2, module2) {
113663
113674
  "use strict";
113664
- var fs = require("fs");
113675
+ var fs2 = require("fs");
113665
113676
  var path = require("path");
113666
113677
  module2.exports = getLinkTarget;
113667
113678
  module2.exports.sync = getLinkTargetSync;
113668
113679
  async function getLinkTarget(linkPath) {
113669
113680
  linkPath = path.resolve(linkPath);
113670
- const target = await fs.promises.readlink(linkPath);
113681
+ const target = await fs2.promises.readlink(linkPath);
113671
113682
  return _resolveLink(linkPath, target);
113672
113683
  }
113673
113684
  function getLinkTargetSync(linkPath) {
113674
113685
  linkPath = path.resolve(linkPath);
113675
- const target = fs.readlinkSync(linkPath);
113686
+ const target = fs2.readlinkSync(linkPath);
113676
113687
  return _resolveLink(linkPath, target);
113677
113688
  }
113678
113689
  function _resolveLink(dest, target) {
@@ -116367,12 +116378,12 @@ var require_ini2 = __commonJS({
116367
116378
  var require_read_ini_file = __commonJS({
116368
116379
  "../../node_modules/.pnpm/read-ini-file@3.1.0/node_modules/read-ini-file/index.js"(exports2, module2) {
116369
116380
  "use strict";
116370
- var fs = require("fs");
116381
+ var fs2 = require("fs");
116371
116382
  var stripBom = require_strip_bom();
116372
116383
  var ini = require_ini2();
116373
116384
  var parse = (data) => ini.parse(stripBom(data));
116374
- module2.exports = (fp) => fs.promises.readFile(fp, "utf8").then(parse);
116375
- module2.exports.sync = (fp) => parse(fs.readFileSync(fp, "utf8"));
116385
+ module2.exports = (fp) => fs2.promises.readFile(fp, "utf8").then(parse);
116386
+ module2.exports.sync = (fp) => parse(fs2.readFileSync(fp, "utf8"));
116376
116387
  }
116377
116388
  });
116378
116389
 
@@ -122105,7 +122116,7 @@ var require_lockfile = __commonJS({
122105
122116
  },
122106
122117
  function(module3, exports3, __webpack_require__) {
122107
122118
  module3.exports = glob;
122108
- var fs = __webpack_require__(3);
122119
+ var fs2 = __webpack_require__(3);
122109
122120
  var rp = __webpack_require__(114);
122110
122121
  var minimatch = __webpack_require__(60);
122111
122122
  var Minimatch = minimatch.Minimatch;
@@ -122450,7 +122461,7 @@ var require_lockfile = __commonJS({
122450
122461
  var self2 = this;
122451
122462
  var lstatcb = inflight(lstatkey, lstatcb_);
122452
122463
  if (lstatcb)
122453
- fs.lstat(abs, lstatcb);
122464
+ fs2.lstat(abs, lstatcb);
122454
122465
  function lstatcb_(er, lstat) {
122455
122466
  if (er && er.code === "ENOENT")
122456
122467
  return cb();
@@ -122479,7 +122490,7 @@ var require_lockfile = __commonJS({
122479
122490
  return cb(null, c);
122480
122491
  }
122481
122492
  var self2 = this;
122482
- fs.readdir(abs, readdirCb(this, abs, cb));
122493
+ fs2.readdir(abs, readdirCb(this, abs, cb));
122483
122494
  };
122484
122495
  function readdirCb(self2, abs, cb) {
122485
122496
  return function(er, entries) {
@@ -122623,10 +122634,10 @@ var require_lockfile = __commonJS({
122623
122634
  var self2 = this;
122624
122635
  var statcb = inflight("stat\0" + abs, lstatcb_);
122625
122636
  if (statcb)
122626
- fs.lstat(abs, statcb);
122637
+ fs2.lstat(abs, statcb);
122627
122638
  function lstatcb_(er, lstat) {
122628
122639
  if (lstat && lstat.isSymbolicLink()) {
122629
- return fs.stat(abs, function(er2, stat2) {
122640
+ return fs2.stat(abs, function(er2, stat2) {
122630
122641
  if (er2)
122631
122642
  self2._stat2(f, abs, null, lstat, cb);
122632
122643
  else
@@ -123556,9 +123567,9 @@ var require_lockfile = __commonJS({
123556
123567
  realpath.realpathSync = realpathSync;
123557
123568
  realpath.monkeypatch = monkeypatch;
123558
123569
  realpath.unmonkeypatch = unmonkeypatch;
123559
- var fs = __webpack_require__(3);
123560
- var origRealpath = fs.realpath;
123561
- var origRealpathSync = fs.realpathSync;
123570
+ var fs2 = __webpack_require__(3);
123571
+ var origRealpath = fs2.realpath;
123572
+ var origRealpathSync = fs2.realpathSync;
123562
123573
  var version = process.version;
123563
123574
  var ok = /^v[0-5]\./.test(version);
123564
123575
  var old = __webpack_require__(217);
@@ -123596,12 +123607,12 @@ var require_lockfile = __commonJS({
123596
123607
  }
123597
123608
  }
123598
123609
  function monkeypatch() {
123599
- fs.realpath = realpath;
123600
- fs.realpathSync = realpathSync;
123610
+ fs2.realpath = realpath;
123611
+ fs2.realpathSync = realpathSync;
123601
123612
  }
123602
123613
  function unmonkeypatch() {
123603
- fs.realpath = origRealpath;
123604
- fs.realpathSync = origRealpathSync;
123614
+ fs2.realpath = origRealpath;
123615
+ fs2.realpathSync = origRealpathSync;
123605
123616
  }
123606
123617
  },
123607
123618
  function(module3, exports3, __webpack_require__) {
@@ -123798,7 +123809,7 @@ var require_lockfile = __commonJS({
123798
123809
  },
123799
123810
  function(module3, exports3, __webpack_require__) {
123800
123811
  var path = __webpack_require__(0);
123801
- var fs = __webpack_require__(3);
123812
+ var fs2 = __webpack_require__(3);
123802
123813
  var _0777 = parseInt("0777", 8);
123803
123814
  module3.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
123804
123815
  function mkdirP(p, opts, f, made) {
@@ -123809,7 +123820,7 @@ var require_lockfile = __commonJS({
123809
123820
  opts = { mode: opts };
123810
123821
  }
123811
123822
  var mode = opts.mode;
123812
- var xfs = opts.fs || fs;
123823
+ var xfs = opts.fs || fs2;
123813
123824
  if (mode === void 0) {
123814
123825
  mode = _0777 & ~process.umask();
123815
123826
  }
@@ -123848,7 +123859,7 @@ var require_lockfile = __commonJS({
123848
123859
  opts = { mode: opts };
123849
123860
  }
123850
123861
  var mode = opts.mode;
123851
- var xfs = opts.fs || fs;
123862
+ var xfs = opts.fs || fs2;
123852
123863
  if (mode === void 0) {
123853
123864
  mode = _0777 & ~process.umask();
123854
123865
  }
@@ -125678,7 +125689,7 @@ ${indent}`);
125678
125689
  function(module3, exports3, __webpack_require__) {
125679
125690
  var pathModule = __webpack_require__(0);
125680
125691
  var isWindows = process.platform === "win32";
125681
- var fs = __webpack_require__(3);
125692
+ var fs2 = __webpack_require__(3);
125682
125693
  var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
125683
125694
  function rethrow() {
125684
125695
  var callback;
@@ -125741,7 +125752,7 @@ ${indent}`);
125741
125752
  base = m[0];
125742
125753
  previous = "";
125743
125754
  if (isWindows && !knownHard[base]) {
125744
- fs.lstatSync(base);
125755
+ fs2.lstatSync(base);
125745
125756
  knownHard[base] = true;
125746
125757
  }
125747
125758
  }
@@ -125759,7 +125770,7 @@ ${indent}`);
125759
125770
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
125760
125771
  resolvedLink = cache[base];
125761
125772
  } else {
125762
- var stat = fs.lstatSync(base);
125773
+ var stat = fs2.lstatSync(base);
125763
125774
  if (!stat.isSymbolicLink()) {
125764
125775
  knownHard[base] = true;
125765
125776
  if (cache)
@@ -125774,8 +125785,8 @@ ${indent}`);
125774
125785
  }
125775
125786
  }
125776
125787
  if (linkTarget === null) {
125777
- fs.statSync(base);
125778
- linkTarget = fs.readlinkSync(base);
125788
+ fs2.statSync(base);
125789
+ linkTarget = fs2.readlinkSync(base);
125779
125790
  }
125780
125791
  resolvedLink = pathModule.resolve(previous, linkTarget);
125781
125792
  if (cache)
@@ -125812,7 +125823,7 @@ ${indent}`);
125812
125823
  base = m[0];
125813
125824
  previous = "";
125814
125825
  if (isWindows && !knownHard[base]) {
125815
- fs.lstat(base, function(err) {
125826
+ fs2.lstat(base, function(err) {
125816
125827
  if (err)
125817
125828
  return cb(err);
125818
125829
  knownHard[base] = true;
@@ -125840,7 +125851,7 @@ ${indent}`);
125840
125851
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
125841
125852
  return gotResolvedLink(cache[base]);
125842
125853
  }
125843
- return fs.lstat(base, gotStat);
125854
+ return fs2.lstat(base, gotStat);
125844
125855
  }
125845
125856
  function gotStat(err, stat) {
125846
125857
  if (err)
@@ -125857,10 +125868,10 @@ ${indent}`);
125857
125868
  return gotTarget(null, seenLinks[id], base);
125858
125869
  }
125859
125870
  }
125860
- fs.stat(base, function(err2) {
125871
+ fs2.stat(base, function(err2) {
125861
125872
  if (err2)
125862
125873
  return cb(err2);
125863
- fs.readlink(base, function(err3, target) {
125874
+ fs2.readlink(base, function(err3, target) {
125864
125875
  if (!isWindows)
125865
125876
  seenLinks[id] = target;
125866
125877
  gotTarget(err3, target);
@@ -125884,7 +125895,7 @@ ${indent}`);
125884
125895
  function(module3, exports3, __webpack_require__) {
125885
125896
  module3.exports = globSync;
125886
125897
  globSync.GlobSync = GlobSync;
125887
- var fs = __webpack_require__(3);
125898
+ var fs2 = __webpack_require__(3);
125888
125899
  var rp = __webpack_require__(114);
125889
125900
  var minimatch = __webpack_require__(60);
125890
125901
  var Minimatch = minimatch.Minimatch;
@@ -126062,7 +126073,7 @@ ${indent}`);
126062
126073
  var lstat;
126063
126074
  var stat;
126064
126075
  try {
126065
- lstat = fs.lstatSync(abs);
126076
+ lstat = fs2.lstatSync(abs);
126066
126077
  } catch (er) {
126067
126078
  if (er.code === "ENOENT") {
126068
126079
  return null;
@@ -126088,7 +126099,7 @@ ${indent}`);
126088
126099
  return c;
126089
126100
  }
126090
126101
  try {
126091
- return this._readdirEntries(abs, fs.readdirSync(abs));
126102
+ return this._readdirEntries(abs, fs2.readdirSync(abs));
126092
126103
  } catch (er) {
126093
126104
  this._readdirError(abs, er);
126094
126105
  return null;
@@ -126197,7 +126208,7 @@ ${indent}`);
126197
126208
  if (!stat) {
126198
126209
  var lstat;
126199
126210
  try {
126200
- lstat = fs.lstatSync(abs);
126211
+ lstat = fs2.lstatSync(abs);
126201
126212
  } catch (er) {
126202
126213
  if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
126203
126214
  this.statCache[abs] = false;
@@ -126206,7 +126217,7 @@ ${indent}`);
126206
126217
  }
126207
126218
  if (lstat && lstat.isSymbolicLink()) {
126208
126219
  try {
126209
- stat = fs.statSync(abs);
126220
+ stat = fs2.statSync(abs);
126210
126221
  } catch (er) {
126211
126222
  stat = lstat;
126212
126223
  }
@@ -126418,7 +126429,7 @@ ${indent}`);
126418
126429
  rimraf.sync = rimrafSync;
126419
126430
  var assert = __webpack_require__(22);
126420
126431
  var path = __webpack_require__(0);
126421
- var fs = __webpack_require__(3);
126432
+ var fs2 = __webpack_require__(3);
126422
126433
  var glob = __webpack_require__(75);
126423
126434
  var _0666 = parseInt("666", 8);
126424
126435
  var defaultGlobOpts = {
@@ -126437,9 +126448,9 @@ ${indent}`);
126437
126448
  "readdir"
126438
126449
  ];
126439
126450
  methods.forEach(function(m) {
126440
- options[m] = options[m] || fs[m];
126451
+ options[m] = options[m] || fs2[m];
126441
126452
  m = m + "Sync";
126442
- options[m] = options[m] || fs[m];
126453
+ options[m] = options[m] || fs2[m];
126443
126454
  });
126444
126455
  options.maxBusyTries = options.maxBusyTries || 3;
126445
126456
  options.emfileWait = options.emfileWait || 1e3;
@@ -129895,8 +129906,7 @@ var require_run = __commonJS({
129895
129906
  const [scriptName, ...passedThruArgs] = params;
129896
129907
  if (opts.recursive) {
129897
129908
  if (scriptName || Object.keys(opts.selectedProjectsGraph).length > 1) {
129898
- await (0, runRecursive_1.default)(params, opts);
129899
- return;
129909
+ return (0, runRecursive_1.default)(params, opts);
129900
129910
  }
129901
129911
  dir = Object.keys(opts.selectedProjectsGraph)[0];
129902
129912
  } else {
@@ -129913,11 +129923,10 @@ var require_run = __commonJS({
129913
129923
  if (opts.fallbackCommandUsed) {
129914
129924
  if (opts.argv == null)
129915
129925
  throw new Error("Could not fallback because opts.argv.original was not passed to the script runner");
129916
- await (0, exec_1.handler)({
129926
+ return (0, exec_1.handler)({
129917
129927
  selectedProjectsGraph: {},
129918
129928
  ...opts
129919
129929
  }, opts.argv.original.slice(1));
129920
- return;
129921
129930
  }
129922
129931
  if (opts.workspaceDir) {
129923
129932
  const { manifest: rootManifest } = await (0, cli_utils_1.tryReadProjectManifest)(opts.workspaceDir, opts);
@@ -130137,6 +130146,7 @@ var require_exec = __commonJS({
130137
130146
  }
130138
130147
  const existsPnp = existsInDir_1.default.bind(null, ".pnp.cjs");
130139
130148
  const workspacePnpPath = opts.workspaceDir && await existsPnp(opts.workspaceDir);
130149
+ let exitCode = 0;
130140
130150
  for (const chunk of chunks) {
130141
130151
  await Promise.all(chunk.map(async (prefix) => limitRun(async () => {
130142
130152
  var _a2, _b;
@@ -130160,9 +130170,8 @@ var require_exec = __commonJS({
130160
130170
  result.passes++;
130161
130171
  } catch (err) {
130162
130172
  if (!opts.recursive && typeof err.exitCode === "number") {
130163
- return {
130164
- exitCode: err.exitCode
130165
- };
130173
+ exitCode = err.exitCode;
130174
+ return;
130166
130175
  }
130167
130176
  logger_1.default.info(err);
130168
130177
  if (!opts.bail) {
@@ -130177,10 +130186,10 @@ var require_exec = __commonJS({
130177
130186
  err["prefix"] = prefix;
130178
130187
  throw err;
130179
130188
  }
130180
- return { exitCode: 0 };
130181
130189
  })));
130182
130190
  }
130183
130191
  (0, cli_utils_1.throwOnCommandFail)("pnpm recursive exec", result);
130192
+ return { exitCode };
130184
130193
  }
130185
130194
  exports2.handler = handler;
130186
130195
  }
@@ -131318,7 +131327,7 @@ var require_storePrune = __commonJS({
131318
131327
  var require_dint = __commonJS({
131319
131328
  "../../node_modules/.pnpm/dint@5.1.0/node_modules/dint/index.js"(exports2, module2) {
131320
131329
  "use strict";
131321
- var fs = require("fs");
131330
+ var fs2 = require("fs");
131322
131331
  var ssri = require_ssri();
131323
131332
  var path = require("path");
131324
131333
  var pEvery = require_p_every();
@@ -131330,10 +131339,10 @@ var require_dint = __commonJS({
131330
131339
  }
131331
131340
  async function _retrieveFileIntegrities(rootDir, currDir, index) {
131332
131341
  try {
131333
- const files = await fs.promises.readdir(currDir);
131342
+ const files = await fs2.promises.readdir(currDir);
131334
131343
  await Promise.all(files.map(async (file) => {
131335
131344
  const fullPath = path.join(currDir, file);
131336
- const stat = await fs.promises.stat(fullPath);
131345
+ const stat = await fs2.promises.stat(fullPath);
131337
131346
  if (stat.isDirectory()) {
131338
131347
  return _retrieveFileIntegrities(rootDir, fullPath, index);
131339
131348
  }
@@ -131342,7 +131351,7 @@ var require_dint = __commonJS({
131342
131351
  index[relativePath] = {
131343
131352
  size: stat.size,
131344
131353
  generatingIntegrity: limit(() => {
131345
- return stat.size < MAX_BULK_SIZE ? fs.promises.readFile(fullPath).then(ssri.fromData) : ssri.fromStream(fs.createReadStream(fullPath));
131354
+ return stat.size < MAX_BULK_SIZE ? fs2.promises.readFile(fullPath).then(ssri.fromData) : ssri.fromStream(fs2.createReadStream(fullPath));
131346
131355
  })
131347
131356
  };
131348
131357
  }
@@ -131364,7 +131373,7 @@ var require_dint = __commonJS({
131364
131373
  const filename = path.join(dirname, f);
131365
131374
  if (fstat.size > MAX_BULK_SIZE) {
131366
131375
  try {
131367
- return await ssri.checkStream(fs.createReadStream(filename), fstat.integrity);
131376
+ return await ssri.checkStream(fs2.createReadStream(filename), fstat.integrity);
131368
131377
  } catch (err) {
131369
131378
  if (err.code === "EINTEGRITY" || err.code === "ENOENT")
131370
131379
  return false;
@@ -131372,7 +131381,7 @@ var require_dint = __commonJS({
131372
131381
  }
131373
131382
  }
131374
131383
  try {
131375
- const data = await fs.promises.readFile(filename);
131384
+ const data = await fs2.promises.readFile(filename);
131376
131385
  return ssri.checkData(data, fstat.integrity);
131377
131386
  } catch (err) {
131378
131387
  if (err.code === "EINTEGRITY" || err.code === "ENOENT")
@@ -134022,9 +134031,11 @@ var require_main2 = __commonJS({
134022
134031
  const selfUpdate = config.global && (cmd === "add" || cmd === "update") && cliParams.includes(cli_meta_1.default.name);
134023
134032
  if (selfUpdate) {
134024
134033
  await cmd_1.default.server(config, ["stop"]);
134025
- try {
134026
- config.bin = path_1.default.dirname(which_1.default.sync("pnpm"));
134027
- } catch (err) {
134034
+ if (config.cliOptions["global-dir"] == null) {
134035
+ try {
134036
+ config.bin = path_1.default.dirname(which_1.default.sync("pnpm"));
134037
+ } catch (err) {
134038
+ }
134028
134039
  }
134029
134040
  }
134030
134041
  if ((cmd === "install" || cmd === "import") && typeof workspaceDir === "string") {