@fern-api/fern-api-dev 4.62.5-4-g29b315f8ff7 → 4.62.6

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/cli.cjs +644 -606
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -29754,8 +29754,8 @@ var init_esm7 = __esm({
29754
29754
  *
29755
29755
  * @internal
29756
29756
  */
29757
- constructor(cwd2 = process.cwd(), pathImpl, sep11, { nocase, childrenCacheSize = 16 * 1024, fs: fs27 = defaultFS } = {}) {
29758
- this.#fs = fsFromOption(fs27);
29757
+ constructor(cwd2 = process.cwd(), pathImpl, sep11, { nocase, childrenCacheSize = 16 * 1024, fs: fs28 = defaultFS } = {}) {
29758
+ this.#fs = fsFromOption(fs28);
29759
29759
  if (cwd2 instanceof URL || cwd2.startsWith("file://")) {
29760
29760
  cwd2 = (0, import_node_url.fileURLToPath)(cwd2);
29761
29761
  }
@@ -30313,8 +30313,8 @@ var init_esm7 = __esm({
30313
30313
  /**
30314
30314
  * @internal
30315
30315
  */
30316
- newRoot(fs27) {
30317
- return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs27 });
30316
+ newRoot(fs28) {
30317
+ return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs28 });
30318
30318
  }
30319
30319
  /**
30320
30320
  * Return true if the provided path string is an absolute path
@@ -30342,8 +30342,8 @@ var init_esm7 = __esm({
30342
30342
  /**
30343
30343
  * @internal
30344
30344
  */
30345
- newRoot(fs27) {
30346
- return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs27 });
30345
+ newRoot(fs28) {
30346
+ return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs28 });
30347
30347
  }
30348
30348
  /**
30349
30349
  * Return true if the provided path string is an absolute path
@@ -32837,11 +32837,11 @@ var init_streamObjectToFile = __esm({
32837
32837
  var require_tmp = __commonJS({
32838
32838
  "../../../node_modules/.pnpm/tmp@0.2.5/node_modules/tmp/lib/tmp.js"(exports2, module4) {
32839
32839
  "use strict";
32840
- var fs27 = require("fs");
32840
+ var fs28 = require("fs");
32841
32841
  var os26 = require("os");
32842
32842
  var path97 = require("path");
32843
32843
  var crypto7 = require("crypto");
32844
- var _c4 = { fs: fs27.constants, os: os26.constants };
32844
+ var _c4 = { fs: fs28.constants, os: os26.constants };
32845
32845
  var RANDOM_CHARS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
32846
32846
  var TEMPLATE_PATTERN = /XXXXXX/;
32847
32847
  var DEFAULT_TRIES = 3;
@@ -32853,13 +32853,13 @@ var require_tmp = __commonJS({
32853
32853
  var FILE_MODE = 384;
32854
32854
  var EXIT3 = "exit";
32855
32855
  var _removeObjects = [];
32856
- var FN_RMDIR_SYNC = fs27.rmdirSync.bind(fs27);
32856
+ var FN_RMDIR_SYNC = fs28.rmdirSync.bind(fs28);
32857
32857
  var _gracefulCleanup = false;
32858
32858
  function rimraf(dirPath, callback) {
32859
- return fs27.rm(dirPath, { recursive: true }, callback);
32859
+ return fs28.rm(dirPath, { recursive: true }, callback);
32860
32860
  }
32861
32861
  function FN_RIMRAF_SYNC(dirPath) {
32862
- return fs27.rmSync(dirPath, { recursive: true });
32862
+ return fs28.rmSync(dirPath, { recursive: true });
32863
32863
  }
32864
32864
  function tmpName(options2, callback) {
32865
32865
  const args = _parseArguments(options2, callback), opts = args[0], cb2 = args[1];
@@ -32869,7 +32869,7 @@ var require_tmp = __commonJS({
32869
32869
  (function _getUniqueName() {
32870
32870
  try {
32871
32871
  const name2 = _generateTmpName(sanitizedOptions);
32872
- fs27.stat(name2, function(err2) {
32872
+ fs28.stat(name2, function(err2) {
32873
32873
  if (!err2) {
32874
32874
  if (tries-- > 0) return _getUniqueName();
32875
32875
  return cb2(new Error("Could not get a unique tmp filename, max tries reached " + name2));
@@ -32889,7 +32889,7 @@ var require_tmp = __commonJS({
32889
32889
  do {
32890
32890
  const name2 = _generateTmpName(sanitizedOptions);
32891
32891
  try {
32892
- fs27.statSync(name2);
32892
+ fs28.statSync(name2);
32893
32893
  } catch (e6) {
32894
32894
  return name2;
32895
32895
  }
@@ -32900,10 +32900,10 @@ var require_tmp = __commonJS({
32900
32900
  const args = _parseArguments(options2, callback), opts = args[0], cb2 = args[1];
32901
32901
  tmpName(opts, function _tmpNameCreated(err, name2) {
32902
32902
  if (err) return cb2(err);
32903
- fs27.open(name2, CREATE_FLAGS, opts.mode || FILE_MODE, function _fileCreated(err2, fd) {
32903
+ fs28.open(name2, CREATE_FLAGS, opts.mode || FILE_MODE, function _fileCreated(err2, fd) {
32904
32904
  if (err2) return cb2(err2);
32905
32905
  if (opts.discardDescriptor) {
32906
- return fs27.close(fd, function _discardCallback(possibleErr) {
32906
+ return fs28.close(fd, function _discardCallback(possibleErr) {
32907
32907
  return cb2(possibleErr, name2, void 0, _prepareTmpFileRemoveCallback(name2, -1, opts, false));
32908
32908
  });
32909
32909
  } else {
@@ -32917,9 +32917,9 @@ var require_tmp = __commonJS({
32917
32917
  const args = _parseArguments(options2), opts = args[0];
32918
32918
  const discardOrDetachDescriptor = opts.discardDescriptor || opts.detachDescriptor;
32919
32919
  const name2 = tmpNameSync(opts);
32920
- let fd = fs27.openSync(name2, CREATE_FLAGS, opts.mode || FILE_MODE);
32920
+ let fd = fs28.openSync(name2, CREATE_FLAGS, opts.mode || FILE_MODE);
32921
32921
  if (opts.discardDescriptor) {
32922
- fs27.closeSync(fd);
32922
+ fs28.closeSync(fd);
32923
32923
  fd = void 0;
32924
32924
  }
32925
32925
  return {
@@ -32932,7 +32932,7 @@ var require_tmp = __commonJS({
32932
32932
  const args = _parseArguments(options2, callback), opts = args[0], cb2 = args[1];
32933
32933
  tmpName(opts, function _tmpNameCreated(err, name2) {
32934
32934
  if (err) return cb2(err);
32935
- fs27.mkdir(name2, opts.mode || DIR_MODE, function _dirCreated(err2) {
32935
+ fs28.mkdir(name2, opts.mode || DIR_MODE, function _dirCreated(err2) {
32936
32936
  if (err2) return cb2(err2);
32937
32937
  cb2(null, name2, _prepareTmpDirRemoveCallback(name2, opts, false));
32938
32938
  });
@@ -32941,7 +32941,7 @@ var require_tmp = __commonJS({
32941
32941
  function dirSync(options2) {
32942
32942
  const args = _parseArguments(options2), opts = args[0];
32943
32943
  const name2 = tmpNameSync(opts);
32944
- fs27.mkdirSync(name2, opts.mode || DIR_MODE);
32944
+ fs28.mkdirSync(name2, opts.mode || DIR_MODE);
32945
32945
  return {
32946
32946
  name: name2,
32947
32947
  removeCallback: _prepareTmpDirRemoveCallback(name2, opts, true)
@@ -32955,20 +32955,20 @@ var require_tmp = __commonJS({
32955
32955
  next2();
32956
32956
  };
32957
32957
  if (0 <= fdPath[0])
32958
- fs27.close(fdPath[0], function() {
32959
- fs27.unlink(fdPath[1], _handler);
32958
+ fs28.close(fdPath[0], function() {
32959
+ fs28.unlink(fdPath[1], _handler);
32960
32960
  });
32961
- else fs27.unlink(fdPath[1], _handler);
32961
+ else fs28.unlink(fdPath[1], _handler);
32962
32962
  }
32963
32963
  function _removeFileSync(fdPath) {
32964
32964
  let rethrownException = null;
32965
32965
  try {
32966
- if (0 <= fdPath[0]) fs27.closeSync(fdPath[0]);
32966
+ if (0 <= fdPath[0]) fs28.closeSync(fdPath[0]);
32967
32967
  } catch (e6) {
32968
32968
  if (!_isEBADF(e6) && !_isENOENT(e6)) throw e6;
32969
32969
  } finally {
32970
32970
  try {
32971
- fs27.unlinkSync(fdPath[1]);
32971
+ fs28.unlinkSync(fdPath[1]);
32972
32972
  } catch (e6) {
32973
32973
  if (!_isENOENT(e6)) rethrownException = e6;
32974
32974
  }
@@ -32984,7 +32984,7 @@ var require_tmp = __commonJS({
32984
32984
  return sync2 ? removeCallbackSync : removeCallback;
32985
32985
  }
32986
32986
  function _prepareTmpDirRemoveCallback(name2, opts, sync2) {
32987
- const removeFunction = opts.unsafeCleanup ? rimraf : fs27.rmdir.bind(fs27);
32987
+ const removeFunction = opts.unsafeCleanup ? rimraf : fs28.rmdir.bind(fs28);
32988
32988
  const removeFunctionSync = opts.unsafeCleanup ? FN_RIMRAF_SYNC : FN_RMDIR_SYNC;
32989
32989
  const removeCallbackSync = _prepareRemoveCallback(removeFunctionSync, name2, sync2);
32990
32990
  const removeCallback = _prepareRemoveCallback(removeFunction, name2, sync2, removeCallbackSync);
@@ -33047,24 +33047,24 @@ var require_tmp = __commonJS({
33047
33047
  }
33048
33048
  function _resolvePath(name2, tmpDir, cb2) {
33049
33049
  const pathToResolve = path97.isAbsolute(name2) ? name2 : path97.join(tmpDir, name2);
33050
- fs27.stat(pathToResolve, function(err) {
33050
+ fs28.stat(pathToResolve, function(err) {
33051
33051
  if (err) {
33052
- fs27.realpath(path97.dirname(pathToResolve), function(err2, parentDir) {
33052
+ fs28.realpath(path97.dirname(pathToResolve), function(err2, parentDir) {
33053
33053
  if (err2) return cb2(err2);
33054
33054
  cb2(null, path97.join(parentDir, path97.basename(pathToResolve)));
33055
33055
  });
33056
33056
  } else {
33057
- fs27.realpath(pathToResolve, cb2);
33057
+ fs28.realpath(pathToResolve, cb2);
33058
33058
  }
33059
33059
  });
33060
33060
  }
33061
33061
  function _resolvePathSync(name2, tmpDir) {
33062
33062
  const pathToResolve = path97.isAbsolute(name2) ? name2 : path97.join(tmpDir, name2);
33063
33063
  try {
33064
- fs27.statSync(pathToResolve);
33065
- return fs27.realpathSync(pathToResolve);
33064
+ fs28.statSync(pathToResolve);
33065
+ return fs28.realpathSync(pathToResolve);
33066
33066
  } catch (_err) {
33067
- const parentDir = fs27.realpathSync(path97.dirname(pathToResolve));
33067
+ const parentDir = fs28.realpathSync(path97.dirname(pathToResolve));
33068
33068
  return path97.join(parentDir, path97.basename(pathToResolve));
33069
33069
  }
33070
33070
  }
@@ -33169,10 +33169,10 @@ var require_tmp = __commonJS({
33169
33169
  _gracefulCleanup = true;
33170
33170
  }
33171
33171
  function _getTmpDir(options2, cb2) {
33172
- return fs27.realpath(options2 && options2.tmpdir || os26.tmpdir(), cb2);
33172
+ return fs28.realpath(options2 && options2.tmpdir || os26.tmpdir(), cb2);
33173
33173
  }
33174
33174
  function _getTmpDirSync(options2) {
33175
- return fs27.realpathSync(options2 && options2.tmpdir || os26.tmpdir());
33175
+ return fs28.realpathSync(options2 && options2.tmpdir || os26.tmpdir());
33176
33176
  }
33177
33177
  process.addListener(EXIT3, _garbageCollector);
33178
33178
  Object.defineProperty(module4.exports, "tmpdir", {
@@ -47736,7 +47736,7 @@ var require_strip_json_comments = __commonJS({
47736
47736
  var require_utils3 = __commonJS({
47737
47737
  "../../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js"(exports2) {
47738
47738
  "use strict";
47739
- var fs27 = require("fs");
47739
+ var fs28 = require("fs");
47740
47740
  var ini = require_ini();
47741
47741
  var path97 = require("path");
47742
47742
  var stripJsonComments = require_strip_json_comments();
@@ -47755,7 +47755,7 @@ var require_utils3 = __commonJS({
47755
47755
  var file5 = path97.join.apply(null, args);
47756
47756
  var content5;
47757
47757
  try {
47758
- return fs27.readFileSync(file5, "utf-8");
47758
+ return fs28.readFileSync(file5, "utf-8");
47759
47759
  } catch (err) {
47760
47760
  return;
47761
47761
  }
@@ -47794,7 +47794,7 @@ var require_utils3 = __commonJS({
47794
47794
  function find5(start2, rel3) {
47795
47795
  var file5 = path97.join(start2, rel3);
47796
47796
  try {
47797
- fs27.statSync(file5);
47797
+ fs28.statSync(file5);
47798
47798
  return file5;
47799
47799
  } catch (err) {
47800
47800
  if (path97.dirname(start2) !== start2)
@@ -48189,54 +48189,54 @@ var require_polyfills = __commonJS({
48189
48189
  }
48190
48190
  var chdir;
48191
48191
  module4.exports = patch5;
48192
- function patch5(fs27) {
48192
+ function patch5(fs28) {
48193
48193
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
48194
- patchLchmod(fs27);
48195
- }
48196
- if (!fs27.lutimes) {
48197
- patchLutimes(fs27);
48198
- }
48199
- fs27.chown = chownFix(fs27.chown);
48200
- fs27.fchown = chownFix(fs27.fchown);
48201
- fs27.lchown = chownFix(fs27.lchown);
48202
- fs27.chmod = chmodFix(fs27.chmod);
48203
- fs27.fchmod = chmodFix(fs27.fchmod);
48204
- fs27.lchmod = chmodFix(fs27.lchmod);
48205
- fs27.chownSync = chownFixSync(fs27.chownSync);
48206
- fs27.fchownSync = chownFixSync(fs27.fchownSync);
48207
- fs27.lchownSync = chownFixSync(fs27.lchownSync);
48208
- fs27.chmodSync = chmodFixSync(fs27.chmodSync);
48209
- fs27.fchmodSync = chmodFixSync(fs27.fchmodSync);
48210
- fs27.lchmodSync = chmodFixSync(fs27.lchmodSync);
48211
- fs27.stat = statFix(fs27.stat);
48212
- fs27.fstat = statFix(fs27.fstat);
48213
- fs27.lstat = statFix(fs27.lstat);
48214
- fs27.statSync = statFixSync(fs27.statSync);
48215
- fs27.fstatSync = statFixSync(fs27.fstatSync);
48216
- fs27.lstatSync = statFixSync(fs27.lstatSync);
48217
- if (fs27.chmod && !fs27.lchmod) {
48218
- fs27.lchmod = function(path97, mode, cb2) {
48194
+ patchLchmod(fs28);
48195
+ }
48196
+ if (!fs28.lutimes) {
48197
+ patchLutimes(fs28);
48198
+ }
48199
+ fs28.chown = chownFix(fs28.chown);
48200
+ fs28.fchown = chownFix(fs28.fchown);
48201
+ fs28.lchown = chownFix(fs28.lchown);
48202
+ fs28.chmod = chmodFix(fs28.chmod);
48203
+ fs28.fchmod = chmodFix(fs28.fchmod);
48204
+ fs28.lchmod = chmodFix(fs28.lchmod);
48205
+ fs28.chownSync = chownFixSync(fs28.chownSync);
48206
+ fs28.fchownSync = chownFixSync(fs28.fchownSync);
48207
+ fs28.lchownSync = chownFixSync(fs28.lchownSync);
48208
+ fs28.chmodSync = chmodFixSync(fs28.chmodSync);
48209
+ fs28.fchmodSync = chmodFixSync(fs28.fchmodSync);
48210
+ fs28.lchmodSync = chmodFixSync(fs28.lchmodSync);
48211
+ fs28.stat = statFix(fs28.stat);
48212
+ fs28.fstat = statFix(fs28.fstat);
48213
+ fs28.lstat = statFix(fs28.lstat);
48214
+ fs28.statSync = statFixSync(fs28.statSync);
48215
+ fs28.fstatSync = statFixSync(fs28.fstatSync);
48216
+ fs28.lstatSync = statFixSync(fs28.lstatSync);
48217
+ if (fs28.chmod && !fs28.lchmod) {
48218
+ fs28.lchmod = function(path97, mode, cb2) {
48219
48219
  if (cb2) process.nextTick(cb2);
48220
48220
  };
48221
- fs27.lchmodSync = function() {
48221
+ fs28.lchmodSync = function() {
48222
48222
  };
48223
48223
  }
48224
- if (fs27.chown && !fs27.lchown) {
48225
- fs27.lchown = function(path97, uid, gid, cb2) {
48224
+ if (fs28.chown && !fs28.lchown) {
48225
+ fs28.lchown = function(path97, uid, gid, cb2) {
48226
48226
  if (cb2) process.nextTick(cb2);
48227
48227
  };
48228
- fs27.lchownSync = function() {
48228
+ fs28.lchownSync = function() {
48229
48229
  };
48230
48230
  }
48231
48231
  if (platform3 === "win32") {
48232
- fs27.rename = typeof fs27.rename !== "function" ? fs27.rename : (function(fs$rename) {
48232
+ fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
48233
48233
  function rename7(from4, to8, cb2) {
48234
48234
  var start2 = Date.now();
48235
48235
  var backoff = 0;
48236
48236
  fs$rename(from4, to8, function CB(er19) {
48237
48237
  if (er19 && (er19.code === "EACCES" || er19.code === "EPERM") && Date.now() - start2 < 6e4) {
48238
48238
  setTimeout(function() {
48239
- fs27.stat(to8, function(stater, st14) {
48239
+ fs28.stat(to8, function(stater, st14) {
48240
48240
  if (stater && stater.code === "ENOENT")
48241
48241
  fs$rename(from4, to8, CB);
48242
48242
  else
@@ -48252,9 +48252,9 @@ var require_polyfills = __commonJS({
48252
48252
  }
48253
48253
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
48254
48254
  return rename7;
48255
- })(fs27.rename);
48255
+ })(fs28.rename);
48256
48256
  }
48257
- fs27.read = typeof fs27.read !== "function" ? fs27.read : (function(fs$read) {
48257
+ fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
48258
48258
  function read2(fd, buffer, offset2, length, position4, callback_) {
48259
48259
  var callback;
48260
48260
  if (callback_ && typeof callback_ === "function") {
@@ -48262,22 +48262,22 @@ var require_polyfills = __commonJS({
48262
48262
  callback = function(er19, _16, __2) {
48263
48263
  if (er19 && er19.code === "EAGAIN" && eagCounter < 10) {
48264
48264
  eagCounter++;
48265
- return fs$read.call(fs27, fd, buffer, offset2, length, position4, callback);
48265
+ return fs$read.call(fs28, fd, buffer, offset2, length, position4, callback);
48266
48266
  }
48267
48267
  callback_.apply(this, arguments);
48268
48268
  };
48269
48269
  }
48270
- return fs$read.call(fs27, fd, buffer, offset2, length, position4, callback);
48270
+ return fs$read.call(fs28, fd, buffer, offset2, length, position4, callback);
48271
48271
  }
48272
48272
  if (Object.setPrototypeOf) Object.setPrototypeOf(read2, fs$read);
48273
48273
  return read2;
48274
- })(fs27.read);
48275
- fs27.readSync = typeof fs27.readSync !== "function" ? fs27.readSync : /* @__PURE__ */ (function(fs$readSync) {
48274
+ })(fs28.read);
48275
+ fs28.readSync = typeof fs28.readSync !== "function" ? fs28.readSync : /* @__PURE__ */ (function(fs$readSync) {
48276
48276
  return function(fd, buffer, offset2, length, position4) {
48277
48277
  var eagCounter = 0;
48278
48278
  while (true) {
48279
48279
  try {
48280
- return fs$readSync.call(fs27, fd, buffer, offset2, length, position4);
48280
+ return fs$readSync.call(fs28, fd, buffer, offset2, length, position4);
48281
48281
  } catch (er19) {
48282
48282
  if (er19.code === "EAGAIN" && eagCounter < 10) {
48283
48283
  eagCounter++;
@@ -48287,10 +48287,10 @@ var require_polyfills = __commonJS({
48287
48287
  }
48288
48288
  }
48289
48289
  };
48290
- })(fs27.readSync);
48291
- function patchLchmod(fs28) {
48292
- fs28.lchmod = function(path97, mode, callback) {
48293
- fs28.open(
48290
+ })(fs28.readSync);
48291
+ function patchLchmod(fs29) {
48292
+ fs29.lchmod = function(path97, mode, callback) {
48293
+ fs29.open(
48294
48294
  path97,
48295
48295
  constants.O_WRONLY | constants.O_SYMLINK,
48296
48296
  mode,
@@ -48299,80 +48299,80 @@ var require_polyfills = __commonJS({
48299
48299
  if (callback) callback(err);
48300
48300
  return;
48301
48301
  }
48302
- fs28.fchmod(fd, mode, function(err2) {
48303
- fs28.close(fd, function(err22) {
48302
+ fs29.fchmod(fd, mode, function(err2) {
48303
+ fs29.close(fd, function(err22) {
48304
48304
  if (callback) callback(err2 || err22);
48305
48305
  });
48306
48306
  });
48307
48307
  }
48308
48308
  );
48309
48309
  };
48310
- fs28.lchmodSync = function(path97, mode) {
48311
- var fd = fs28.openSync(path97, constants.O_WRONLY | constants.O_SYMLINK, mode);
48310
+ fs29.lchmodSync = function(path97, mode) {
48311
+ var fd = fs29.openSync(path97, constants.O_WRONLY | constants.O_SYMLINK, mode);
48312
48312
  var threw = true;
48313
48313
  var ret;
48314
48314
  try {
48315
- ret = fs28.fchmodSync(fd, mode);
48315
+ ret = fs29.fchmodSync(fd, mode);
48316
48316
  threw = false;
48317
48317
  } finally {
48318
48318
  if (threw) {
48319
48319
  try {
48320
- fs28.closeSync(fd);
48320
+ fs29.closeSync(fd);
48321
48321
  } catch (er19) {
48322
48322
  }
48323
48323
  } else {
48324
- fs28.closeSync(fd);
48324
+ fs29.closeSync(fd);
48325
48325
  }
48326
48326
  }
48327
48327
  return ret;
48328
48328
  };
48329
48329
  }
48330
- function patchLutimes(fs28) {
48331
- if (constants.hasOwnProperty("O_SYMLINK") && fs28.futimes) {
48332
- fs28.lutimes = function(path97, at14, mt16, cb2) {
48333
- fs28.open(path97, constants.O_SYMLINK, function(er19, fd) {
48330
+ function patchLutimes(fs29) {
48331
+ if (constants.hasOwnProperty("O_SYMLINK") && fs29.futimes) {
48332
+ fs29.lutimes = function(path97, at14, mt16, cb2) {
48333
+ fs29.open(path97, constants.O_SYMLINK, function(er19, fd) {
48334
48334
  if (er19) {
48335
48335
  if (cb2) cb2(er19);
48336
48336
  return;
48337
48337
  }
48338
- fs28.futimes(fd, at14, mt16, function(er20) {
48339
- fs28.close(fd, function(er23) {
48338
+ fs29.futimes(fd, at14, mt16, function(er20) {
48339
+ fs29.close(fd, function(er23) {
48340
48340
  if (cb2) cb2(er20 || er23);
48341
48341
  });
48342
48342
  });
48343
48343
  });
48344
48344
  };
48345
- fs28.lutimesSync = function(path97, at14, mt16) {
48346
- var fd = fs28.openSync(path97, constants.O_SYMLINK);
48345
+ fs29.lutimesSync = function(path97, at14, mt16) {
48346
+ var fd = fs29.openSync(path97, constants.O_SYMLINK);
48347
48347
  var ret;
48348
48348
  var threw = true;
48349
48349
  try {
48350
- ret = fs28.futimesSync(fd, at14, mt16);
48350
+ ret = fs29.futimesSync(fd, at14, mt16);
48351
48351
  threw = false;
48352
48352
  } finally {
48353
48353
  if (threw) {
48354
48354
  try {
48355
- fs28.closeSync(fd);
48355
+ fs29.closeSync(fd);
48356
48356
  } catch (er19) {
48357
48357
  }
48358
48358
  } else {
48359
- fs28.closeSync(fd);
48359
+ fs29.closeSync(fd);
48360
48360
  }
48361
48361
  }
48362
48362
  return ret;
48363
48363
  };
48364
- } else if (fs28.futimes) {
48365
- fs28.lutimes = function(_a11, _b4, _c4, cb2) {
48364
+ } else if (fs29.futimes) {
48365
+ fs29.lutimes = function(_a11, _b4, _c4, cb2) {
48366
48366
  if (cb2) process.nextTick(cb2);
48367
48367
  };
48368
- fs28.lutimesSync = function() {
48368
+ fs29.lutimesSync = function() {
48369
48369
  };
48370
48370
  }
48371
48371
  }
48372
48372
  function chmodFix(orig) {
48373
48373
  if (!orig) return orig;
48374
48374
  return function(target, mode, cb2) {
48375
- return orig.call(fs27, target, mode, function(er19) {
48375
+ return orig.call(fs28, target, mode, function(er19) {
48376
48376
  if (chownErOk(er19)) er19 = null;
48377
48377
  if (cb2) cb2.apply(this, arguments);
48378
48378
  });
@@ -48382,7 +48382,7 @@ var require_polyfills = __commonJS({
48382
48382
  if (!orig) return orig;
48383
48383
  return function(target, mode) {
48384
48384
  try {
48385
- return orig.call(fs27, target, mode);
48385
+ return orig.call(fs28, target, mode);
48386
48386
  } catch (er19) {
48387
48387
  if (!chownErOk(er19)) throw er19;
48388
48388
  }
@@ -48391,7 +48391,7 @@ var require_polyfills = __commonJS({
48391
48391
  function chownFix(orig) {
48392
48392
  if (!orig) return orig;
48393
48393
  return function(target, uid, gid, cb2) {
48394
- return orig.call(fs27, target, uid, gid, function(er19) {
48394
+ return orig.call(fs28, target, uid, gid, function(er19) {
48395
48395
  if (chownErOk(er19)) er19 = null;
48396
48396
  if (cb2) cb2.apply(this, arguments);
48397
48397
  });
@@ -48401,7 +48401,7 @@ var require_polyfills = __commonJS({
48401
48401
  if (!orig) return orig;
48402
48402
  return function(target, uid, gid) {
48403
48403
  try {
48404
- return orig.call(fs27, target, uid, gid);
48404
+ return orig.call(fs28, target, uid, gid);
48405
48405
  } catch (er19) {
48406
48406
  if (!chownErOk(er19)) throw er19;
48407
48407
  }
@@ -48421,13 +48421,13 @@ var require_polyfills = __commonJS({
48421
48421
  }
48422
48422
  if (cb2) cb2.apply(this, arguments);
48423
48423
  }
48424
- return options2 ? orig.call(fs27, target, options2, callback) : orig.call(fs27, target, callback);
48424
+ return options2 ? orig.call(fs28, target, options2, callback) : orig.call(fs28, target, callback);
48425
48425
  };
48426
48426
  }
48427
48427
  function statFixSync(orig) {
48428
48428
  if (!orig) return orig;
48429
48429
  return function(target, options2) {
48430
- var stats = options2 ? orig.call(fs27, target, options2) : orig.call(fs27, target);
48430
+ var stats = options2 ? orig.call(fs28, target, options2) : orig.call(fs28, target);
48431
48431
  if (stats) {
48432
48432
  if (stats.uid < 0) stats.uid += 4294967296;
48433
48433
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -48457,7 +48457,7 @@ var require_legacy_streams = __commonJS({
48457
48457
  "use strict";
48458
48458
  var Stream5 = require("stream").Stream;
48459
48459
  module4.exports = legacy;
48460
- function legacy(fs27) {
48460
+ function legacy(fs28) {
48461
48461
  return {
48462
48462
  ReadStream,
48463
48463
  WriteStream
@@ -48500,7 +48500,7 @@ var require_legacy_streams = __commonJS({
48500
48500
  });
48501
48501
  return;
48502
48502
  }
48503
- fs27.open(this.path, this.flags, this.mode, function(err, fd) {
48503
+ fs28.open(this.path, this.flags, this.mode, function(err, fd) {
48504
48504
  if (err) {
48505
48505
  self2.emit("error", err);
48506
48506
  self2.readable = false;
@@ -48539,7 +48539,7 @@ var require_legacy_streams = __commonJS({
48539
48539
  this.busy = false;
48540
48540
  this._queue = [];
48541
48541
  if (this.fd === null) {
48542
- this._open = fs27.open;
48542
+ this._open = fs28.open;
48543
48543
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
48544
48544
  this.flush();
48545
48545
  }
@@ -48575,7 +48575,7 @@ var require_clone = __commonJS({
48575
48575
  var require_graceful_fs = __commonJS({
48576
48576
  "../../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports2, module4) {
48577
48577
  "use strict";
48578
- var fs27 = require("fs");
48578
+ var fs28 = require("fs");
48579
48579
  var polyfills = require_polyfills();
48580
48580
  var legacy = require_legacy_streams();
48581
48581
  var clone5 = require_clone();
@@ -48607,12 +48607,12 @@ var require_graceful_fs = __commonJS({
48607
48607
  m11 = "GFS4: " + m11.split(/\n/).join("\nGFS4: ");
48608
48608
  console.error(m11);
48609
48609
  };
48610
- if (!fs27[gracefulQueue]) {
48610
+ if (!fs28[gracefulQueue]) {
48611
48611
  queue = global[gracefulQueue] || [];
48612
- publishQueue(fs27, queue);
48613
- fs27.close = (function(fs$close) {
48612
+ publishQueue(fs28, queue);
48613
+ fs28.close = (function(fs$close) {
48614
48614
  function close3(fd, cb2) {
48615
- return fs$close.call(fs27, fd, function(err) {
48615
+ return fs$close.call(fs28, fd, function(err) {
48616
48616
  if (!err) {
48617
48617
  resetQueue();
48618
48618
  }
@@ -48624,40 +48624,40 @@ var require_graceful_fs = __commonJS({
48624
48624
  value: fs$close
48625
48625
  });
48626
48626
  return close3;
48627
- })(fs27.close);
48628
- fs27.closeSync = (function(fs$closeSync) {
48627
+ })(fs28.close);
48628
+ fs28.closeSync = (function(fs$closeSync) {
48629
48629
  function closeSync(fd) {
48630
- fs$closeSync.apply(fs27, arguments);
48630
+ fs$closeSync.apply(fs28, arguments);
48631
48631
  resetQueue();
48632
48632
  }
48633
48633
  Object.defineProperty(closeSync, previousSymbol, {
48634
48634
  value: fs$closeSync
48635
48635
  });
48636
48636
  return closeSync;
48637
- })(fs27.closeSync);
48637
+ })(fs28.closeSync);
48638
48638
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
48639
48639
  process.on("exit", function() {
48640
- debug9(fs27[gracefulQueue]);
48641
- require("assert").equal(fs27[gracefulQueue].length, 0);
48640
+ debug9(fs28[gracefulQueue]);
48641
+ require("assert").equal(fs28[gracefulQueue].length, 0);
48642
48642
  });
48643
48643
  }
48644
48644
  }
48645
48645
  var queue;
48646
48646
  if (!global[gracefulQueue]) {
48647
- publishQueue(global, fs27[gracefulQueue]);
48648
- }
48649
- module4.exports = patch5(clone5(fs27));
48650
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs27.__patched) {
48651
- module4.exports = patch5(fs27);
48652
- fs27.__patched = true;
48653
- }
48654
- function patch5(fs28) {
48655
- polyfills(fs28);
48656
- fs28.gracefulify = patch5;
48657
- fs28.createReadStream = createReadStream5;
48658
- fs28.createWriteStream = createWriteStream7;
48659
- var fs$readFile = fs28.readFile;
48660
- fs28.readFile = readFile102;
48647
+ publishQueue(global, fs28[gracefulQueue]);
48648
+ }
48649
+ module4.exports = patch5(clone5(fs28));
48650
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs28.__patched) {
48651
+ module4.exports = patch5(fs28);
48652
+ fs28.__patched = true;
48653
+ }
48654
+ function patch5(fs29) {
48655
+ polyfills(fs29);
48656
+ fs29.gracefulify = patch5;
48657
+ fs29.createReadStream = createReadStream5;
48658
+ fs29.createWriteStream = createWriteStream7;
48659
+ var fs$readFile = fs29.readFile;
48660
+ fs29.readFile = readFile102;
48661
48661
  function readFile102(path97, options2, cb2) {
48662
48662
  if (typeof options2 === "function")
48663
48663
  cb2 = options2, options2 = null;
@@ -48673,8 +48673,8 @@ var require_graceful_fs = __commonJS({
48673
48673
  });
48674
48674
  }
48675
48675
  }
48676
- var fs$writeFile = fs28.writeFile;
48677
- fs28.writeFile = writeFile89;
48676
+ var fs$writeFile = fs29.writeFile;
48677
+ fs29.writeFile = writeFile89;
48678
48678
  function writeFile89(path97, data2, options2, cb2) {
48679
48679
  if (typeof options2 === "function")
48680
48680
  cb2 = options2, options2 = null;
@@ -48690,9 +48690,9 @@ var require_graceful_fs = __commonJS({
48690
48690
  });
48691
48691
  }
48692
48692
  }
48693
- var fs$appendFile = fs28.appendFile;
48693
+ var fs$appendFile = fs29.appendFile;
48694
48694
  if (fs$appendFile)
48695
- fs28.appendFile = appendFile2;
48695
+ fs29.appendFile = appendFile2;
48696
48696
  function appendFile2(path97, data2, options2, cb2) {
48697
48697
  if (typeof options2 === "function")
48698
48698
  cb2 = options2, options2 = null;
@@ -48708,9 +48708,9 @@ var require_graceful_fs = __commonJS({
48708
48708
  });
48709
48709
  }
48710
48710
  }
48711
- var fs$copyFile = fs28.copyFile;
48711
+ var fs$copyFile = fs29.copyFile;
48712
48712
  if (fs$copyFile)
48713
- fs28.copyFile = copyFile4;
48713
+ fs29.copyFile = copyFile4;
48714
48714
  function copyFile4(src, dest, flags2, cb2) {
48715
48715
  if (typeof flags2 === "function") {
48716
48716
  cb2 = flags2;
@@ -48728,8 +48728,8 @@ var require_graceful_fs = __commonJS({
48728
48728
  });
48729
48729
  }
48730
48730
  }
48731
- var fs$readdir = fs28.readdir;
48732
- fs28.readdir = readdir20;
48731
+ var fs$readdir = fs29.readdir;
48732
+ fs29.readdir = readdir20;
48733
48733
  var noReaddirOptionVersions = /^v[0-5]\./;
48734
48734
  function readdir20(path97, options2, cb2) {
48735
48735
  if (typeof options2 === "function")
@@ -48770,21 +48770,21 @@ var require_graceful_fs = __commonJS({
48770
48770
  }
48771
48771
  }
48772
48772
  if (process.version.substr(0, 4) === "v0.8") {
48773
- var legStreams = legacy(fs28);
48773
+ var legStreams = legacy(fs29);
48774
48774
  ReadStream = legStreams.ReadStream;
48775
48775
  WriteStream = legStreams.WriteStream;
48776
48776
  }
48777
- var fs$ReadStream = fs28.ReadStream;
48777
+ var fs$ReadStream = fs29.ReadStream;
48778
48778
  if (fs$ReadStream) {
48779
48779
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
48780
48780
  ReadStream.prototype.open = ReadStream$open;
48781
48781
  }
48782
- var fs$WriteStream = fs28.WriteStream;
48782
+ var fs$WriteStream = fs29.WriteStream;
48783
48783
  if (fs$WriteStream) {
48784
48784
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
48785
48785
  WriteStream.prototype.open = WriteStream$open;
48786
48786
  }
48787
- Object.defineProperty(fs28, "ReadStream", {
48787
+ Object.defineProperty(fs29, "ReadStream", {
48788
48788
  get: function() {
48789
48789
  return ReadStream;
48790
48790
  },
@@ -48794,7 +48794,7 @@ var require_graceful_fs = __commonJS({
48794
48794
  enumerable: true,
48795
48795
  configurable: true
48796
48796
  });
48797
- Object.defineProperty(fs28, "WriteStream", {
48797
+ Object.defineProperty(fs29, "WriteStream", {
48798
48798
  get: function() {
48799
48799
  return WriteStream;
48800
48800
  },
@@ -48805,7 +48805,7 @@ var require_graceful_fs = __commonJS({
48805
48805
  configurable: true
48806
48806
  });
48807
48807
  var FileReadStream = ReadStream;
48808
- Object.defineProperty(fs28, "FileReadStream", {
48808
+ Object.defineProperty(fs29, "FileReadStream", {
48809
48809
  get: function() {
48810
48810
  return FileReadStream;
48811
48811
  },
@@ -48816,7 +48816,7 @@ var require_graceful_fs = __commonJS({
48816
48816
  configurable: true
48817
48817
  });
48818
48818
  var FileWriteStream = WriteStream;
48819
- Object.defineProperty(fs28, "FileWriteStream", {
48819
+ Object.defineProperty(fs29, "FileWriteStream", {
48820
48820
  get: function() {
48821
48821
  return FileWriteStream;
48822
48822
  },
@@ -48865,13 +48865,13 @@ var require_graceful_fs = __commonJS({
48865
48865
  });
48866
48866
  }
48867
48867
  function createReadStream5(path97, options2) {
48868
- return new fs28.ReadStream(path97, options2);
48868
+ return new fs29.ReadStream(path97, options2);
48869
48869
  }
48870
48870
  function createWriteStream7(path97, options2) {
48871
- return new fs28.WriteStream(path97, options2);
48871
+ return new fs29.WriteStream(path97, options2);
48872
48872
  }
48873
- var fs$open = fs28.open;
48874
- fs28.open = open7;
48873
+ var fs$open = fs29.open;
48874
+ fs29.open = open7;
48875
48875
  function open7(path97, flags2, mode, cb2) {
48876
48876
  if (typeof mode === "function")
48877
48877
  cb2 = mode, mode = null;
@@ -48887,20 +48887,20 @@ var require_graceful_fs = __commonJS({
48887
48887
  });
48888
48888
  }
48889
48889
  }
48890
- return fs28;
48890
+ return fs29;
48891
48891
  }
48892
48892
  function enqueue(elem) {
48893
48893
  debug9("ENQUEUE", elem[0].name, elem[1]);
48894
- fs27[gracefulQueue].push(elem);
48894
+ fs28[gracefulQueue].push(elem);
48895
48895
  retry4();
48896
48896
  }
48897
48897
  var retryTimer;
48898
48898
  function resetQueue() {
48899
48899
  var now = Date.now();
48900
- for (var i11 = 0; i11 < fs27[gracefulQueue].length; ++i11) {
48901
- if (fs27[gracefulQueue][i11].length > 2) {
48902
- fs27[gracefulQueue][i11][3] = now;
48903
- fs27[gracefulQueue][i11][4] = now;
48900
+ for (var i11 = 0; i11 < fs28[gracefulQueue].length; ++i11) {
48901
+ if (fs28[gracefulQueue][i11].length > 2) {
48902
+ fs28[gracefulQueue][i11][3] = now;
48903
+ fs28[gracefulQueue][i11][4] = now;
48904
48904
  }
48905
48905
  }
48906
48906
  retry4();
@@ -48908,9 +48908,9 @@ var require_graceful_fs = __commonJS({
48908
48908
  function retry4() {
48909
48909
  clearTimeout(retryTimer);
48910
48910
  retryTimer = void 0;
48911
- if (fs27[gracefulQueue].length === 0)
48911
+ if (fs28[gracefulQueue].length === 0)
48912
48912
  return;
48913
- var elem = fs27[gracefulQueue].shift();
48913
+ var elem = fs28[gracefulQueue].shift();
48914
48914
  var fn5 = elem[0];
48915
48915
  var args = elem[1];
48916
48916
  var err = elem[2];
@@ -48932,7 +48932,7 @@ var require_graceful_fs = __commonJS({
48932
48932
  debug9("RETRY", fn5.name, args);
48933
48933
  fn5.apply(null, args.concat([startTime]));
48934
48934
  } else {
48935
- fs27[gracefulQueue].push(elem);
48935
+ fs28[gracefulQueue].push(elem);
48936
48936
  }
48937
48937
  }
48938
48938
  if (retryTimer === void 0) {
@@ -49095,7 +49095,7 @@ var require_config_chain = __commonJS({
49095
49095
  "use strict";
49096
49096
  var ProtoList = require_proto_list();
49097
49097
  var path97 = require("path");
49098
- var fs27 = require("fs");
49098
+ var fs28 = require("fs");
49099
49099
  var ini = require_ini();
49100
49100
  var EE = require("events").EventEmitter;
49101
49101
  var url3 = require("url");
@@ -49113,7 +49113,7 @@ var require_config_chain = __commonJS({
49113
49113
  function find5(start2, rel3) {
49114
49114
  var file4 = path97.join(start2, rel3);
49115
49115
  try {
49116
- fs27.statSync(file4);
49116
+ fs28.statSync(file4);
49117
49117
  return file4;
49118
49118
  } catch (err) {
49119
49119
  if (path97.dirname(start2) !== start2)
@@ -49151,7 +49151,7 @@ var require_config_chain = __commonJS({
49151
49151
  var file4 = path97.join.apply(null, args);
49152
49152
  var content5;
49153
49153
  try {
49154
- content5 = fs27.readFileSync(file4, "utf-8");
49154
+ content5 = fs28.readFileSync(file4, "utf-8");
49155
49155
  } catch (err) {
49156
49156
  return;
49157
49157
  }
@@ -49244,7 +49244,7 @@ var require_config_chain = __commonJS({
49244
49244
  data2 = ini.stringify(data2);
49245
49245
  }
49246
49246
  this._saving++;
49247
- fs27.writeFile(target.path, data2, "utf8", function(er19) {
49247
+ fs28.writeFile(target.path, data2, "utf8", function(er19) {
49248
49248
  this._saving--;
49249
49249
  if (er19) {
49250
49250
  if (cb2) return cb2(er19);
@@ -49263,7 +49263,7 @@ var require_config_chain = __commonJS({
49263
49263
  this.sources[name2] = { path: file4, type: type8 };
49264
49264
  this.push(marker);
49265
49265
  this._await();
49266
- fs27.readFile(file4, "utf8", function(er19, data2) {
49266
+ fs28.readFile(file4, "utf8", function(er19, data2) {
49267
49267
  if (er19) this.emit("error", er19);
49268
49268
  this.addString(data2, file4, type8, marker);
49269
49269
  }.bind(this));
@@ -49410,7 +49410,7 @@ var require_dist4 = __commonJS({
49410
49410
  var require_util2 = __commonJS({
49411
49411
  "../../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
49412
49412
  "use strict";
49413
- var fs27 = require("fs");
49413
+ var fs28 = require("fs");
49414
49414
  var path97 = require("path");
49415
49415
  var { envReplace } = require_dist4();
49416
49416
  var parseKey = (key2) => {
@@ -49488,7 +49488,7 @@ var require_util2 = __commonJS({
49488
49488
  return original;
49489
49489
  }
49490
49490
  try {
49491
- const files = fs27.readdirSync(name3);
49491
+ const files = fs28.readdirSync(name3);
49492
49492
  if (files.includes("node_modules") || files.includes("package.json") || files.includes("package.json5") || files.includes("package.yaml") || files.includes("pnpm-workspace.yaml")) {
49493
49493
  return name3;
49494
49494
  }
@@ -49660,7 +49660,7 @@ var require_conf = __commonJS({
49660
49660
  "../../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module4) {
49661
49661
  "use strict";
49662
49662
  var { readCAFileSync } = require_dist3();
49663
- var fs27 = require("fs");
49663
+ var fs28 = require("fs");
49664
49664
  var path97 = require("path");
49665
49665
  var { ConfigChain } = require_config_chain();
49666
49666
  var envKeyToSetting = require_envKeyToSetting();
@@ -49695,7 +49695,7 @@ var require_conf = __commonJS({
49695
49695
  this.push(marker);
49696
49696
  this._await();
49697
49697
  try {
49698
- const contents = fs27.readFileSync(file4, "utf8");
49698
+ const contents = fs28.readFileSync(file4, "utf8");
49699
49699
  this.addString(contents, file4, "ini", marker);
49700
49700
  } catch (error50) {
49701
49701
  if (error50.code === "ENOENT") {
@@ -49786,7 +49786,7 @@ var require_conf = __commonJS({
49786
49786
  }
49787
49787
  const prefix2 = path97.resolve(this.get("prefix"));
49788
49788
  try {
49789
- const stats = fs27.statSync(prefix2);
49789
+ const stats = fs28.statSync(prefix2);
49790
49790
  defConf.user = stats.uid;
49791
49791
  } catch (error50) {
49792
49792
  if (error50.code === "ENOENT") {
@@ -55859,7 +55859,7 @@ var require_utils4 = __commonJS({
55859
55859
  exports2.pause = pause;
55860
55860
  exports2.getProxyAgent = getProxyAgent;
55861
55861
  exports2.dequal = dequal;
55862
- var fs27 = require("fs");
55862
+ var fs28 = require("fs");
55863
55863
  var path_1 = require("path");
55864
55864
  var minimatch2 = require_commonjs3();
55865
55865
  var js_yaml_1 = require_js_yaml2();
@@ -55884,7 +55884,7 @@ var require_utils4 = __commonJS({
55884
55884
  return head?.prev ?? null;
55885
55885
  }
55886
55886
  async function loadYaml(filename) {
55887
- const contents = await fs27.promises.readFile(filename, "utf-8");
55887
+ const contents = await fs28.promises.readFile(filename, "utf-8");
55888
55888
  return (0, js_yaml_1.parseYaml)(contents);
55889
55889
  }
55890
55890
  function isDefined3(x15) {
@@ -55968,10 +55968,10 @@ var require_utils4 = __commonJS({
55968
55968
  }
55969
55969
  }
55970
55970
  function readFileAsStringSync(filePath) {
55971
- return fs27.readFileSync(filePath, "utf-8");
55971
+ return fs28.readFileSync(filePath, "utf-8");
55972
55972
  }
55973
55973
  function yamlAndJsonSyncReader(filePath) {
55974
- const content5 = fs27.readFileSync(filePath, "utf-8");
55974
+ const content5 = fs28.readFileSync(filePath, "utf-8");
55975
55975
  return (0, js_yaml_1.parseYaml)(content5);
55976
55976
  }
55977
55977
  function isPathParameter(pathSegment) {
@@ -56022,7 +56022,7 @@ var require_utils4 = __commonJS({
56022
56022
  return id2.includes("/");
56023
56023
  }
56024
56024
  function doesYamlFileExist(filePath) {
56025
- return ((0, path_1.extname)(filePath) === ".yaml" || (0, path_1.extname)(filePath) === ".yml") && fs27?.hasOwnProperty?.("existsSync") && fs27.existsSync(filePath);
56025
+ return ((0, path_1.extname)(filePath) === ".yaml" || (0, path_1.extname)(filePath) === ".yml") && fs28?.hasOwnProperty?.("existsSync") && fs28.existsSync(filePath);
56026
56026
  }
56027
56027
  function showWarningForDeprecatedField(deprecatedField, updatedField, updatedObject, link3) {
56028
56028
  const readMoreText = link3 ? `Read more about this change: ${link3}` : "";
@@ -69476,7 +69476,7 @@ var require_config = __commonJS({
69476
69476
  "use strict";
69477
69477
  Object.defineProperty(exports2, "__esModule", { value: true });
69478
69478
  exports2.Config = exports2.StyleguideConfig = exports2.IGNORE_FILE = void 0;
69479
- var fs27 = require("fs");
69479
+ var fs28 = require("fs");
69480
69480
  var path97 = require("path");
69481
69481
  var js_yaml_1 = require_js_yaml2();
69482
69482
  var utils_1 = require_utils4();
@@ -69550,7 +69550,7 @@ var require_config = __commonJS({
69550
69550
  resolveIgnore(ignoreFile) {
69551
69551
  if (!ignoreFile || !(0, utils_1.doesYamlFileExist)(ignoreFile))
69552
69552
  return;
69553
- this.ignore = (0, js_yaml_1.parseYaml)(fs27.readFileSync(ignoreFile, "utf-8")) || {};
69553
+ this.ignore = (0, js_yaml_1.parseYaml)(fs28.readFileSync(ignoreFile, "utf-8")) || {};
69554
69554
  replaceSpecWithStruct(Object.keys(this.ignore), this.ignore);
69555
69555
  for (const fileName of Object.keys(this.ignore)) {
69556
69556
  this.ignore[(0, ref_utils_1.isAbsoluteUrl)(fileName) ? fileName : path97.resolve(path97.dirname(ignoreFile), fileName)] = this.ignore[fileName];
@@ -69573,7 +69573,7 @@ var require_config = __commonJS({
69573
69573
  ignoredRules[ruleId] = Array.from(ignoredRules[ruleId]);
69574
69574
  }
69575
69575
  }
69576
- fs27.writeFileSync(ignoreFile, IGNORE_BANNER + (0, js_yaml_1.stringifyYaml)(mapped));
69576
+ fs28.writeFileSync(ignoreFile, IGNORE_BANNER + (0, js_yaml_1.stringifyYaml)(mapped));
69577
69577
  }
69578
69578
  addIgnore(problem) {
69579
69579
  const ignore4 = this.ignore;
@@ -72551,7 +72551,7 @@ var require_resolve3 = __commonJS({
72551
72551
  exports2.makeRefId = makeRefId;
72552
72552
  exports2.makeDocumentFromString = makeDocumentFromString;
72553
72553
  exports2.resolveDocument = resolveDocument;
72554
- var fs27 = require("fs");
72554
+ var fs28 = require("fs");
72555
72555
  var path97 = require("path");
72556
72556
  var ref_utils_1 = require_ref_utils();
72557
72557
  var types_1 = require_types3();
@@ -72640,10 +72640,10 @@ var require_resolve3 = __commonJS({
72640
72640
  const { body, mimeType } = await (0, utils_1.readFileFromUrl)(absoluteRef, this.config.http);
72641
72641
  return new Source32(absoluteRef, body, mimeType);
72642
72642
  } else {
72643
- if (fs27.lstatSync(absoluteRef).isDirectory()) {
72643
+ if (fs28.lstatSync(absoluteRef).isDirectory()) {
72644
72644
  throw new Error(`Expected a file but received a folder at ${absoluteRef}.`);
72645
72645
  }
72646
- const content5 = await fs27.promises.readFile(absoluteRef, "utf-8");
72646
+ const content5 = await fs28.promises.readFile(absoluteRef, "utf-8");
72647
72647
  return new Source32(absoluteRef, content5.replace(/\r\n/g, "\n"));
72648
72648
  }
72649
72649
  } catch (error50) {
@@ -77477,7 +77477,7 @@ var require_load = __commonJS({
77477
77477
  exports2.findConfig = findConfig;
77478
77478
  exports2.getConfig = getConfig;
77479
77479
  exports2.createConfig = createConfig;
77480
- var fs27 = require("fs");
77480
+ var fs28 = require("fs");
77481
77481
  var path97 = require("path");
77482
77482
  var redocly_1 = require_redocly();
77483
77483
  var utils_1 = require_utils4();
@@ -77567,9 +77567,9 @@ var require_load = __commonJS({
77567
77567
  }
77568
77568
  exports2.CONFIG_FILE_NAMES = ["redocly.yaml", "redocly.yml", ".redocly.yaml", ".redocly.yml"];
77569
77569
  function findConfig(dir) {
77570
- if (!fs27?.hasOwnProperty?.("existsSync"))
77570
+ if (!fs28?.hasOwnProperty?.("existsSync"))
77571
77571
  return;
77572
- const existingConfigFiles = exports2.CONFIG_FILE_NAMES.map((name2) => dir ? path97.resolve(dir, name2) : name2).filter(fs27.existsSync);
77572
+ const existingConfigFiles = exports2.CONFIG_FILE_NAMES.map((name2) => dir ? path97.resolve(dir, name2) : name2).filter(fs28.existsSync);
77573
77573
  if (existingConfigFiles.length > 1) {
77574
77574
  throw new Error(`
77575
77575
  Multiple configuration files are not allowed.
@@ -164642,7 +164642,7 @@ var require_parse3 = __commonJS({
164642
164642
  var require_gray_matter = __commonJS({
164643
164643
  "../../../node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.js"(exports2, module4) {
164644
164644
  "use strict";
164645
- var fs27 = require("fs");
164645
+ var fs28 = require("fs");
164646
164646
  var sections = require_section_matter();
164647
164647
  var defaults3 = require_defaults4();
164648
164648
  var stringify5 = require_stringify2();
@@ -164726,7 +164726,7 @@ var require_gray_matter = __commonJS({
164726
164726
  return stringify5(file4, data2, options2);
164727
164727
  };
164728
164728
  matter3.read = function(filepath, options2) {
164729
- const str3 = fs27.readFileSync(filepath, "utf8");
164729
+ const str3 = fs28.readFileSync(filepath, "utf8");
164730
164730
  const file4 = matter3(str3, options2);
164731
164731
  file4.path = filepath;
164732
164732
  return file4;
@@ -192484,7 +192484,7 @@ var require_form_data = __commonJS({
192484
192484
  var http14 = require("http");
192485
192485
  var https5 = require("https");
192486
192486
  var parseUrl4 = require("url").parse;
192487
- var fs27 = require("fs");
192487
+ var fs28 = require("fs");
192488
192488
  var Stream5 = require("stream").Stream;
192489
192489
  var crypto7 = require("crypto");
192490
192490
  var mime2 = require_mime_types();
@@ -192551,7 +192551,7 @@ var require_form_data = __commonJS({
192551
192551
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
192552
192552
  callback(null, value.end + 1 - (value.start ? value.start : 0));
192553
192553
  } else {
192554
- fs27.stat(value.path, function(err, stat6) {
192554
+ fs28.stat(value.path, function(err, stat6) {
192555
192555
  if (err) {
192556
192556
  callback(err);
192557
192557
  return;
@@ -217511,14 +217511,14 @@ var require_parser2 = __commonJS({
217511
217511
  case "scalar":
217512
217512
  case "single-quoted-scalar":
217513
217513
  case "double-quoted-scalar": {
217514
- const fs27 = this.flowScalar(this.type);
217514
+ const fs28 = this.flowScalar(this.type);
217515
217515
  if (atNextItem || it13.value) {
217516
- map16.items.push({ start: start2, key: fs27, sep: [] });
217516
+ map16.items.push({ start: start2, key: fs28, sep: [] });
217517
217517
  this.onKeyLine = true;
217518
217518
  } else if (it13.sep) {
217519
- this.stack.push(fs27);
217519
+ this.stack.push(fs28);
217520
217520
  } else {
217521
- Object.assign(it13, { key: fs27, sep: [] });
217521
+ Object.assign(it13, { key: fs28, sep: [] });
217522
217522
  this.onKeyLine = true;
217523
217523
  }
217524
217524
  return;
@@ -217646,13 +217646,13 @@ var require_parser2 = __commonJS({
217646
217646
  case "scalar":
217647
217647
  case "single-quoted-scalar":
217648
217648
  case "double-quoted-scalar": {
217649
- const fs27 = this.flowScalar(this.type);
217649
+ const fs28 = this.flowScalar(this.type);
217650
217650
  if (!it13 || it13.value)
217651
- fc.items.push({ start: [], key: fs27, sep: [] });
217651
+ fc.items.push({ start: [], key: fs28, sep: [] });
217652
217652
  else if (it13.sep)
217653
- this.stack.push(fs27);
217653
+ this.stack.push(fs28);
217654
217654
  else
217655
- Object.assign(it13, { key: fs27, sep: [] });
217655
+ Object.assign(it13, { key: fs28, sep: [] });
217656
217656
  return;
217657
217657
  }
217658
217658
  case "flow-map-end":
@@ -218554,7 +218554,7 @@ var require_oas_kit_common = __commonJS({
218554
218554
  var require_oas_resolver = __commonJS({
218555
218555
  "../../../node_modules/.pnpm/oas-resolver@2.5.6/node_modules/oas-resolver/index.js"(exports2, module4) {
218556
218556
  "use strict";
218557
- var fs27 = require("fs");
218557
+ var fs28 = require("fs");
218558
218558
  var path97 = require("path");
218559
218559
  var url3 = require("url");
218560
218560
  var fetch6 = (init_lib9(), __toCommonJS(lib_exports6));
@@ -218570,7 +218570,7 @@ var require_oas_resolver = __commonJS({
218570
218570
  }
218571
218571
  function readFileAsync2(filename, encoding, options2, pointer2, def) {
218572
218572
  return new Promise(function(resolve14, reject) {
218573
- fs27.readFile(filename, encoding, function(err, data2) {
218573
+ fs28.readFile(filename, encoding, function(err, data2) {
218574
218574
  if (err) {
218575
218575
  if (options2.ignoreIOErrors && def) {
218576
218576
  if (options2.verbose) console.warn("FAILED", pointer2);
@@ -219195,7 +219195,7 @@ var require_package2 = __commonJS({
219195
219195
  var require_swagger2openapi = __commonJS({
219196
219196
  "../../../node_modules/.pnpm/swagger2openapi@7.0.8/node_modules/swagger2openapi/index.js"(exports2, module4) {
219197
219197
  "use strict";
219198
- var fs27 = require("fs");
219198
+ var fs28 = require("fs");
219199
219199
  var url3 = require("url");
219200
219200
  var pathlib = require("path");
219201
219201
  var maybe = require_maybe();
@@ -220557,7 +220557,7 @@ var require_swagger2openapi = __commonJS({
220557
220557
  }
220558
220558
  function convertFile(filename, options2, callback) {
220559
220559
  return maybe(callback, new Promise(function(resolve13, reject) {
220560
- fs27.readFile(filename, options2.encoding || "utf8", function(err, s11) {
220560
+ fs28.readFile(filename, options2.encoding || "utf8", function(err, s11) {
220561
220561
  if (err) {
220562
220562
  reject(err);
220563
220563
  } else {
@@ -220632,7 +220632,7 @@ var require_windows = __commonJS({
220632
220632
  "use strict";
220633
220633
  module4.exports = isexe;
220634
220634
  isexe.sync = sync2;
220635
- var fs27 = require("fs");
220635
+ var fs28 = require("fs");
220636
220636
  function checkPathExt(path97, options2) {
220637
220637
  var pathext = options2.pathExt !== void 0 ? options2.pathExt : process.env.PATHEXT;
220638
220638
  if (!pathext) {
@@ -220657,12 +220657,12 @@ var require_windows = __commonJS({
220657
220657
  return checkPathExt(path97, options2);
220658
220658
  }
220659
220659
  function isexe(path97, options2, cb2) {
220660
- fs27.stat(path97, function(er19, stat6) {
220660
+ fs28.stat(path97, function(er19, stat6) {
220661
220661
  cb2(er19, er19 ? false : checkStat(stat6, path97, options2));
220662
220662
  });
220663
220663
  }
220664
220664
  function sync2(path97, options2) {
220665
- return checkStat(fs27.statSync(path97), path97, options2);
220665
+ return checkStat(fs28.statSync(path97), path97, options2);
220666
220666
  }
220667
220667
  }
220668
220668
  });
@@ -220673,14 +220673,14 @@ var require_mode = __commonJS({
220673
220673
  "use strict";
220674
220674
  module4.exports = isexe;
220675
220675
  isexe.sync = sync2;
220676
- var fs27 = require("fs");
220676
+ var fs28 = require("fs");
220677
220677
  function isexe(path97, options2, cb2) {
220678
- fs27.stat(path97, function(er19, stat6) {
220678
+ fs28.stat(path97, function(er19, stat6) {
220679
220679
  cb2(er19, er19 ? false : checkStat(stat6, options2));
220680
220680
  });
220681
220681
  }
220682
220682
  function sync2(path97, options2) {
220683
- return checkStat(fs27.statSync(path97), options2);
220683
+ return checkStat(fs28.statSync(path97), options2);
220684
220684
  }
220685
220685
  function checkStat(stat6, options2) {
220686
220686
  return stat6.isFile() && checkMode(stat6, options2);
@@ -220705,7 +220705,7 @@ var require_mode = __commonJS({
220705
220705
  var require_isexe = __commonJS({
220706
220706
  "../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2, module4) {
220707
220707
  "use strict";
220708
- var fs27 = require("fs");
220708
+ var fs28 = require("fs");
220709
220709
  var core3;
220710
220710
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
220711
220711
  core3 = require_windows();
@@ -220970,16 +220970,16 @@ var require_shebang_command = __commonJS({
220970
220970
  var require_readShebang = __commonJS({
220971
220971
  "../../../node_modules/.pnpm/cross-spawn@7.0.5/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module4) {
220972
220972
  "use strict";
220973
- var fs27 = require("fs");
220973
+ var fs28 = require("fs");
220974
220974
  var shebangCommand = require_shebang_command();
220975
220975
  function readShebang(command3) {
220976
220976
  const size2 = 150;
220977
220977
  const buffer = Buffer.alloc(size2);
220978
220978
  let fd;
220979
220979
  try {
220980
- fd = fs27.openSync(command3, "r");
220981
- fs27.readSync(fd, buffer, 0, size2, 0);
220982
- fs27.closeSync(fd);
220980
+ fd = fs28.openSync(command3, "r");
220981
+ fs28.readSync(fd, buffer, 0, size2, 0);
220982
+ fs28.closeSync(fd);
220983
220983
  } catch (e6) {
220984
220984
  }
220985
220985
  return shebangCommand(buffer.toString());
@@ -260080,10 +260080,10 @@ var require_lib9 = __commonJS({
260080
260080
  exports2.analyse = analyse;
260081
260081
  var detectFile = (filepath, opts = {}) => new Promise((resolve13, reject) => {
260082
260082
  let fd;
260083
- const fs27 = (0, node_1.default)();
260083
+ const fs28 = (0, node_1.default)();
260084
260084
  const handler3 = (err, buffer) => {
260085
260085
  if (fd) {
260086
- fs27.closeSync(fd);
260086
+ fs28.closeSync(fd);
260087
260087
  }
260088
260088
  if (err) {
260089
260089
  reject(err);
@@ -260095,9 +260095,9 @@ var require_lib9 = __commonJS({
260095
260095
  };
260096
260096
  const sampleSize = (opts === null || opts === void 0 ? void 0 : opts.sampleSize) || 0;
260097
260097
  if (sampleSize > 0) {
260098
- fd = fs27.openSync(filepath, "r");
260098
+ fd = fs28.openSync(filepath, "r");
260099
260099
  let sample = Buffer.allocUnsafe(sampleSize);
260100
- fs27.read(fd, sample, 0, sampleSize, opts.offset, (err, bytesRead) => {
260100
+ fs28.read(fd, sample, 0, sampleSize, opts.offset, (err, bytesRead) => {
260101
260101
  if (err) {
260102
260102
  handler3(err, null);
260103
260103
  } else {
@@ -260109,22 +260109,22 @@ var require_lib9 = __commonJS({
260109
260109
  });
260110
260110
  return;
260111
260111
  }
260112
- fs27.readFile(filepath, handler3);
260112
+ fs28.readFile(filepath, handler3);
260113
260113
  });
260114
260114
  exports2.detectFile = detectFile;
260115
260115
  var detectFileSync = (filepath, opts = {}) => {
260116
- const fs27 = (0, node_1.default)();
260116
+ const fs28 = (0, node_1.default)();
260117
260117
  if (opts && opts.sampleSize) {
260118
- const fd = fs27.openSync(filepath, "r");
260118
+ const fd = fs28.openSync(filepath, "r");
260119
260119
  let sample = Buffer.allocUnsafe(opts.sampleSize);
260120
- const bytesRead = fs27.readSync(fd, sample, 0, opts.sampleSize, opts.offset);
260120
+ const bytesRead = fs28.readSync(fd, sample, 0, opts.sampleSize, opts.offset);
260121
260121
  if (bytesRead < opts.sampleSize) {
260122
260122
  sample = sample.subarray(0, bytesRead);
260123
260123
  }
260124
- fs27.closeSync(fd);
260124
+ fs28.closeSync(fd);
260125
260125
  return (0, exports2.detect)(sample);
260126
260126
  }
260127
- return (0, exports2.detect)(fs27.readFileSync(filepath));
260127
+ return (0, exports2.detect)(fs28.readFileSync(filepath));
260128
260128
  };
260129
260129
  exports2.detectFileSync = detectFileSync;
260130
260130
  exports2.default = {
@@ -264205,11 +264205,11 @@ var require_ansi_align = __commonJS({
264205
264205
  var require_is_docker = __commonJS({
264206
264206
  "../../../node_modules/.pnpm/is-docker@2.2.1/node_modules/is-docker/index.js"(exports2, module4) {
264207
264207
  "use strict";
264208
- var fs27 = require("fs");
264208
+ var fs28 = require("fs");
264209
264209
  var isDocker;
264210
264210
  function hasDockerEnv() {
264211
264211
  try {
264212
- fs27.statSync("/.dockerenv");
264212
+ fs28.statSync("/.dockerenv");
264213
264213
  return true;
264214
264214
  } catch (_16) {
264215
264215
  return false;
@@ -264217,7 +264217,7 @@ var require_is_docker = __commonJS({
264217
264217
  }
264218
264218
  function hasDockerCGroup() {
264219
264219
  try {
264220
- return fs27.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
264220
+ return fs28.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
264221
264221
  } catch (_16) {
264222
264222
  return false;
264223
264223
  }
@@ -264236,7 +264236,7 @@ var require_is_wsl = __commonJS({
264236
264236
  "../../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports2, module4) {
264237
264237
  "use strict";
264238
264238
  var os26 = require("os");
264239
- var fs27 = require("fs");
264239
+ var fs28 = require("fs");
264240
264240
  var isDocker = require_is_docker();
264241
264241
  var isWsl = () => {
264242
264242
  if (process.platform !== "linux") {
@@ -264249,7 +264249,7 @@ var require_is_wsl = __commonJS({
264249
264249
  return true;
264250
264250
  }
264251
264251
  try {
264252
- return fs27.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isDocker() : false;
264252
+ return fs28.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isDocker() : false;
264253
264253
  } catch (_16) {
264254
264254
  return false;
264255
264255
  }
@@ -264291,7 +264291,7 @@ var require_open = __commonJS({
264291
264291
  "use strict";
264292
264292
  var path97 = require("path");
264293
264293
  var childProcess2 = require("child_process");
264294
- var { promises: fs27, constants: fsConstants } = require("fs");
264294
+ var { promises: fs28, constants: fsConstants } = require("fs");
264295
264295
  var isWsl = require_is_wsl();
264296
264296
  var isDocker = require_is_docker();
264297
264297
  var defineLazyProperty = require_define_lazy_prop();
@@ -264299,7 +264299,7 @@ var require_open = __commonJS({
264299
264299
  var { platform: platform3, arch: arch3 } = process;
264300
264300
  var hasContainerEnv = () => {
264301
264301
  try {
264302
- fs27.statSync("/run/.containerenv");
264302
+ fs28.statSync("/run/.containerenv");
264303
264303
  return true;
264304
264304
  } catch {
264305
264305
  return false;
@@ -264322,14 +264322,14 @@ var require_open = __commonJS({
264322
264322
  const configFilePath2 = "/etc/wsl.conf";
264323
264323
  let isConfigFileExists = false;
264324
264324
  try {
264325
- await fs27.access(configFilePath2, fsConstants.F_OK);
264325
+ await fs28.access(configFilePath2, fsConstants.F_OK);
264326
264326
  isConfigFileExists = true;
264327
264327
  } catch {
264328
264328
  }
264329
264329
  if (!isConfigFileExists) {
264330
264330
  return defaultMountPoint;
264331
264331
  }
264332
- const configContent = await fs27.readFile(configFilePath2, { encoding: "utf8" });
264332
+ const configContent = await fs28.readFile(configFilePath2, { encoding: "utf8" });
264333
264333
  const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
264334
264334
  if (!configMountPoint) {
264335
264335
  return defaultMountPoint;
@@ -264429,7 +264429,7 @@ var require_open = __commonJS({
264429
264429
  const isBundled = !__dirname || __dirname === "/";
264430
264430
  let exeLocalXdgOpen = false;
264431
264431
  try {
264432
- await fs27.access(localXdgOpenPath, fsConstants.X_OK);
264432
+ await fs28.access(localXdgOpenPath, fsConstants.X_OK);
264433
264433
  exeLocalXdgOpen = true;
264434
264434
  } catch {
264435
264435
  }
@@ -291937,8 +291937,8 @@ var require_node4 = __commonJS({
291937
291937
  }
291938
291938
  break;
291939
291939
  case "FILE":
291940
- var fs27 = require("fs");
291941
- stream6 = new fs27.SyncWriteStream(fd2, { autoClose: false });
291940
+ var fs28 = require("fs");
291941
+ stream6 = new fs28.SyncWriteStream(fd2, { autoClose: false });
291942
291942
  stream6._type = "fs";
291943
291943
  break;
291944
291944
  case "PIPE":
@@ -297855,7 +297855,7 @@ var require_view = __commonJS({
297855
297855
  "use strict";
297856
297856
  var debug9 = require_src27()("express:view");
297857
297857
  var path97 = require("path");
297858
- var fs27 = require("fs");
297858
+ var fs28 = require("fs");
297859
297859
  var dirname21 = path97.dirname;
297860
297860
  var basename6 = path97.basename;
297861
297861
  var extname3 = path97.extname;
@@ -297921,7 +297921,7 @@ var require_view = __commonJS({
297921
297921
  function tryStat(path98) {
297922
297922
  debug9('stat "%s"', path98);
297923
297923
  try {
297924
- return fs27.statSync(path98);
297924
+ return fs28.statSync(path98);
297925
297925
  } catch (e6) {
297926
297926
  return void 0;
297927
297927
  }
@@ -298219,7 +298219,7 @@ var require_mime = __commonJS({
298219
298219
  "../../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(exports2, module4) {
298220
298220
  "use strict";
298221
298221
  var path97 = require("path");
298222
- var fs27 = require("fs");
298222
+ var fs28 = require("fs");
298223
298223
  function Mime() {
298224
298224
  this.types = /* @__PURE__ */ Object.create(null);
298225
298225
  this.extensions = /* @__PURE__ */ Object.create(null);
@@ -298240,7 +298240,7 @@ var require_mime = __commonJS({
298240
298240
  };
298241
298241
  Mime.prototype.load = function(file4) {
298242
298242
  this._loading = file4;
298243
- var map16 = {}, content5 = fs27.readFileSync(file4, "ascii"), lines = content5.split(/[\r\n]+/);
298243
+ var map16 = {}, content5 = fs28.readFileSync(file4, "ascii"), lines = content5.split(/[\r\n]+/);
298244
298244
  lines.forEach(function(line) {
298245
298245
  var fields = line.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
298246
298246
  map16[fields.shift()] = fields;
@@ -298362,7 +298362,7 @@ var require_send = __commonJS({
298362
298362
  var escapeHtml = require_escape_html();
298363
298363
  var etag = require_etag();
298364
298364
  var fresh = require_fresh();
298365
- var fs27 = require("fs");
298365
+ var fs28 = require("fs");
298366
298366
  var mime2 = require_mime();
298367
298367
  var ms7 = require_ms();
298368
298368
  var onFinished = require_on_finished();
@@ -298695,7 +298695,7 @@ var require_send = __commonJS({
298695
298695
  var i11 = 0;
298696
298696
  var self2 = this;
298697
298697
  debug9('stat "%s"', path98);
298698
- fs27.stat(path98, function onstat(err, stat6) {
298698
+ fs28.stat(path98, function onstat(err, stat6) {
298699
298699
  if (err && err.code === "ENOENT" && !extname3(path98) && path98[path98.length - 1] !== sep11) {
298700
298700
  return next2(err);
298701
298701
  }
@@ -298710,7 +298710,7 @@ var require_send = __commonJS({
298710
298710
  }
298711
298711
  var p10 = path98 + "." + self2._extensions[i11++];
298712
298712
  debug9('stat "%s"', p10);
298713
- fs27.stat(p10, function(err2, stat6) {
298713
+ fs28.stat(p10, function(err2, stat6) {
298714
298714
  if (err2) return next2(err2);
298715
298715
  if (stat6.isDirectory()) return next2();
298716
298716
  self2.emit("file", p10, stat6);
@@ -298728,7 +298728,7 @@ var require_send = __commonJS({
298728
298728
  }
298729
298729
  var p10 = join27(path98, self2._index[i11]);
298730
298730
  debug9('stat "%s"', p10);
298731
- fs27.stat(p10, function(err2, stat6) {
298731
+ fs28.stat(p10, function(err2, stat6) {
298732
298732
  if (err2) return next2(err2);
298733
298733
  if (stat6.isDirectory()) return next2();
298734
298734
  self2.emit("file", p10, stat6);
@@ -298740,7 +298740,7 @@ var require_send = __commonJS({
298740
298740
  SendStream.prototype.stream = function stream5(path98, options2) {
298741
298741
  var self2 = this;
298742
298742
  var res = this.res;
298743
- var stream6 = fs27.createReadStream(path98, options2);
298743
+ var stream6 = fs28.createReadStream(path98, options2);
298744
298744
  this.emit("stream", stream6);
298745
298745
  stream6.pipe(res);
298746
298746
  function cleanup() {
@@ -306235,54 +306235,54 @@ var require_polyfills2 = __commonJS({
306235
306235
  }
306236
306236
  var chdir;
306237
306237
  module4.exports = patch5;
306238
- function patch5(fs27) {
306238
+ function patch5(fs28) {
306239
306239
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
306240
- patchLchmod(fs27);
306241
- }
306242
- if (!fs27.lutimes) {
306243
- patchLutimes(fs27);
306244
- }
306245
- fs27.chown = chownFix(fs27.chown);
306246
- fs27.fchown = chownFix(fs27.fchown);
306247
- fs27.lchown = chownFix(fs27.lchown);
306248
- fs27.chmod = chmodFix(fs27.chmod);
306249
- fs27.fchmod = chmodFix(fs27.fchmod);
306250
- fs27.lchmod = chmodFix(fs27.lchmod);
306251
- fs27.chownSync = chownFixSync(fs27.chownSync);
306252
- fs27.fchownSync = chownFixSync(fs27.fchownSync);
306253
- fs27.lchownSync = chownFixSync(fs27.lchownSync);
306254
- fs27.chmodSync = chmodFixSync(fs27.chmodSync);
306255
- fs27.fchmodSync = chmodFixSync(fs27.fchmodSync);
306256
- fs27.lchmodSync = chmodFixSync(fs27.lchmodSync);
306257
- fs27.stat = statFix(fs27.stat);
306258
- fs27.fstat = statFix(fs27.fstat);
306259
- fs27.lstat = statFix(fs27.lstat);
306260
- fs27.statSync = statFixSync(fs27.statSync);
306261
- fs27.fstatSync = statFixSync(fs27.fstatSync);
306262
- fs27.lstatSync = statFixSync(fs27.lstatSync);
306263
- if (fs27.chmod && !fs27.lchmod) {
306264
- fs27.lchmod = function(path97, mode, cb2) {
306240
+ patchLchmod(fs28);
306241
+ }
306242
+ if (!fs28.lutimes) {
306243
+ patchLutimes(fs28);
306244
+ }
306245
+ fs28.chown = chownFix(fs28.chown);
306246
+ fs28.fchown = chownFix(fs28.fchown);
306247
+ fs28.lchown = chownFix(fs28.lchown);
306248
+ fs28.chmod = chmodFix(fs28.chmod);
306249
+ fs28.fchmod = chmodFix(fs28.fchmod);
306250
+ fs28.lchmod = chmodFix(fs28.lchmod);
306251
+ fs28.chownSync = chownFixSync(fs28.chownSync);
306252
+ fs28.fchownSync = chownFixSync(fs28.fchownSync);
306253
+ fs28.lchownSync = chownFixSync(fs28.lchownSync);
306254
+ fs28.chmodSync = chmodFixSync(fs28.chmodSync);
306255
+ fs28.fchmodSync = chmodFixSync(fs28.fchmodSync);
306256
+ fs28.lchmodSync = chmodFixSync(fs28.lchmodSync);
306257
+ fs28.stat = statFix(fs28.stat);
306258
+ fs28.fstat = statFix(fs28.fstat);
306259
+ fs28.lstat = statFix(fs28.lstat);
306260
+ fs28.statSync = statFixSync(fs28.statSync);
306261
+ fs28.fstatSync = statFixSync(fs28.fstatSync);
306262
+ fs28.lstatSync = statFixSync(fs28.lstatSync);
306263
+ if (fs28.chmod && !fs28.lchmod) {
306264
+ fs28.lchmod = function(path97, mode, cb2) {
306265
306265
  if (cb2) process.nextTick(cb2);
306266
306266
  };
306267
- fs27.lchmodSync = function() {
306267
+ fs28.lchmodSync = function() {
306268
306268
  };
306269
306269
  }
306270
- if (fs27.chown && !fs27.lchown) {
306271
- fs27.lchown = function(path97, uid, gid, cb2) {
306270
+ if (fs28.chown && !fs28.lchown) {
306271
+ fs28.lchown = function(path97, uid, gid, cb2) {
306272
306272
  if (cb2) process.nextTick(cb2);
306273
306273
  };
306274
- fs27.lchownSync = function() {
306274
+ fs28.lchownSync = function() {
306275
306275
  };
306276
306276
  }
306277
306277
  if (platform3 === "win32") {
306278
- fs27.rename = typeof fs27.rename !== "function" ? fs27.rename : (function(fs$rename) {
306278
+ fs28.rename = typeof fs28.rename !== "function" ? fs28.rename : (function(fs$rename) {
306279
306279
  function rename7(from4, to8, cb2) {
306280
306280
  var start2 = Date.now();
306281
306281
  var backoff = 0;
306282
306282
  fs$rename(from4, to8, function CB(er19) {
306283
306283
  if (er19 && (er19.code === "EACCES" || er19.code === "EPERM" || er19.code === "EBUSY") && Date.now() - start2 < 6e4) {
306284
306284
  setTimeout(function() {
306285
- fs27.stat(to8, function(stater, st14) {
306285
+ fs28.stat(to8, function(stater, st14) {
306286
306286
  if (stater && stater.code === "ENOENT")
306287
306287
  fs$rename(from4, to8, CB);
306288
306288
  else
@@ -306298,9 +306298,9 @@ var require_polyfills2 = __commonJS({
306298
306298
  }
306299
306299
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename7, fs$rename);
306300
306300
  return rename7;
306301
- })(fs27.rename);
306301
+ })(fs28.rename);
306302
306302
  }
306303
- fs27.read = typeof fs27.read !== "function" ? fs27.read : (function(fs$read) {
306303
+ fs28.read = typeof fs28.read !== "function" ? fs28.read : (function(fs$read) {
306304
306304
  function read2(fd, buffer, offset2, length, position4, callback_) {
306305
306305
  var callback;
306306
306306
  if (callback_ && typeof callback_ === "function") {
@@ -306308,22 +306308,22 @@ var require_polyfills2 = __commonJS({
306308
306308
  callback = function(er19, _16, __2) {
306309
306309
  if (er19 && er19.code === "EAGAIN" && eagCounter < 10) {
306310
306310
  eagCounter++;
306311
- return fs$read.call(fs27, fd, buffer, offset2, length, position4, callback);
306311
+ return fs$read.call(fs28, fd, buffer, offset2, length, position4, callback);
306312
306312
  }
306313
306313
  callback_.apply(this, arguments);
306314
306314
  };
306315
306315
  }
306316
- return fs$read.call(fs27, fd, buffer, offset2, length, position4, callback);
306316
+ return fs$read.call(fs28, fd, buffer, offset2, length, position4, callback);
306317
306317
  }
306318
306318
  if (Object.setPrototypeOf) Object.setPrototypeOf(read2, fs$read);
306319
306319
  return read2;
306320
- })(fs27.read);
306321
- fs27.readSync = typeof fs27.readSync !== "function" ? fs27.readSync : /* @__PURE__ */ (function(fs$readSync) {
306320
+ })(fs28.read);
306321
+ fs28.readSync = typeof fs28.readSync !== "function" ? fs28.readSync : /* @__PURE__ */ (function(fs$readSync) {
306322
306322
  return function(fd, buffer, offset2, length, position4) {
306323
306323
  var eagCounter = 0;
306324
306324
  while (true) {
306325
306325
  try {
306326
- return fs$readSync.call(fs27, fd, buffer, offset2, length, position4);
306326
+ return fs$readSync.call(fs28, fd, buffer, offset2, length, position4);
306327
306327
  } catch (er19) {
306328
306328
  if (er19.code === "EAGAIN" && eagCounter < 10) {
306329
306329
  eagCounter++;
@@ -306333,10 +306333,10 @@ var require_polyfills2 = __commonJS({
306333
306333
  }
306334
306334
  }
306335
306335
  };
306336
- })(fs27.readSync);
306337
- function patchLchmod(fs28) {
306338
- fs28.lchmod = function(path97, mode, callback) {
306339
- fs28.open(
306336
+ })(fs28.readSync);
306337
+ function patchLchmod(fs29) {
306338
+ fs29.lchmod = function(path97, mode, callback) {
306339
+ fs29.open(
306340
306340
  path97,
306341
306341
  constants.O_WRONLY | constants.O_SYMLINK,
306342
306342
  mode,
@@ -306345,80 +306345,80 @@ var require_polyfills2 = __commonJS({
306345
306345
  if (callback) callback(err);
306346
306346
  return;
306347
306347
  }
306348
- fs28.fchmod(fd, mode, function(err2) {
306349
- fs28.close(fd, function(err22) {
306348
+ fs29.fchmod(fd, mode, function(err2) {
306349
+ fs29.close(fd, function(err22) {
306350
306350
  if (callback) callback(err2 || err22);
306351
306351
  });
306352
306352
  });
306353
306353
  }
306354
306354
  );
306355
306355
  };
306356
- fs28.lchmodSync = function(path97, mode) {
306357
- var fd = fs28.openSync(path97, constants.O_WRONLY | constants.O_SYMLINK, mode);
306356
+ fs29.lchmodSync = function(path97, mode) {
306357
+ var fd = fs29.openSync(path97, constants.O_WRONLY | constants.O_SYMLINK, mode);
306358
306358
  var threw = true;
306359
306359
  var ret;
306360
306360
  try {
306361
- ret = fs28.fchmodSync(fd, mode);
306361
+ ret = fs29.fchmodSync(fd, mode);
306362
306362
  threw = false;
306363
306363
  } finally {
306364
306364
  if (threw) {
306365
306365
  try {
306366
- fs28.closeSync(fd);
306366
+ fs29.closeSync(fd);
306367
306367
  } catch (er19) {
306368
306368
  }
306369
306369
  } else {
306370
- fs28.closeSync(fd);
306370
+ fs29.closeSync(fd);
306371
306371
  }
306372
306372
  }
306373
306373
  return ret;
306374
306374
  };
306375
306375
  }
306376
- function patchLutimes(fs28) {
306377
- if (constants.hasOwnProperty("O_SYMLINK") && fs28.futimes) {
306378
- fs28.lutimes = function(path97, at14, mt16, cb2) {
306379
- fs28.open(path97, constants.O_SYMLINK, function(er19, fd) {
306376
+ function patchLutimes(fs29) {
306377
+ if (constants.hasOwnProperty("O_SYMLINK") && fs29.futimes) {
306378
+ fs29.lutimes = function(path97, at14, mt16, cb2) {
306379
+ fs29.open(path97, constants.O_SYMLINK, function(er19, fd) {
306380
306380
  if (er19) {
306381
306381
  if (cb2) cb2(er19);
306382
306382
  return;
306383
306383
  }
306384
- fs28.futimes(fd, at14, mt16, function(er20) {
306385
- fs28.close(fd, function(er23) {
306384
+ fs29.futimes(fd, at14, mt16, function(er20) {
306385
+ fs29.close(fd, function(er23) {
306386
306386
  if (cb2) cb2(er20 || er23);
306387
306387
  });
306388
306388
  });
306389
306389
  });
306390
306390
  };
306391
- fs28.lutimesSync = function(path97, at14, mt16) {
306392
- var fd = fs28.openSync(path97, constants.O_SYMLINK);
306391
+ fs29.lutimesSync = function(path97, at14, mt16) {
306392
+ var fd = fs29.openSync(path97, constants.O_SYMLINK);
306393
306393
  var ret;
306394
306394
  var threw = true;
306395
306395
  try {
306396
- ret = fs28.futimesSync(fd, at14, mt16);
306396
+ ret = fs29.futimesSync(fd, at14, mt16);
306397
306397
  threw = false;
306398
306398
  } finally {
306399
306399
  if (threw) {
306400
306400
  try {
306401
- fs28.closeSync(fd);
306401
+ fs29.closeSync(fd);
306402
306402
  } catch (er19) {
306403
306403
  }
306404
306404
  } else {
306405
- fs28.closeSync(fd);
306405
+ fs29.closeSync(fd);
306406
306406
  }
306407
306407
  }
306408
306408
  return ret;
306409
306409
  };
306410
- } else if (fs28.futimes) {
306411
- fs28.lutimes = function(_a11, _b4, _c4, cb2) {
306410
+ } else if (fs29.futimes) {
306411
+ fs29.lutimes = function(_a11, _b4, _c4, cb2) {
306412
306412
  if (cb2) process.nextTick(cb2);
306413
306413
  };
306414
- fs28.lutimesSync = function() {
306414
+ fs29.lutimesSync = function() {
306415
306415
  };
306416
306416
  }
306417
306417
  }
306418
306418
  function chmodFix(orig) {
306419
306419
  if (!orig) return orig;
306420
306420
  return function(target, mode, cb2) {
306421
- return orig.call(fs27, target, mode, function(er19) {
306421
+ return orig.call(fs28, target, mode, function(er19) {
306422
306422
  if (chownErOk(er19)) er19 = null;
306423
306423
  if (cb2) cb2.apply(this, arguments);
306424
306424
  });
@@ -306428,7 +306428,7 @@ var require_polyfills2 = __commonJS({
306428
306428
  if (!orig) return orig;
306429
306429
  return function(target, mode) {
306430
306430
  try {
306431
- return orig.call(fs27, target, mode);
306431
+ return orig.call(fs28, target, mode);
306432
306432
  } catch (er19) {
306433
306433
  if (!chownErOk(er19)) throw er19;
306434
306434
  }
@@ -306437,7 +306437,7 @@ var require_polyfills2 = __commonJS({
306437
306437
  function chownFix(orig) {
306438
306438
  if (!orig) return orig;
306439
306439
  return function(target, uid, gid, cb2) {
306440
- return orig.call(fs27, target, uid, gid, function(er19) {
306440
+ return orig.call(fs28, target, uid, gid, function(er19) {
306441
306441
  if (chownErOk(er19)) er19 = null;
306442
306442
  if (cb2) cb2.apply(this, arguments);
306443
306443
  });
@@ -306447,7 +306447,7 @@ var require_polyfills2 = __commonJS({
306447
306447
  if (!orig) return orig;
306448
306448
  return function(target, uid, gid) {
306449
306449
  try {
306450
- return orig.call(fs27, target, uid, gid);
306450
+ return orig.call(fs28, target, uid, gid);
306451
306451
  } catch (er19) {
306452
306452
  if (!chownErOk(er19)) throw er19;
306453
306453
  }
@@ -306467,13 +306467,13 @@ var require_polyfills2 = __commonJS({
306467
306467
  }
306468
306468
  if (cb2) cb2.apply(this, arguments);
306469
306469
  }
306470
- return options2 ? orig.call(fs27, target, options2, callback) : orig.call(fs27, target, callback);
306470
+ return options2 ? orig.call(fs28, target, options2, callback) : orig.call(fs28, target, callback);
306471
306471
  };
306472
306472
  }
306473
306473
  function statFixSync(orig) {
306474
306474
  if (!orig) return orig;
306475
306475
  return function(target, options2) {
306476
- var stats = options2 ? orig.call(fs27, target, options2) : orig.call(fs27, target);
306476
+ var stats = options2 ? orig.call(fs28, target, options2) : orig.call(fs28, target);
306477
306477
  if (stats) {
306478
306478
  if (stats.uid < 0) stats.uid += 4294967296;
306479
306479
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -306503,7 +306503,7 @@ var require_legacy_streams2 = __commonJS({
306503
306503
  "use strict";
306504
306504
  var Stream5 = require("stream").Stream;
306505
306505
  module4.exports = legacy;
306506
- function legacy(fs27) {
306506
+ function legacy(fs28) {
306507
306507
  return {
306508
306508
  ReadStream,
306509
306509
  WriteStream
@@ -306546,7 +306546,7 @@ var require_legacy_streams2 = __commonJS({
306546
306546
  });
306547
306547
  return;
306548
306548
  }
306549
- fs27.open(this.path, this.flags, this.mode, function(err, fd) {
306549
+ fs28.open(this.path, this.flags, this.mode, function(err, fd) {
306550
306550
  if (err) {
306551
306551
  self2.emit("error", err);
306552
306552
  self2.readable = false;
@@ -306585,7 +306585,7 @@ var require_legacy_streams2 = __commonJS({
306585
306585
  this.busy = false;
306586
306586
  this._queue = [];
306587
306587
  if (this.fd === null) {
306588
- this._open = fs27.open;
306588
+ this._open = fs28.open;
306589
306589
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
306590
306590
  this.flush();
306591
306591
  }
@@ -306621,7 +306621,7 @@ var require_clone4 = __commonJS({
306621
306621
  var require_graceful_fs2 = __commonJS({
306622
306622
  "../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2, module4) {
306623
306623
  "use strict";
306624
- var fs27 = require("fs");
306624
+ var fs28 = require("fs");
306625
306625
  var polyfills = require_polyfills2();
306626
306626
  var legacy = require_legacy_streams2();
306627
306627
  var clone5 = require_clone4();
@@ -306653,12 +306653,12 @@ var require_graceful_fs2 = __commonJS({
306653
306653
  m11 = "GFS4: " + m11.split(/\n/).join("\nGFS4: ");
306654
306654
  console.error(m11);
306655
306655
  };
306656
- if (!fs27[gracefulQueue]) {
306656
+ if (!fs28[gracefulQueue]) {
306657
306657
  queue = global[gracefulQueue] || [];
306658
- publishQueue(fs27, queue);
306659
- fs27.close = (function(fs$close) {
306658
+ publishQueue(fs28, queue);
306659
+ fs28.close = (function(fs$close) {
306660
306660
  function close3(fd, cb2) {
306661
- return fs$close.call(fs27, fd, function(err) {
306661
+ return fs$close.call(fs28, fd, function(err) {
306662
306662
  if (!err) {
306663
306663
  resetQueue();
306664
306664
  }
@@ -306670,40 +306670,40 @@ var require_graceful_fs2 = __commonJS({
306670
306670
  value: fs$close
306671
306671
  });
306672
306672
  return close3;
306673
- })(fs27.close);
306674
- fs27.closeSync = (function(fs$closeSync) {
306673
+ })(fs28.close);
306674
+ fs28.closeSync = (function(fs$closeSync) {
306675
306675
  function closeSync(fd) {
306676
- fs$closeSync.apply(fs27, arguments);
306676
+ fs$closeSync.apply(fs28, arguments);
306677
306677
  resetQueue();
306678
306678
  }
306679
306679
  Object.defineProperty(closeSync, previousSymbol, {
306680
306680
  value: fs$closeSync
306681
306681
  });
306682
306682
  return closeSync;
306683
- })(fs27.closeSync);
306683
+ })(fs28.closeSync);
306684
306684
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
306685
306685
  process.on("exit", function() {
306686
- debug9(fs27[gracefulQueue]);
306687
- require("assert").equal(fs27[gracefulQueue].length, 0);
306686
+ debug9(fs28[gracefulQueue]);
306687
+ require("assert").equal(fs28[gracefulQueue].length, 0);
306688
306688
  });
306689
306689
  }
306690
306690
  }
306691
306691
  var queue;
306692
306692
  if (!global[gracefulQueue]) {
306693
- publishQueue(global, fs27[gracefulQueue]);
306694
- }
306695
- module4.exports = patch5(clone5(fs27));
306696
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs27.__patched) {
306697
- module4.exports = patch5(fs27);
306698
- fs27.__patched = true;
306699
- }
306700
- function patch5(fs28) {
306701
- polyfills(fs28);
306702
- fs28.gracefulify = patch5;
306703
- fs28.createReadStream = createReadStream5;
306704
- fs28.createWriteStream = createWriteStream7;
306705
- var fs$readFile = fs28.readFile;
306706
- fs28.readFile = readFile102;
306693
+ publishQueue(global, fs28[gracefulQueue]);
306694
+ }
306695
+ module4.exports = patch5(clone5(fs28));
306696
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs28.__patched) {
306697
+ module4.exports = patch5(fs28);
306698
+ fs28.__patched = true;
306699
+ }
306700
+ function patch5(fs29) {
306701
+ polyfills(fs29);
306702
+ fs29.gracefulify = patch5;
306703
+ fs29.createReadStream = createReadStream5;
306704
+ fs29.createWriteStream = createWriteStream7;
306705
+ var fs$readFile = fs29.readFile;
306706
+ fs29.readFile = readFile102;
306707
306707
  function readFile102(path97, options2, cb2) {
306708
306708
  if (typeof options2 === "function")
306709
306709
  cb2 = options2, options2 = null;
@@ -306719,8 +306719,8 @@ var require_graceful_fs2 = __commonJS({
306719
306719
  });
306720
306720
  }
306721
306721
  }
306722
- var fs$writeFile = fs28.writeFile;
306723
- fs28.writeFile = writeFile89;
306722
+ var fs$writeFile = fs29.writeFile;
306723
+ fs29.writeFile = writeFile89;
306724
306724
  function writeFile89(path97, data2, options2, cb2) {
306725
306725
  if (typeof options2 === "function")
306726
306726
  cb2 = options2, options2 = null;
@@ -306736,9 +306736,9 @@ var require_graceful_fs2 = __commonJS({
306736
306736
  });
306737
306737
  }
306738
306738
  }
306739
- var fs$appendFile = fs28.appendFile;
306739
+ var fs$appendFile = fs29.appendFile;
306740
306740
  if (fs$appendFile)
306741
- fs28.appendFile = appendFile2;
306741
+ fs29.appendFile = appendFile2;
306742
306742
  function appendFile2(path97, data2, options2, cb2) {
306743
306743
  if (typeof options2 === "function")
306744
306744
  cb2 = options2, options2 = null;
@@ -306754,9 +306754,9 @@ var require_graceful_fs2 = __commonJS({
306754
306754
  });
306755
306755
  }
306756
306756
  }
306757
- var fs$copyFile = fs28.copyFile;
306757
+ var fs$copyFile = fs29.copyFile;
306758
306758
  if (fs$copyFile)
306759
- fs28.copyFile = copyFile4;
306759
+ fs29.copyFile = copyFile4;
306760
306760
  function copyFile4(src, dest, flags2, cb2) {
306761
306761
  if (typeof flags2 === "function") {
306762
306762
  cb2 = flags2;
@@ -306774,8 +306774,8 @@ var require_graceful_fs2 = __commonJS({
306774
306774
  });
306775
306775
  }
306776
306776
  }
306777
- var fs$readdir = fs28.readdir;
306778
- fs28.readdir = readdir20;
306777
+ var fs$readdir = fs29.readdir;
306778
+ fs29.readdir = readdir20;
306779
306779
  var noReaddirOptionVersions = /^v[0-5]\./;
306780
306780
  function readdir20(path97, options2, cb2) {
306781
306781
  if (typeof options2 === "function")
@@ -306816,21 +306816,21 @@ var require_graceful_fs2 = __commonJS({
306816
306816
  }
306817
306817
  }
306818
306818
  if (process.version.substr(0, 4) === "v0.8") {
306819
- var legStreams = legacy(fs28);
306819
+ var legStreams = legacy(fs29);
306820
306820
  ReadStream = legStreams.ReadStream;
306821
306821
  WriteStream = legStreams.WriteStream;
306822
306822
  }
306823
- var fs$ReadStream = fs28.ReadStream;
306823
+ var fs$ReadStream = fs29.ReadStream;
306824
306824
  if (fs$ReadStream) {
306825
306825
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
306826
306826
  ReadStream.prototype.open = ReadStream$open;
306827
306827
  }
306828
- var fs$WriteStream = fs28.WriteStream;
306828
+ var fs$WriteStream = fs29.WriteStream;
306829
306829
  if (fs$WriteStream) {
306830
306830
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
306831
306831
  WriteStream.prototype.open = WriteStream$open;
306832
306832
  }
306833
- Object.defineProperty(fs28, "ReadStream", {
306833
+ Object.defineProperty(fs29, "ReadStream", {
306834
306834
  get: function() {
306835
306835
  return ReadStream;
306836
306836
  },
@@ -306840,7 +306840,7 @@ var require_graceful_fs2 = __commonJS({
306840
306840
  enumerable: true,
306841
306841
  configurable: true
306842
306842
  });
306843
- Object.defineProperty(fs28, "WriteStream", {
306843
+ Object.defineProperty(fs29, "WriteStream", {
306844
306844
  get: function() {
306845
306845
  return WriteStream;
306846
306846
  },
@@ -306851,7 +306851,7 @@ var require_graceful_fs2 = __commonJS({
306851
306851
  configurable: true
306852
306852
  });
306853
306853
  var FileReadStream = ReadStream;
306854
- Object.defineProperty(fs28, "FileReadStream", {
306854
+ Object.defineProperty(fs29, "FileReadStream", {
306855
306855
  get: function() {
306856
306856
  return FileReadStream;
306857
306857
  },
@@ -306862,7 +306862,7 @@ var require_graceful_fs2 = __commonJS({
306862
306862
  configurable: true
306863
306863
  });
306864
306864
  var FileWriteStream = WriteStream;
306865
- Object.defineProperty(fs28, "FileWriteStream", {
306865
+ Object.defineProperty(fs29, "FileWriteStream", {
306866
306866
  get: function() {
306867
306867
  return FileWriteStream;
306868
306868
  },
@@ -306911,13 +306911,13 @@ var require_graceful_fs2 = __commonJS({
306911
306911
  });
306912
306912
  }
306913
306913
  function createReadStream5(path97, options2) {
306914
- return new fs28.ReadStream(path97, options2);
306914
+ return new fs29.ReadStream(path97, options2);
306915
306915
  }
306916
306916
  function createWriteStream7(path97, options2) {
306917
- return new fs28.WriteStream(path97, options2);
306917
+ return new fs29.WriteStream(path97, options2);
306918
306918
  }
306919
- var fs$open = fs28.open;
306920
- fs28.open = open7;
306919
+ var fs$open = fs29.open;
306920
+ fs29.open = open7;
306921
306921
  function open7(path97, flags2, mode, cb2) {
306922
306922
  if (typeof mode === "function")
306923
306923
  cb2 = mode, mode = null;
@@ -306933,20 +306933,20 @@ var require_graceful_fs2 = __commonJS({
306933
306933
  });
306934
306934
  }
306935
306935
  }
306936
- return fs28;
306936
+ return fs29;
306937
306937
  }
306938
306938
  function enqueue(elem) {
306939
306939
  debug9("ENQUEUE", elem[0].name, elem[1]);
306940
- fs27[gracefulQueue].push(elem);
306940
+ fs28[gracefulQueue].push(elem);
306941
306941
  retry4();
306942
306942
  }
306943
306943
  var retryTimer;
306944
306944
  function resetQueue() {
306945
306945
  var now = Date.now();
306946
- for (var i11 = 0; i11 < fs27[gracefulQueue].length; ++i11) {
306947
- if (fs27[gracefulQueue][i11].length > 2) {
306948
- fs27[gracefulQueue][i11][3] = now;
306949
- fs27[gracefulQueue][i11][4] = now;
306946
+ for (var i11 = 0; i11 < fs28[gracefulQueue].length; ++i11) {
306947
+ if (fs28[gracefulQueue][i11].length > 2) {
306948
+ fs28[gracefulQueue][i11][3] = now;
306949
+ fs28[gracefulQueue][i11][4] = now;
306950
306950
  }
306951
306951
  }
306952
306952
  retry4();
@@ -306954,9 +306954,9 @@ var require_graceful_fs2 = __commonJS({
306954
306954
  function retry4() {
306955
306955
  clearTimeout(retryTimer);
306956
306956
  retryTimer = void 0;
306957
- if (fs27[gracefulQueue].length === 0)
306957
+ if (fs28[gracefulQueue].length === 0)
306958
306958
  return;
306959
- var elem = fs27[gracefulQueue].shift();
306959
+ var elem = fs28[gracefulQueue].shift();
306960
306960
  var fn5 = elem[0];
306961
306961
  var args = elem[1];
306962
306962
  var err = elem[2];
@@ -306978,7 +306978,7 @@ var require_graceful_fs2 = __commonJS({
306978
306978
  debug9("RETRY", fn5.name, args);
306979
306979
  fn5.apply(null, args.concat([startTime]));
306980
306980
  } else {
306981
- fs27[gracefulQueue].push(elem);
306981
+ fs28[gracefulQueue].push(elem);
306982
306982
  }
306983
306983
  }
306984
306984
  if (retryTimer === void 0) {
@@ -314141,7 +314141,7 @@ var require_pend = __commonJS({
314141
314141
  var require_fd_slicer = __commonJS({
314142
314142
  "../../../node_modules/.pnpm/yauzl@3.2.1/node_modules/yauzl/fd-slicer.js"(exports2) {
314143
314143
  "use strict";
314144
- var fs27 = require("fs");
314144
+ var fs28 = require("fs");
314145
314145
  var util5 = require("util");
314146
314146
  var stream5 = require("stream");
314147
314147
  var Readable7 = stream5.Readable;
@@ -314166,7 +314166,7 @@ var require_fd_slicer = __commonJS({
314166
314166
  FdSlicer.prototype.read = function(buffer, offset2, length, position4, callback) {
314167
314167
  var self2 = this;
314168
314168
  self2.pend.go(function(cb2) {
314169
- fs27.read(self2.fd, buffer, offset2, length, position4, function(err, bytesRead, buffer2) {
314169
+ fs28.read(self2.fd, buffer, offset2, length, position4, function(err, bytesRead, buffer2) {
314170
314170
  cb2();
314171
314171
  callback(err, bytesRead, buffer2);
314172
314172
  });
@@ -314175,7 +314175,7 @@ var require_fd_slicer = __commonJS({
314175
314175
  FdSlicer.prototype.write = function(buffer, offset2, length, position4, callback) {
314176
314176
  var self2 = this;
314177
314177
  self2.pend.go(function(cb2) {
314178
- fs27.write(self2.fd, buffer, offset2, length, position4, function(err, written, buffer2) {
314178
+ fs28.write(self2.fd, buffer, offset2, length, position4, function(err, written, buffer2) {
314179
314179
  cb2();
314180
314180
  callback(err, written, buffer2);
314181
314181
  });
@@ -314196,7 +314196,7 @@ var require_fd_slicer = __commonJS({
314196
314196
  if (self2.refCount > 0) return;
314197
314197
  if (self2.refCount < 0) throw new Error("invalid unref");
314198
314198
  if (self2.autoClose) {
314199
- fs27.close(self2.fd, onCloseDone);
314199
+ fs28.close(self2.fd, onCloseDone);
314200
314200
  }
314201
314201
  function onCloseDone(err) {
314202
314202
  if (err) {
@@ -314233,7 +314233,7 @@ var require_fd_slicer = __commonJS({
314233
314233
  self2.context.pend.go(function(cb2) {
314234
314234
  if (self2.destroyed) return cb2();
314235
314235
  var buffer = Buffer.allocUnsafe(toRead);
314236
- fs27.read(self2.context.fd, buffer, 0, toRead, self2.pos, function(err, bytesRead) {
314236
+ fs28.read(self2.context.fd, buffer, 0, toRead, self2.pos, function(err, bytesRead) {
314237
314237
  if (err) {
314238
314238
  self2.destroy(err);
314239
314239
  } else if (bytesRead === 0) {
@@ -314280,7 +314280,7 @@ var require_fd_slicer = __commonJS({
314280
314280
  }
314281
314281
  self2.context.pend.go(function(cb2) {
314282
314282
  if (self2.destroyed) return cb2();
314283
- fs27.write(self2.context.fd, buffer, 0, buffer.length, self2.pos, function(err2, bytes) {
314283
+ fs28.write(self2.context.fd, buffer, 0, buffer.length, self2.pos, function(err2, bytes) {
314284
314284
  if (err2) {
314285
314285
  self2.destroy();
314286
314286
  cb2();
@@ -314720,7 +314720,7 @@ var require_buffer_crc32 = __commonJS({
314720
314720
  var require_yauzl = __commonJS({
314721
314721
  "../../../node_modules/.pnpm/yauzl@3.2.1/node_modules/yauzl/index.js"(exports2) {
314722
314722
  "use strict";
314723
- var fs27 = require("fs");
314723
+ var fs28 = require("fs");
314724
314724
  var zlib4 = require("zlib");
314725
314725
  var fd_slicer = require_fd_slicer();
314726
314726
  var crc32 = require_buffer_crc32();
@@ -314753,10 +314753,10 @@ var require_yauzl = __commonJS({
314753
314753
  if (options2.validateEntrySizes == null) options2.validateEntrySizes = true;
314754
314754
  if (options2.strictFileNames == null) options2.strictFileNames = false;
314755
314755
  if (callback == null) callback = defaultCallback;
314756
- fs27.open(path97, "r", function(err, fd) {
314756
+ fs28.open(path97, "r", function(err, fd) {
314757
314757
  if (err) return callback(err);
314758
314758
  fromFd(fd, options2, function(err2, zipfile) {
314759
- if (err2) fs27.close(fd, defaultCallback);
314759
+ if (err2) fs28.close(fd, defaultCallback);
314760
314760
  callback(err2, zipfile);
314761
314761
  });
314762
314762
  });
@@ -314773,7 +314773,7 @@ var require_yauzl = __commonJS({
314773
314773
  if (options2.validateEntrySizes == null) options2.validateEntrySizes = true;
314774
314774
  if (options2.strictFileNames == null) options2.strictFileNames = false;
314775
314775
  if (callback == null) callback = defaultCallback;
314776
- fs27.fstat(fd, function(err, stats) {
314776
+ fs28.fstat(fd, function(err, stats) {
314777
314777
  if (err) return callback(err);
314778
314778
  var reader = fd_slicer.createFromFd(fd, { autoClose: true });
314779
314779
  fromRandomAccessReader(reader, stats.size, options2, callback);
@@ -315598,12 +315598,12 @@ var require_pify2 = __commonJS({
315598
315598
  var require_make_dir = __commonJS({
315599
315599
  "../../../node_modules/.pnpm/make-dir@1.3.0/node_modules/make-dir/index.js"(exports2, module4) {
315600
315600
  "use strict";
315601
- var fs27 = require("fs");
315601
+ var fs28 = require("fs");
315602
315602
  var path97 = require("path");
315603
315603
  var pify = require_pify2();
315604
315604
  var defaults3 = {
315605
315605
  mode: 511 & ~process.umask(),
315606
- fs: fs27
315606
+ fs: fs28
315607
315607
  };
315608
315608
  var checkPath = (pth) => {
315609
315609
  if (process.platform === "win32") {
@@ -315751,7 +315751,7 @@ var require_decompress = __commonJS({
315751
315751
  "../../../node_modules/.pnpm/decompress@4.2.1/node_modules/decompress/index.js"(exports2, module4) {
315752
315752
  "use strict";
315753
315753
  var path97 = require("path");
315754
- var fs27 = require_graceful_fs2();
315754
+ var fs28 = require_graceful_fs2();
315755
315755
  var decompressTar = require_decompress_tar();
315756
315756
  var decompressTarbz2 = require_decompress_tarbz2();
315757
315757
  var decompressTargz = require_decompress_targz();
@@ -315759,7 +315759,7 @@ var require_decompress = __commonJS({
315759
315759
  var makeDir = require_make_dir();
315760
315760
  var pify = require_pify();
315761
315761
  var stripDirs = require_strip_dirs();
315762
- var fsP = pify(fs27);
315762
+ var fsP = pify(fs28);
315763
315763
  var runPlugins = (input3, opts) => {
315764
315764
  if (opts.plugins.length === 0) {
315765
315765
  return Promise.resolve([]);
@@ -323086,19 +323086,19 @@ var require_tiff = __commonJS({
323086
323086
  "use strict";
323087
323087
  Object.defineProperty(exports2, "__esModule", { value: true });
323088
323088
  exports2.TIFF = void 0;
323089
- var fs27 = require("fs");
323089
+ var fs28 = require("fs");
323090
323090
  var utils_1 = require_utils30();
323091
323091
  function readIFD(input3, filepath, isBigEndian) {
323092
323092
  const ifdOffset = (0, utils_1.readUInt)(input3, 32, 4, isBigEndian);
323093
323093
  let bufferSize = 1024;
323094
- const fileSize = fs27.statSync(filepath).size;
323094
+ const fileSize = fs28.statSync(filepath).size;
323095
323095
  if (ifdOffset + bufferSize > fileSize) {
323096
323096
  bufferSize = fileSize - ifdOffset - 10;
323097
323097
  }
323098
323098
  const endBuffer = new Uint8Array(bufferSize);
323099
- const descriptor = fs27.openSync(filepath, "r");
323100
- fs27.readSync(descriptor, endBuffer, 0, bufferSize, ifdOffset);
323101
- fs27.closeSync(descriptor);
323099
+ const descriptor = fs28.openSync(filepath, "r");
323100
+ fs28.readSync(descriptor, endBuffer, 0, bufferSize, ifdOffset);
323101
+ fs28.closeSync(descriptor);
323102
323102
  return endBuffer.slice(2);
323103
323103
  }
323104
323104
  function readValue(input3, isBigEndian) {
@@ -323315,7 +323315,7 @@ var require_dist10 = __commonJS({
323315
323315
  "use strict";
323316
323316
  Object.defineProperty(exports2, "__esModule", { value: true });
323317
323317
  exports2.types = exports2.setConcurrency = exports2.disableTypes = exports2.disableFS = exports2.imageSize = void 0;
323318
- var fs27 = require("fs");
323318
+ var fs28 = require("fs");
323319
323319
  var path97 = require("path");
323320
323320
  var queue_1 = require_queue2();
323321
323321
  var index_1 = require_types31();
@@ -323343,7 +323343,7 @@ var require_dist10 = __commonJS({
323343
323343
  throw new TypeError("unsupported file type: " + type8 + " (file: " + filepath + ")");
323344
323344
  }
323345
323345
  async function readFileAsync2(filepath) {
323346
- const handle3 = await fs27.promises.open(filepath, "r");
323346
+ const handle3 = await fs28.promises.open(filepath, "r");
323347
323347
  try {
323348
323348
  const { size: size2 } = await handle3.stat();
323349
323349
  if (size2 <= 0) {
@@ -323358,18 +323358,18 @@ var require_dist10 = __commonJS({
323358
323358
  }
323359
323359
  }
323360
323360
  function readFileSync19(filepath) {
323361
- const descriptor = fs27.openSync(filepath, "r");
323361
+ const descriptor = fs28.openSync(filepath, "r");
323362
323362
  try {
323363
- const { size: size2 } = fs27.fstatSync(descriptor);
323363
+ const { size: size2 } = fs28.fstatSync(descriptor);
323364
323364
  if (size2 <= 0) {
323365
323365
  throw new Error("Empty file");
323366
323366
  }
323367
323367
  const inputSize = Math.min(size2, MaxInputSize);
323368
323368
  const input3 = new Uint8Array(inputSize);
323369
- fs27.readSync(descriptor, input3, 0, inputSize, 0);
323369
+ fs28.readSync(descriptor, input3, 0, inputSize, 0);
323370
323370
  return input3;
323371
323371
  } finally {
323372
- fs27.closeSync(descriptor);
323372
+ fs28.closeSync(descriptor);
323373
323373
  }
323374
323374
  }
323375
323375
  module4.exports = exports2 = imageSize2;
@@ -366506,7 +366506,7 @@ var require_fs = __commonJS({
366506
366506
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/fs/index.js"(exports2) {
366507
366507
  "use strict";
366508
366508
  var u8 = require_universalify().fromCallback;
366509
- var fs27 = require_graceful_fs2();
366509
+ var fs28 = require_graceful_fs2();
366510
366510
  var api = [
366511
366511
  "access",
366512
366512
  "appendFile",
@@ -366547,26 +366547,26 @@ var require_fs = __commonJS({
366547
366547
  "utimes",
366548
366548
  "writeFile"
366549
366549
  ].filter((key2) => {
366550
- return typeof fs27[key2] === "function";
366550
+ return typeof fs28[key2] === "function";
366551
366551
  });
366552
- Object.assign(exports2, fs27);
366552
+ Object.assign(exports2, fs28);
366553
366553
  api.forEach((method8) => {
366554
- exports2[method8] = u8(fs27[method8]);
366554
+ exports2[method8] = u8(fs28[method8]);
366555
366555
  });
366556
366556
  exports2.exists = function(filename, callback) {
366557
366557
  if (typeof callback === "function") {
366558
- return fs27.exists(filename, callback);
366558
+ return fs28.exists(filename, callback);
366559
366559
  }
366560
366560
  return new Promise((resolve13) => {
366561
- return fs27.exists(filename, resolve13);
366561
+ return fs28.exists(filename, resolve13);
366562
366562
  });
366563
366563
  };
366564
366564
  exports2.read = function(fd, buffer, offset2, length, position4, callback) {
366565
366565
  if (typeof callback === "function") {
366566
- return fs27.read(fd, buffer, offset2, length, position4, callback);
366566
+ return fs28.read(fd, buffer, offset2, length, position4, callback);
366567
366567
  }
366568
366568
  return new Promise((resolve13, reject) => {
366569
- fs27.read(fd, buffer, offset2, length, position4, (err, bytesRead, buffer2) => {
366569
+ fs28.read(fd, buffer, offset2, length, position4, (err, bytesRead, buffer2) => {
366570
366570
  if (err) return reject(err);
366571
366571
  resolve13({ bytesRead, buffer: buffer2 });
366572
366572
  });
@@ -366574,10 +366574,10 @@ var require_fs = __commonJS({
366574
366574
  };
366575
366575
  exports2.write = function(fd, buffer, ...args) {
366576
366576
  if (typeof args[args.length - 1] === "function") {
366577
- return fs27.write(fd, buffer, ...args);
366577
+ return fs28.write(fd, buffer, ...args);
366578
366578
  }
366579
366579
  return new Promise((resolve13, reject) => {
366580
- fs27.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
366580
+ fs28.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
366581
366581
  if (err) return reject(err);
366582
366582
  resolve13({ bytesWritten, buffer: buffer2 });
366583
366583
  });
@@ -366585,10 +366585,10 @@ var require_fs = __commonJS({
366585
366585
  };
366586
366586
  exports2.readv = function(fd, buffers, ...args) {
366587
366587
  if (typeof args[args.length - 1] === "function") {
366588
- return fs27.readv(fd, buffers, ...args);
366588
+ return fs28.readv(fd, buffers, ...args);
366589
366589
  }
366590
366590
  return new Promise((resolve13, reject) => {
366591
- fs27.readv(fd, buffers, ...args, (err, bytesRead, buffers2) => {
366591
+ fs28.readv(fd, buffers, ...args, (err, bytesRead, buffers2) => {
366592
366592
  if (err) return reject(err);
366593
366593
  resolve13({ bytesRead, buffers: buffers2 });
366594
366594
  });
@@ -366596,17 +366596,17 @@ var require_fs = __commonJS({
366596
366596
  };
366597
366597
  exports2.writev = function(fd, buffers, ...args) {
366598
366598
  if (typeof args[args.length - 1] === "function") {
366599
- return fs27.writev(fd, buffers, ...args);
366599
+ return fs28.writev(fd, buffers, ...args);
366600
366600
  }
366601
366601
  return new Promise((resolve13, reject) => {
366602
- fs27.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
366602
+ fs28.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
366603
366603
  if (err) return reject(err);
366604
366604
  resolve13({ bytesWritten, buffers: buffers2 });
366605
366605
  });
366606
366606
  });
366607
366607
  };
366608
- if (typeof fs27.realpath.native === "function") {
366609
- exports2.realpath.native = u8(fs27.realpath.native);
366608
+ if (typeof fs28.realpath.native === "function") {
366609
+ exports2.realpath.native = u8(fs28.realpath.native);
366610
366610
  } else {
366611
366611
  process.emitWarning(
366612
366612
  "fs.realpath.native is not a function. Is fs being monkey-patched?",
@@ -366639,7 +366639,7 @@ var require_utils31 = __commonJS({
366639
366639
  var require_make_dir2 = __commonJS({
366640
366640
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports2, module4) {
366641
366641
  "use strict";
366642
- var fs27 = require_fs();
366642
+ var fs28 = require_fs();
366643
366643
  var { checkPath } = require_utils31();
366644
366644
  var getMode = (options2) => {
366645
366645
  const defaults3 = { mode: 511 };
@@ -366648,14 +366648,14 @@ var require_make_dir2 = __commonJS({
366648
366648
  };
366649
366649
  module4.exports.makeDir = async (dir, options2) => {
366650
366650
  checkPath(dir);
366651
- return fs27.mkdir(dir, {
366651
+ return fs28.mkdir(dir, {
366652
366652
  mode: getMode(options2),
366653
366653
  recursive: true
366654
366654
  });
366655
366655
  };
366656
366656
  module4.exports.makeDirSync = (dir, options2) => {
366657
366657
  checkPath(dir);
366658
- return fs27.mkdirSync(dir, {
366658
+ return fs28.mkdirSync(dir, {
366659
366659
  mode: getMode(options2),
366660
366660
  recursive: true
366661
366661
  });
@@ -366687,13 +366687,13 @@ var require_path_exists = __commonJS({
366687
366687
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/path-exists/index.js"(exports2, module4) {
366688
366688
  "use strict";
366689
366689
  var u8 = require_universalify().fromPromise;
366690
- var fs27 = require_fs();
366690
+ var fs28 = require_fs();
366691
366691
  function pathExists2(path97) {
366692
- return fs27.access(path97).then(() => true).catch(() => false);
366692
+ return fs28.access(path97).then(() => true).catch(() => false);
366693
366693
  }
366694
366694
  module4.exports = {
366695
366695
  pathExists: u8(pathExists2),
366696
- pathExistsSync: fs27.existsSync
366696
+ pathExistsSync: fs28.existsSync
366697
366697
  };
366698
366698
  }
366699
366699
  });
@@ -366702,16 +366702,16 @@ var require_path_exists = __commonJS({
366702
366702
  var require_utimes = __commonJS({
366703
366703
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/utimes.js"(exports2, module4) {
366704
366704
  "use strict";
366705
- var fs27 = require_fs();
366705
+ var fs28 = require_fs();
366706
366706
  var u8 = require_universalify().fromPromise;
366707
366707
  async function utimesMillis(path97, atime, mtime) {
366708
- const fd = await fs27.open(path97, "r+");
366708
+ const fd = await fs28.open(path97, "r+");
366709
366709
  let closeErr = null;
366710
366710
  try {
366711
- await fs27.futimes(fd, atime, mtime);
366711
+ await fs28.futimes(fd, atime, mtime);
366712
366712
  } finally {
366713
366713
  try {
366714
- await fs27.close(fd);
366714
+ await fs28.close(fd);
366715
366715
  } catch (e6) {
366716
366716
  closeErr = e6;
366717
366717
  }
@@ -366721,9 +366721,9 @@ var require_utimes = __commonJS({
366721
366721
  }
366722
366722
  }
366723
366723
  function utimesMillisSync(path97, atime, mtime) {
366724
- const fd = fs27.openSync(path97, "r+");
366725
- fs27.futimesSync(fd, atime, mtime);
366726
- return fs27.closeSync(fd);
366724
+ const fd = fs28.openSync(path97, "r+");
366725
+ fs28.futimesSync(fd, atime, mtime);
366726
+ return fs28.closeSync(fd);
366727
366727
  }
366728
366728
  module4.exports = {
366729
366729
  utimesMillis: u8(utimesMillis),
@@ -366736,11 +366736,11 @@ var require_utimes = __commonJS({
366736
366736
  var require_stat = __commonJS({
366737
366737
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/stat.js"(exports2, module4) {
366738
366738
  "use strict";
366739
- var fs27 = require_fs();
366739
+ var fs28 = require_fs();
366740
366740
  var path97 = require("path");
366741
366741
  var u8 = require_universalify().fromPromise;
366742
366742
  function getStats(src, dest, opts) {
366743
- const statFunc = opts.dereference ? (file4) => fs27.stat(file4, { bigint: true }) : (file4) => fs27.lstat(file4, { bigint: true });
366743
+ const statFunc = opts.dereference ? (file4) => fs28.stat(file4, { bigint: true }) : (file4) => fs28.lstat(file4, { bigint: true });
366744
366744
  return Promise.all([
366745
366745
  statFunc(src),
366746
366746
  statFunc(dest).catch((err) => {
@@ -366751,7 +366751,7 @@ var require_stat = __commonJS({
366751
366751
  }
366752
366752
  function getStatsSync(src, dest, opts) {
366753
366753
  let destStat;
366754
- const statFunc = opts.dereference ? (file4) => fs27.statSync(file4, { bigint: true }) : (file4) => fs27.lstatSync(file4, { bigint: true });
366754
+ const statFunc = opts.dereference ? (file4) => fs28.statSync(file4, { bigint: true }) : (file4) => fs28.lstatSync(file4, { bigint: true });
366755
366755
  const srcStat = statFunc(src);
366756
366756
  try {
366757
366757
  destStat = statFunc(dest);
@@ -366813,7 +366813,7 @@ var require_stat = __commonJS({
366813
366813
  if (destParent === srcParent || destParent === path97.parse(destParent).root) return;
366814
366814
  let destStat;
366815
366815
  try {
366816
- destStat = await fs27.stat(destParent, { bigint: true });
366816
+ destStat = await fs28.stat(destParent, { bigint: true });
366817
366817
  } catch (err) {
366818
366818
  if (err.code === "ENOENT") return;
366819
366819
  throw err;
@@ -366829,7 +366829,7 @@ var require_stat = __commonJS({
366829
366829
  if (destParent === srcParent || destParent === path97.parse(destParent).root) return;
366830
366830
  let destStat;
366831
366831
  try {
366832
- destStat = fs27.statSync(destParent, { bigint: true });
366832
+ destStat = fs28.statSync(destParent, { bigint: true });
366833
366833
  } catch (err) {
366834
366834
  if (err.code === "ENOENT") return;
366835
366835
  throw err;
@@ -366896,7 +366896,7 @@ var require_async6 = __commonJS({
366896
366896
  var require_copy = __commonJS({
366897
366897
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy.js"(exports2, module4) {
366898
366898
  "use strict";
366899
- var fs27 = require_fs();
366899
+ var fs28 = require_fs();
366900
366900
  var path97 = require("path");
366901
366901
  var { mkdirs } = require_mkdirs();
366902
366902
  var { pathExists: pathExists2 } = require_path_exists();
@@ -366932,7 +366932,7 @@ var require_copy = __commonJS({
366932
366932
  return opts.filter(src, dest);
366933
366933
  }
366934
366934
  async function getStatsAndPerformCopy(destStat, src, dest, opts) {
366935
- const statFn = opts.dereference ? fs27.stat : fs27.lstat;
366935
+ const statFn = opts.dereference ? fs28.stat : fs28.lstat;
366936
366936
  const srcStat = await statFn(src);
366937
366937
  if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts);
366938
366938
  if (srcStat.isFile() || srcStat.isCharacterDevice() || srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts);
@@ -366944,7 +366944,7 @@ var require_copy = __commonJS({
366944
366944
  async function onFile(srcStat, destStat, src, dest, opts) {
366945
366945
  if (!destStat) return copyFile4(srcStat, src, dest, opts);
366946
366946
  if (opts.overwrite) {
366947
- await fs27.unlink(dest);
366947
+ await fs28.unlink(dest);
366948
366948
  return copyFile4(srcStat, src, dest, opts);
366949
366949
  }
366950
366950
  if (opts.errorOnExist) {
@@ -366952,27 +366952,27 @@ var require_copy = __commonJS({
366952
366952
  }
366953
366953
  }
366954
366954
  async function copyFile4(srcStat, src, dest, opts) {
366955
- await fs27.copyFile(src, dest);
366955
+ await fs28.copyFile(src, dest);
366956
366956
  if (opts.preserveTimestamps) {
366957
366957
  if (fileIsNotWritable(srcStat.mode)) {
366958
366958
  await makeFileWritable(dest, srcStat.mode);
366959
366959
  }
366960
- const updatedSrcStat = await fs27.stat(src);
366960
+ const updatedSrcStat = await fs28.stat(src);
366961
366961
  await utimesMillis(dest, updatedSrcStat.atime, updatedSrcStat.mtime);
366962
366962
  }
366963
- return fs27.chmod(dest, srcStat.mode);
366963
+ return fs28.chmod(dest, srcStat.mode);
366964
366964
  }
366965
366965
  function fileIsNotWritable(srcMode) {
366966
366966
  return (srcMode & 128) === 0;
366967
366967
  }
366968
366968
  function makeFileWritable(dest, srcMode) {
366969
- return fs27.chmod(dest, srcMode | 128);
366969
+ return fs28.chmod(dest, srcMode | 128);
366970
366970
  }
366971
366971
  async function onDir(srcStat, destStat, src, dest, opts) {
366972
366972
  if (!destStat) {
366973
- await fs27.mkdir(dest);
366973
+ await fs28.mkdir(dest);
366974
366974
  }
366975
- await asyncIteratorConcurrentProcess(await fs27.opendir(src), async (item) => {
366975
+ await asyncIteratorConcurrentProcess(await fs28.opendir(src), async (item) => {
366976
366976
  const srcItem = path97.join(src, item.name);
366977
366977
  const destItem = path97.join(dest, item.name);
366978
366978
  const include = await runFilter(srcItem, destItem, opts);
@@ -366982,22 +366982,22 @@ var require_copy = __commonJS({
366982
366982
  }
366983
366983
  });
366984
366984
  if (!destStat) {
366985
- await fs27.chmod(dest, srcStat.mode);
366985
+ await fs28.chmod(dest, srcStat.mode);
366986
366986
  }
366987
366987
  }
366988
366988
  async function onLink(destStat, src, dest, opts) {
366989
- let resolvedSrc = await fs27.readlink(src);
366989
+ let resolvedSrc = await fs28.readlink(src);
366990
366990
  if (opts.dereference) {
366991
366991
  resolvedSrc = path97.resolve(process.cwd(), resolvedSrc);
366992
366992
  }
366993
366993
  if (!destStat) {
366994
- return fs27.symlink(resolvedSrc, dest);
366994
+ return fs28.symlink(resolvedSrc, dest);
366995
366995
  }
366996
366996
  let resolvedDest = null;
366997
366997
  try {
366998
- resolvedDest = await fs27.readlink(dest);
366998
+ resolvedDest = await fs28.readlink(dest);
366999
366999
  } catch (e6) {
367000
- if (e6.code === "EINVAL" || e6.code === "UNKNOWN") return fs27.symlink(resolvedSrc, dest);
367000
+ if (e6.code === "EINVAL" || e6.code === "UNKNOWN") return fs28.symlink(resolvedSrc, dest);
367001
367001
  throw e6;
367002
367002
  }
367003
367003
  if (opts.dereference) {
@@ -367011,8 +367011,8 @@ var require_copy = __commonJS({
367011
367011
  throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);
367012
367012
  }
367013
367013
  }
367014
- await fs27.unlink(dest);
367015
- return fs27.symlink(resolvedSrc, dest);
367014
+ await fs28.unlink(dest);
367015
+ return fs28.symlink(resolvedSrc, dest);
367016
367016
  }
367017
367017
  module4.exports = copy;
367018
367018
  }
@@ -367022,7 +367022,7 @@ var require_copy = __commonJS({
367022
367022
  var require_copy_sync = __commonJS({
367023
367023
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy-sync.js"(exports2, module4) {
367024
367024
  "use strict";
367025
- var fs27 = require_graceful_fs2();
367025
+ var fs28 = require_graceful_fs2();
367026
367026
  var path97 = require("path");
367027
367027
  var mkdirsSync = require_mkdirs().mkdirsSync;
367028
367028
  var utimesMillisSync = require_utimes().utimesMillisSync;
@@ -367045,11 +367045,11 @@ var require_copy_sync = __commonJS({
367045
367045
  stat6.checkParentPathsSync(src, srcStat, dest, "copy");
367046
367046
  if (opts.filter && !opts.filter(src, dest)) return;
367047
367047
  const destParent = path97.dirname(dest);
367048
- if (!fs27.existsSync(destParent)) mkdirsSync(destParent);
367048
+ if (!fs28.existsSync(destParent)) mkdirsSync(destParent);
367049
367049
  return getStats(destStat, src, dest, opts);
367050
367050
  }
367051
367051
  function getStats(destStat, src, dest, opts) {
367052
- const statSync5 = opts.dereference ? fs27.statSync : fs27.lstatSync;
367052
+ const statSync5 = opts.dereference ? fs28.statSync : fs28.lstatSync;
367053
367053
  const srcStat = statSync5(src);
367054
367054
  if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts);
367055
367055
  else if (srcStat.isFile() || srcStat.isCharacterDevice() || srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts);
@@ -367064,14 +367064,14 @@ var require_copy_sync = __commonJS({
367064
367064
  }
367065
367065
  function mayCopyFile(srcStat, src, dest, opts) {
367066
367066
  if (opts.overwrite) {
367067
- fs27.unlinkSync(dest);
367067
+ fs28.unlinkSync(dest);
367068
367068
  return copyFile4(srcStat, src, dest, opts);
367069
367069
  } else if (opts.errorOnExist) {
367070
367070
  throw new Error(`'${dest}' already exists`);
367071
367071
  }
367072
367072
  }
367073
367073
  function copyFile4(srcStat, src, dest, opts) {
367074
- fs27.copyFileSync(src, dest);
367074
+ fs28.copyFileSync(src, dest);
367075
367075
  if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest);
367076
367076
  return setDestMode(dest, srcStat.mode);
367077
367077
  }
@@ -367086,10 +367086,10 @@ var require_copy_sync = __commonJS({
367086
367086
  return setDestMode(dest, srcMode | 128);
367087
367087
  }
367088
367088
  function setDestMode(dest, srcMode) {
367089
- return fs27.chmodSync(dest, srcMode);
367089
+ return fs28.chmodSync(dest, srcMode);
367090
367090
  }
367091
367091
  function setDestTimestamps(src, dest) {
367092
- const updatedSrcStat = fs27.statSync(src);
367092
+ const updatedSrcStat = fs28.statSync(src);
367093
367093
  return utimesMillisSync(dest, updatedSrcStat.atime, updatedSrcStat.mtime);
367094
367094
  }
367095
367095
  function onDir(srcStat, destStat, src, dest, opts) {
@@ -367097,12 +367097,12 @@ var require_copy_sync = __commonJS({
367097
367097
  return copyDir(src, dest, opts);
367098
367098
  }
367099
367099
  function mkDirAndCopy(srcMode, src, dest, opts) {
367100
- fs27.mkdirSync(dest);
367100
+ fs28.mkdirSync(dest);
367101
367101
  copyDir(src, dest, opts);
367102
367102
  return setDestMode(dest, srcMode);
367103
367103
  }
367104
367104
  function copyDir(src, dest, opts) {
367105
- const dir = fs27.opendirSync(src);
367105
+ const dir = fs28.opendirSync(src);
367106
367106
  try {
367107
367107
  let dirent;
367108
367108
  while ((dirent = dir.readSync()) !== null) {
@@ -367120,18 +367120,18 @@ var require_copy_sync = __commonJS({
367120
367120
  return getStats(destStat, srcItem, destItem, opts);
367121
367121
  }
367122
367122
  function onLink(destStat, src, dest, opts) {
367123
- let resolvedSrc = fs27.readlinkSync(src);
367123
+ let resolvedSrc = fs28.readlinkSync(src);
367124
367124
  if (opts.dereference) {
367125
367125
  resolvedSrc = path97.resolve(process.cwd(), resolvedSrc);
367126
367126
  }
367127
367127
  if (!destStat) {
367128
- return fs27.symlinkSync(resolvedSrc, dest);
367128
+ return fs28.symlinkSync(resolvedSrc, dest);
367129
367129
  } else {
367130
367130
  let resolvedDest;
367131
367131
  try {
367132
- resolvedDest = fs27.readlinkSync(dest);
367132
+ resolvedDest = fs28.readlinkSync(dest);
367133
367133
  } catch (err) {
367134
- if (err.code === "EINVAL" || err.code === "UNKNOWN") return fs27.symlinkSync(resolvedSrc, dest);
367134
+ if (err.code === "EINVAL" || err.code === "UNKNOWN") return fs28.symlinkSync(resolvedSrc, dest);
367135
367135
  throw err;
367136
367136
  }
367137
367137
  if (opts.dereference) {
@@ -367149,8 +367149,8 @@ var require_copy_sync = __commonJS({
367149
367149
  }
367150
367150
  }
367151
367151
  function copyLink(resolvedSrc, dest) {
367152
- fs27.unlinkSync(dest);
367153
- return fs27.symlinkSync(resolvedSrc, dest);
367152
+ fs28.unlinkSync(dest);
367153
+ return fs28.symlinkSync(resolvedSrc, dest);
367154
367154
  }
367155
367155
  module4.exports = copySync;
367156
367156
  }
@@ -367172,13 +367172,13 @@ var require_copy2 = __commonJS({
367172
367172
  var require_remove3 = __commonJS({
367173
367173
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/remove/index.js"(exports2, module4) {
367174
367174
  "use strict";
367175
- var fs27 = require_graceful_fs2();
367175
+ var fs28 = require_graceful_fs2();
367176
367176
  var u8 = require_universalify().fromCallback;
367177
367177
  function remove3(path97, callback) {
367178
- fs27.rm(path97, { recursive: true, force: true }, callback);
367178
+ fs28.rm(path97, { recursive: true, force: true }, callback);
367179
367179
  }
367180
367180
  function removeSync(path97) {
367181
- fs27.rmSync(path97, { recursive: true, force: true });
367181
+ fs28.rmSync(path97, { recursive: true, force: true });
367182
367182
  }
367183
367183
  module4.exports = {
367184
367184
  remove: u8(remove3),
@@ -367192,14 +367192,14 @@ var require_empty2 = __commonJS({
367192
367192
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/empty/index.js"(exports2, module4) {
367193
367193
  "use strict";
367194
367194
  var u8 = require_universalify().fromPromise;
367195
- var fs27 = require_fs();
367195
+ var fs28 = require_fs();
367196
367196
  var path97 = require("path");
367197
367197
  var mkdir42 = require_mkdirs();
367198
367198
  var remove3 = require_remove3();
367199
367199
  var emptyDir = u8(async function emptyDir2(dir) {
367200
367200
  let items;
367201
367201
  try {
367202
- items = await fs27.readdir(dir);
367202
+ items = await fs28.readdir(dir);
367203
367203
  } catch {
367204
367204
  return mkdir42.mkdirs(dir);
367205
367205
  }
@@ -367208,7 +367208,7 @@ var require_empty2 = __commonJS({
367208
367208
  function emptyDirSync(dir) {
367209
367209
  let items;
367210
367210
  try {
367211
- items = fs27.readdirSync(dir);
367211
+ items = fs28.readdirSync(dir);
367212
367212
  } catch {
367213
367213
  return mkdir42.mkdirsSync(dir);
367214
367214
  }
@@ -367232,51 +367232,51 @@ var require_file = __commonJS({
367232
367232
  "use strict";
367233
367233
  var u8 = require_universalify().fromPromise;
367234
367234
  var path97 = require("path");
367235
- var fs27 = require_fs();
367235
+ var fs28 = require_fs();
367236
367236
  var mkdir42 = require_mkdirs();
367237
367237
  async function createFile(file4) {
367238
367238
  let stats;
367239
367239
  try {
367240
- stats = await fs27.stat(file4);
367240
+ stats = await fs28.stat(file4);
367241
367241
  } catch {
367242
367242
  }
367243
367243
  if (stats && stats.isFile()) return;
367244
367244
  const dir = path97.dirname(file4);
367245
367245
  let dirStats = null;
367246
367246
  try {
367247
- dirStats = await fs27.stat(dir);
367247
+ dirStats = await fs28.stat(dir);
367248
367248
  } catch (err) {
367249
367249
  if (err.code === "ENOENT") {
367250
367250
  await mkdir42.mkdirs(dir);
367251
- await fs27.writeFile(file4, "");
367251
+ await fs28.writeFile(file4, "");
367252
367252
  return;
367253
367253
  } else {
367254
367254
  throw err;
367255
367255
  }
367256
367256
  }
367257
367257
  if (dirStats.isDirectory()) {
367258
- await fs27.writeFile(file4, "");
367258
+ await fs28.writeFile(file4, "");
367259
367259
  } else {
367260
- await fs27.readdir(dir);
367260
+ await fs28.readdir(dir);
367261
367261
  }
367262
367262
  }
367263
367263
  function createFileSync(file4) {
367264
367264
  let stats;
367265
367265
  try {
367266
- stats = fs27.statSync(file4);
367266
+ stats = fs28.statSync(file4);
367267
367267
  } catch {
367268
367268
  }
367269
367269
  if (stats && stats.isFile()) return;
367270
367270
  const dir = path97.dirname(file4);
367271
367271
  try {
367272
- if (!fs27.statSync(dir).isDirectory()) {
367273
- fs27.readdirSync(dir);
367272
+ if (!fs28.statSync(dir).isDirectory()) {
367273
+ fs28.readdirSync(dir);
367274
367274
  }
367275
367275
  } catch (err) {
367276
367276
  if (err && err.code === "ENOENT") mkdir42.mkdirsSync(dir);
367277
367277
  else throw err;
367278
367278
  }
367279
- fs27.writeFileSync(file4, "");
367279
+ fs28.writeFileSync(file4, "");
367280
367280
  }
367281
367281
  module4.exports = {
367282
367282
  createFile: u8(createFile),
@@ -367291,19 +367291,19 @@ var require_link = __commonJS({
367291
367291
  "use strict";
367292
367292
  var u8 = require_universalify().fromPromise;
367293
367293
  var path97 = require("path");
367294
- var fs27 = require_fs();
367294
+ var fs28 = require_fs();
367295
367295
  var mkdir42 = require_mkdirs();
367296
367296
  var { pathExists: pathExists2 } = require_path_exists();
367297
367297
  var { areIdentical } = require_stat();
367298
367298
  async function createLink(srcpath, dstpath) {
367299
367299
  let dstStat;
367300
367300
  try {
367301
- dstStat = await fs27.lstat(dstpath);
367301
+ dstStat = await fs28.lstat(dstpath);
367302
367302
  } catch {
367303
367303
  }
367304
367304
  let srcStat;
367305
367305
  try {
367306
- srcStat = await fs27.lstat(srcpath);
367306
+ srcStat = await fs28.lstat(srcpath);
367307
367307
  } catch (err) {
367308
367308
  err.message = err.message.replace("lstat", "ensureLink");
367309
367309
  throw err;
@@ -367314,26 +367314,26 @@ var require_link = __commonJS({
367314
367314
  if (!dirExists) {
367315
367315
  await mkdir42.mkdirs(dir);
367316
367316
  }
367317
- await fs27.link(srcpath, dstpath);
367317
+ await fs28.link(srcpath, dstpath);
367318
367318
  }
367319
367319
  function createLinkSync(srcpath, dstpath) {
367320
367320
  let dstStat;
367321
367321
  try {
367322
- dstStat = fs27.lstatSync(dstpath);
367322
+ dstStat = fs28.lstatSync(dstpath);
367323
367323
  } catch {
367324
367324
  }
367325
367325
  try {
367326
- const srcStat = fs27.lstatSync(srcpath);
367326
+ const srcStat = fs28.lstatSync(srcpath);
367327
367327
  if (dstStat && areIdentical(srcStat, dstStat)) return;
367328
367328
  } catch (err) {
367329
367329
  err.message = err.message.replace("lstat", "ensureLink");
367330
367330
  throw err;
367331
367331
  }
367332
367332
  const dir = path97.dirname(dstpath);
367333
- const dirExists = fs27.existsSync(dir);
367334
- if (dirExists) return fs27.linkSync(srcpath, dstpath);
367333
+ const dirExists = fs28.existsSync(dir);
367334
+ if (dirExists) return fs28.linkSync(srcpath, dstpath);
367335
367335
  mkdir42.mkdirsSync(dir);
367336
- return fs27.linkSync(srcpath, dstpath);
367336
+ return fs28.linkSync(srcpath, dstpath);
367337
367337
  }
367338
367338
  module4.exports = {
367339
367339
  createLink: u8(createLink),
@@ -367347,13 +367347,13 @@ var require_symlink_paths = __commonJS({
367347
367347
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2, module4) {
367348
367348
  "use strict";
367349
367349
  var path97 = require("path");
367350
- var fs27 = require_fs();
367350
+ var fs28 = require_fs();
367351
367351
  var { pathExists: pathExists2 } = require_path_exists();
367352
367352
  var u8 = require_universalify().fromPromise;
367353
367353
  async function symlinkPaths(srcpath, dstpath) {
367354
367354
  if (path97.isAbsolute(srcpath)) {
367355
367355
  try {
367356
- await fs27.lstat(srcpath);
367356
+ await fs28.lstat(srcpath);
367357
367357
  } catch (err) {
367358
367358
  err.message = err.message.replace("lstat", "ensureSymlink");
367359
367359
  throw err;
@@ -367373,7 +367373,7 @@ var require_symlink_paths = __commonJS({
367373
367373
  };
367374
367374
  }
367375
367375
  try {
367376
- await fs27.lstat(srcpath);
367376
+ await fs28.lstat(srcpath);
367377
367377
  } catch (err) {
367378
367378
  err.message = err.message.replace("lstat", "ensureSymlink");
367379
367379
  throw err;
@@ -367385,7 +367385,7 @@ var require_symlink_paths = __commonJS({
367385
367385
  }
367386
367386
  function symlinkPathsSync(srcpath, dstpath) {
367387
367387
  if (path97.isAbsolute(srcpath)) {
367388
- const exists3 = fs27.existsSync(srcpath);
367388
+ const exists3 = fs28.existsSync(srcpath);
367389
367389
  if (!exists3) throw new Error("absolute srcpath does not exist");
367390
367390
  return {
367391
367391
  toCwd: srcpath,
@@ -367394,14 +367394,14 @@ var require_symlink_paths = __commonJS({
367394
367394
  }
367395
367395
  const dstdir = path97.dirname(dstpath);
367396
367396
  const relativeToDst = path97.join(dstdir, srcpath);
367397
- const exists2 = fs27.existsSync(relativeToDst);
367397
+ const exists2 = fs28.existsSync(relativeToDst);
367398
367398
  if (exists2) {
367399
367399
  return {
367400
367400
  toCwd: relativeToDst,
367401
367401
  toDst: srcpath
367402
367402
  };
367403
367403
  }
367404
- const srcExists = fs27.existsSync(srcpath);
367404
+ const srcExists = fs28.existsSync(srcpath);
367405
367405
  if (!srcExists) throw new Error("relative srcpath does not exist");
367406
367406
  return {
367407
367407
  toCwd: srcpath,
@@ -367419,13 +367419,13 @@ var require_symlink_paths = __commonJS({
367419
367419
  var require_symlink_type = __commonJS({
367420
367420
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports2, module4) {
367421
367421
  "use strict";
367422
- var fs27 = require_fs();
367422
+ var fs28 = require_fs();
367423
367423
  var u8 = require_universalify().fromPromise;
367424
367424
  async function symlinkType(srcpath, type8) {
367425
367425
  if (type8) return type8;
367426
367426
  let stats;
367427
367427
  try {
367428
- stats = await fs27.lstat(srcpath);
367428
+ stats = await fs28.lstat(srcpath);
367429
367429
  } catch {
367430
367430
  return "file";
367431
367431
  }
@@ -367435,7 +367435,7 @@ var require_symlink_type = __commonJS({
367435
367435
  if (type8) return type8;
367436
367436
  let stats;
367437
367437
  try {
367438
- stats = fs27.lstatSync(srcpath);
367438
+ stats = fs28.lstatSync(srcpath);
367439
367439
  } catch {
367440
367440
  return "file";
367441
367441
  }
@@ -367454,7 +367454,7 @@ var require_symlink = __commonJS({
367454
367454
  "use strict";
367455
367455
  var u8 = require_universalify().fromPromise;
367456
367456
  var path97 = require("path");
367457
- var fs27 = require_fs();
367457
+ var fs28 = require_fs();
367458
367458
  var { mkdirs, mkdirsSync } = require_mkdirs();
367459
367459
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
367460
367460
  var { symlinkType, symlinkTypeSync } = require_symlink_type();
@@ -367463,23 +367463,23 @@ var require_symlink = __commonJS({
367463
367463
  async function createSymlink(srcpath, dstpath, type8) {
367464
367464
  let stats;
367465
367465
  try {
367466
- stats = await fs27.lstat(dstpath);
367466
+ stats = await fs28.lstat(dstpath);
367467
367467
  } catch {
367468
367468
  }
367469
367469
  if (stats && stats.isSymbolicLink()) {
367470
367470
  let srcStat;
367471
367471
  if (path97.isAbsolute(srcpath)) {
367472
- srcStat = await fs27.stat(srcpath);
367472
+ srcStat = await fs28.stat(srcpath);
367473
367473
  } else {
367474
367474
  const dstdir = path97.dirname(dstpath);
367475
367475
  const relativeToDst = path97.join(dstdir, srcpath);
367476
367476
  try {
367477
- srcStat = await fs27.stat(relativeToDst);
367477
+ srcStat = await fs28.stat(relativeToDst);
367478
367478
  } catch {
367479
- srcStat = await fs27.stat(srcpath);
367479
+ srcStat = await fs28.stat(srcpath);
367480
367480
  }
367481
367481
  }
367482
- const dstStat = await fs27.stat(dstpath);
367482
+ const dstStat = await fs28.stat(dstpath);
367483
367483
  if (areIdentical(srcStat, dstStat)) return;
367484
367484
  }
367485
367485
  const relative5 = await symlinkPaths(srcpath, dstpath);
@@ -367489,38 +367489,38 @@ var require_symlink = __commonJS({
367489
367489
  if (!await pathExists2(dir)) {
367490
367490
  await mkdirs(dir);
367491
367491
  }
367492
- return fs27.symlink(srcpath, dstpath, toType);
367492
+ return fs28.symlink(srcpath, dstpath, toType);
367493
367493
  }
367494
367494
  function createSymlinkSync(srcpath, dstpath, type8) {
367495
367495
  let stats;
367496
367496
  try {
367497
- stats = fs27.lstatSync(dstpath);
367497
+ stats = fs28.lstatSync(dstpath);
367498
367498
  } catch {
367499
367499
  }
367500
367500
  if (stats && stats.isSymbolicLink()) {
367501
367501
  let srcStat;
367502
367502
  if (path97.isAbsolute(srcpath)) {
367503
- srcStat = fs27.statSync(srcpath);
367503
+ srcStat = fs28.statSync(srcpath);
367504
367504
  } else {
367505
367505
  const dstdir = path97.dirname(dstpath);
367506
367506
  const relativeToDst = path97.join(dstdir, srcpath);
367507
367507
  try {
367508
- srcStat = fs27.statSync(relativeToDst);
367508
+ srcStat = fs28.statSync(relativeToDst);
367509
367509
  } catch {
367510
- srcStat = fs27.statSync(srcpath);
367510
+ srcStat = fs28.statSync(srcpath);
367511
367511
  }
367512
367512
  }
367513
- const dstStat = fs27.statSync(dstpath);
367513
+ const dstStat = fs28.statSync(dstpath);
367514
367514
  if (areIdentical(srcStat, dstStat)) return;
367515
367515
  }
367516
367516
  const relative5 = symlinkPathsSync(srcpath, dstpath);
367517
367517
  srcpath = relative5.toDst;
367518
367518
  type8 = symlinkTypeSync(relative5.toCwd, type8);
367519
367519
  const dir = path97.dirname(dstpath);
367520
- const exists2 = fs27.existsSync(dir);
367521
- if (exists2) return fs27.symlinkSync(srcpath, dstpath, type8);
367520
+ const exists2 = fs28.existsSync(dir);
367521
+ if (exists2) return fs28.symlinkSync(srcpath, dstpath, type8);
367522
367522
  mkdirsSync(dir);
367523
- return fs27.symlinkSync(srcpath, dstpath, type8);
367523
+ return fs28.symlinkSync(srcpath, dstpath, type8);
367524
367524
  }
367525
367525
  module4.exports = {
367526
367526
  createSymlink: u8(createSymlink),
@@ -367589,9 +367589,9 @@ var require_jsonfile = __commonJS({
367589
367589
  if (typeof options2 === "string") {
367590
367590
  options2 = { encoding: options2 };
367591
367591
  }
367592
- const fs27 = options2.fs || _fs;
367592
+ const fs28 = options2.fs || _fs;
367593
367593
  const shouldThrow = "throws" in options2 ? options2.throws : true;
367594
- let data2 = await universalify.fromCallback(fs27.readFile)(file4, options2);
367594
+ let data2 = await universalify.fromCallback(fs28.readFile)(file4, options2);
367595
367595
  data2 = stripBom(data2);
367596
367596
  let obj;
367597
367597
  try {
@@ -367611,10 +367611,10 @@ var require_jsonfile = __commonJS({
367611
367611
  if (typeof options2 === "string") {
367612
367612
  options2 = { encoding: options2 };
367613
367613
  }
367614
- const fs27 = options2.fs || _fs;
367614
+ const fs28 = options2.fs || _fs;
367615
367615
  const shouldThrow = "throws" in options2 ? options2.throws : true;
367616
367616
  try {
367617
- let content5 = fs27.readFileSync(file4, options2);
367617
+ let content5 = fs28.readFileSync(file4, options2);
367618
367618
  content5 = stripBom(content5);
367619
367619
  return JSON.parse(content5, options2.reviver);
367620
367620
  } catch (err) {
@@ -367627,15 +367627,15 @@ var require_jsonfile = __commonJS({
367627
367627
  }
367628
367628
  }
367629
367629
  async function _writeFile(file4, obj, options2 = {}) {
367630
- const fs27 = options2.fs || _fs;
367630
+ const fs28 = options2.fs || _fs;
367631
367631
  const str3 = stringify5(obj, options2);
367632
- await universalify.fromCallback(fs27.writeFile)(file4, str3, options2);
367632
+ await universalify.fromCallback(fs28.writeFile)(file4, str3, options2);
367633
367633
  }
367634
367634
  var writeFile89 = universalify.fromPromise(_writeFile);
367635
367635
  function writeFileSync7(file4, obj, options2 = {}) {
367636
- const fs27 = options2.fs || _fs;
367636
+ const fs28 = options2.fs || _fs;
367637
367637
  const str3 = stringify5(obj, options2);
367638
- return fs27.writeFileSync(file4, str3, options2);
367638
+ return fs28.writeFileSync(file4, str3, options2);
367639
367639
  }
367640
367640
  module4.exports = {
367641
367641
  readFile: readFile102,
@@ -367666,7 +367666,7 @@ var require_output_file = __commonJS({
367666
367666
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/output-file/index.js"(exports2, module4) {
367667
367667
  "use strict";
367668
367668
  var u8 = require_universalify().fromPromise;
367669
- var fs27 = require_fs();
367669
+ var fs28 = require_fs();
367670
367670
  var path97 = require("path");
367671
367671
  var mkdir42 = require_mkdirs();
367672
367672
  var pathExists2 = require_path_exists().pathExists;
@@ -367675,14 +367675,14 @@ var require_output_file = __commonJS({
367675
367675
  if (!await pathExists2(dir)) {
367676
367676
  await mkdir42.mkdirs(dir);
367677
367677
  }
367678
- return fs27.writeFile(file4, data2, encoding);
367678
+ return fs28.writeFile(file4, data2, encoding);
367679
367679
  }
367680
367680
  function outputFileSync(file4, ...args) {
367681
367681
  const dir = path97.dirname(file4);
367682
- if (!fs27.existsSync(dir)) {
367682
+ if (!fs28.existsSync(dir)) {
367683
367683
  mkdir42.mkdirsSync(dir);
367684
367684
  }
367685
- fs27.writeFileSync(file4, ...args);
367685
+ fs28.writeFileSync(file4, ...args);
367686
367686
  }
367687
367687
  module4.exports = {
367688
367688
  outputFile: u8(outputFile),
@@ -367741,7 +367741,7 @@ var require_json6 = __commonJS({
367741
367741
  var require_move = __commonJS({
367742
367742
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move.js"(exports2, module4) {
367743
367743
  "use strict";
367744
- var fs27 = require_fs();
367744
+ var fs28 = require_fs();
367745
367745
  var path97 = require("path");
367746
367746
  var { copy } = require_copy2();
367747
367747
  var { remove: remove3 } = require_remove3();
@@ -367768,7 +367768,7 @@ var require_move = __commonJS({
367768
367768
  }
367769
367769
  }
367770
367770
  try {
367771
- await fs27.rename(src, dest);
367771
+ await fs28.rename(src, dest);
367772
367772
  } catch (err) {
367773
367773
  if (err.code !== "EXDEV") {
367774
367774
  throw err;
@@ -367793,7 +367793,7 @@ var require_move = __commonJS({
367793
367793
  var require_move_sync = __commonJS({
367794
367794
  "../../../node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move-sync.js"(exports2, module4) {
367795
367795
  "use strict";
367796
- var fs27 = require_graceful_fs2();
367796
+ var fs28 = require_graceful_fs2();
367797
367797
  var path97 = require("path");
367798
367798
  var copySync = require_copy2().copySync;
367799
367799
  var removeSync = require_remove3().removeSync;
@@ -367818,12 +367818,12 @@ var require_move_sync = __commonJS({
367818
367818
  removeSync(dest);
367819
367819
  return rename7(src, dest, overwrite);
367820
367820
  }
367821
- if (fs27.existsSync(dest)) throw new Error("dest already exists.");
367821
+ if (fs28.existsSync(dest)) throw new Error("dest already exists.");
367822
367822
  return rename7(src, dest, overwrite);
367823
367823
  }
367824
367824
  function rename7(src, dest, overwrite) {
367825
367825
  try {
367826
- fs27.renameSync(src, dest);
367826
+ fs28.renameSync(src, dest);
367827
367827
  } catch (err) {
367828
367828
  if (err.code !== "EXDEV") throw err;
367829
367829
  return moveAcrossDevice(src, dest, overwrite);
@@ -424580,14 +424580,14 @@ var require_emscripten_module_WASM_RELEASE_SYNC = __commonJS({
424580
424580
  });
424581
424581
  var p10 = Object.assign({}, a10), t2 = "./this.program", u8 = "object" == typeof window, v23 = "function" == typeof importScripts, w20 = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node, x15 = "", y24, z19, A19;
424582
424582
  if (w20) {
424583
- var fs27 = require("fs"), B17 = require("path");
424583
+ var fs28 = require("fs"), B17 = require("path");
424584
424584
  x15 = v23 ? B17.dirname(x15) + "/" : __dirname + "/";
424585
424585
  y24 = (b19, c16) => {
424586
424586
  var d14 = C16(b19);
424587
424587
  if (d14)
424588
424588
  return c16 ? d14 : d14.toString();
424589
424589
  b19 = b19.startsWith("file://") ? new URL(b19) : B17.normalize(b19);
424590
- return fs27.readFileSync(b19, c16 ? void 0 : "utf8");
424590
+ return fs28.readFileSync(b19, c16 ? void 0 : "utf8");
424591
424591
  };
424592
424592
  A19 = (b19) => {
424593
424593
  b19 = y24(b19, true);
@@ -424598,7 +424598,7 @@ var require_emscripten_module_WASM_RELEASE_SYNC = __commonJS({
424598
424598
  var e6 = C16(b19);
424599
424599
  e6 && c16(e6);
424600
424600
  b19 = b19.startsWith("file://") ? new URL(b19) : B17.normalize(b19);
424601
- fs27.readFile(b19, function(f10, g19) {
424601
+ fs28.readFile(b19, function(f10, g19) {
424602
424602
  f10 ? d14(f10) : c16(g19.buffer);
424603
424603
  });
424604
424604
  };
@@ -427753,9 +427753,9 @@ var require_pump = __commonJS({
427753
427753
  "use strict";
427754
427754
  var once2 = require_once();
427755
427755
  var eos = require_end_of_stream2();
427756
- var fs27;
427756
+ var fs28;
427757
427757
  try {
427758
- fs27 = require("fs");
427758
+ fs28 = require("fs");
427759
427759
  } catch (e6) {
427760
427760
  }
427761
427761
  var noop12 = function() {
@@ -427766,8 +427766,8 @@ var require_pump = __commonJS({
427766
427766
  };
427767
427767
  var isFS = function(stream5) {
427768
427768
  if (!ancient) return false;
427769
- if (!fs27) return false;
427770
- return (stream5 instanceof (fs27.ReadStream || noop12) || stream5 instanceof (fs27.WriteStream || noop12)) && isFn(stream5.close);
427769
+ if (!fs28) return false;
427770
+ return (stream5 instanceof (fs28.ReadStream || noop12) || stream5 instanceof (fs28.WriteStream || noop12)) && isFn(stream5.close);
427771
427771
  };
427772
427772
  var isRequest4 = function(stream5) {
427773
427773
  return stream5.setHeader && isFn(stream5.abort);
@@ -427926,7 +427926,7 @@ var require_extract_zip = __commonJS({
427926
427926
  "../../../node_modules/.pnpm/extract-zip@2.0.1/node_modules/extract-zip/index.js"(exports2, module4) {
427927
427927
  "use strict";
427928
427928
  var debug9 = require_src()("extract-zip");
427929
- var { createWriteStream: createWriteStream7, promises: fs27 } = require("fs");
427929
+ var { createWriteStream: createWriteStream7, promises: fs28 } = require("fs");
427930
427930
  var getStream = require_get_stream3();
427931
427931
  var path97 = require("path");
427932
427932
  var { promisify: promisify8 } = require("util");
@@ -427967,8 +427967,8 @@ var require_extract_zip = __commonJS({
427967
427967
  }
427968
427968
  const destDir = path97.dirname(path97.join(this.opts.dir, entry.fileName));
427969
427969
  try {
427970
- await fs27.mkdir(destDir, { recursive: true });
427971
- const canonicalDestDir = await fs27.realpath(destDir);
427970
+ await fs28.mkdir(destDir, { recursive: true });
427971
+ const canonicalDestDir = await fs28.realpath(destDir);
427972
427972
  const relativeDestDir = path97.relative(this.opts.dir, canonicalDestDir);
427973
427973
  if (relativeDestDir.split(path97.sep).includes("..")) {
427974
427974
  throw new Error(`Out of bound path "${canonicalDestDir}" found while processing file ${entry.fileName}`);
@@ -428012,14 +428012,14 @@ var require_extract_zip = __commonJS({
428012
428012
  mkdirOptions.mode = procMode;
428013
428013
  }
428014
428014
  debug9("mkdir", { dir: destDir, ...mkdirOptions });
428015
- await fs27.mkdir(destDir, mkdirOptions);
428015
+ await fs28.mkdir(destDir, mkdirOptions);
428016
428016
  if (isDir) return;
428017
428017
  debug9("opening read stream", dest);
428018
428018
  const readStream2 = await promisify8(this.zipfile.openReadStream.bind(this.zipfile))(entry);
428019
428019
  if (symlink) {
428020
428020
  const link3 = await getStream(readStream2);
428021
428021
  debug9("creating symlink", link3, dest);
428022
- await fs27.symlink(link3, dest);
428022
+ await fs28.symlink(link3, dest);
428023
428023
  } else {
428024
428024
  await pipeline5(readStream2, createWriteStream7(dest, { mode: procMode }));
428025
428025
  }
@@ -428051,8 +428051,8 @@ var require_extract_zip = __commonJS({
428051
428051
  if (!path97.isAbsolute(opts.dir)) {
428052
428052
  throw new Error("Target directory is expected to be absolute");
428053
428053
  }
428054
- await fs27.mkdir(opts.dir, { recursive: true });
428055
- opts.dir = await fs27.realpath(opts.dir);
428054
+ await fs28.mkdir(opts.dir, { recursive: true });
428055
+ opts.dir = await fs28.realpath(opts.dir);
428056
428056
  return new Extractor(zipPath, opts).extract();
428057
428057
  };
428058
428058
  }
@@ -430311,13 +430311,13 @@ var require_tar_fs = __commonJS({
430311
430311
  "use strict";
430312
430312
  var tar = require_tar_stream2();
430313
430313
  var pump = require_pump();
430314
- var fs27 = require("fs");
430314
+ var fs28 = require("fs");
430315
430315
  var path97 = require("path");
430316
430316
  var win322 = (global.Bare ? global.Bare.platform : process.platform) === "win32";
430317
430317
  exports2.pack = function pack(cwd2, opts) {
430318
430318
  if (!cwd2) cwd2 = ".";
430319
430319
  if (!opts) opts = {};
430320
- const xfs = opts.fs || fs27;
430320
+ const xfs = opts.fs || fs28;
430321
430321
  const ignore4 = opts.ignore || opts.filter || noop12;
430322
430322
  const mapStream = opts.mapStream || echo;
430323
430323
  const statNext = statAll(xfs, opts.dereference ? xfs.stat : xfs.lstat, cwd2, ignore4, opts.entries, opts.sort);
@@ -430405,7 +430405,7 @@ var require_tar_fs = __commonJS({
430405
430405
  if (!cwd2) cwd2 = ".";
430406
430406
  if (!opts) opts = {};
430407
430407
  cwd2 = path97.resolve(cwd2);
430408
- const xfs = opts.fs || fs27;
430408
+ const xfs = opts.fs || fs28;
430409
430409
  const ignore4 = opts.ignore || opts.filter || noop12;
430410
430410
  const mapStream = opts.mapStream || echo;
430411
430411
  const own14 = opts.chown !== false && !win322 && processGetuid() === 0;
@@ -430496,7 +430496,7 @@ var require_tar_fs = __commonJS({
430496
430496
  if (win322) return next2();
430497
430497
  xfs.unlink(name2, function() {
430498
430498
  const link3 = path97.join(cwd2, path97.join("/", header.linkname));
430499
- fs27.realpath(link3, function(err, dst) {
430499
+ fs28.realpath(link3, function(err, dst) {
430500
430500
  if (err || !inCwd(dst)) return next2(new Error(name2 + " is not a valid hardlink"));
430501
430501
  xfs.link(dst, name2, function(err2) {
430502
430502
  if (err2 && err2.code === "EPERM" && opts.hardlinkAsFilesFallback) {
@@ -430563,11 +430563,11 @@ var require_tar_fs = __commonJS({
430563
430563
  });
430564
430564
  }
430565
430565
  };
430566
- function validate3(fs28, name2, root6, cb2) {
430566
+ function validate3(fs29, name2, root6, cb2) {
430567
430567
  if (name2 === root6) return cb2(null, true);
430568
- fs28.lstat(name2, function(err, st14) {
430568
+ fs29.lstat(name2, function(err, st14) {
430569
430569
  if (err && err.code !== "ENOENT" && err.code !== "EPERM") return cb2(err);
430570
- if (err || st14.isDirectory()) return validate3(fs28, path97.join(name2, ".."), root6, cb2);
430570
+ if (err || st14.isDirectory()) return validate3(fs29, path97.join(name2, ".."), root6, cb2);
430571
430571
  cb2(null, false);
430572
430572
  });
430573
430573
  }
@@ -430579,17 +430579,17 @@ var require_tar_fs = __commonJS({
430579
430579
  function normalize13(name2) {
430580
430580
  return win322 ? name2.replace(/\\/g, "/").replace(/[:?<>|]/g, "_") : name2;
430581
430581
  }
430582
- function statAll(fs28, stat6, cwd2, ignore4, entries22, sort) {
430582
+ function statAll(fs29, stat6, cwd2, ignore4, entries22, sort) {
430583
430583
  if (!entries22) entries22 = ["."];
430584
430584
  const queue = entries22.slice(0);
430585
430585
  return function loop(callback) {
430586
430586
  if (!queue.length) return callback(null);
430587
430587
  const next2 = queue.shift();
430588
430588
  const nextAbs = path97.join(cwd2, next2);
430589
- stat6.call(fs28, nextAbs, function(err, stat7) {
430589
+ stat6.call(fs29, nextAbs, function(err, stat7) {
430590
430590
  if (err) return callback(entries22.indexOf(next2) === -1 && err.code === "ENOENT" ? null : err);
430591
430591
  if (!stat7.isDirectory()) return callback(null, next2, stat7);
430592
- fs28.readdir(nextAbs, function(err2, files) {
430592
+ fs29.readdir(nextAbs, function(err2, files) {
430593
430593
  if (err2) return callback(err2);
430594
430594
  if (sort) files.sort();
430595
430595
  for (let i11 = 0; i11 < files.length; i11++) {
@@ -431392,7 +431392,7 @@ var require_resolve_from = __commonJS({
431392
431392
  "use strict";
431393
431393
  var path97 = require("path");
431394
431394
  var Module2 = require("module");
431395
- var fs27 = require("fs");
431395
+ var fs28 = require("fs");
431396
431396
  var resolveFrom = (fromDir, moduleId, silent) => {
431397
431397
  if (typeof fromDir !== "string") {
431398
431398
  throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
@@ -431401,7 +431401,7 @@ var require_resolve_from = __commonJS({
431401
431401
  throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
431402
431402
  }
431403
431403
  try {
431404
- fromDir = fs27.realpathSync(fromDir);
431404
+ fromDir = fs28.realpathSync(fromDir);
431405
431405
  } catch (err) {
431406
431406
  if (err.code === "ENOENT") {
431407
431407
  fromDir = path97.resolve(fromDir);
@@ -432895,7 +432895,7 @@ var require_dist21 = __commonJS({
432895
432895
  var require_build3 = __commonJS({
432896
432896
  "../../../node_modules/.pnpm/y18n@5.0.8/node_modules/y18n/build/index.cjs"(exports2, module4) {
432897
432897
  "use strict";
432898
- var fs27 = require("fs");
432898
+ var fs28 = require("fs");
432899
432899
  var util5 = require("util");
432900
432900
  var path97 = require("path");
432901
432901
  var shim3;
@@ -433059,14 +433059,14 @@ var require_build3 = __commonJS({
433059
433059
  }
433060
433060
  var nodePlatformShim = {
433061
433061
  fs: {
433062
- readFileSync: fs27.readFileSync,
433063
- writeFile: fs27.writeFile
433062
+ readFileSync: fs28.readFileSync,
433063
+ writeFile: fs28.writeFile
433064
433064
  },
433065
433065
  format: util5.format,
433066
433066
  resolve: path97.resolve,
433067
433067
  exists: (file4) => {
433068
433068
  try {
433069
- return fs27.statSync(file4).isFile();
433069
+ return fs28.statSync(file4).isFile();
433070
433070
  } catch (err) {
433071
433071
  return false;
433072
433072
  }
@@ -433085,7 +433085,7 @@ var require_build4 = __commonJS({
433085
433085
  "use strict";
433086
433086
  var util5 = require("util");
433087
433087
  var path97 = require("path");
433088
- var fs27 = require("fs");
433088
+ var fs28 = require("fs");
433089
433089
  function camelCase7(str3) {
433090
433090
  const isCamelCase = str3 !== str3.toLowerCase() && str3 !== str3.toUpperCase();
433091
433091
  if (!isCamelCase) {
@@ -434034,7 +434034,7 @@ var require_build4 = __commonJS({
434034
434034
  if (typeof require !== "undefined") {
434035
434035
  return require(path98);
434036
434036
  } else if (path98.match(/\.json$/)) {
434037
- return JSON.parse(fs27.readFileSync(path98, "utf8"));
434037
+ return JSON.parse(fs28.readFileSync(path98, "utf8"));
434038
434038
  } else {
434039
434039
  throw Error("only .json config files are supported in ESM");
434040
434040
  }
@@ -434535,7 +434535,7 @@ var require_get_caller_file = __commonJS({
434535
434535
  var require_require_directory = __commonJS({
434536
434536
  "../../../node_modules/.pnpm/require-directory@2.1.1/node_modules/require-directory/index.js"(exports2, module4) {
434537
434537
  "use strict";
434538
- var fs27 = require("fs");
434538
+ var fs28 = require("fs");
434539
434539
  var join27 = require("path").join;
434540
434540
  var resolve13 = require("path").resolve;
434541
434541
  var dirname21 = require("path").dirname;
@@ -434572,9 +434572,9 @@ var require_require_directory = __commonJS({
434572
434572
  }
434573
434573
  }
434574
434574
  path97 = !path97 ? dirname21(m11.filename) : resolve13(dirname21(m11.filename), path97);
434575
- fs27.readdirSync(path97).forEach(function(filename) {
434575
+ fs28.readdirSync(path97).forEach(function(filename) {
434576
434576
  var joined = join27(path97, filename), files, key2, obj;
434577
- if (fs27.statSync(joined).isDirectory() && options2.recurse) {
434577
+ if (fs28.statSync(joined).isDirectory() && options2.recurse) {
434578
434578
  files = requireDirectory(m11, joined, options2);
434579
434579
  if (Object.keys(files).length) {
434580
434580
  retval[options2.rename(filename, joined, filename)] = files;
@@ -603120,7 +603120,7 @@ var AccessTokenPosthogManager = class {
603120
603120
  properties: {
603121
603121
  ...event,
603122
603122
  ...event.properties,
603123
- version: "4.62.5-4-g29b315f8ff7",
603123
+ version: "4.62.6",
603124
603124
  usingAccessToken: true
603125
603125
  }
603126
603126
  });
@@ -603171,7 +603171,7 @@ var UserPosthogManager = class {
603171
603171
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
603172
603172
  event: "CLI",
603173
603173
  properties: {
603174
- version: "4.62.5-4-g29b315f8ff7",
603174
+ version: "4.62.6",
603175
603175
  ...event,
603176
603176
  ...event.properties,
603177
603177
  usingAccessToken: false,
@@ -838083,6 +838083,7 @@ init_js();
838083
838083
  init_lib6();
838084
838084
  var import_cors = __toESM(require_lib14(), 1);
838085
838085
  var import_express2 = __toESM(require_express3(), 1);
838086
+ var import_fs25 = __toESM(require("fs"), 1);
838086
838087
  var import_promises79 = require("fs/promises");
838087
838088
  var import_http9 = __toESM(require("http"), 1);
838088
838089
  var import_path55 = __toESM(require("path"), 1);
@@ -839762,7 +839763,7 @@ var import_path54 = __toESM(require("path"), 1);
839762
839763
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
839763
839764
  var LOGS_FOLDER_NAME = "logs";
839764
839765
  function getCliSource() {
839765
- const version7 = "4.62.5-4-g29b315f8ff7";
839766
+ const version7 = "4.62.6";
839766
839767
  return `cli@${version7}`;
839767
839768
  }
839768
839769
  var DebugLogger = class {
@@ -840918,6 +840919,36 @@ var SnippetDependencyTracker = class {
840918
840919
  };
840919
840920
  }
840920
840921
  };
840922
+ function getFernDocsCachePath(bundleRoot) {
840923
+ return import_path55.default.join(bundleRoot, "standalone/packages/fern-docs/bundle/.next/cache");
840924
+ }
840925
+ async function cleanFernDocsCache(bundleRoot, context3) {
840926
+ const cachePath = getFernDocsCachePath(bundleRoot);
840927
+ try {
840928
+ const cacheExists = await doesPathExist(AbsoluteFilePath2.of(cachePath));
840929
+ if (cacheExists) {
840930
+ context3.logger.debug(`Cleaning Fern Docs cache at ${cachePath}`);
840931
+ await (0, import_promises79.rm)(cachePath, { recursive: true });
840932
+ context3.logger.debug("Fern Docs cache cleaned successfully");
840933
+ } else {
840934
+ context3.logger.debug("No Fern Docs cache to clean");
840935
+ }
840936
+ } catch (err) {
840937
+ context3.logger.debug(`Failed to clean Fern Docs cache: ${err}`);
840938
+ }
840939
+ }
840940
+ function cleanFernDocsCacheSync(bundleRoot, context3) {
840941
+ const cachePath = getFernDocsCachePath(bundleRoot);
840942
+ try {
840943
+ if (import_fs25.default.existsSync(cachePath)) {
840944
+ context3.logger.debug(`Cleaning Fern Docs cache at ${cachePath}`);
840945
+ import_fs25.default.rmSync(cachePath, { recursive: true, maxRetries: 5, retryDelay: 500 });
840946
+ context3.logger.debug("Fern Docs cache cleaned successfully");
840947
+ }
840948
+ } catch (err) {
840949
+ context3.logger.debug(`Failed to clean Fern Docs cache: ${err}`);
840950
+ }
840951
+ }
840921
840952
  async function runAppPreviewServer({ initialProject, reloadProject, validateProject, context: context3, port, bundlePath, backendPort, forceDownload }) {
840922
840953
  if (forceDownload) {
840923
840954
  const appPreviewFolder = getPathToPreviewFolder({ app: true });
@@ -841184,6 +841215,7 @@ ${err.stack}`);
841184
841215
  });
841185
841216
  });
841186
841217
  }
841218
+ await cleanFernDocsCache(bundleRoot, context3);
841187
841219
  const env5 = {
841188
841220
  ...process.env,
841189
841221
  PORT: port.toString(),
@@ -841283,7 +841315,12 @@ ${err.stack}`);
841283
841315
  })();
841284
841316
  }, RELOAD_DEBOUNCE_MS);
841285
841317
  });
841318
+ let cleanedUp = false;
841286
841319
  const cleanup = () => {
841320
+ if (cleanedUp) {
841321
+ return;
841322
+ }
841323
+ cleanedUp = true;
841287
841324
  if (serverProcess != null && !serverProcess.killed) {
841288
841325
  context3.logger.debug(`Killing server process with PID: ${serverProcess.pid}`);
841289
841326
  try {
@@ -841302,6 +841339,7 @@ ${err.stack}`);
841302
841339
  context3.logger.error(`Failed to kill server process: ${err}`);
841303
841340
  }
841304
841341
  }
841342
+ cleanFernDocsCacheSync(bundleRoot, context3);
841305
841343
  context3.logger.debug("Cleaning up WebSocket connections...");
841306
841344
  for (const [ws8, metadata] of connections) {
841307
841345
  clearInterval(metadata.pingInterval);
@@ -848663,7 +848701,7 @@ var import_fiddle_sdk5 = __toESM(require_fiddle_sdk(), 1);
848663
848701
 
848664
848702
  // ../generation/remote-generation/remote-workspace-runner/lib/downloadSnippetsForTask.js
848665
848703
  init_lib6();
848666
- var import_fs25 = require("fs");
848704
+ var import_fs26 = require("fs");
848667
848705
  var import_promises82 = require("fs/promises");
848668
848706
  var import_promises83 = require("stream/promises");
848669
848707
  async function downloadSnippetsForTask({ snippetsS3PreSignedReadUrl, absolutePathToLocalSnippetJSON, context: context3 }) {
@@ -848685,7 +848723,7 @@ async function downloadFileForTask({ s3PreSignedReadUrl, absolutePathToLocalOutp
848685
848723
  await (0, import_promises82.rm)(absolutePathToLocalOutput, { recursive: true });
848686
848724
  }
848687
848725
  await (0, import_promises82.mkdir)(dirname4(absolutePathToLocalOutput), { recursive: true });
848688
- await (0, import_promises83.pipeline)(request7.data, (0, import_fs25.createWriteStream)(absolutePathToLocalOutput));
848726
+ await (0, import_promises83.pipeline)(request7.data, (0, import_fs26.createWriteStream)(absolutePathToLocalOutput));
848689
848727
  }
848690
848728
 
848691
848729
  // ../generation/remote-generation/remote-workspace-runner/lib/resolveAutoDiscoveredFernignorePath.js
@@ -848988,7 +849026,7 @@ function pollJobAndReportStatus({ job, taskId, taskHandler, context: context3 })
848988
849026
  // ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
848989
849027
  init_lib4();
848990
849028
  init_lib6();
848991
- var import_fs26 = require("fs");
849029
+ var import_fs27 = require("fs");
848992
849030
  var import_promises85 = require("fs/promises");
848993
849031
  var import_path57 = __toESM(require("path"), 1);
848994
849032
  var import_promises86 = require("stream/promises");
@@ -849160,7 +849198,7 @@ async function downloadZipForTask({ s3PreSignedReadUrl, absolutePathToLocalOutpu
849160
849198
  });
849161
849199
  const tmpDir = await import_tmp_promise9.default.dir({ prefix: "fern", unsafeCleanup: true });
849162
849200
  const outputZipPath = import_path57.default.join(tmpDir.path, "output.zip");
849163
- await (0, import_promises86.pipeline)(request7.data, (0, import_fs26.createWriteStream)(outputZipPath));
849201
+ await (0, import_promises86.pipeline)(request7.data, (0, import_fs27.createWriteStream)(outputZipPath));
849164
849202
  await forceRemoveDirectory(absolutePathToLocalOutput);
849165
849203
  await (0, import_promises85.mkdir)(absolutePathToLocalOutput, { recursive: true });
849166
849204
  await extractZipToDirectory(outputZipPath, absolutePathToLocalOutput);
@@ -849262,7 +849300,7 @@ async function downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath
849262
849300
  });
849263
849301
  const tmpDir = await import_tmp_promise9.default.dir({ prefix: "fern", unsafeCleanup: true });
849264
849302
  const outputZipPath = import_path57.default.join(tmpDir.path, "output.zip");
849265
- await (0, import_promises86.pipeline)(request7.data, (0, import_fs26.createWriteStream)(outputZipPath));
849303
+ await (0, import_promises86.pipeline)(request7.data, (0, import_fs27.createWriteStream)(outputZipPath));
849266
849304
  await extractZipToDirectory(outputZipPath, outputPath);
849267
849305
  }
849268
849306
  async function extractZipToDirectory(zipPath, outputDir) {
@@ -849286,7 +849324,7 @@ async function extractZipToDirectory(zipPath, outputDir) {
849286
849324
  reject(streamErr ?? new Error("Failed to open read stream"));
849287
849325
  return;
849288
849326
  }
849289
- readStream2.pipe((0, import_fs26.createWriteStream)(outputPath)).on("finish", () => zipFile.readEntry()).on("error", reject);
849327
+ readStream2.pipe((0, import_fs27.createWriteStream)(outputPath)).on("finish", () => zipFile.readEntry()).on("error", reject);
849290
849328
  });
849291
849329
  }).catch(reject);
849292
849330
  });
@@ -850836,7 +850874,7 @@ var LegacyDocsPublisher = class {
850836
850874
  previewId,
850837
850875
  disableTemplates: void 0,
850838
850876
  skipUpload,
850839
- cliVersion: "4.62.5-4-g29b315f8ff7"
850877
+ cliVersion: "4.62.6"
850840
850878
  });
850841
850879
  if (taskContext.getResult() === TaskResult.Failure) {
850842
850880
  return { success: false };
@@ -853249,7 +853287,7 @@ var AutoVersioningCache = class {
853249
853287
  };
853250
853288
 
853251
853289
  // ../generation/local-generation/local-workspace-runner/lib/AutoVersioningService.js
853252
- var import_fs27 = require("fs");
853290
+ var import_fs28 = require("fs");
853253
853291
  var import_promises91 = require("fs/promises");
853254
853292
  var import_path61 = require("path");
853255
853293
  var AutoVersioningException = class extends Error {
@@ -853872,7 +853910,7 @@ var AutoVersioningService = class _AutoVersioningService {
853872
853910
  return;
853873
853911
  }
853874
853912
  const goModPath = (0, import_path61.join)(workingDirectory, "go.mod");
853875
- if (!(0, import_fs27.existsSync)(goModPath)) {
853913
+ if (!(0, import_fs28.existsSync)(goModPath)) {
853876
853914
  this.logger.debug(`No go.mod found in ${workingDirectory}, skipping Go module path update`);
853877
853915
  return;
853878
853916
  }
@@ -902634,7 +902672,7 @@ init_lib4();
902634
902672
  init_lib6();
902635
902673
  var import_generator_cli = __toESM(require_api5(), 1);
902636
902674
  init_lib7();
902637
- var fs17 = __toESM(require("fs/promises"), 1);
902675
+ var fs18 = __toESM(require("fs/promises"), 1);
902638
902676
  var import_os13 = __toESM(require("os"), 1);
902639
902677
  var import_path73 = __toESM(require("path"), 1);
902640
902678
  var import_tmp_promise14 = __toESM(require_tmp_promise(), 1);
@@ -902756,8 +902794,8 @@ generators:
902756
902794
  }
902757
902795
  }
902758
902796
  if (selfhostedGithubConfig != null) {
902759
- await fs17.rm(absolutePathToLocalOutput, { recursive: true, force: true });
902760
- await fs17.mkdir(absolutePathToLocalOutput, { recursive: true });
902797
+ await fs18.rm(absolutePathToLocalOutput, { recursive: true, force: true });
902798
+ await fs18.mkdir(absolutePathToLocalOutput, { recursive: true });
902761
902799
  interactiveTaskContext.logger.debug(`Self-hosted GitHub mode: cloning ${selfhostedGithubConfig.uri} to ${absolutePathToLocalOutput}`);
902762
902800
  try {
902763
902801
  const { execSync: execSync5 } = await import("child_process");
@@ -904594,7 +904632,7 @@ init_lib4();
904594
904632
 
904595
904633
  // ../cli-v2/lib/sdk/updater/GeneratorMigrator.js
904596
904634
  init_lib4();
904597
- var import_fs28 = require("fs");
904635
+ var import_fs29 = require("fs");
904598
904636
  var import_promises108 = require("fs/promises");
904599
904637
  var import_path75 = require("path");
904600
904638
  var import_semver13 = __toESM(require_semver2(), 1);
@@ -904769,9 +904807,9 @@ var GeneratorMigrator = class _GeneratorMigrator {
904769
904807
  await fh.close();
904770
904808
  const exitHandler = () => {
904771
904809
  try {
904772
- const content5 = (0, import_fs28.readFileSync)(lockPath, "utf-8");
904810
+ const content5 = (0, import_fs29.readFileSync)(lockPath, "utf-8");
904773
904811
  if (content5.trim() === myPid) {
904774
- (0, import_fs28.unlinkSync)(lockPath);
904812
+ (0, import_fs29.unlinkSync)(lockPath);
904775
904813
  }
904776
904814
  } catch (e6) {
904777
904815
  void e6;
@@ -924182,7 +924220,7 @@ var CliContext = class {
924182
924220
  if (false) {
924183
924221
  this.logger.error("CLI_VERSION is not defined");
924184
924222
  }
924185
- return "4.62.5-4-g29b315f8ff7";
924223
+ return "4.62.6";
924186
924224
  }
924187
924225
  getCliName() {
924188
924226
  if (false) {
@@ -924765,7 +924803,7 @@ var import_yaml6 = __toESM(require_dist8(), 1);
924765
924803
 
924766
924804
  // src/commands/upgrade/migrations/loader.ts
924767
924805
  init_lib4();
924768
- var import_fs31 = require("fs");
924806
+ var import_fs32 = require("fs");
924769
924807
  var import_promises128 = require("fs/promises");
924770
924808
  var import_os15 = require("os");
924771
924809
  var import_path78 = require("path");
@@ -924799,9 +924837,9 @@ async function acquireLock3(logger4, cacheDir) {
924799
924837
  await fh.close();
924800
924838
  const exitHandler = () => {
924801
924839
  try {
924802
- const content5 = (0, import_fs31.readFileSync)(lockPath, "utf-8");
924840
+ const content5 = (0, import_fs32.readFileSync)(lockPath, "utf-8");
924803
924841
  if (content5.trim() === myPid) {
924804
- (0, import_fs31.unlinkSync)(lockPath);
924842
+ (0, import_fs32.unlinkSync)(lockPath);
924805
924843
  }
924806
924844
  } catch (e6) {
924807
924845
  void e6;
@@ -929706,7 +929744,7 @@ function renderNamespacesIndexPage(nsPath, childEntries, nsTitle) {
929706
929744
  }
929707
929745
 
929708
929746
  // ../library-docs-generator/lib/src/writers/MdxFileWriter.js
929709
- var import_fs32 = require("fs");
929747
+ var import_fs33 = require("fs");
929710
929748
  var import_path80 = require("path");
929711
929749
  var MdxFileWriter = class {
929712
929750
  outputDir;
@@ -929724,8 +929762,8 @@ var MdxFileWriter = class {
929724
929762
  */
929725
929763
  writePage(pageKey, content5) {
929726
929764
  const filePath = (0, import_path80.join)(this.outputDir, pageKey);
929727
- (0, import_fs32.mkdirSync)((0, import_path80.dirname)(filePath), { recursive: true });
929728
- (0, import_fs32.writeFileSync)(filePath, content5);
929765
+ (0, import_fs33.mkdirSync)((0, import_path80.dirname)(filePath), { recursive: true });
929766
+ (0, import_fs33.writeFileSync)(filePath, content5);
929729
929767
  this.writtenFiles.push(filePath);
929730
929768
  return filePath;
929731
929769
  }
@@ -930732,7 +930770,7 @@ function renderModulePage(module4, ctx, parentPath = "") {
930732
930770
  }
930733
930771
 
930734
930772
  // ../library-docs-generator/lib/src/writers/NavigationBuilder.js
930735
- var import_fs33 = require("fs");
930773
+ var import_fs34 = require("fs");
930736
930774
  var import_path81 = require("path");
930737
930775
  function buildNavigation(rootModule, baseSlug) {
930738
930776
  return generateModuleNav(rootModule, "", baseSlug);
@@ -930768,8 +930806,8 @@ function writeNavigation(outputDir, navigation) {
930768
930806
  const header = "# AUTO-GENERATED by `fern docs md generate` \u2014 DO NOT EDIT\n";
930769
930807
  const yaml3 = jsYaml.dump(navigation, { lineWidth: 120, noRefs: true });
930770
930808
  const filePath = (0, import_path81.join)(outputDir, NAVIGATION_FILENAME);
930771
- (0, import_fs33.mkdirSync)((0, import_path81.dirname)(filePath), { recursive: true });
930772
- (0, import_fs33.writeFileSync)(filePath, header + yaml3);
930809
+ (0, import_fs34.mkdirSync)((0, import_path81.dirname)(filePath), { recursive: true });
930810
+ (0, import_fs34.writeFileSync)(filePath, header + yaml3);
930773
930811
  return filePath;
930774
930812
  }
930775
930813
 
@@ -936449,7 +936487,7 @@ async function generateToken({
936449
936487
 
936450
936488
  // src/commands/upgrade/updateApiSpec.ts
936451
936489
  init_lib6();
936452
- var fs26 = __toESM(require("fs"), 1);
936490
+ var fs27 = __toESM(require("fs"), 1);
936453
936491
  var import_promises145 = require("fs/promises");
936454
936492
  init_graphql();
936455
936493
  var import_stream16 = require("stream");
@@ -936458,7 +936496,7 @@ async function fetchAndWriteFile(url3, path97, logger4, indent4) {
936458
936496
  const resp = await fetch(url3);
936459
936497
  if (resp.ok && resp.body) {
936460
936498
  logger4.debug("Origin successfully fetched, writing to file");
936461
- const fileStream = fs26.createWriteStream(path97);
936499
+ const fileStream = fs27.createWriteStream(path97);
936462
936500
  await (0, import_promises146.finished)(import_stream16.Readable.fromWeb(resp.body).pipe(fileStream));
936463
936501
  const fileContents = await (0, import_promises145.readFile)(path97, "utf8");
936464
936502
  try {
@@ -940226,7 +940264,7 @@ async function validateDocsBrokenLinks({
940226
940264
  }
940227
940265
 
940228
940266
  // src/commands/validate/validateMdx.ts
940229
- var import_fs34 = require("fs");
940267
+ var import_fs35 = require("fs");
940230
940268
  var import_gray_matter10 = __toESM(require_gray_matter(), 1);
940231
940269
  var import_path90 = __toESM(require("path"), 1);
940232
940270
  function calculateVisualColumn(text9, charIndex, tabWidth = 4) {
@@ -940302,7 +940340,7 @@ async function validateMdxFiles({
940302
940340
  });
940303
940341
  const filesToCheck = Array.from(new Set(allPages));
940304
940342
  for (const filepath of filesToCheck) {
940305
- const content5 = (0, import_fs34.readFileSync)(filepath, "utf-8");
940343
+ const content5 = (0, import_fs35.readFileSync)(filepath, "utf-8");
940306
940344
  try {
940307
940345
  parseMarkdownToTree(content5);
940308
940346
  } catch (error50) {
@@ -940891,7 +940929,7 @@ async function writeDocsDefinitionForProject({
940891
940929
  // src/commands/write-translation/writeTranslationForProject.ts
940892
940930
  init_lib6();
940893
940931
  var import_cli_progress2 = __toESM(require_cli_progress(), 1);
940894
- var import_fs37 = require("fs");
940932
+ var import_fs38 = require("fs");
940895
940933
  var import_promises180 = require("fs/promises");
940896
940934
  var import_is_ci3 = __toESM(require_is_ci(), 1);
940897
940935
  var import_path94 = __toESM(require("path"), 1);
@@ -941565,7 +941603,7 @@ async function createLanguageSpecificDocsConfig({
941565
941603
 
941566
941604
  // src/commands/write-translation/file-collection-utils.ts
941567
941605
  init_lib6();
941568
- var import_fs35 = require("fs");
941606
+ var import_fs36 = require("fs");
941569
941607
  var import_promises178 = require("fs/promises");
941570
941608
  var import_path92 = __toESM(require("path"), 1);
941571
941609
  async function collectFiles(baseDirectory, relativeBase) {
@@ -941577,7 +941615,7 @@ async function collectFiles(baseDirectory, relativeBase) {
941577
941615
  }
941578
941616
  const fullPath = import_path92.default.join(baseDirectory, entry);
941579
941617
  const relativePath = relativeBase ? join2(relativeBase, RelativeFilePath2.of(entry)) : RelativeFilePath2.of(entry);
941580
- const stat6 = (0, import_fs35.statSync)(fullPath);
941618
+ const stat6 = (0, import_fs36.statSync)(fullPath);
941581
941619
  if (stat6.isDirectory()) {
941582
941620
  const subdirectoryFiles = await collectFiles(fullPath, relativePath);
941583
941621
  for (const [subPath, subRelativePath] of Object.entries(subdirectoryFiles)) {
@@ -941592,7 +941630,7 @@ async function collectFiles(baseDirectory, relativeBase) {
941592
941630
 
941593
941631
  // src/commands/write-translation/hash-utils.ts
941594
941632
  var import_crypto13 = require("crypto");
941595
- var import_fs36 = require("fs");
941633
+ var import_fs37 = require("fs");
941596
941634
  var import_promises179 = require("fs/promises");
941597
941635
  var import_path93 = __toESM(require("path"), 1);
941598
941636
  function calculateContentHash(content5) {
@@ -941600,7 +941638,7 @@ function calculateContentHash(content5) {
941600
941638
  }
941601
941639
  async function loadHashMappings(translationsDirectory) {
941602
941640
  const hashesFilePath = import_path93.default.join(translationsDirectory, "hashes");
941603
- if (!(0, import_fs36.existsSync)(hashesFilePath)) {
941641
+ if (!(0, import_fs37.existsSync)(hashesFilePath)) {
941604
941642
  return {};
941605
941643
  }
941606
941644
  try {
@@ -941680,21 +941718,21 @@ async function writeTranslationForProject({
941680
941718
  if (!sourceLanguage) {
941681
941719
  throw new Error("Unexpected error - first element of languages array is invalid");
941682
941720
  }
941683
- if (!(0, import_fs37.existsSync)(translationsDirectory)) {
941721
+ if (!(0, import_fs38.existsSync)(translationsDirectory)) {
941684
941722
  context3.logger.debug(`Creating translations directory at: ${translationsDirectory}`);
941685
941723
  await (0, import_promises180.mkdir)(translationsDirectory, { recursive: true });
941686
941724
  }
941687
941725
  const languageStats = {};
941688
941726
  const targetLanguages = languages.filter((lang) => lang !== sourceLanguage);
941689
941727
  const originalDocsConfigPath = join2(fernDirectory, RelativeFilePath2.of(DOCS_CONFIGURATION_FILENAME));
941690
- const hasDocsConfig = (0, import_fs37.existsSync)(originalDocsConfigPath);
941728
+ const hasDocsConfig = (0, import_fs38.existsSync)(originalDocsConfigPath);
941691
941729
  for (const language of targetLanguages) {
941692
941730
  const languageDirectory = join2(
941693
941731
  translationsDirectory,
941694
941732
  RelativeFilePath2.of(language),
941695
941733
  RelativeFilePath2.of("fern")
941696
941734
  );
941697
- if (!(0, import_fs37.existsSync)(languageDirectory)) {
941735
+ if (!(0, import_fs38.existsSync)(languageDirectory)) {
941698
941736
  await (0, import_promises180.mkdir)(languageDirectory, { recursive: true });
941699
941737
  }
941700
941738
  languageStats[language] = {
@@ -941866,7 +941904,7 @@ async function writeTranslationForProject({
941866
941904
  );
941867
941905
  const destPath = join2(languageDirectory, relativePath);
941868
941906
  const destDir = import_path94.default.dirname(destPath);
941869
- if (!(0, import_fs37.existsSync)(destDir)) {
941907
+ if (!(0, import_fs38.existsSync)(destDir)) {
941870
941908
  await (0, import_promises180.mkdir)(destDir, { recursive: true });
941871
941909
  }
941872
941910
  const transformation = {
@@ -941910,7 +941948,7 @@ async function writeTranslationForProject({
941910
941948
  );
941911
941949
  const destPath = join2(languageDirectory, relativePath);
941912
941950
  const destDir = import_path94.default.dirname(destPath);
941913
- if (!(0, import_fs37.existsSync)(destDir)) {
941951
+ if (!(0, import_fs38.existsSync)(destDir)) {
941914
941952
  await (0, import_promises180.mkdir)(destDir, { recursive: true });
941915
941953
  }
941916
941954
  await (0, import_promises180.copyFile)(filePath, destPath);
@@ -942407,12 +942445,12 @@ function addDiffCommand(cli, cliContext) {
942407
942445
  }),
942408
942446
  async (argv) => {
942409
942447
  if (process.env.__FERN_DIFF_HEAP_RESPAWNED == null) {
942410
- const fs27 = await import("fs");
942448
+ const fs28 = await import("fs");
942411
942449
  const ONE_GB = 1024 * 1024 * 1024;
942412
942450
  const fromPath = resolve5(cwd(), argv.from);
942413
942451
  const toPath5 = resolve5(cwd(), argv.to);
942414
- const fromSize = fs27.statSync(fromPath, { throwIfNoEntry: false })?.size ?? 0;
942415
- const toSize = fs27.statSync(toPath5, { throwIfNoEntry: false })?.size ?? 0;
942452
+ const fromSize = fs28.statSync(fromPath, { throwIfNoEntry: false })?.size ?? 0;
942453
+ const toSize = fs28.statSync(toPath5, { throwIfNoEntry: false })?.size ?? 0;
942416
942454
  if (fromSize > ONE_GB || toSize > ONE_GB) {
942417
942455
  const { spawnSync: spawnSync6 } = await import("child_process");
942418
942456
  const HEAP_SIZE_MB = 8192;