@apps-in-toss/framework 0.0.0-dev.1741252452371 → 0.0.0-dev.1741346821380

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.
@@ -348,8 +348,8 @@ var require_minimatch = __commonJS({
348
348
  return new Minimatch(pattern, options).match(p);
349
349
  };
350
350
  module2.exports = minimatch;
351
- var path14 = require_path();
352
- minimatch.sep = path14.sep;
351
+ var path16 = require_path();
352
+ minimatch.sep = path16.sep;
353
353
  var GLOBSTAR = Symbol("globstar **");
354
354
  minimatch.GLOBSTAR = GLOBSTAR;
355
355
  var expand = require_brace_expansion();
@@ -858,8 +858,8 @@ var require_minimatch = __commonJS({
858
858
  if (this.empty) return f === "";
859
859
  if (f === "/" && partial) return true;
860
860
  const options = this.options;
861
- if (path14.sep !== "/") {
862
- f = f.split(path14.sep).join("/");
861
+ if (path16.sep !== "/") {
862
+ f = f.split(path16.sep).join("/");
863
863
  }
864
864
  f = f.split(slashSplit);
865
865
  this.debug(this.pattern, "split", f);
@@ -899,13 +899,13 @@ var require_readdir_glob = __commonJS({
899
899
  "use strict";
900
900
  init_cjs_shims();
901
901
  module2.exports = readdirGlob;
902
- var fs9 = require("fs");
902
+ var fs11 = require("fs");
903
903
  var { EventEmitter: EventEmitter2 } = require("events");
904
904
  var { Minimatch } = require_minimatch();
905
905
  var { resolve } = require("path");
906
906
  function readdir(dir2, strict) {
907
907
  return new Promise((resolve2, reject2) => {
908
- fs9.readdir(dir2, { withFileTypes: true }, (err, files) => {
908
+ fs11.readdir(dir2, { withFileTypes: true }, (err, files) => {
909
909
  if (err) {
910
910
  switch (err.code) {
911
911
  case "ENOTDIR":
@@ -938,7 +938,7 @@ var require_readdir_glob = __commonJS({
938
938
  }
939
939
  function stat(file, followSymlinks) {
940
940
  return new Promise((resolve2, reject2) => {
941
- const statFunc = followSymlinks ? fs9.stat : fs9.lstat;
941
+ const statFunc = followSymlinks ? fs11.stat : fs11.lstat;
942
942
  statFunc(file, (err, stats) => {
943
943
  if (err) {
944
944
  switch (err.code) {
@@ -959,8 +959,8 @@ var require_readdir_glob = __commonJS({
959
959
  });
960
960
  });
961
961
  }
962
- async function* exploreWalkAsync(dir2, path14, followSymlinks, useStat, shouldSkip, strict) {
963
- let files = await readdir(path14 + dir2, strict);
962
+ async function* exploreWalkAsync(dir2, path16, followSymlinks, useStat, shouldSkip, strict) {
963
+ let files = await readdir(path16 + dir2, strict);
964
964
  for (const file of files) {
965
965
  let name = file.name;
966
966
  if (name === void 0) {
@@ -969,7 +969,7 @@ var require_readdir_glob = __commonJS({
969
969
  }
970
970
  const filename = dir2 + "/" + name;
971
971
  const relative = filename.slice(1);
972
- const absolute = path14 + "/" + relative;
972
+ const absolute = path16 + "/" + relative;
973
973
  let stats = null;
974
974
  if (useStat || followSymlinks) {
975
975
  stats = await stat(absolute, followSymlinks);
@@ -983,15 +983,15 @@ var require_readdir_glob = __commonJS({
983
983
  if (stats.isDirectory()) {
984
984
  if (!shouldSkip(relative)) {
985
985
  yield { relative, absolute, stats };
986
- yield* exploreWalkAsync(filename, path14, followSymlinks, useStat, shouldSkip, false);
986
+ yield* exploreWalkAsync(filename, path16, followSymlinks, useStat, shouldSkip, false);
987
987
  }
988
988
  } else {
989
989
  yield { relative, absolute, stats };
990
990
  }
991
991
  }
992
992
  }
993
- async function* explore(path14, followSymlinks, useStat, shouldSkip) {
994
- yield* exploreWalkAsync("", path14, followSymlinks, useStat, shouldSkip, true);
993
+ async function* explore(path16, followSymlinks, useStat, shouldSkip) {
994
+ yield* exploreWalkAsync("", path16, followSymlinks, useStat, shouldSkip, true);
995
995
  }
996
996
  function readOptions(options) {
997
997
  return {
@@ -3004,54 +3004,54 @@ var require_polyfills = __commonJS({
3004
3004
  }
3005
3005
  var chdir;
3006
3006
  module2.exports = patch;
3007
- function patch(fs9) {
3007
+ function patch(fs11) {
3008
3008
  if (constants5.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
3009
- patchLchmod(fs9);
3010
- }
3011
- if (!fs9.lutimes) {
3012
- patchLutimes(fs9);
3013
- }
3014
- fs9.chown = chownFix(fs9.chown);
3015
- fs9.fchown = chownFix(fs9.fchown);
3016
- fs9.lchown = chownFix(fs9.lchown);
3017
- fs9.chmod = chmodFix(fs9.chmod);
3018
- fs9.fchmod = chmodFix(fs9.fchmod);
3019
- fs9.lchmod = chmodFix(fs9.lchmod);
3020
- fs9.chownSync = chownFixSync(fs9.chownSync);
3021
- fs9.fchownSync = chownFixSync(fs9.fchownSync);
3022
- fs9.lchownSync = chownFixSync(fs9.lchownSync);
3023
- fs9.chmodSync = chmodFixSync(fs9.chmodSync);
3024
- fs9.fchmodSync = chmodFixSync(fs9.fchmodSync);
3025
- fs9.lchmodSync = chmodFixSync(fs9.lchmodSync);
3026
- fs9.stat = statFix(fs9.stat);
3027
- fs9.fstat = statFix(fs9.fstat);
3028
- fs9.lstat = statFix(fs9.lstat);
3029
- fs9.statSync = statFixSync(fs9.statSync);
3030
- fs9.fstatSync = statFixSync(fs9.fstatSync);
3031
- fs9.lstatSync = statFixSync(fs9.lstatSync);
3032
- if (fs9.chmod && !fs9.lchmod) {
3033
- fs9.lchmod = function(path14, mode, cb) {
3009
+ patchLchmod(fs11);
3010
+ }
3011
+ if (!fs11.lutimes) {
3012
+ patchLutimes(fs11);
3013
+ }
3014
+ fs11.chown = chownFix(fs11.chown);
3015
+ fs11.fchown = chownFix(fs11.fchown);
3016
+ fs11.lchown = chownFix(fs11.lchown);
3017
+ fs11.chmod = chmodFix(fs11.chmod);
3018
+ fs11.fchmod = chmodFix(fs11.fchmod);
3019
+ fs11.lchmod = chmodFix(fs11.lchmod);
3020
+ fs11.chownSync = chownFixSync(fs11.chownSync);
3021
+ fs11.fchownSync = chownFixSync(fs11.fchownSync);
3022
+ fs11.lchownSync = chownFixSync(fs11.lchownSync);
3023
+ fs11.chmodSync = chmodFixSync(fs11.chmodSync);
3024
+ fs11.fchmodSync = chmodFixSync(fs11.fchmodSync);
3025
+ fs11.lchmodSync = chmodFixSync(fs11.lchmodSync);
3026
+ fs11.stat = statFix(fs11.stat);
3027
+ fs11.fstat = statFix(fs11.fstat);
3028
+ fs11.lstat = statFix(fs11.lstat);
3029
+ fs11.statSync = statFixSync(fs11.statSync);
3030
+ fs11.fstatSync = statFixSync(fs11.fstatSync);
3031
+ fs11.lstatSync = statFixSync(fs11.lstatSync);
3032
+ if (fs11.chmod && !fs11.lchmod) {
3033
+ fs11.lchmod = function(path16, mode, cb) {
3034
3034
  if (cb) process.nextTick(cb);
3035
3035
  };
3036
- fs9.lchmodSync = function() {
3036
+ fs11.lchmodSync = function() {
3037
3037
  };
3038
3038
  }
3039
- if (fs9.chown && !fs9.lchown) {
3040
- fs9.lchown = function(path14, uid, gid, cb) {
3039
+ if (fs11.chown && !fs11.lchown) {
3040
+ fs11.lchown = function(path16, uid, gid, cb) {
3041
3041
  if (cb) process.nextTick(cb);
3042
3042
  };
3043
- fs9.lchownSync = function() {
3043
+ fs11.lchownSync = function() {
3044
3044
  };
3045
3045
  }
3046
3046
  if (platform2 === "win32") {
3047
- fs9.rename = typeof fs9.rename !== "function" ? fs9.rename : function(fs$rename) {
3047
+ fs11.rename = typeof fs11.rename !== "function" ? fs11.rename : function(fs$rename) {
3048
3048
  function rename(from, to, cb) {
3049
3049
  var start = Date.now();
3050
3050
  var backoff = 0;
3051
3051
  fs$rename(from, to, function CB(er) {
3052
3052
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
3053
3053
  setTimeout(function() {
3054
- fs9.stat(to, function(stater, st) {
3054
+ fs11.stat(to, function(stater, st) {
3055
3055
  if (stater && stater.code === "ENOENT")
3056
3056
  fs$rename(from, to, CB);
3057
3057
  else
@@ -3067,9 +3067,9 @@ var require_polyfills = __commonJS({
3067
3067
  }
3068
3068
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
3069
3069
  return rename;
3070
- }(fs9.rename);
3070
+ }(fs11.rename);
3071
3071
  }
3072
- fs9.read = typeof fs9.read !== "function" ? fs9.read : function(fs$read) {
3072
+ fs11.read = typeof fs11.read !== "function" ? fs11.read : function(fs$read) {
3073
3073
  function read(fd, buffer, offset, length, position, callback_) {
3074
3074
  var callback;
3075
3075
  if (callback_ && typeof callback_ === "function") {
@@ -3077,22 +3077,22 @@ var require_polyfills = __commonJS({
3077
3077
  callback = function(er, _2, __) {
3078
3078
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
3079
3079
  eagCounter++;
3080
- return fs$read.call(fs9, fd, buffer, offset, length, position, callback);
3080
+ return fs$read.call(fs11, fd, buffer, offset, length, position, callback);
3081
3081
  }
3082
3082
  callback_.apply(this, arguments);
3083
3083
  };
3084
3084
  }
3085
- return fs$read.call(fs9, fd, buffer, offset, length, position, callback);
3085
+ return fs$read.call(fs11, fd, buffer, offset, length, position, callback);
3086
3086
  }
3087
3087
  if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
3088
3088
  return read;
3089
- }(fs9.read);
3090
- fs9.readSync = typeof fs9.readSync !== "function" ? fs9.readSync : /* @__PURE__ */ function(fs$readSync) {
3089
+ }(fs11.read);
3090
+ fs11.readSync = typeof fs11.readSync !== "function" ? fs11.readSync : /* @__PURE__ */ function(fs$readSync) {
3091
3091
  return function(fd, buffer, offset, length, position) {
3092
3092
  var eagCounter = 0;
3093
3093
  while (true) {
3094
3094
  try {
3095
- return fs$readSync.call(fs9, fd, buffer, offset, length, position);
3095
+ return fs$readSync.call(fs11, fd, buffer, offset, length, position);
3096
3096
  } catch (er) {
3097
3097
  if (er.code === "EAGAIN" && eagCounter < 10) {
3098
3098
  eagCounter++;
@@ -3102,11 +3102,11 @@ var require_polyfills = __commonJS({
3102
3102
  }
3103
3103
  }
3104
3104
  };
3105
- }(fs9.readSync);
3106
- function patchLchmod(fs10) {
3107
- fs10.lchmod = function(path14, mode, callback) {
3108
- fs10.open(
3109
- path14,
3105
+ }(fs11.readSync);
3106
+ function patchLchmod(fs12) {
3107
+ fs12.lchmod = function(path16, mode, callback) {
3108
+ fs12.open(
3109
+ path16,
3110
3110
  constants5.O_WRONLY | constants5.O_SYMLINK,
3111
3111
  mode,
3112
3112
  function(err, fd) {
@@ -3114,80 +3114,80 @@ var require_polyfills = __commonJS({
3114
3114
  if (callback) callback(err);
3115
3115
  return;
3116
3116
  }
3117
- fs10.fchmod(fd, mode, function(err2) {
3118
- fs10.close(fd, function(err22) {
3117
+ fs12.fchmod(fd, mode, function(err2) {
3118
+ fs12.close(fd, function(err22) {
3119
3119
  if (callback) callback(err2 || err22);
3120
3120
  });
3121
3121
  });
3122
3122
  }
3123
3123
  );
3124
3124
  };
3125
- fs10.lchmodSync = function(path14, mode) {
3126
- var fd = fs10.openSync(path14, constants5.O_WRONLY | constants5.O_SYMLINK, mode);
3125
+ fs12.lchmodSync = function(path16, mode) {
3126
+ var fd = fs12.openSync(path16, constants5.O_WRONLY | constants5.O_SYMLINK, mode);
3127
3127
  var threw = true;
3128
3128
  var ret;
3129
3129
  try {
3130
- ret = fs10.fchmodSync(fd, mode);
3130
+ ret = fs12.fchmodSync(fd, mode);
3131
3131
  threw = false;
3132
3132
  } finally {
3133
3133
  if (threw) {
3134
3134
  try {
3135
- fs10.closeSync(fd);
3135
+ fs12.closeSync(fd);
3136
3136
  } catch (er) {
3137
3137
  }
3138
3138
  } else {
3139
- fs10.closeSync(fd);
3139
+ fs12.closeSync(fd);
3140
3140
  }
3141
3141
  }
3142
3142
  return ret;
3143
3143
  };
3144
3144
  }
3145
- function patchLutimes(fs10) {
3146
- if (constants5.hasOwnProperty("O_SYMLINK") && fs10.futimes) {
3147
- fs10.lutimes = function(path14, at, mt, cb) {
3148
- fs10.open(path14, constants5.O_SYMLINK, function(er, fd) {
3145
+ function patchLutimes(fs12) {
3146
+ if (constants5.hasOwnProperty("O_SYMLINK") && fs12.futimes) {
3147
+ fs12.lutimes = function(path16, at, mt, cb) {
3148
+ fs12.open(path16, constants5.O_SYMLINK, function(er, fd) {
3149
3149
  if (er) {
3150
3150
  if (cb) cb(er);
3151
3151
  return;
3152
3152
  }
3153
- fs10.futimes(fd, at, mt, function(er2) {
3154
- fs10.close(fd, function(er22) {
3153
+ fs12.futimes(fd, at, mt, function(er2) {
3154
+ fs12.close(fd, function(er22) {
3155
3155
  if (cb) cb(er2 || er22);
3156
3156
  });
3157
3157
  });
3158
3158
  });
3159
3159
  };
3160
- fs10.lutimesSync = function(path14, at, mt) {
3161
- var fd = fs10.openSync(path14, constants5.O_SYMLINK);
3160
+ fs12.lutimesSync = function(path16, at, mt) {
3161
+ var fd = fs12.openSync(path16, constants5.O_SYMLINK);
3162
3162
  var ret;
3163
3163
  var threw = true;
3164
3164
  try {
3165
- ret = fs10.futimesSync(fd, at, mt);
3165
+ ret = fs12.futimesSync(fd, at, mt);
3166
3166
  threw = false;
3167
3167
  } finally {
3168
3168
  if (threw) {
3169
3169
  try {
3170
- fs10.closeSync(fd);
3170
+ fs12.closeSync(fd);
3171
3171
  } catch (er) {
3172
3172
  }
3173
3173
  } else {
3174
- fs10.closeSync(fd);
3174
+ fs12.closeSync(fd);
3175
3175
  }
3176
3176
  }
3177
3177
  return ret;
3178
3178
  };
3179
- } else if (fs10.futimes) {
3180
- fs10.lutimes = function(_a, _b, _c, cb) {
3179
+ } else if (fs12.futimes) {
3180
+ fs12.lutimes = function(_a, _b, _c, cb) {
3181
3181
  if (cb) process.nextTick(cb);
3182
3182
  };
3183
- fs10.lutimesSync = function() {
3183
+ fs12.lutimesSync = function() {
3184
3184
  };
3185
3185
  }
3186
3186
  }
3187
3187
  function chmodFix(orig) {
3188
3188
  if (!orig) return orig;
3189
3189
  return function(target, mode, cb) {
3190
- return orig.call(fs9, target, mode, function(er) {
3190
+ return orig.call(fs11, target, mode, function(er) {
3191
3191
  if (chownErOk(er)) er = null;
3192
3192
  if (cb) cb.apply(this, arguments);
3193
3193
  });
@@ -3197,7 +3197,7 @@ var require_polyfills = __commonJS({
3197
3197
  if (!orig) return orig;
3198
3198
  return function(target, mode) {
3199
3199
  try {
3200
- return orig.call(fs9, target, mode);
3200
+ return orig.call(fs11, target, mode);
3201
3201
  } catch (er) {
3202
3202
  if (!chownErOk(er)) throw er;
3203
3203
  }
@@ -3206,7 +3206,7 @@ var require_polyfills = __commonJS({
3206
3206
  function chownFix(orig) {
3207
3207
  if (!orig) return orig;
3208
3208
  return function(target, uid, gid, cb) {
3209
- return orig.call(fs9, target, uid, gid, function(er) {
3209
+ return orig.call(fs11, target, uid, gid, function(er) {
3210
3210
  if (chownErOk(er)) er = null;
3211
3211
  if (cb) cb.apply(this, arguments);
3212
3212
  });
@@ -3216,7 +3216,7 @@ var require_polyfills = __commonJS({
3216
3216
  if (!orig) return orig;
3217
3217
  return function(target, uid, gid) {
3218
3218
  try {
3219
- return orig.call(fs9, target, uid, gid);
3219
+ return orig.call(fs11, target, uid, gid);
3220
3220
  } catch (er) {
3221
3221
  if (!chownErOk(er)) throw er;
3222
3222
  }
@@ -3236,13 +3236,13 @@ var require_polyfills = __commonJS({
3236
3236
  }
3237
3237
  if (cb) cb.apply(this, arguments);
3238
3238
  }
3239
- return options ? orig.call(fs9, target, options, callback) : orig.call(fs9, target, callback);
3239
+ return options ? orig.call(fs11, target, options, callback) : orig.call(fs11, target, callback);
3240
3240
  };
3241
3241
  }
3242
3242
  function statFixSync(orig) {
3243
3243
  if (!orig) return orig;
3244
3244
  return function(target, options) {
3245
- var stats = options ? orig.call(fs9, target, options) : orig.call(fs9, target);
3245
+ var stats = options ? orig.call(fs11, target, options) : orig.call(fs11, target);
3246
3246
  if (stats) {
3247
3247
  if (stats.uid < 0) stats.uid += 4294967296;
3248
3248
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -3273,16 +3273,16 @@ var require_legacy_streams = __commonJS({
3273
3273
  init_cjs_shims();
3274
3274
  var Stream = require("stream").Stream;
3275
3275
  module2.exports = legacy;
3276
- function legacy(fs9) {
3276
+ function legacy(fs11) {
3277
3277
  return {
3278
3278
  ReadStream,
3279
3279
  WriteStream
3280
3280
  };
3281
- function ReadStream(path14, options) {
3282
- if (!(this instanceof ReadStream)) return new ReadStream(path14, options);
3281
+ function ReadStream(path16, options) {
3282
+ if (!(this instanceof ReadStream)) return new ReadStream(path16, options);
3283
3283
  Stream.call(this);
3284
3284
  var self2 = this;
3285
- this.path = path14;
3285
+ this.path = path16;
3286
3286
  this.fd = null;
3287
3287
  this.readable = true;
3288
3288
  this.paused = false;
@@ -3316,7 +3316,7 @@ var require_legacy_streams = __commonJS({
3316
3316
  });
3317
3317
  return;
3318
3318
  }
3319
- fs9.open(this.path, this.flags, this.mode, function(err, fd) {
3319
+ fs11.open(this.path, this.flags, this.mode, function(err, fd) {
3320
3320
  if (err) {
3321
3321
  self2.emit("error", err);
3322
3322
  self2.readable = false;
@@ -3327,10 +3327,10 @@ var require_legacy_streams = __commonJS({
3327
3327
  self2._read();
3328
3328
  });
3329
3329
  }
3330
- function WriteStream(path14, options) {
3331
- if (!(this instanceof WriteStream)) return new WriteStream(path14, options);
3330
+ function WriteStream(path16, options) {
3331
+ if (!(this instanceof WriteStream)) return new WriteStream(path16, options);
3332
3332
  Stream.call(this);
3333
- this.path = path14;
3333
+ this.path = path16;
3334
3334
  this.fd = null;
3335
3335
  this.writable = true;
3336
3336
  this.flags = "w";
@@ -3355,7 +3355,7 @@ var require_legacy_streams = __commonJS({
3355
3355
  this.busy = false;
3356
3356
  this._queue = [];
3357
3357
  if (this.fd === null) {
3358
- this._open = fs9.open;
3358
+ this._open = fs11.open;
3359
3359
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
3360
3360
  this.flush();
3361
3361
  }
@@ -3393,7 +3393,7 @@ var require_graceful_fs = __commonJS({
3393
3393
  "../../.yarn/cache/graceful-fs-npm-4.2.11-b94d8104d4-386d011a55.zip/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
3394
3394
  "use strict";
3395
3395
  init_cjs_shims();
3396
- var fs9 = require("fs");
3396
+ var fs11 = require("fs");
3397
3397
  var polyfills = require_polyfills();
3398
3398
  var legacy = require_legacy_streams();
3399
3399
  var clone = require_clone();
@@ -3425,12 +3425,12 @@ var require_graceful_fs = __commonJS({
3425
3425
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
3426
3426
  console.error(m);
3427
3427
  };
3428
- if (!fs9[gracefulQueue]) {
3428
+ if (!fs11[gracefulQueue]) {
3429
3429
  queue2 = global[gracefulQueue] || [];
3430
- publishQueue(fs9, queue2);
3431
- fs9.close = function(fs$close) {
3430
+ publishQueue(fs11, queue2);
3431
+ fs11.close = function(fs$close) {
3432
3432
  function close(fd, cb) {
3433
- return fs$close.call(fs9, fd, function(err) {
3433
+ return fs$close.call(fs11, fd, function(err) {
3434
3434
  if (!err) {
3435
3435
  resetQueue();
3436
3436
  }
@@ -3442,48 +3442,48 @@ var require_graceful_fs = __commonJS({
3442
3442
  value: fs$close
3443
3443
  });
3444
3444
  return close;
3445
- }(fs9.close);
3446
- fs9.closeSync = function(fs$closeSync) {
3445
+ }(fs11.close);
3446
+ fs11.closeSync = function(fs$closeSync) {
3447
3447
  function closeSync(fd) {
3448
- fs$closeSync.apply(fs9, arguments);
3448
+ fs$closeSync.apply(fs11, arguments);
3449
3449
  resetQueue();
3450
3450
  }
3451
3451
  Object.defineProperty(closeSync, previousSymbol, {
3452
3452
  value: fs$closeSync
3453
3453
  });
3454
3454
  return closeSync;
3455
- }(fs9.closeSync);
3455
+ }(fs11.closeSync);
3456
3456
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
3457
3457
  process.on("exit", function() {
3458
- debug(fs9[gracefulQueue]);
3459
- require("assert").equal(fs9[gracefulQueue].length, 0);
3458
+ debug(fs11[gracefulQueue]);
3459
+ require("assert").equal(fs11[gracefulQueue].length, 0);
3460
3460
  });
3461
3461
  }
3462
3462
  }
3463
3463
  var queue2;
3464
3464
  if (!global[gracefulQueue]) {
3465
- publishQueue(global, fs9[gracefulQueue]);
3466
- }
3467
- module2.exports = patch(clone(fs9));
3468
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs9.__patched) {
3469
- module2.exports = patch(fs9);
3470
- fs9.__patched = true;
3471
- }
3472
- function patch(fs10) {
3473
- polyfills(fs10);
3474
- fs10.gracefulify = patch;
3475
- fs10.createReadStream = createReadStream3;
3476
- fs10.createWriteStream = createWriteStream3;
3477
- var fs$readFile = fs10.readFile;
3478
- fs10.readFile = readFile3;
3479
- function readFile3(path14, options, cb) {
3465
+ publishQueue(global, fs11[gracefulQueue]);
3466
+ }
3467
+ module2.exports = patch(clone(fs11));
3468
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs11.__patched) {
3469
+ module2.exports = patch(fs11);
3470
+ fs11.__patched = true;
3471
+ }
3472
+ function patch(fs12) {
3473
+ polyfills(fs12);
3474
+ fs12.gracefulify = patch;
3475
+ fs12.createReadStream = createReadStream3;
3476
+ fs12.createWriteStream = createWriteStream3;
3477
+ var fs$readFile = fs12.readFile;
3478
+ fs12.readFile = readFile2;
3479
+ function readFile2(path16, options, cb) {
3480
3480
  if (typeof options === "function")
3481
3481
  cb = options, options = null;
3482
- return go$readFile(path14, options, cb);
3483
- function go$readFile(path15, options2, cb2, startTime) {
3484
- return fs$readFile(path15, options2, function(err) {
3482
+ return go$readFile(path16, options, cb);
3483
+ function go$readFile(path17, options2, cb2, startTime) {
3484
+ return fs$readFile(path17, options2, function(err) {
3485
3485
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3486
- enqueue([go$readFile, [path15, options2, cb2], err, startTime || Date.now(), Date.now()]);
3486
+ enqueue([go$readFile, [path17, options2, cb2], err, startTime || Date.now(), Date.now()]);
3487
3487
  else {
3488
3488
  if (typeof cb2 === "function")
3489
3489
  cb2.apply(this, arguments);
@@ -3491,16 +3491,16 @@ var require_graceful_fs = __commonJS({
3491
3491
  });
3492
3492
  }
3493
3493
  }
3494
- var fs$writeFile = fs10.writeFile;
3495
- fs10.writeFile = writeFile2;
3496
- function writeFile2(path14, data, options, cb) {
3494
+ var fs$writeFile = fs12.writeFile;
3495
+ fs12.writeFile = writeFile2;
3496
+ function writeFile2(path16, data, options, cb) {
3497
3497
  if (typeof options === "function")
3498
3498
  cb = options, options = null;
3499
- return go$writeFile(path14, data, options, cb);
3500
- function go$writeFile(path15, data2, options2, cb2, startTime) {
3501
- return fs$writeFile(path15, data2, options2, function(err) {
3499
+ return go$writeFile(path16, data, options, cb);
3500
+ function go$writeFile(path17, data2, options2, cb2, startTime) {
3501
+ return fs$writeFile(path17, data2, options2, function(err) {
3502
3502
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3503
- enqueue([go$writeFile, [path15, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3503
+ enqueue([go$writeFile, [path17, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3504
3504
  else {
3505
3505
  if (typeof cb2 === "function")
3506
3506
  cb2.apply(this, arguments);
@@ -3508,17 +3508,17 @@ var require_graceful_fs = __commonJS({
3508
3508
  });
3509
3509
  }
3510
3510
  }
3511
- var fs$appendFile = fs10.appendFile;
3511
+ var fs$appendFile = fs12.appendFile;
3512
3512
  if (fs$appendFile)
3513
- fs10.appendFile = appendFile;
3514
- function appendFile(path14, data, options, cb) {
3513
+ fs12.appendFile = appendFile;
3514
+ function appendFile(path16, data, options, cb) {
3515
3515
  if (typeof options === "function")
3516
3516
  cb = options, options = null;
3517
- return go$appendFile(path14, data, options, cb);
3518
- function go$appendFile(path15, data2, options2, cb2, startTime) {
3519
- return fs$appendFile(path15, data2, options2, function(err) {
3517
+ return go$appendFile(path16, data, options, cb);
3518
+ function go$appendFile(path17, data2, options2, cb2, startTime) {
3519
+ return fs$appendFile(path17, data2, options2, function(err) {
3520
3520
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3521
- enqueue([go$appendFile, [path15, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3521
+ enqueue([go$appendFile, [path17, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3522
3522
  else {
3523
3523
  if (typeof cb2 === "function")
3524
3524
  cb2.apply(this, arguments);
@@ -3526,9 +3526,9 @@ var require_graceful_fs = __commonJS({
3526
3526
  });
3527
3527
  }
3528
3528
  }
3529
- var fs$copyFile = fs10.copyFile;
3529
+ var fs$copyFile = fs12.copyFile;
3530
3530
  if (fs$copyFile)
3531
- fs10.copyFile = copyFile;
3531
+ fs12.copyFile = copyFile;
3532
3532
  function copyFile(src, dest, flags, cb) {
3533
3533
  if (typeof flags === "function") {
3534
3534
  cb = flags;
@@ -3546,34 +3546,34 @@ var require_graceful_fs = __commonJS({
3546
3546
  });
3547
3547
  }
3548
3548
  }
3549
- var fs$readdir = fs10.readdir;
3550
- fs10.readdir = readdir;
3549
+ var fs$readdir = fs12.readdir;
3550
+ fs12.readdir = readdir;
3551
3551
  var noReaddirOptionVersions = /^v[0-5]\./;
3552
- function readdir(path14, options, cb) {
3552
+ function readdir(path16, options, cb) {
3553
3553
  if (typeof options === "function")
3554
3554
  cb = options, options = null;
3555
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path15, options2, cb2, startTime) {
3556
- return fs$readdir(path15, fs$readdirCallback(
3557
- path15,
3555
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path17, options2, cb2, startTime) {
3556
+ return fs$readdir(path17, fs$readdirCallback(
3557
+ path17,
3558
3558
  options2,
3559
3559
  cb2,
3560
3560
  startTime
3561
3561
  ));
3562
- } : function go$readdir2(path15, options2, cb2, startTime) {
3563
- return fs$readdir(path15, options2, fs$readdirCallback(
3564
- path15,
3562
+ } : function go$readdir2(path17, options2, cb2, startTime) {
3563
+ return fs$readdir(path17, options2, fs$readdirCallback(
3564
+ path17,
3565
3565
  options2,
3566
3566
  cb2,
3567
3567
  startTime
3568
3568
  ));
3569
3569
  };
3570
- return go$readdir(path14, options, cb);
3571
- function fs$readdirCallback(path15, options2, cb2, startTime) {
3570
+ return go$readdir(path16, options, cb);
3571
+ function fs$readdirCallback(path17, options2, cb2, startTime) {
3572
3572
  return function(err, files) {
3573
3573
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3574
3574
  enqueue([
3575
3575
  go$readdir,
3576
- [path15, options2, cb2],
3576
+ [path17, options2, cb2],
3577
3577
  err,
3578
3578
  startTime || Date.now(),
3579
3579
  Date.now()
@@ -3588,21 +3588,21 @@ var require_graceful_fs = __commonJS({
3588
3588
  }
3589
3589
  }
3590
3590
  if (process.version.substr(0, 4) === "v0.8") {
3591
- var legStreams = legacy(fs10);
3591
+ var legStreams = legacy(fs12);
3592
3592
  ReadStream = legStreams.ReadStream;
3593
3593
  WriteStream = legStreams.WriteStream;
3594
3594
  }
3595
- var fs$ReadStream = fs10.ReadStream;
3595
+ var fs$ReadStream = fs12.ReadStream;
3596
3596
  if (fs$ReadStream) {
3597
3597
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
3598
3598
  ReadStream.prototype.open = ReadStream$open;
3599
3599
  }
3600
- var fs$WriteStream = fs10.WriteStream;
3600
+ var fs$WriteStream = fs12.WriteStream;
3601
3601
  if (fs$WriteStream) {
3602
3602
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
3603
3603
  WriteStream.prototype.open = WriteStream$open;
3604
3604
  }
3605
- Object.defineProperty(fs10, "ReadStream", {
3605
+ Object.defineProperty(fs12, "ReadStream", {
3606
3606
  get: function() {
3607
3607
  return ReadStream;
3608
3608
  },
@@ -3612,7 +3612,7 @@ var require_graceful_fs = __commonJS({
3612
3612
  enumerable: true,
3613
3613
  configurable: true
3614
3614
  });
3615
- Object.defineProperty(fs10, "WriteStream", {
3615
+ Object.defineProperty(fs12, "WriteStream", {
3616
3616
  get: function() {
3617
3617
  return WriteStream;
3618
3618
  },
@@ -3623,7 +3623,7 @@ var require_graceful_fs = __commonJS({
3623
3623
  configurable: true
3624
3624
  });
3625
3625
  var FileReadStream = ReadStream;
3626
- Object.defineProperty(fs10, "FileReadStream", {
3626
+ Object.defineProperty(fs12, "FileReadStream", {
3627
3627
  get: function() {
3628
3628
  return FileReadStream;
3629
3629
  },
@@ -3634,7 +3634,7 @@ var require_graceful_fs = __commonJS({
3634
3634
  configurable: true
3635
3635
  });
3636
3636
  var FileWriteStream = WriteStream;
3637
- Object.defineProperty(fs10, "FileWriteStream", {
3637
+ Object.defineProperty(fs12, "FileWriteStream", {
3638
3638
  get: function() {
3639
3639
  return FileWriteStream;
3640
3640
  },
@@ -3644,7 +3644,7 @@ var require_graceful_fs = __commonJS({
3644
3644
  enumerable: true,
3645
3645
  configurable: true
3646
3646
  });
3647
- function ReadStream(path14, options) {
3647
+ function ReadStream(path16, options) {
3648
3648
  if (this instanceof ReadStream)
3649
3649
  return fs$ReadStream.apply(this, arguments), this;
3650
3650
  else
@@ -3664,7 +3664,7 @@ var require_graceful_fs = __commonJS({
3664
3664
  }
3665
3665
  });
3666
3666
  }
3667
- function WriteStream(path14, options) {
3667
+ function WriteStream(path16, options) {
3668
3668
  if (this instanceof WriteStream)
3669
3669
  return fs$WriteStream.apply(this, arguments), this;
3670
3670
  else
@@ -3682,22 +3682,22 @@ var require_graceful_fs = __commonJS({
3682
3682
  }
3683
3683
  });
3684
3684
  }
3685
- function createReadStream3(path14, options) {
3686
- return new fs10.ReadStream(path14, options);
3685
+ function createReadStream3(path16, options) {
3686
+ return new fs12.ReadStream(path16, options);
3687
3687
  }
3688
- function createWriteStream3(path14, options) {
3689
- return new fs10.WriteStream(path14, options);
3688
+ function createWriteStream3(path16, options) {
3689
+ return new fs12.WriteStream(path16, options);
3690
3690
  }
3691
- var fs$open = fs10.open;
3692
- fs10.open = open;
3693
- function open(path14, flags, mode, cb) {
3691
+ var fs$open = fs12.open;
3692
+ fs12.open = open;
3693
+ function open(path16, flags, mode, cb) {
3694
3694
  if (typeof mode === "function")
3695
3695
  cb = mode, mode = null;
3696
- return go$open(path14, flags, mode, cb);
3697
- function go$open(path15, flags2, mode2, cb2, startTime) {
3698
- return fs$open(path15, flags2, mode2, function(err, fd) {
3696
+ return go$open(path16, flags, mode, cb);
3697
+ function go$open(path17, flags2, mode2, cb2, startTime) {
3698
+ return fs$open(path17, flags2, mode2, function(err, fd) {
3699
3699
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3700
- enqueue([go$open, [path15, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
3700
+ enqueue([go$open, [path17, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
3701
3701
  else {
3702
3702
  if (typeof cb2 === "function")
3703
3703
  cb2.apply(this, arguments);
@@ -3705,20 +3705,20 @@ var require_graceful_fs = __commonJS({
3705
3705
  });
3706
3706
  }
3707
3707
  }
3708
- return fs10;
3708
+ return fs12;
3709
3709
  }
3710
3710
  function enqueue(elem) {
3711
3711
  debug("ENQUEUE", elem[0].name, elem[1]);
3712
- fs9[gracefulQueue].push(elem);
3712
+ fs11[gracefulQueue].push(elem);
3713
3713
  retry2();
3714
3714
  }
3715
3715
  var retryTimer;
3716
3716
  function resetQueue() {
3717
3717
  var now = Date.now();
3718
- for (var i2 = 0; i2 < fs9[gracefulQueue].length; ++i2) {
3719
- if (fs9[gracefulQueue][i2].length > 2) {
3720
- fs9[gracefulQueue][i2][3] = now;
3721
- fs9[gracefulQueue][i2][4] = now;
3718
+ for (var i2 = 0; i2 < fs11[gracefulQueue].length; ++i2) {
3719
+ if (fs11[gracefulQueue][i2].length > 2) {
3720
+ fs11[gracefulQueue][i2][3] = now;
3721
+ fs11[gracefulQueue][i2][4] = now;
3722
3722
  }
3723
3723
  }
3724
3724
  retry2();
@@ -3726,9 +3726,9 @@ var require_graceful_fs = __commonJS({
3726
3726
  function retry2() {
3727
3727
  clearTimeout(retryTimer);
3728
3728
  retryTimer = void 0;
3729
- if (fs9[gracefulQueue].length === 0)
3729
+ if (fs11[gracefulQueue].length === 0)
3730
3730
  return;
3731
- var elem = fs9[gracefulQueue].shift();
3731
+ var elem = fs11[gracefulQueue].shift();
3732
3732
  var fn = elem[0];
3733
3733
  var args = elem[1];
3734
3734
  var err = elem[2];
@@ -3750,7 +3750,7 @@ var require_graceful_fs = __commonJS({
3750
3750
  debug("RETRY", fn.name, args);
3751
3751
  fn.apply(null, args.concat([startTime]));
3752
3752
  } else {
3753
- fs9[gracefulQueue].push(elem);
3753
+ fs11[gracefulQueue].push(elem);
3754
3754
  }
3755
3755
  }
3756
3756
  if (retryTimer === void 0) {
@@ -5834,22 +5834,22 @@ var require_normalize_path = __commonJS({
5834
5834
  "../../.yarn/cache/normalize-path-npm-3.0.0-a747cc5237-e008c8142b.zip/node_modules/normalize-path/index.js"(exports2, module2) {
5835
5835
  "use strict";
5836
5836
  init_cjs_shims();
5837
- module2.exports = function(path14, stripTrailing) {
5838
- if (typeof path14 !== "string") {
5837
+ module2.exports = function(path16, stripTrailing) {
5838
+ if (typeof path16 !== "string") {
5839
5839
  throw new TypeError("expected path to be a string");
5840
5840
  }
5841
- if (path14 === "\\" || path14 === "/") return "/";
5842
- var len = path14.length;
5843
- if (len <= 1) return path14;
5841
+ if (path16 === "\\" || path16 === "/") return "/";
5842
+ var len = path16.length;
5843
+ if (len <= 1) return path16;
5844
5844
  var prefix = "";
5845
- if (len > 4 && path14[3] === "\\") {
5846
- var ch = path14[2];
5847
- if ((ch === "?" || ch === ".") && path14.slice(0, 2) === "\\\\") {
5848
- path14 = path14.slice(2);
5845
+ if (len > 4 && path16[3] === "\\") {
5846
+ var ch = path16[2];
5847
+ if ((ch === "?" || ch === ".") && path16.slice(0, 2) === "\\\\") {
5848
+ path16 = path16.slice(2);
5849
5849
  prefix = "//";
5850
5850
  }
5851
5851
  }
5852
- var segs = path14.split(/[/\\]+/);
5852
+ var segs = path16.split(/[/\\]+/);
5853
5853
  if (stripTrailing !== false && segs[segs.length - 1] === "") {
5854
5854
  segs.pop();
5855
5855
  }
@@ -7669,7 +7669,7 @@ var require_errors = __commonJS({
7669
7669
  var classRegExp = /^([A-Z][a-z0-9]*)+$/;
7670
7670
  var nodeInternalPrefix = "__node_internal_";
7671
7671
  var codes = {};
7672
- function assert3(value, message) {
7672
+ function assert(value, message) {
7673
7673
  if (!value) {
7674
7674
  throw new codes.ERR_INTERNAL_ASSERTION(message);
7675
7675
  }
@@ -7685,7 +7685,7 @@ var require_errors = __commonJS({
7685
7685
  }
7686
7686
  function getMessage2(key, msg, args) {
7687
7687
  if (typeof msg === "function") {
7688
- assert3(
7688
+ assert(
7689
7689
  msg.length <= args.length,
7690
7690
  // Default options do not count.
7691
7691
  `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${msg.length}).`
@@ -7693,7 +7693,7 @@ var require_errors = __commonJS({
7693
7693
  return msg(...args);
7694
7694
  }
7695
7695
  const expectedLength = (msg.match(/%[dfijoOs]/g) || []).length;
7696
- assert3(
7696
+ assert(
7697
7697
  expectedLength === args.length,
7698
7698
  `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${expectedLength}).`
7699
7699
  );
@@ -7767,7 +7767,7 @@ var require_errors = __commonJS({
7767
7767
  E(
7768
7768
  "ERR_INVALID_ARG_TYPE",
7769
7769
  (name, expected, actual) => {
7770
- assert3(typeof name === "string", "'name' must be a string");
7770
+ assert(typeof name === "string", "'name' must be a string");
7771
7771
  if (!Array.isArray(expected)) {
7772
7772
  expected = [expected];
7773
7773
  }
@@ -7782,13 +7782,13 @@ var require_errors = __commonJS({
7782
7782
  const instances = [];
7783
7783
  const other = [];
7784
7784
  for (const value of expected) {
7785
- assert3(typeof value === "string", "All expected entries have to be of type string");
7785
+ assert(typeof value === "string", "All expected entries have to be of type string");
7786
7786
  if (kTypes.includes(value)) {
7787
7787
  types.push(value.toLowerCase());
7788
7788
  } else if (classRegExp.test(value)) {
7789
7789
  instances.push(value);
7790
7790
  } else {
7791
- assert3(value !== "object", 'The value "object" should be written as "Object"');
7791
+ assert(value !== "object", 'The value "object" should be written as "Object"');
7792
7792
  other.push(value);
7793
7793
  }
7794
7794
  }
@@ -7901,7 +7901,7 @@ var require_errors = __commonJS({
7901
7901
  E(
7902
7902
  "ERR_MISSING_ARGS",
7903
7903
  (...args) => {
7904
- assert3(args.length > 0, "At least one arg needs to be specified");
7904
+ assert(args.length > 0, "At least one arg needs to be specified");
7905
7905
  let msg;
7906
7906
  const len = args.length;
7907
7907
  args = (Array.isArray(args) ? args : [args]).map((a2) => `"${a2}"`).join(" or ");
@@ -7926,7 +7926,7 @@ var require_errors = __commonJS({
7926
7926
  E(
7927
7927
  "ERR_OUT_OF_RANGE",
7928
7928
  (str, range2, input) => {
7929
- assert3(range2, 'Missing "range" argument');
7929
+ assert(range2, 'Missing "range" argument');
7930
7930
  let received;
7931
7931
  if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
7932
7932
  received = addNumericalSeparator(String(input));
@@ -8452,7 +8452,7 @@ var require_end_of_stream = __commonJS({
8452
8452
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports2, module2) {
8453
8453
  "use strict";
8454
8454
  init_cjs_shims();
8455
- var process10 = require_process();
8455
+ var process11 = require_process();
8456
8456
  var { AbortError, codes } = require_errors();
8457
8457
  var { ERR_INVALID_ARG_TYPE: ERR_INVALID_ARG_TYPE2, ERR_STREAM_PREMATURE_CLOSE } = codes;
8458
8458
  var { kEmptyObject, once: once10 } = require_util2();
@@ -8588,17 +8588,17 @@ var require_end_of_stream = __commonJS({
8588
8588
  }
8589
8589
  stream2.on("close", onclose);
8590
8590
  if (closed) {
8591
- process10.nextTick(onclose);
8591
+ process11.nextTick(onclose);
8592
8592
  } else if (wState !== null && wState !== void 0 && wState.errorEmitted || rState !== null && rState !== void 0 && rState.errorEmitted) {
8593
8593
  if (!willEmitClose) {
8594
- process10.nextTick(onclosed);
8594
+ process11.nextTick(onclosed);
8595
8595
  }
8596
8596
  } else if (!readable2 && (!willEmitClose || isReadable(stream2)) && (writableFinished || isWritable(stream2) === false)) {
8597
- process10.nextTick(onclosed);
8597
+ process11.nextTick(onclosed);
8598
8598
  } else if (!writable2 && (!willEmitClose || isWritable(stream2)) && (readableFinished || isReadable(stream2) === false)) {
8599
- process10.nextTick(onclosed);
8599
+ process11.nextTick(onclosed);
8600
8600
  } else if (rState && stream2.req && stream2.aborted) {
8601
- process10.nextTick(onclosed);
8601
+ process11.nextTick(onclosed);
8602
8602
  }
8603
8603
  const cleanup = () => {
8604
8604
  callback = nop;
@@ -8626,7 +8626,7 @@ var require_end_of_stream = __commonJS({
8626
8626
  );
8627
8627
  };
8628
8628
  if (options.signal.aborted) {
8629
- process10.nextTick(abort);
8629
+ process11.nextTick(abort);
8630
8630
  } else {
8631
8631
  addAbortListener3 = addAbortListener3 || require_util2().addAbortListener;
8632
8632
  const disposable = addAbortListener3(options.signal, abort);
@@ -8653,7 +8653,7 @@ var require_end_of_stream = __commonJS({
8653
8653
  );
8654
8654
  };
8655
8655
  if (options.signal.aborted) {
8656
- process10.nextTick(abort);
8656
+ process11.nextTick(abort);
8657
8657
  } else {
8658
8658
  addAbortListener3 = addAbortListener3 || require_util2().addAbortListener;
8659
8659
  const disposable = addAbortListener3(options.signal, abort);
@@ -8666,7 +8666,7 @@ var require_end_of_stream = __commonJS({
8666
8666
  }
8667
8667
  const resolverFn = (...args) => {
8668
8668
  if (!isAborted) {
8669
- process10.nextTick(() => callback.apply(stream2, args));
8669
+ process11.nextTick(() => callback.apply(stream2, args));
8670
8670
  }
8671
8671
  };
8672
8672
  PromisePrototypeThen(stream2[kIsClosedPromise].promise, resolverFn, resolverFn);
@@ -8705,7 +8705,7 @@ var require_destroy2 = __commonJS({
8705
8705
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2, module2) {
8706
8706
  "use strict";
8707
8707
  init_cjs_shims();
8708
- var process10 = require_process();
8708
+ var process11 = require_process();
8709
8709
  var {
8710
8710
  aggregateTwoErrors,
8711
8711
  codes: { ERR_MULTIPLE_CALLBACK },
@@ -8772,9 +8772,9 @@ var require_destroy2 = __commonJS({
8772
8772
  cb(err2);
8773
8773
  }
8774
8774
  if (err2) {
8775
- process10.nextTick(emitErrorCloseNT, self2, err2);
8775
+ process11.nextTick(emitErrorCloseNT, self2, err2);
8776
8776
  } else {
8777
- process10.nextTick(emitCloseNT, self2);
8777
+ process11.nextTick(emitCloseNT, self2);
8778
8778
  }
8779
8779
  }
8780
8780
  try {
@@ -8859,7 +8859,7 @@ var require_destroy2 = __commonJS({
8859
8859
  r.errored = err;
8860
8860
  }
8861
8861
  if (sync) {
8862
- process10.nextTick(emitErrorNT, stream2, err);
8862
+ process11.nextTick(emitErrorNT, stream2, err);
8863
8863
  } else {
8864
8864
  emitErrorNT(stream2, err);
8865
8865
  }
@@ -8881,7 +8881,7 @@ var require_destroy2 = __commonJS({
8881
8881
  if (stream2.listenerCount(kConstruct) > 1) {
8882
8882
  return;
8883
8883
  }
8884
- process10.nextTick(constructNT, stream2);
8884
+ process11.nextTick(constructNT, stream2);
8885
8885
  }
8886
8886
  function constructNT(stream2) {
8887
8887
  let called = false;
@@ -8905,15 +8905,15 @@ var require_destroy2 = __commonJS({
8905
8905
  } else if (err) {
8906
8906
  errorOrDestroy(stream2, err, true);
8907
8907
  } else {
8908
- process10.nextTick(emitConstructNT, stream2);
8908
+ process11.nextTick(emitConstructNT, stream2);
8909
8909
  }
8910
8910
  }
8911
8911
  try {
8912
8912
  stream2._construct((err) => {
8913
- process10.nextTick(onConstruct, err);
8913
+ process11.nextTick(onConstruct, err);
8914
8914
  });
8915
8915
  } catch (err) {
8916
- process10.nextTick(onConstruct, err);
8916
+ process11.nextTick(onConstruct, err);
8917
8917
  }
8918
8918
  }
8919
8919
  function emitConstructNT(stream2) {
@@ -8927,7 +8927,7 @@ var require_destroy2 = __commonJS({
8927
8927
  }
8928
8928
  function emitErrorCloseLegacy(stream2, err) {
8929
8929
  stream2.emit("error", err);
8930
- process10.nextTick(emitCloseLegacy, stream2);
8930
+ process11.nextTick(emitCloseLegacy, stream2);
8931
8931
  }
8932
8932
  function destroyer(stream2, err) {
8933
8933
  if (!stream2 || isDestroyed(stream2)) {
@@ -8948,9 +8948,9 @@ var require_destroy2 = __commonJS({
8948
8948
  } else if (typeof stream2.close === "function") {
8949
8949
  stream2.close();
8950
8950
  } else if (err) {
8951
- process10.nextTick(emitErrorCloseLegacy, stream2, err);
8951
+ process11.nextTick(emitErrorCloseLegacy, stream2, err);
8952
8952
  } else {
8953
- process10.nextTick(emitCloseLegacy, stream2);
8953
+ process11.nextTick(emitCloseLegacy, stream2);
8954
8954
  }
8955
8955
  if (!stream2.destroyed) {
8956
8956
  stream2[kIsDestroyed] = true;
@@ -9301,7 +9301,7 @@ var require_from = __commonJS({
9301
9301
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/from.js"(exports2, module2) {
9302
9302
  "use strict";
9303
9303
  init_cjs_shims();
9304
- var process10 = require_process();
9304
+ var process11 = require_process();
9305
9305
  var { PromisePrototypeThen, SymbolAsyncIterator, SymbolIterator } = require_primordials();
9306
9306
  var { Buffer: Buffer5 } = require("buffer");
9307
9307
  var { ERR_INVALID_ARG_TYPE: ERR_INVALID_ARG_TYPE2, ERR_STREAM_NULL_VALUES } = require_errors().codes;
@@ -9343,9 +9343,9 @@ var require_from = __commonJS({
9343
9343
  readable2._destroy = function(error, cb) {
9344
9344
  PromisePrototypeThen(
9345
9345
  close(error),
9346
- () => process10.nextTick(cb, error),
9346
+ () => process11.nextTick(cb, error),
9347
9347
  // nextTick is here in case cb throws
9348
- (e) => process10.nextTick(cb, e || error)
9348
+ (e) => process11.nextTick(cb, e || error)
9349
9349
  );
9350
9350
  };
9351
9351
  async function close(error) {
@@ -9397,7 +9397,7 @@ var require_readable2 = __commonJS({
9397
9397
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/readable.js"(exports2, module2) {
9398
9398
  "use strict";
9399
9399
  init_cjs_shims();
9400
- var process10 = require_process();
9400
+ var process11 = require_process();
9401
9401
  var {
9402
9402
  ArrayPrototypeIndexOf,
9403
9403
  NumberIsInteger,
@@ -9782,7 +9782,7 @@ var require_readable2 = __commonJS({
9782
9782
  if (!state.emittedReadable) {
9783
9783
  debug("emitReadable", state.flowing);
9784
9784
  state.emittedReadable = true;
9785
- process10.nextTick(emitReadable_, stream2);
9785
+ process11.nextTick(emitReadable_, stream2);
9786
9786
  }
9787
9787
  }
9788
9788
  function emitReadable_(stream2) {
@@ -9798,7 +9798,7 @@ var require_readable2 = __commonJS({
9798
9798
  function maybeReadMore(stream2, state) {
9799
9799
  if (!state.readingMore && state.constructed) {
9800
9800
  state.readingMore = true;
9801
- process10.nextTick(maybeReadMore_, stream2, state);
9801
+ process11.nextTick(maybeReadMore_, stream2, state);
9802
9802
  }
9803
9803
  }
9804
9804
  function maybeReadMore_(stream2, state) {
@@ -9825,9 +9825,9 @@ var require_readable2 = __commonJS({
9825
9825
  }
9826
9826
  state.pipes.push(dest);
9827
9827
  debug("pipe count=%d opts=%j", state.pipes.length, pipeOpts);
9828
- const doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process10.stdout && dest !== process10.stderr;
9828
+ const doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process11.stdout && dest !== process11.stderr;
9829
9829
  const endFn = doEnd ? onend : unpipe;
9830
- if (state.endEmitted) process10.nextTick(endFn);
9830
+ if (state.endEmitted) process11.nextTick(endFn);
9831
9831
  else src.once("end", endFn);
9832
9832
  dest.on("unpipe", onunpipe);
9833
9833
  function onunpipe(readable2, unpipeInfo) {
@@ -9977,7 +9977,7 @@ var require_readable2 = __commonJS({
9977
9977
  if (state.length) {
9978
9978
  emitReadable(this);
9979
9979
  } else if (!state.reading) {
9980
- process10.nextTick(nReadingNextTick, this);
9980
+ process11.nextTick(nReadingNextTick, this);
9981
9981
  }
9982
9982
  }
9983
9983
  }
@@ -9987,7 +9987,7 @@ var require_readable2 = __commonJS({
9987
9987
  Readable4.prototype.removeListener = function(ev, fn) {
9988
9988
  const res = Stream.prototype.removeListener.call(this, ev, fn);
9989
9989
  if (ev === "readable") {
9990
- process10.nextTick(updateReadableListening, this);
9990
+ process11.nextTick(updateReadableListening, this);
9991
9991
  }
9992
9992
  return res;
9993
9993
  };
@@ -9995,7 +9995,7 @@ var require_readable2 = __commonJS({
9995
9995
  Readable4.prototype.removeAllListeners = function(ev) {
9996
9996
  const res = Stream.prototype.removeAllListeners.apply(this, arguments);
9997
9997
  if (ev === "readable" || ev === void 0) {
9998
- process10.nextTick(updateReadableListening, this);
9998
+ process11.nextTick(updateReadableListening, this);
9999
9999
  }
10000
10000
  return res;
10001
10001
  };
@@ -10027,7 +10027,7 @@ var require_readable2 = __commonJS({
10027
10027
  function resume(stream2, state) {
10028
10028
  if (!state.resumeScheduled) {
10029
10029
  state.resumeScheduled = true;
10030
- process10.nextTick(resume_, stream2, state);
10030
+ process11.nextTick(resume_, stream2, state);
10031
10031
  }
10032
10032
  }
10033
10033
  function resume_(stream2, state) {
@@ -10304,7 +10304,7 @@ var require_readable2 = __commonJS({
10304
10304
  debug("endReadable", state.endEmitted);
10305
10305
  if (!state.endEmitted) {
10306
10306
  state.ended = true;
10307
- process10.nextTick(endReadableNT, state, stream2);
10307
+ process11.nextTick(endReadableNT, state, stream2);
10308
10308
  }
10309
10309
  }
10310
10310
  function endReadableNT(state, stream2) {
@@ -10313,7 +10313,7 @@ var require_readable2 = __commonJS({
10313
10313
  state.endEmitted = true;
10314
10314
  stream2.emit("end");
10315
10315
  if (stream2.writable && stream2.allowHalfOpen === false) {
10316
- process10.nextTick(endWritableNT, stream2);
10316
+ process11.nextTick(endWritableNT, stream2);
10317
10317
  } else if (state.autoDestroy) {
10318
10318
  const wState = stream2._writableState;
10319
10319
  const autoDestroy = !wState || wState.autoDestroy && // We don't expect the writable to ever 'finish'
@@ -10364,7 +10364,7 @@ var require_writable = __commonJS({
10364
10364
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/writable.js"(exports2, module2) {
10365
10365
  "use strict";
10366
10366
  init_cjs_shims();
10367
- var process10 = require_process();
10367
+ var process11 = require_process();
10368
10368
  var {
10369
10369
  ArrayPrototypeSlice,
10370
10370
  Error: Error2,
@@ -10517,7 +10517,7 @@ var require_writable = __commonJS({
10517
10517
  err = new ERR_STREAM_DESTROYED("write");
10518
10518
  }
10519
10519
  if (err) {
10520
- process10.nextTick(cb, err);
10520
+ process11.nextTick(cb, err);
10521
10521
  errorOrDestroy(stream2, err, true);
10522
10522
  return err;
10523
10523
  }
@@ -10607,7 +10607,7 @@ var require_writable = __commonJS({
10607
10607
  stream2._readableState.errored = er;
10608
10608
  }
10609
10609
  if (sync) {
10610
- process10.nextTick(onwriteError, stream2, state, er, cb);
10610
+ process11.nextTick(onwriteError, stream2, state, er, cb);
10611
10611
  } else {
10612
10612
  onwriteError(stream2, state, er, cb);
10613
10613
  }
@@ -10625,7 +10625,7 @@ var require_writable = __commonJS({
10625
10625
  stream: stream2,
10626
10626
  state
10627
10627
  };
10628
- process10.nextTick(afterWriteTick, state.afterWriteTickInfo);
10628
+ process11.nextTick(afterWriteTick, state.afterWriteTickInfo);
10629
10629
  }
10630
10630
  } else {
10631
10631
  afterWrite(stream2, state, 1, cb);
@@ -10762,7 +10762,7 @@ var require_writable = __commonJS({
10762
10762
  }
10763
10763
  if (typeof cb === "function") {
10764
10764
  if (err || state.finished) {
10765
- process10.nextTick(cb, err);
10765
+ process11.nextTick(cb, err);
10766
10766
  } else {
10767
10767
  state[kOnFinished].push(cb);
10768
10768
  }
@@ -10791,7 +10791,7 @@ var require_writable = __commonJS({
10791
10791
  state.prefinished = true;
10792
10792
  stream2.emit("prefinish");
10793
10793
  state.pendingcb++;
10794
- process10.nextTick(finish, stream2, state);
10794
+ process11.nextTick(finish, stream2, state);
10795
10795
  }
10796
10796
  }
10797
10797
  state.sync = true;
@@ -10820,7 +10820,7 @@ var require_writable = __commonJS({
10820
10820
  if (state.pendingcb === 0) {
10821
10821
  if (sync) {
10822
10822
  state.pendingcb++;
10823
- process10.nextTick(
10823
+ process11.nextTick(
10824
10824
  (stream3, state2) => {
10825
10825
  if (needFinish(state2)) {
10826
10826
  finish(stream3, state2);
@@ -10955,7 +10955,7 @@ var require_writable = __commonJS({
10955
10955
  Writable4.prototype.destroy = function(err, cb) {
10956
10956
  const state = this._writableState;
10957
10957
  if (!state.destroyed && (state.bufferedIndex < state.buffered.length || state[kOnFinished].length)) {
10958
- process10.nextTick(errorBuffer, state);
10958
+ process11.nextTick(errorBuffer, state);
10959
10959
  }
10960
10960
  destroy.call(this, err, cb);
10961
10961
  return this;
@@ -10986,7 +10986,7 @@ var require_duplexify = __commonJS({
10986
10986
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/duplexify.js"(exports2, module2) {
10987
10987
  "use strict";
10988
10988
  init_cjs_shims();
10989
- var process10 = require_process();
10989
+ var process11 = require_process();
10990
10990
  var bufferModule = require("buffer");
10991
10991
  var {
10992
10992
  isReadable,
@@ -11099,9 +11099,9 @@ var require_duplexify = __commonJS({
11099
11099
  final(async () => {
11100
11100
  try {
11101
11101
  await promise;
11102
- process10.nextTick(cb, null);
11102
+ process11.nextTick(cb, null);
11103
11103
  } catch (err) {
11104
- process10.nextTick(cb, err);
11104
+ process11.nextTick(cb, err);
11105
11105
  }
11106
11106
  });
11107
11107
  },
@@ -11180,7 +11180,7 @@ var require_duplexify = __commonJS({
11180
11180
  const _promise = promise;
11181
11181
  promise = null;
11182
11182
  const { chunk, done, cb } = await _promise;
11183
- process10.nextTick(cb);
11183
+ process11.nextTick(cb);
11184
11184
  if (done) return;
11185
11185
  if (signal.aborted)
11186
11186
  throw new AbortError(void 0, {
@@ -11576,7 +11576,7 @@ var require_pipeline = __commonJS({
11576
11576
  "../../.yarn/cache/readable-stream-npm-4.5.2-2c754e52ef-a2c80e0e53.zip/node_modules/readable-stream/lib/internal/streams/pipeline.js"(exports2, module2) {
11577
11577
  "use strict";
11578
11578
  init_cjs_shims();
11579
- var process10 = require_process();
11579
+ var process11 = require_process();
11580
11580
  var { ArrayIsArray, Promise: Promise2, SymbolAsyncIterator, SymbolDispose } = require_primordials();
11581
11581
  var eos = require_end_of_stream();
11582
11582
  var { once: once10 } = require_util2();
@@ -11778,7 +11778,7 @@ var require_pipeline = __commonJS({
11778
11778
  if (!error) {
11779
11779
  lastStreamCleanup.forEach((fn) => fn());
11780
11780
  }
11781
- process10.nextTick(callback, error, value);
11781
+ process11.nextTick(callback, error, value);
11782
11782
  }
11783
11783
  }
11784
11784
  let ret;
@@ -11857,11 +11857,11 @@ var require_pipeline = __commonJS({
11857
11857
  if (end) {
11858
11858
  pt.end();
11859
11859
  }
11860
- process10.nextTick(finish);
11860
+ process11.nextTick(finish);
11861
11861
  },
11862
11862
  (err) => {
11863
11863
  pt.destroy(err);
11864
- process10.nextTick(finish, err);
11864
+ process11.nextTick(finish, err);
11865
11865
  }
11866
11866
  );
11867
11867
  } else if (isIterable(ret, true)) {
@@ -11942,7 +11942,7 @@ var require_pipeline = __commonJS({
11942
11942
  }
11943
11943
  }
11944
11944
  if (signal !== null && signal !== void 0 && signal.aborted || outerSignal !== null && outerSignal !== void 0 && outerSignal.aborted) {
11945
- process10.nextTick(abort);
11945
+ process11.nextTick(abort);
11946
11946
  }
11947
11947
  return ret;
11948
11948
  }
@@ -11963,7 +11963,7 @@ var require_pipeline = __commonJS({
11963
11963
  };
11964
11964
  var endFn = endFn2;
11965
11965
  if (isReadableFinished(src)) {
11966
- process10.nextTick(endFn2);
11966
+ process11.nextTick(endFn2);
11967
11967
  } else {
11968
11968
  src.once("end", endFn2);
11969
11969
  }
@@ -14464,11 +14464,11 @@ var require_commonjs = __commonJS({
14464
14464
  return (f) => f.length === len && f !== "." && f !== "..";
14465
14465
  };
14466
14466
  var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
14467
- var path14 = {
14467
+ var path16 = {
14468
14468
  win32: { sep: "\\" },
14469
14469
  posix: { sep: "/" }
14470
14470
  };
14471
- exports2.sep = defaultPlatform === "win32" ? path14.win32.sep : path14.posix.sep;
14471
+ exports2.sep = defaultPlatform === "win32" ? path16.win32.sep : path16.posix.sep;
14472
14472
  exports2.minimatch.sep = exports2.sep;
14473
14473
  exports2.GLOBSTAR = Symbol("globstar **");
14474
14474
  exports2.minimatch.GLOBSTAR = exports2.GLOBSTAR;
@@ -17719,12 +17719,12 @@ var require_commonjs4 = __commonJS({
17719
17719
  /**
17720
17720
  * Get the Path object referenced by the string path, resolved from this Path
17721
17721
  */
17722
- resolve(path14) {
17723
- if (!path14) {
17722
+ resolve(path16) {
17723
+ if (!path16) {
17724
17724
  return this;
17725
17725
  }
17726
- const rootPath = this.getRootString(path14);
17727
- const dir2 = path14.substring(rootPath.length);
17726
+ const rootPath = this.getRootString(path16);
17727
+ const dir2 = path16.substring(rootPath.length);
17728
17728
  const dirParts = dir2.split(this.splitSep);
17729
17729
  const result = rootPath ? this.getRoot(rootPath).#resolveParts(dirParts) : this.#resolveParts(dirParts);
17730
17730
  return result;
@@ -18477,8 +18477,8 @@ var require_commonjs4 = __commonJS({
18477
18477
  /**
18478
18478
  * @internal
18479
18479
  */
18480
- getRootString(path14) {
18481
- return node_path_1.win32.parse(path14).root;
18480
+ getRootString(path16) {
18481
+ return node_path_1.win32.parse(path16).root;
18482
18482
  }
18483
18483
  /**
18484
18484
  * @internal
@@ -18525,8 +18525,8 @@ var require_commonjs4 = __commonJS({
18525
18525
  /**
18526
18526
  * @internal
18527
18527
  */
18528
- getRootString(path14) {
18529
- return path14.startsWith("/") ? "/" : "";
18528
+ getRootString(path16) {
18529
+ return path16.startsWith("/") ? "/" : "";
18530
18530
  }
18531
18531
  /**
18532
18532
  * @internal
@@ -18576,8 +18576,8 @@ var require_commonjs4 = __commonJS({
18576
18576
  *
18577
18577
  * @internal
18578
18578
  */
18579
- constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs: fs9 = defaultFS } = {}) {
18580
- this.#fs = fsFromOption(fs9);
18579
+ constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs: fs11 = defaultFS } = {}) {
18580
+ this.#fs = fsFromOption(fs11);
18581
18581
  if (cwd instanceof URL || cwd.startsWith("file://")) {
18582
18582
  cwd = (0, node_url_1.fileURLToPath)(cwd);
18583
18583
  }
@@ -18616,11 +18616,11 @@ var require_commonjs4 = __commonJS({
18616
18616
  /**
18617
18617
  * Get the depth of a provided path, string, or the cwd
18618
18618
  */
18619
- depth(path14 = this.cwd) {
18620
- if (typeof path14 === "string") {
18621
- path14 = this.cwd.resolve(path14);
18619
+ depth(path16 = this.cwd) {
18620
+ if (typeof path16 === "string") {
18621
+ path16 = this.cwd.resolve(path16);
18622
18622
  }
18623
- return path14.depth();
18623
+ return path16.depth();
18624
18624
  }
18625
18625
  /**
18626
18626
  * Return the cache of child entries. Exposed so subclasses can create
@@ -18999,7 +18999,7 @@ var require_commonjs4 = __commonJS({
18999
18999
  const dirs = /* @__PURE__ */ new Set();
19000
19000
  const queue2 = [entry];
19001
19001
  let processing = 0;
19002
- const process10 = () => {
19002
+ const process11 = () => {
19003
19003
  let paused = false;
19004
19004
  while (!paused) {
19005
19005
  const dir2 = queue2.shift();
@@ -19040,9 +19040,9 @@ var require_commonjs4 = __commonJS({
19040
19040
  }
19041
19041
  }
19042
19042
  if (paused && !results.flowing) {
19043
- results.once("drain", process10);
19043
+ results.once("drain", process11);
19044
19044
  } else if (!sync) {
19045
- process10();
19045
+ process11();
19046
19046
  }
19047
19047
  };
19048
19048
  let sync = true;
@@ -19050,7 +19050,7 @@ var require_commonjs4 = __commonJS({
19050
19050
  sync = false;
19051
19051
  }
19052
19052
  };
19053
- process10();
19053
+ process11();
19054
19054
  return results;
19055
19055
  }
19056
19056
  streamSync(entry = this.cwd, opts = {}) {
@@ -19068,7 +19068,7 @@ var require_commonjs4 = __commonJS({
19068
19068
  }
19069
19069
  const queue2 = [entry];
19070
19070
  let processing = 0;
19071
- const process10 = () => {
19071
+ const process11 = () => {
19072
19072
  let paused = false;
19073
19073
  while (!paused) {
19074
19074
  const dir2 = queue2.shift();
@@ -19102,14 +19102,14 @@ var require_commonjs4 = __commonJS({
19102
19102
  }
19103
19103
  }
19104
19104
  if (paused && !results.flowing)
19105
- results.once("drain", process10);
19105
+ results.once("drain", process11);
19106
19106
  };
19107
- process10();
19107
+ process11();
19108
19108
  return results;
19109
19109
  }
19110
- chdir(path14 = this.cwd) {
19110
+ chdir(path16 = this.cwd) {
19111
19111
  const oldCwd = this.cwd;
19112
- this.cwd = typeof path14 === "string" ? this.cwd.resolve(path14) : path14;
19112
+ this.cwd = typeof path16 === "string" ? this.cwd.resolve(path16) : path16;
19113
19113
  this.cwd[setAsCwd](oldCwd);
19114
19114
  }
19115
19115
  };
@@ -19136,8 +19136,8 @@ var require_commonjs4 = __commonJS({
19136
19136
  /**
19137
19137
  * @internal
19138
19138
  */
19139
- newRoot(fs9) {
19140
- return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs9 });
19139
+ newRoot(fs11) {
19140
+ return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs11 });
19141
19141
  }
19142
19142
  /**
19143
19143
  * Return true if the provided path string is an absolute path
@@ -19166,8 +19166,8 @@ var require_commonjs4 = __commonJS({
19166
19166
  /**
19167
19167
  * @internal
19168
19168
  */
19169
- newRoot(fs9) {
19170
- return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs9 });
19169
+ newRoot(fs11) {
19170
+ return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs11 });
19171
19171
  }
19172
19172
  /**
19173
19173
  * Return true if the provided path string is an absolute path
@@ -19500,8 +19500,8 @@ var require_processor = __commonJS({
19500
19500
  }
19501
19501
  // match, absolute, ifdir
19502
19502
  entries() {
19503
- return [...this.store.entries()].map(([path14, n2]) => [
19504
- path14,
19503
+ return [...this.store.entries()].map(([path16, n2]) => [
19504
+ path16,
19505
19505
  !!(n2 & 2),
19506
19506
  !!(n2 & 1)
19507
19507
  ]);
@@ -19720,9 +19720,9 @@ var require_walker = __commonJS({
19720
19720
  signal;
19721
19721
  maxDepth;
19722
19722
  includeChildMatches;
19723
- constructor(patterns, path14, opts) {
19723
+ constructor(patterns, path16, opts) {
19724
19724
  this.patterns = patterns;
19725
- this.path = path14;
19725
+ this.path = path16;
19726
19726
  this.opts = opts;
19727
19727
  this.#sep = !opts.posix && opts.platform === "win32" ? "\\" : "/";
19728
19728
  this.includeChildMatches = opts.includeChildMatches !== false;
@@ -19741,11 +19741,11 @@ var require_walker = __commonJS({
19741
19741
  });
19742
19742
  }
19743
19743
  }
19744
- #ignored(path14) {
19745
- return this.seen.has(path14) || !!this.#ignore?.ignored?.(path14);
19744
+ #ignored(path16) {
19745
+ return this.seen.has(path16) || !!this.#ignore?.ignored?.(path16);
19746
19746
  }
19747
- #childrenIgnored(path14) {
19748
- return !!this.#ignore?.childrenIgnored?.(path14);
19747
+ #childrenIgnored(path16) {
19748
+ return !!this.#ignore?.childrenIgnored?.(path16);
19749
19749
  }
19750
19750
  // backpressure mechanism
19751
19751
  pause() {
@@ -19961,8 +19961,8 @@ var require_walker = __commonJS({
19961
19961
  exports2.GlobUtil = GlobUtil;
19962
19962
  var GlobWalker = class extends GlobUtil {
19963
19963
  matches = /* @__PURE__ */ new Set();
19964
- constructor(patterns, path14, opts) {
19965
- super(patterns, path14, opts);
19964
+ constructor(patterns, path16, opts) {
19965
+ super(patterns, path16, opts);
19966
19966
  }
19967
19967
  matchEmit(e) {
19968
19968
  this.matches.add(e);
@@ -20000,8 +20000,8 @@ var require_walker = __commonJS({
20000
20000
  exports2.GlobWalker = GlobWalker;
20001
20001
  var GlobStream = class extends GlobUtil {
20002
20002
  results;
20003
- constructor(patterns, path14, opts) {
20004
- super(patterns, path14, opts);
20003
+ constructor(patterns, path16, opts) {
20004
+ super(patterns, path16, opts);
20005
20005
  this.results = new minipass_1.Minipass({
20006
20006
  signal: this.signal,
20007
20007
  objectMode: true
@@ -20361,8 +20361,8 @@ var require_file = __commonJS({
20361
20361
  "../../.yarn/cache/archiver-utils-npm-5.0.2-c2e6f595a7-3782c5fa99.zip/node_modules/archiver-utils/file.js"(exports2, module2) {
20362
20362
  "use strict";
20363
20363
  init_cjs_shims();
20364
- var fs9 = require_graceful_fs();
20365
- var path14 = require("path");
20364
+ var fs11 = require_graceful_fs();
20365
+ var path16 = require("path");
20366
20366
  var flatten = require_flatten();
20367
20367
  var difference = require_difference();
20368
20368
  var union = require_union();
@@ -20387,8 +20387,8 @@ var require_file = __commonJS({
20387
20387
  return result;
20388
20388
  };
20389
20389
  file.exists = function() {
20390
- var filepath = path14.join.apply(path14, arguments);
20391
- return fs9.existsSync(filepath);
20390
+ var filepath = path16.join.apply(path16, arguments);
20391
+ return fs11.existsSync(filepath);
20392
20392
  };
20393
20393
  file.expand = function(...args) {
20394
20394
  var options = isPlainObject2(args[0]) ? args.shift() : {};
@@ -20401,12 +20401,12 @@ var require_file = __commonJS({
20401
20401
  });
20402
20402
  if (options.filter) {
20403
20403
  matches = matches.filter(function(filepath) {
20404
- filepath = path14.join(options.cwd || "", filepath);
20404
+ filepath = path16.join(options.cwd || "", filepath);
20405
20405
  try {
20406
20406
  if (typeof options.filter === "function") {
20407
20407
  return options.filter(filepath);
20408
20408
  } else {
20409
- return fs9.statSync(filepath)[options.filter]();
20409
+ return fs11.statSync(filepath)[options.filter]();
20410
20410
  }
20411
20411
  } catch (e) {
20412
20412
  return false;
@@ -20418,7 +20418,7 @@ var require_file = __commonJS({
20418
20418
  file.expandMapping = function(patterns, destBase, options) {
20419
20419
  options = Object.assign({
20420
20420
  rename: function(destBase2, destPath) {
20421
- return path14.join(destBase2 || "", destPath);
20421
+ return path16.join(destBase2 || "", destPath);
20422
20422
  }
20423
20423
  }, options);
20424
20424
  var files = [];
@@ -20426,14 +20426,14 @@ var require_file = __commonJS({
20426
20426
  file.expand(options, patterns).forEach(function(src) {
20427
20427
  var destPath = src;
20428
20428
  if (options.flatten) {
20429
- destPath = path14.basename(destPath);
20429
+ destPath = path16.basename(destPath);
20430
20430
  }
20431
20431
  if (options.ext) {
20432
20432
  destPath = destPath.replace(/(\.[^\/]*)?$/, options.ext);
20433
20433
  }
20434
20434
  var dest = options.rename(destBase, destPath, options);
20435
20435
  if (options.cwd) {
20436
- src = path14.join(options.cwd, src);
20436
+ src = path16.join(options.cwd, src);
20437
20437
  }
20438
20438
  dest = dest.replace(pathSeparatorRe, "/");
20439
20439
  src = src.replace(pathSeparatorRe, "/");
@@ -20516,8 +20516,8 @@ var require_archiver_utils = __commonJS({
20516
20516
  "../../.yarn/cache/archiver-utils-npm-5.0.2-c2e6f595a7-3782c5fa99.zip/node_modules/archiver-utils/index.js"(exports2, module2) {
20517
20517
  "use strict";
20518
20518
  init_cjs_shims();
20519
- var fs9 = require_graceful_fs();
20520
- var path14 = require("path");
20519
+ var fs11 = require_graceful_fs();
20520
+ var path16 = require("path");
20521
20521
  var isStream2 = require_is_stream();
20522
20522
  var lazystream = require_lazystream();
20523
20523
  var normalizePath = require_normalize_path();
@@ -20565,7 +20565,7 @@ var require_archiver_utils = __commonJS({
20565
20565
  };
20566
20566
  utils.lazyReadStream = function(filepath) {
20567
20567
  return new lazystream.Readable(function() {
20568
- return fs9.createReadStream(filepath);
20568
+ return fs11.createReadStream(filepath);
20569
20569
  });
20570
20570
  };
20571
20571
  utils.normalizeInputSource = function(source) {
@@ -20593,7 +20593,7 @@ var require_archiver_utils = __commonJS({
20593
20593
  callback = base;
20594
20594
  base = dirpath;
20595
20595
  }
20596
- fs9.readdir(dirpath, function(err, list) {
20596
+ fs11.readdir(dirpath, function(err, list) {
20597
20597
  var i2 = 0;
20598
20598
  var file;
20599
20599
  var filepath;
@@ -20605,11 +20605,11 @@ var require_archiver_utils = __commonJS({
20605
20605
  if (!file) {
20606
20606
  return callback(null, results);
20607
20607
  }
20608
- filepath = path14.join(dirpath, file);
20609
- fs9.stat(filepath, function(err2, stats) {
20608
+ filepath = path16.join(dirpath, file);
20609
+ fs11.stat(filepath, function(err2, stats) {
20610
20610
  results.push({
20611
20611
  path: filepath,
20612
- relative: path14.relative(base, filepath).replace(/\\/g, "/"),
20612
+ relative: path16.relative(base, filepath).replace(/\\/g, "/"),
20613
20613
  stats
20614
20614
  });
20615
20615
  if (stats && stats.isDirectory()) {
@@ -20672,10 +20672,10 @@ var require_core = __commonJS({
20672
20672
  "../../.yarn/cache/archiver-npm-7.0.1-dc24339f78-02afd87ca1.zip/node_modules/archiver/lib/core.js"(exports2, module2) {
20673
20673
  "use strict";
20674
20674
  init_cjs_shims();
20675
- var fs9 = require("fs");
20675
+ var fs11 = require("fs");
20676
20676
  var glob = require_readdir_glob();
20677
20677
  var async = (init_async(), __toCommonJS(async_exports));
20678
- var path14 = require("path");
20678
+ var path16 = require("path");
20679
20679
  var util2 = require_archiver_utils();
20680
20680
  var inherits = require("util").inherits;
20681
20681
  var ArchiverError = require_error();
@@ -20736,7 +20736,7 @@ var require_core = __commonJS({
20736
20736
  data.sourcePath = filepath;
20737
20737
  task.data = data;
20738
20738
  this._entriesCount++;
20739
- if (data.stats && data.stats instanceof fs9.Stats) {
20739
+ if (data.stats && data.stats instanceof fs11.Stats) {
20740
20740
  task = this._updateQueueTaskWithStats(task, data.stats);
20741
20741
  if (task) {
20742
20742
  if (data.stats.size) {
@@ -20907,7 +20907,7 @@ var require_core = __commonJS({
20907
20907
  callback();
20908
20908
  return;
20909
20909
  }
20910
- fs9.lstat(task.filepath, function(err, stats) {
20910
+ fs11.lstat(task.filepath, function(err, stats) {
20911
20911
  if (this._state.aborted) {
20912
20912
  setImmediate(callback);
20913
20913
  return;
@@ -20950,10 +20950,10 @@ var require_core = __commonJS({
20950
20950
  task.data.sourceType = "buffer";
20951
20951
  task.source = Buffer.concat([]);
20952
20952
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
20953
- var linkPath = fs9.readlinkSync(task.filepath);
20954
- var dirName = path14.dirname(task.filepath);
20953
+ var linkPath = fs11.readlinkSync(task.filepath);
20954
+ var dirName = path16.dirname(task.filepath);
20955
20955
  task.data.type = "symlink";
20956
- task.data.linkname = path14.relative(dirName, path14.resolve(dirName, linkPath));
20956
+ task.data.linkname = path16.relative(dirName, path16.resolve(dirName, linkPath));
20957
20957
  task.data.sourceType = "buffer";
20958
20958
  task.source = Buffer.concat([]);
20959
20959
  } else {
@@ -22109,22 +22109,22 @@ var require_zip_archive_output_stream = __commonJS({
22109
22109
  };
22110
22110
  ZipArchiveOutputStream.prototype._smartStream = function(ae, callback) {
22111
22111
  var deflate = ae.getMethod() === constants5.METHOD_DEFLATED;
22112
- var process10 = deflate ? new DeflateCRC32Stream(this.options.zlib) : new CRC32Stream();
22112
+ var process11 = deflate ? new DeflateCRC32Stream(this.options.zlib) : new CRC32Stream();
22113
22113
  var error = null;
22114
22114
  function handleStuff() {
22115
- var digest = process10.digest().readUInt32BE(0);
22115
+ var digest = process11.digest().readUInt32BE(0);
22116
22116
  ae.setCrc(digest);
22117
- ae.setSize(process10.size());
22118
- ae.setCompressedSize(process10.size(true));
22117
+ ae.setSize(process11.size());
22118
+ ae.setCompressedSize(process11.size(true));
22119
22119
  this._afterAppend(ae);
22120
22120
  callback(error, ae);
22121
22121
  }
22122
- process10.once("end", handleStuff.bind(this));
22123
- process10.once("error", function(err) {
22122
+ process11.once("end", handleStuff.bind(this));
22123
+ process11.once("error", function(err) {
22124
22124
  error = err;
22125
22125
  });
22126
- process10.pipe(this, { end: false });
22127
- return process10;
22126
+ process11.pipe(this, { end: false });
22127
+ return process11;
22128
22128
  };
22129
22129
  ZipArchiveOutputStream.prototype._writeCentralDirectoryEnd = function() {
22130
22130
  var records = this._entries.length;
@@ -25127,8 +25127,8 @@ var require_windows = __commonJS({
25127
25127
  init_cjs_shims();
25128
25128
  module2.exports = isexe;
25129
25129
  isexe.sync = sync;
25130
- var fs9 = require("fs");
25131
- function checkPathExt(path14, options) {
25130
+ var fs11 = require("fs");
25131
+ function checkPathExt(path16, options) {
25132
25132
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
25133
25133
  if (!pathext) {
25134
25134
  return true;
@@ -25139,25 +25139,25 @@ var require_windows = __commonJS({
25139
25139
  }
25140
25140
  for (var i2 = 0; i2 < pathext.length; i2++) {
25141
25141
  var p = pathext[i2].toLowerCase();
25142
- if (p && path14.substr(-p.length).toLowerCase() === p) {
25142
+ if (p && path16.substr(-p.length).toLowerCase() === p) {
25143
25143
  return true;
25144
25144
  }
25145
25145
  }
25146
25146
  return false;
25147
25147
  }
25148
- function checkStat(stat, path14, options) {
25148
+ function checkStat(stat, path16, options) {
25149
25149
  if (!stat.isSymbolicLink() && !stat.isFile()) {
25150
25150
  return false;
25151
25151
  }
25152
- return checkPathExt(path14, options);
25152
+ return checkPathExt(path16, options);
25153
25153
  }
25154
- function isexe(path14, options, cb) {
25155
- fs9.stat(path14, function(er, stat) {
25156
- cb(er, er ? false : checkStat(stat, path14, options));
25154
+ function isexe(path16, options, cb) {
25155
+ fs11.stat(path16, function(er, stat) {
25156
+ cb(er, er ? false : checkStat(stat, path16, options));
25157
25157
  });
25158
25158
  }
25159
- function sync(path14, options) {
25160
- return checkStat(fs9.statSync(path14), path14, options);
25159
+ function sync(path16, options) {
25160
+ return checkStat(fs11.statSync(path16), path16, options);
25161
25161
  }
25162
25162
  }
25163
25163
  });
@@ -25169,14 +25169,14 @@ var require_mode = __commonJS({
25169
25169
  init_cjs_shims();
25170
25170
  module2.exports = isexe;
25171
25171
  isexe.sync = sync;
25172
- var fs9 = require("fs");
25173
- function isexe(path14, options, cb) {
25174
- fs9.stat(path14, function(er, stat) {
25172
+ var fs11 = require("fs");
25173
+ function isexe(path16, options, cb) {
25174
+ fs11.stat(path16, function(er, stat) {
25175
25175
  cb(er, er ? false : checkStat(stat, options));
25176
25176
  });
25177
25177
  }
25178
- function sync(path14, options) {
25179
- return checkStat(fs9.statSync(path14), options);
25178
+ function sync(path16, options) {
25179
+ return checkStat(fs11.statSync(path16), options);
25180
25180
  }
25181
25181
  function checkStat(stat, options) {
25182
25182
  return stat.isFile() && checkMode(stat, options);
@@ -25202,7 +25202,7 @@ var require_isexe = __commonJS({
25202
25202
  "../../.yarn/cache/isexe-npm-2.0.0-ac27b2c17a-228cfa503f.zip/node_modules/isexe/index.js"(exports2, module2) {
25203
25203
  "use strict";
25204
25204
  init_cjs_shims();
25205
- var fs9 = require("fs");
25205
+ var fs11 = require("fs");
25206
25206
  var core;
25207
25207
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
25208
25208
  core = require_windows();
@@ -25211,7 +25211,7 @@ var require_isexe = __commonJS({
25211
25211
  }
25212
25212
  module2.exports = isexe;
25213
25213
  isexe.sync = sync;
25214
- function isexe(path14, options, cb) {
25214
+ function isexe(path16, options, cb) {
25215
25215
  if (typeof options === "function") {
25216
25216
  cb = options;
25217
25217
  options = {};
@@ -25221,7 +25221,7 @@ var require_isexe = __commonJS({
25221
25221
  throw new TypeError("callback not provided");
25222
25222
  }
25223
25223
  return new Promise(function(resolve, reject2) {
25224
- isexe(path14, options || {}, function(er, is) {
25224
+ isexe(path16, options || {}, function(er, is) {
25225
25225
  if (er) {
25226
25226
  reject2(er);
25227
25227
  } else {
@@ -25230,7 +25230,7 @@ var require_isexe = __commonJS({
25230
25230
  });
25231
25231
  });
25232
25232
  }
25233
- core(path14, options || {}, function(er, is) {
25233
+ core(path16, options || {}, function(er, is) {
25234
25234
  if (er) {
25235
25235
  if (er.code === "EACCES" || options && options.ignoreErrors) {
25236
25236
  er = null;
@@ -25240,9 +25240,9 @@ var require_isexe = __commonJS({
25240
25240
  cb(er, is);
25241
25241
  });
25242
25242
  }
25243
- function sync(path14, options) {
25243
+ function sync(path16, options) {
25244
25244
  try {
25245
- return core.sync(path14, options || {});
25245
+ return core.sync(path16, options || {});
25246
25246
  } catch (er) {
25247
25247
  if (options && options.ignoreErrors || er.code === "EACCES") {
25248
25248
  return false;
@@ -25260,7 +25260,7 @@ var require_which = __commonJS({
25260
25260
  "use strict";
25261
25261
  init_cjs_shims();
25262
25262
  var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
25263
- var path14 = require("path");
25263
+ var path16 = require("path");
25264
25264
  var COLON = isWindows ? ";" : ":";
25265
25265
  var isexe = require_isexe();
25266
25266
  var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -25298,7 +25298,7 @@ var require_which = __commonJS({
25298
25298
  return opt.all && found.length ? resolve(found) : reject2(getNotFoundError(cmd));
25299
25299
  const ppRaw = pathEnv[i2];
25300
25300
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
25301
- const pCmd = path14.join(pathPart, cmd);
25301
+ const pCmd = path16.join(pathPart, cmd);
25302
25302
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
25303
25303
  resolve(subStep(p, i2, 0));
25304
25304
  });
@@ -25325,7 +25325,7 @@ var require_which = __commonJS({
25325
25325
  for (let i2 = 0; i2 < pathEnv.length; i2++) {
25326
25326
  const ppRaw = pathEnv[i2];
25327
25327
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
25328
- const pCmd = path14.join(pathPart, cmd);
25328
+ const pCmd = path16.join(pathPart, cmd);
25329
25329
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
25330
25330
  for (let j = 0; j < pathExt.length; j++) {
25331
25331
  const cur = p + pathExt[j];
@@ -25375,7 +25375,7 @@ var require_resolveCommand = __commonJS({
25375
25375
  "../../.yarn/cache/cross-spawn-npm-7.0.3-68b62748dc-5738c31238.zip/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
25376
25376
  "use strict";
25377
25377
  init_cjs_shims();
25378
- var path14 = require("path");
25378
+ var path16 = require("path");
25379
25379
  var which = require_which();
25380
25380
  var getPathKey = require_path_key();
25381
25381
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -25393,7 +25393,7 @@ var require_resolveCommand = __commonJS({
25393
25393
  try {
25394
25394
  resolved = which.sync(parsed.command, {
25395
25395
  path: env[getPathKey({ env })],
25396
- pathExt: withoutPathExt ? path14.delimiter : void 0
25396
+ pathExt: withoutPathExt ? path16.delimiter : void 0
25397
25397
  });
25398
25398
  } catch (e) {
25399
25399
  } finally {
@@ -25402,7 +25402,7 @@ var require_resolveCommand = __commonJS({
25402
25402
  }
25403
25403
  }
25404
25404
  if (resolved) {
25405
- resolved = path14.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
25405
+ resolved = path16.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
25406
25406
  }
25407
25407
  return resolved;
25408
25408
  }
@@ -25459,12 +25459,12 @@ var require_shebang_command = __commonJS({
25459
25459
  if (!match) {
25460
25460
  return null;
25461
25461
  }
25462
- const [path14, argument] = match[0].replace(/#! ?/, "").split(" ");
25463
- const binary2 = path14.split("/").pop();
25464
- if (binary2 === "env") {
25462
+ const [path16, argument] = match[0].replace(/#! ?/, "").split(" ");
25463
+ const binary = path16.split("/").pop();
25464
+ if (binary === "env") {
25465
25465
  return argument;
25466
25466
  }
25467
- return argument ? `${binary2} ${argument}` : binary2;
25467
+ return argument ? `${binary} ${argument}` : binary;
25468
25468
  };
25469
25469
  }
25470
25470
  });
@@ -25474,16 +25474,16 @@ var require_readShebang = __commonJS({
25474
25474
  "../../.yarn/cache/cross-spawn-npm-7.0.3-68b62748dc-5738c31238.zip/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
25475
25475
  "use strict";
25476
25476
  init_cjs_shims();
25477
- var fs9 = require("fs");
25477
+ var fs11 = require("fs");
25478
25478
  var shebangCommand = require_shebang_command();
25479
25479
  function readShebang(command) {
25480
25480
  const size = 150;
25481
25481
  const buffer = Buffer.alloc(size);
25482
25482
  let fd;
25483
25483
  try {
25484
- fd = fs9.openSync(command, "r");
25485
- fs9.readSync(fd, buffer, 0, size, 0);
25486
- fs9.closeSync(fd);
25484
+ fd = fs11.openSync(command, "r");
25485
+ fs11.readSync(fd, buffer, 0, size, 0);
25486
+ fs11.closeSync(fd);
25487
25487
  } catch (e) {
25488
25488
  }
25489
25489
  return shebangCommand(buffer.toString());
@@ -25497,7 +25497,7 @@ var require_parse = __commonJS({
25497
25497
  "../../.yarn/cache/cross-spawn-npm-7.0.3-68b62748dc-5738c31238.zip/node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
25498
25498
  "use strict";
25499
25499
  init_cjs_shims();
25500
- var path14 = require("path");
25500
+ var path16 = require("path");
25501
25501
  var resolveCommand = require_resolveCommand();
25502
25502
  var escape = require_escape2();
25503
25503
  var readShebang = require_readShebang();
@@ -25522,7 +25522,7 @@ var require_parse = __commonJS({
25522
25522
  const needsShell = !isExecutableRegExp.test(commandFile);
25523
25523
  if (parsed.options.forceShell || needsShell) {
25524
25524
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
25525
- parsed.command = path14.normalize(parsed.command);
25525
+ parsed.command = path16.normalize(parsed.command);
25526
25526
  parsed.command = escape.command(parsed.command);
25527
25527
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
25528
25528
  const shellCommand = [parsed.command].concat(parsed.args).join(" ");
@@ -25644,7 +25644,7 @@ init_cjs_shims();
25644
25644
 
25645
25645
  // src/plugins/appsInToss.ts
25646
25646
  init_cjs_shims();
25647
- var import_fs3 = __toESM(require("fs"), 1);
25647
+ var import_fs4 = __toESM(require("fs"), 1);
25648
25648
  var import_path4 = __toESM(require("path"), 1);
25649
25649
  var import_picocolors = __toESM(require_picocolors(), 1);
25650
25650
 
@@ -25655,7 +25655,7 @@ var APP_MANIFEST_NAME = "app.json";
25655
25655
  // src/plugins/utils/createArtifact.ts
25656
25656
  init_cjs_shims();
25657
25657
  var import_promises12 = __toESM(require("fs/promises"), 1);
25658
- var path11 = __toESM(require("path"), 1);
25658
+ var path14 = __toESM(require("path"), 1);
25659
25659
 
25660
25660
  // src/plugins/utils/compressToZip.ts
25661
25661
  init_cjs_shims();
@@ -25680,12 +25680,12 @@ async function compressToZip(config) {
25680
25680
 
25681
25681
  // src/plugins/utils/createCompressedBytecode.ts
25682
25682
  init_cjs_shims();
25683
+ var import_path3 = __toESM(require("path"), 1);
25683
25684
 
25684
25685
  // src/plugins/utils/compileHbc.ts
25685
25686
  init_cjs_shims();
25686
- var import_assert = __toESM(require("assert"), 1);
25687
- var import_os = __toESM(require("os"), 1);
25688
- var import_path = __toESM(require("path"), 1);
25687
+ var import_fs2 = __toESM(require("fs"), 1);
25688
+ var import_path2 = __toESM(require("path"), 1);
25689
25689
 
25690
25690
  // ../../.yarn/cache/execa-npm-9.5.2-ac35c57136-94782a6282.zip/node_modules/execa/index.js
25691
25691
  init_cjs_shims();
@@ -29067,9 +29067,9 @@ var getTransformStreamType = (value, optionName) => {
29067
29067
  validateNonGeneratorType(value, optionName, "web TransformStream");
29068
29068
  return "webTransform";
29069
29069
  };
29070
- var validateNonGeneratorType = ({ final, binary: binary2, objectMode }, optionName, typeName) => {
29070
+ var validateNonGeneratorType = ({ final, binary, objectMode }, optionName, typeName) => {
29071
29071
  checkUndefinedOption(final, `${optionName}.final`, typeName);
29072
- checkUndefinedOption(binary2, `${optionName}.binary`, typeName);
29072
+ checkUndefinedOption(binary, `${optionName}.binary`, typeName);
29073
29073
  checkBooleanOption(objectMode, `${optionName}.objectMode`);
29074
29074
  };
29075
29075
  var checkUndefinedOption = (value, optionName, typeName) => {
@@ -29077,7 +29077,7 @@ var checkUndefinedOption = (value, optionName, typeName) => {
29077
29077
  throw new TypeError(`The \`${optionName}\` option can only be defined when using a generator, not a ${typeName}.`);
29078
29078
  }
29079
29079
  };
29080
- var getGeneratorObjectType = ({ transform: transform2, final, binary: binary2, objectMode }, optionName) => {
29080
+ var getGeneratorObjectType = ({ transform: transform2, final, binary, objectMode }, optionName) => {
29081
29081
  if (transform2 !== void 0 && !isGenerator(transform2)) {
29082
29082
  throw new TypeError(`The \`${optionName}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);
29083
29083
  }
@@ -29090,7 +29090,7 @@ var getGeneratorObjectType = ({ transform: transform2, final, binary: binary2, o
29090
29090
  if (final !== void 0 && !isGenerator(final)) {
29091
29091
  throw new TypeError(`The \`${optionName}.final\` option must be a generator.`);
29092
29092
  }
29093
- checkBooleanOption(binary2, `${optionName}.binary`);
29093
+ checkBooleanOption(binary, `${optionName}.binary`);
29094
29094
  checkBooleanOption(objectMode, `${optionName}.objectMode`);
29095
29095
  return isAsyncGenerator2(transform2) || isAsyncGenerator2(final) ? "asyncGenerator" : "generator";
29096
29096
  };
@@ -29238,14 +29238,14 @@ var normalizeGenerator = ({ stdioItem, stdioItem: { value }, index: index2, newT
29238
29238
  preserveNewlines = false,
29239
29239
  objectMode
29240
29240
  } = isPlainObject(value) ? value : { transform: value };
29241
- const binary2 = binaryOption || BINARY_ENCODINGS.has(encoding);
29241
+ const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
29242
29242
  const { writableObjectMode, readableObjectMode } = getTransformObjectModes(objectMode, index2, newTransforms, direction);
29243
29243
  return {
29244
29244
  ...stdioItem,
29245
29245
  value: {
29246
29246
  transform: transform2,
29247
29247
  final,
29248
- binary: binary2,
29248
+ binary,
29249
29249
  preserveNewlines,
29250
29250
  writableObjectMode,
29251
29251
  readableObjectMode
@@ -29749,7 +29749,7 @@ var import_node_stream = require("stream");
29749
29749
 
29750
29750
  // ../../.yarn/cache/execa-npm-9.5.2-ac35c57136-94782a6282.zip/node_modules/execa/lib/transform/split.js
29751
29751
  init_cjs_shims();
29752
- var getSplitLinesGenerator = (binary2, preserveNewlines, skipped, state) => binary2 || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
29752
+ var getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
29753
29753
  var splitLinesSync = (chunk, preserveNewlines, objectMode) => objectMode ? chunk.flatMap((item) => splitLinesItemSync(item, preserveNewlines)) : splitLinesItemSync(chunk, preserveNewlines);
29754
29754
  var splitLinesItemSync = (chunk, preserveNewlines) => {
29755
29755
  const { transform: transform2, final } = initializeSplitLines(preserveNewlines, {});
@@ -29798,7 +29798,7 @@ var linesFinal = function* ({ previousChunks }) {
29798
29798
  yield previousChunks;
29799
29799
  }
29800
29800
  };
29801
- var getAppendNewlineGenerator = ({ binary: binary2, preserveNewlines, readableObjectMode, state }) => binary2 || preserveNewlines || readableObjectMode ? void 0 : { transform: appendNewlineGenerator.bind(void 0, state) };
29801
+ var getAppendNewlineGenerator = ({ binary, preserveNewlines, readableObjectMode, state }) => binary || preserveNewlines || readableObjectMode ? void 0 : { transform: appendNewlineGenerator.bind(void 0, state) };
29802
29802
  var appendNewlineGenerator = function* ({ isWindowsNewline = false }, chunk) {
29803
29803
  const { unixNewline, windowsNewline, LF: LF2, concatBytes } = typeof chunk === "string" ? linesStringInfo : linesUint8ArrayInfo;
29804
29804
  if (chunk.at(-1) === LF2) {
@@ -29862,11 +29862,11 @@ Instead, \`yield\` should either be called with a value, or not be called at all
29862
29862
  init_cjs_shims();
29863
29863
  var import_node_buffer2 = require("buffer");
29864
29864
  var import_node_string_decoder2 = require("string_decoder");
29865
- var getEncodingTransformGenerator = (binary2, encoding, skipped) => {
29865
+ var getEncodingTransformGenerator = (binary, encoding, skipped) => {
29866
29866
  if (skipped) {
29867
29867
  return;
29868
29868
  }
29869
- if (binary2) {
29869
+ if (binary) {
29870
29870
  return { transform: encodingUint8ArrayGenerator.bind(void 0, new TextEncoder()) };
29871
29871
  }
29872
29872
  const stringDecoder = new import_node_string_decoder2.StringDecoder(encoding);
@@ -30023,16 +30023,16 @@ var runGeneratorsSync = (chunks, stdioItems, encoding, isInput) => {
30023
30023
  }
30024
30024
  return chunks;
30025
30025
  };
30026
- var addInternalGenerators = ({ transform: transform2, final, binary: binary2, writableObjectMode, readableObjectMode, preserveNewlines }, encoding, optionName) => {
30026
+ var addInternalGenerators = ({ transform: transform2, final, binary, writableObjectMode, readableObjectMode, preserveNewlines }, encoding, optionName) => {
30027
30027
  const state = {};
30028
30028
  return [
30029
30029
  { transform: getValidateTransformInput(writableObjectMode, optionName) },
30030
- getEncodingTransformGenerator(binary2, encoding, writableObjectMode),
30031
- getSplitLinesGenerator(binary2, preserveNewlines, writableObjectMode, state),
30030
+ getEncodingTransformGenerator(binary, encoding, writableObjectMode),
30031
+ getSplitLinesGenerator(binary, preserveNewlines, writableObjectMode, state),
30032
30032
  { transform: transform2, final },
30033
30033
  { transform: getValidateTransformReturn(readableObjectMode, optionName) },
30034
30034
  getAppendNewlineGenerator({
30035
- binary: binary2,
30035
+ binary,
30036
30036
  preserveNewlines,
30037
30037
  readableObjectMode,
30038
30038
  state
@@ -30197,13 +30197,13 @@ var logOutputSync = ({ serializedResult, fdNumber, state, verboseInfo, encoding,
30197
30197
  }
30198
30198
  };
30199
30199
  var writeToFiles = (serializedResult, stdioItems, outputFiles) => {
30200
- for (const { path: path14, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
30201
- const pathString = typeof path14 === "string" ? path14 : path14.toString();
30200
+ for (const { path: path16, append } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
30201
+ const pathString = typeof path16 === "string" ? path16 : path16.toString();
30202
30202
  if (append || outputFiles.has(pathString)) {
30203
- (0, import_node_fs4.appendFileSync)(path14, serializedResult);
30203
+ (0, import_node_fs4.appendFileSync)(path16, serializedResult);
30204
30204
  } else {
30205
30205
  outputFiles.add(pathString);
30206
- (0, import_node_fs4.writeFileSync)(path14, serializedResult);
30206
+ (0, import_node_fs4.writeFileSync)(path16, serializedResult);
30207
30207
  }
30208
30208
  }
30209
30209
  };
@@ -31047,7 +31047,7 @@ if (process.platform === "linux") {
31047
31047
  }
31048
31048
 
31049
31049
  // ../../.yarn/cache/signal-exit-npm-4.1.0-abb7bd2c45-41602dce54.zip/node_modules/signal-exit/dist/mjs/index.js
31050
- var processOk = (process10) => !!process10 && typeof process10 === "object" && typeof process10.removeListener === "function" && typeof process10.emit === "function" && typeof process10.reallyExit === "function" && typeof process10.listeners === "function" && typeof process10.kill === "function" && typeof process10.pid === "number" && typeof process10.on === "function";
31050
+ var processOk = (process11) => !!process11 && typeof process11 === "object" && typeof process11.removeListener === "function" && typeof process11.emit === "function" && typeof process11.reallyExit === "function" && typeof process11.listeners === "function" && typeof process11.kill === "function" && typeof process11.pid === "number" && typeof process11.on === "function";
31051
31051
  var kExitEmitter = Symbol.for("signal-exit emitter");
31052
31052
  var global2 = globalThis;
31053
31053
  var ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -31140,15 +31140,15 @@ var SignalExit = class extends SignalExitBase {
31140
31140
  #originalProcessReallyExit;
31141
31141
  #sigListeners = {};
31142
31142
  #loaded = false;
31143
- constructor(process10) {
31143
+ constructor(process11) {
31144
31144
  super();
31145
- this.#process = process10;
31145
+ this.#process = process11;
31146
31146
  this.#sigListeners = {};
31147
31147
  for (const sig of signals) {
31148
31148
  this.#sigListeners[sig] = () => {
31149
31149
  const listeners = this.#process.listeners(sig);
31150
31150
  let { count: count2 } = this.#emitter;
31151
- const p = process10;
31151
+ const p = process11;
31152
31152
  if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
31153
31153
  count2 += p.__signal_exit_emitter__.count;
31154
31154
  }
@@ -31157,12 +31157,12 @@ var SignalExit = class extends SignalExitBase {
31157
31157
  const ret = this.#emitter.emit("exit", null, sig);
31158
31158
  const s = sig === "SIGHUP" ? this.#hupSig : sig;
31159
31159
  if (!ret)
31160
- process10.kill(process10.pid, s);
31160
+ process11.kill(process11.pid, s);
31161
31161
  }
31162
31162
  };
31163
31163
  }
31164
- this.#originalProcessReallyExit = process10.reallyExit;
31165
- this.#originalProcessEmit = process10.emit;
31164
+ this.#originalProcessReallyExit = process11.reallyExit;
31165
+ this.#originalProcessEmit = process11.emit;
31166
31166
  }
31167
31167
  onExit(cb, opts) {
31168
31168
  if (!processOk(this.#process)) {
@@ -31553,13 +31553,13 @@ var import_promises9 = require("timers/promises");
31553
31553
  init_cjs_shims();
31554
31554
  var import_node_events12 = require("events");
31555
31555
  var import_node_stream5 = require("stream");
31556
- var iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary: binary2, shouldEncode, encoding, preserveNewlines }) => {
31556
+ var iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary, shouldEncode, encoding, preserveNewlines }) => {
31557
31557
  const controller = new AbortController();
31558
31558
  stopReadingOnExit(subprocess, controller);
31559
31559
  return iterateOnStream({
31560
31560
  stream: subprocessStdout,
31561
31561
  controller,
31562
- binary: binary2,
31562
+ binary,
31563
31563
  shouldEncode: !subprocessStdout.readableObjectMode && shouldEncode,
31564
31564
  encoding,
31565
31565
  shouldSplit: !subprocessStdout.readableObjectMode,
@@ -31597,7 +31597,7 @@ var stopReadingOnStreamEnd = async (onStreamEnd, controller, stream2) => {
31597
31597
  controller.abort();
31598
31598
  }
31599
31599
  };
31600
- var iterateOnStream = ({ stream: stream2, controller, binary: binary2, shouldEncode, encoding, shouldSplit, preserveNewlines }) => {
31600
+ var iterateOnStream = ({ stream: stream2, controller, binary, shouldEncode, encoding, shouldSplit, preserveNewlines }) => {
31601
31601
  const onStdoutChunk = (0, import_node_events12.on)(stream2, "data", {
31602
31602
  signal: controller.signal,
31603
31603
  highWaterMark: HIGH_WATER_MARK,
@@ -31609,7 +31609,7 @@ var iterateOnStream = ({ stream: stream2, controller, binary: binary2, shouldEnc
31609
31609
  return iterateOnData({
31610
31610
  onStdoutChunk,
31611
31611
  controller,
31612
- binary: binary2,
31612
+ binary,
31613
31613
  shouldEncode,
31614
31614
  encoding,
31615
31615
  shouldSplit,
@@ -31618,9 +31618,9 @@ var iterateOnStream = ({ stream: stream2, controller, binary: binary2, shouldEnc
31618
31618
  };
31619
31619
  var DEFAULT_OBJECT_HIGH_WATER_MARK = (0, import_node_stream5.getDefaultHighWaterMark)(true);
31620
31620
  var HIGH_WATER_MARK = DEFAULT_OBJECT_HIGH_WATER_MARK;
31621
- var iterateOnData = async function* ({ onStdoutChunk, controller, binary: binary2, shouldEncode, encoding, shouldSplit, preserveNewlines }) {
31621
+ var iterateOnData = async function* ({ onStdoutChunk, controller, binary, shouldEncode, encoding, shouldSplit, preserveNewlines }) {
31622
31622
  const generators = getGenerators({
31623
- binary: binary2,
31623
+ binary,
31624
31624
  shouldEncode,
31625
31625
  encoding,
31626
31626
  shouldSplit,
@@ -31638,9 +31638,9 @@ var iterateOnData = async function* ({ onStdoutChunk, controller, binary: binary
31638
31638
  yield* finalChunksSync(generators);
31639
31639
  }
31640
31640
  };
31641
- var getGenerators = ({ binary: binary2, shouldEncode, encoding, shouldSplit, preserveNewlines }) => [
31642
- getEncodingTransformGenerator(binary2, encoding, !shouldEncode),
31643
- getSplitLinesGenerator(binary2, preserveNewlines, !shouldSplit, {})
31641
+ var getGenerators = ({ binary, shouldEncode, encoding, shouldSplit, preserveNewlines }) => [
31642
+ getEncodingTransformGenerator(binary, encoding, !shouldEncode),
31643
+ getSplitLinesGenerator(binary, preserveNewlines, !shouldSplit, {})
31644
31644
  ].filter(Boolean);
31645
31645
 
31646
31646
  // ../../.yarn/cache/execa-npm-9.5.2-ac35c57136-94782a6282.zip/node_modules/execa/lib/io/contents.js
@@ -32109,13 +32109,13 @@ var destroyOtherStream = (stream2, isOpen, error) => {
32109
32109
 
32110
32110
  // ../../.yarn/cache/execa-npm-9.5.2-ac35c57136-94782a6282.zip/node_modules/execa/lib/convert/readable.js
32111
32111
  var createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binary: binaryOption = true, preserveNewlines = true } = {}) => {
32112
- const binary2 = binaryOption || BINARY_ENCODINGS.has(encoding);
32112
+ const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
32113
32113
  const { subprocessStdout, waitReadableDestroy } = getSubprocessStdout(subprocess, from, concurrentStreams);
32114
- const { readableEncoding, readableObjectMode, readableHighWaterMark } = getReadableOptions(subprocessStdout, binary2);
32114
+ const { readableEncoding, readableObjectMode, readableHighWaterMark } = getReadableOptions(subprocessStdout, binary);
32115
32115
  const { read, onStdoutDataDone } = getReadableMethods({
32116
32116
  subprocessStdout,
32117
32117
  subprocess,
32118
- binary: binary2,
32118
+ binary,
32119
32119
  encoding,
32120
32120
  preserveNewlines
32121
32121
  });
@@ -32139,14 +32139,14 @@ var getSubprocessStdout = (subprocess, from, concurrentStreams) => {
32139
32139
  const waitReadableDestroy = addConcurrentStream(concurrentStreams, subprocessStdout, "readableDestroy");
32140
32140
  return { subprocessStdout, waitReadableDestroy };
32141
32141
  };
32142
- var getReadableOptions = ({ readableEncoding, readableObjectMode, readableHighWaterMark }, binary2) => binary2 ? { readableEncoding, readableObjectMode, readableHighWaterMark } : { readableEncoding, readableObjectMode: true, readableHighWaterMark: DEFAULT_OBJECT_HIGH_WATER_MARK };
32143
- var getReadableMethods = ({ subprocessStdout, subprocess, binary: binary2, encoding, preserveNewlines }) => {
32142
+ var getReadableOptions = ({ readableEncoding, readableObjectMode, readableHighWaterMark }, binary) => binary ? { readableEncoding, readableObjectMode, readableHighWaterMark } : { readableEncoding, readableObjectMode: true, readableHighWaterMark: DEFAULT_OBJECT_HIGH_WATER_MARK };
32143
+ var getReadableMethods = ({ subprocessStdout, subprocess, binary, encoding, preserveNewlines }) => {
32144
32144
  const onStdoutDataDone = createDeferred();
32145
32145
  const onStdoutData = iterateOnSubprocessStream({
32146
32146
  subprocessStdout,
32147
32147
  subprocess,
32148
- binary: binary2,
32149
- shouldEncode: !binary2,
32148
+ binary,
32149
+ shouldEncode: !binary,
32150
32150
  encoding,
32151
32151
  preserveNewlines
32152
32152
  });
@@ -32264,14 +32264,14 @@ init_cjs_shims();
32264
32264
  var import_node_stream8 = require("stream");
32265
32265
  var import_node_util11 = require("util");
32266
32266
  var createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, binary: binaryOption = true, preserveNewlines = true } = {}) => {
32267
- const binary2 = binaryOption || BINARY_ENCODINGS.has(encoding);
32267
+ const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
32268
32268
  const { subprocessStdout, waitReadableDestroy } = getSubprocessStdout(subprocess, from, concurrentStreams);
32269
32269
  const { subprocessStdin, waitWritableFinal, waitWritableDestroy } = getSubprocessStdin(subprocess, to, concurrentStreams);
32270
- const { readableEncoding, readableObjectMode, readableHighWaterMark } = getReadableOptions(subprocessStdout, binary2);
32270
+ const { readableEncoding, readableObjectMode, readableHighWaterMark } = getReadableOptions(subprocessStdout, binary);
32271
32271
  const { read, onStdoutDataDone } = getReadableMethods({
32272
32272
  subprocessStdout,
32273
32273
  subprocess,
32274
- binary: binary2,
32274
+ binary,
32275
32275
  encoding,
32276
32276
  preserveNewlines
32277
32277
  });
@@ -32321,12 +32321,12 @@ var createIterable = (subprocess, encoding, {
32321
32321
  binary: binaryOption = false,
32322
32322
  preserveNewlines = false
32323
32323
  } = {}) => {
32324
- const binary2 = binaryOption || BINARY_ENCODINGS.has(encoding);
32324
+ const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
32325
32325
  const subprocessStdout = getFromStream(subprocess, from);
32326
32326
  const onStdoutData = iterateOnSubprocessStream({
32327
32327
  subprocessStdout,
32328
32328
  subprocess,
32329
- binary: binary2,
32329
+ binary,
32330
32330
  shouldEncode: true,
32331
32331
  encoding,
32332
32332
  preserveNewlines
@@ -32647,133 +32647,373 @@ var {
32647
32647
  getCancelSignal: getCancelSignal2
32648
32648
  } = getIpcExport();
32649
32649
 
32650
+ // ../../.yarn/cache/find-up-npm-7.0.0-a80086f7af-e6ee3e6154.zip/node_modules/find-up/index.js
32651
+ init_cjs_shims();
32652
+ var import_node_path7 = __toESM(require("path"), 1);
32653
+
32654
+ // ../../.yarn/cache/locate-path-npm-7.2.0-454f209f37-139e8a7fe1.zip/node_modules/locate-path/index.js
32655
+ init_cjs_shims();
32656
+ var import_node_process11 = __toESM(require("process"), 1);
32657
+ var import_node_path6 = __toESM(require("path"), 1);
32658
+ var import_node_fs6 = __toESM(require("fs"), 1);
32659
+ var import_node_url3 = require("url");
32660
+
32661
+ // ../../.yarn/cache/p-locate-npm-6.0.0-d73b86f7fc-d72fa2f41a.zip/node_modules/p-locate/index.js
32662
+ init_cjs_shims();
32663
+
32664
+ // ../../.yarn/cache/p-limit-npm-4.0.0-6161fa2142-a56af34a77.zip/node_modules/p-limit/index.js
32665
+ init_cjs_shims();
32666
+
32667
+ // ../../.yarn/cache/yocto-queue-npm-1.1.1-3796fef980-cb287fe5e6.zip/node_modules/yocto-queue/index.js
32668
+ init_cjs_shims();
32669
+ var Node = class {
32670
+ value;
32671
+ next;
32672
+ constructor(value) {
32673
+ this.value = value;
32674
+ }
32675
+ };
32676
+ var Queue = class {
32677
+ #head;
32678
+ #tail;
32679
+ #size;
32680
+ constructor() {
32681
+ this.clear();
32682
+ }
32683
+ enqueue(value) {
32684
+ const node = new Node(value);
32685
+ if (this.#head) {
32686
+ this.#tail.next = node;
32687
+ this.#tail = node;
32688
+ } else {
32689
+ this.#head = node;
32690
+ this.#tail = node;
32691
+ }
32692
+ this.#size++;
32693
+ }
32694
+ dequeue() {
32695
+ const current = this.#head;
32696
+ if (!current) {
32697
+ return;
32698
+ }
32699
+ this.#head = this.#head.next;
32700
+ this.#size--;
32701
+ return current.value;
32702
+ }
32703
+ peek() {
32704
+ if (!this.#head) {
32705
+ return;
32706
+ }
32707
+ return this.#head.value;
32708
+ }
32709
+ clear() {
32710
+ this.#head = void 0;
32711
+ this.#tail = void 0;
32712
+ this.#size = 0;
32713
+ }
32714
+ get size() {
32715
+ return this.#size;
32716
+ }
32717
+ *[Symbol.iterator]() {
32718
+ let current = this.#head;
32719
+ while (current) {
32720
+ yield current.value;
32721
+ current = current.next;
32722
+ }
32723
+ }
32724
+ };
32725
+
32726
+ // ../../.yarn/cache/p-limit-npm-4.0.0-6161fa2142-a56af34a77.zip/node_modules/p-limit/index.js
32727
+ function pLimit(concurrency) {
32728
+ if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
32729
+ throw new TypeError("Expected `concurrency` to be a number from 1 and up");
32730
+ }
32731
+ const queue2 = new Queue();
32732
+ let activeCount = 0;
32733
+ const next = () => {
32734
+ activeCount--;
32735
+ if (queue2.size > 0) {
32736
+ queue2.dequeue()();
32737
+ }
32738
+ };
32739
+ const run = async (fn, resolve, args) => {
32740
+ activeCount++;
32741
+ const result = (async () => fn(...args))();
32742
+ resolve(result);
32743
+ try {
32744
+ await result;
32745
+ } catch {
32746
+ }
32747
+ next();
32748
+ };
32749
+ const enqueue = (fn, resolve, args) => {
32750
+ queue2.enqueue(run.bind(void 0, fn, resolve, args));
32751
+ (async () => {
32752
+ await Promise.resolve();
32753
+ if (activeCount < concurrency && queue2.size > 0) {
32754
+ queue2.dequeue()();
32755
+ }
32756
+ })();
32757
+ };
32758
+ const generator = (fn, ...args) => new Promise((resolve) => {
32759
+ enqueue(fn, resolve, args);
32760
+ });
32761
+ Object.defineProperties(generator, {
32762
+ activeCount: {
32763
+ get: () => activeCount
32764
+ },
32765
+ pendingCount: {
32766
+ get: () => queue2.size
32767
+ },
32768
+ clearQueue: {
32769
+ value: () => {
32770
+ queue2.clear();
32771
+ }
32772
+ }
32773
+ });
32774
+ return generator;
32775
+ }
32776
+
32777
+ // ../../.yarn/cache/p-locate-npm-6.0.0-d73b86f7fc-d72fa2f41a.zip/node_modules/p-locate/index.js
32778
+ var EndError = class extends Error {
32779
+ constructor(value) {
32780
+ super();
32781
+ this.value = value;
32782
+ }
32783
+ };
32784
+ var testElement = async (element, tester) => tester(await element);
32785
+ var finder = async (element) => {
32786
+ const values = await Promise.all(element);
32787
+ if (values[1] === true) {
32788
+ throw new EndError(values[0]);
32789
+ }
32790
+ return false;
32791
+ };
32792
+ async function pLocate(iterable, tester, {
32793
+ concurrency = Number.POSITIVE_INFINITY,
32794
+ preserveOrder = true
32795
+ } = {}) {
32796
+ const limit = pLimit(concurrency);
32797
+ const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
32798
+ const checkLimit = pLimit(preserveOrder ? 1 : Number.POSITIVE_INFINITY);
32799
+ try {
32800
+ await Promise.all(items.map((element) => checkLimit(finder, element)));
32801
+ } catch (error) {
32802
+ if (error instanceof EndError) {
32803
+ return error.value;
32804
+ }
32805
+ throw error;
32806
+ }
32807
+ }
32808
+
32809
+ // ../../.yarn/cache/locate-path-npm-7.2.0-454f209f37-139e8a7fe1.zip/node_modules/locate-path/index.js
32810
+ var typeMappings = {
32811
+ directory: "isDirectory",
32812
+ file: "isFile"
32813
+ };
32814
+ function checkType(type) {
32815
+ if (Object.hasOwnProperty.call(typeMappings, type)) {
32816
+ return;
32817
+ }
32818
+ throw new Error(`Invalid type specified: ${type}`);
32819
+ }
32820
+ var matchType = (type, stat) => stat[typeMappings[type]]();
32821
+ var toPath2 = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url3.fileURLToPath)(urlOrPath) : urlOrPath;
32822
+ async function locatePath(paths, {
32823
+ cwd = import_node_process11.default.cwd(),
32824
+ type = "file",
32825
+ allowSymlinks = true,
32826
+ concurrency,
32827
+ preserveOrder
32828
+ } = {}) {
32829
+ checkType(type);
32830
+ cwd = toPath2(cwd);
32831
+ const statFunction = allowSymlinks ? import_node_fs6.promises.stat : import_node_fs6.promises.lstat;
32832
+ return pLocate(paths, async (path_) => {
32833
+ try {
32834
+ const stat = await statFunction(import_node_path6.default.resolve(cwd, path_));
32835
+ return matchType(type, stat);
32836
+ } catch {
32837
+ return false;
32838
+ }
32839
+ }, { concurrency, preserveOrder });
32840
+ }
32841
+
32842
+ // ../../.yarn/cache/unicorn-magic-npm-0.1.0-352b6e3681-e4ed0de05b.zip/node_modules/unicorn-magic/node.js
32843
+ init_cjs_shims();
32844
+ var import_node_url4 = require("url");
32845
+ function toPath3(urlOrPath) {
32846
+ return urlOrPath instanceof URL ? (0, import_node_url4.fileURLToPath)(urlOrPath) : urlOrPath;
32847
+ }
32848
+
32849
+ // ../../.yarn/cache/path-exists-npm-5.0.0-126b43894b-b170f3060b.zip/node_modules/path-exists/index.js
32850
+ init_cjs_shims();
32851
+ var import_node_fs7 = __toESM(require("fs"), 1);
32852
+
32853
+ // ../../.yarn/cache/find-up-npm-7.0.0-a80086f7af-e6ee3e6154.zip/node_modules/find-up/index.js
32854
+ var findUpStop = Symbol("findUpStop");
32855
+ async function findUpMultiple(name, options = {}) {
32856
+ let directory = import_node_path7.default.resolve(toPath3(options.cwd) ?? "");
32857
+ const { root } = import_node_path7.default.parse(directory);
32858
+ const stopAt = import_node_path7.default.resolve(directory, toPath3(options.stopAt ?? root));
32859
+ const limit = options.limit ?? Number.POSITIVE_INFINITY;
32860
+ const paths = [name].flat();
32861
+ const runMatcher = async (locateOptions) => {
32862
+ if (typeof name !== "function") {
32863
+ return locatePath(paths, locateOptions);
32864
+ }
32865
+ const foundPath = await name(locateOptions.cwd);
32866
+ if (typeof foundPath === "string") {
32867
+ return locatePath([foundPath], locateOptions);
32868
+ }
32869
+ return foundPath;
32870
+ };
32871
+ const matches = [];
32872
+ while (true) {
32873
+ const foundPath = await runMatcher({ ...options, cwd: directory });
32874
+ if (foundPath === findUpStop) {
32875
+ break;
32876
+ }
32877
+ if (foundPath) {
32878
+ matches.push(import_node_path7.default.resolve(directory, foundPath));
32879
+ }
32880
+ if (directory === stopAt || matches.length >= limit) {
32881
+ break;
32882
+ }
32883
+ directory = import_node_path7.default.dirname(directory);
32884
+ }
32885
+ return matches;
32886
+ }
32887
+ async function findUp(name, options = {}) {
32888
+ const matches = await findUpMultiple(name, { ...options, limit: 1 });
32889
+ return matches[0];
32890
+ }
32891
+
32892
+ // src/plugins/utils/getPackageRoot.ts
32893
+ init_cjs_shims();
32894
+ var import_fs = __toESM(require("fs"), 1);
32895
+ var import_path = __toESM(require("path"), 1);
32896
+ function getPackageRoot() {
32897
+ let cwd = process.cwd();
32898
+ const root = import_path.default.parse(cwd).root;
32899
+ while (cwd !== root) {
32900
+ if (import_fs.default.existsSync(import_path.default.join(cwd, "package.json"))) {
32901
+ return cwd;
32902
+ }
32903
+ cwd = import_path.default.dirname(cwd);
32904
+ }
32905
+ return cwd;
32906
+ }
32907
+
32908
+ // src/constants.ts
32909
+ init_cjs_shims();
32910
+ var REACT_NATIVE_VERSION = "0_72_6";
32911
+
32650
32912
  // src/plugins/utils/compileHbc.ts
32651
- var binary = {
32652
- Darwin: "react-native/sdks/hermesc/osx-bin/hermesc",
32653
- Linux: "react-native/sdks/hermesc/linux64-bin/hermesc",
32654
- Windows_NT: void 0
32655
- };
32656
- async function compileHbc({ rootDir, reactNativeProjectDir, filePath }) {
32657
- const bindary = getHermesc(reactNativeProjectDir);
32658
- const outfile = import_path.default.resolve(rootDir, filePath.replace(new RegExp(`${import_path.default.extname(filePath)}$`), ".hbc"));
32659
- await execa(bindary, ["-w", "-emit-binary", "-out", outfile, filePath]);
32913
+ async function compileHbc({ outdir, filePath }) {
32914
+ const packageRoot = getPackageRoot();
32915
+ const bindary = await findHermesBinary();
32916
+ const binaryPath = import_path2.default.join(packageRoot, ".bedrock", "hermesc");
32917
+ await import_fs2.default.promises.copyFile(bindary, binaryPath);
32918
+ const outfile = import_path2.default.resolve(outdir, filePath.replace(new RegExp(`${import_path2.default.extname(filePath)}$`), ".hbc"));
32919
+ await execa(binaryPath, ["-w", "-emit-binary", "-out", outfile, filePath]);
32660
32920
  return { outfile };
32661
32921
  }
32662
- function getHermesc(rootDir) {
32663
- const os3 = getOs();
32664
- const binarySource = binary[os3];
32665
- (0, import_assert.default)(binarySource, `\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 OS \uC785\uB2C8\uB2E4: ${os3}`);
32666
- return resolveFromRoot(rootDir, binarySource);
32922
+ function getHermesOSBin() {
32923
+ switch (process.platform) {
32924
+ case "win32":
32925
+ return "win64-bin";
32926
+ case "darwin":
32927
+ return "osx-bin";
32928
+ default:
32929
+ return "linux64-bin";
32930
+ }
32667
32931
  }
32668
- function getOs() {
32669
- return import_os.default.type();
32932
+ function getHermesOSExe() {
32933
+ const hermesExecutableName = "hermesc";
32934
+ return process.platform === "win32" ? `${hermesExecutableName}.exe` : hermesExecutableName;
32670
32935
  }
32671
- function resolveFromRoot(rootDir, request) {
32672
- return require.resolve(request, { paths: [rootDir] });
32936
+ async function findHermesBinary() {
32937
+ const hermescPath = await findUp("hermesc", {
32938
+ cwd: __dirname,
32939
+ type: "directory"
32940
+ });
32941
+ if (!hermescPath) {
32942
+ throw new Error("hermesc \uBC14\uC774\uB108\uB9AC\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");
32943
+ }
32944
+ return import_path2.default.join(hermescPath, REACT_NATIVE_VERSION, getHermesOSBin(), getHermesOSExe());
32673
32945
  }
32674
32946
 
32675
32947
  // src/plugins/utils/compressToGzip.ts
32676
32948
  init_cjs_shims();
32677
- var import_fs = __toESM(require("fs"), 1);
32678
- var import_path2 = __toESM(require("path"), 1);
32949
+ var import_fs3 = __toESM(require("fs"), 1);
32679
32950
  var import_stream3 = __toESM(require("stream"), 1);
32680
32951
  var import_util = __toESM(require("util"), 1);
32681
32952
  var import_zlib = __toESM(require("zlib"), 1);
32682
32953
  var pipelinePromisify = import_util.default.promisify(import_stream3.default.pipeline);
32683
32954
  async function compressToGzip(options) {
32684
- const { rootDir, filePath } = options;
32685
- const inputPath = import_path2.default.resolve(rootDir, filePath);
32686
- const outfile = `${inputPath}.gz`;
32687
- await pipelinePromisify(import_fs.default.createReadStream(inputPath), import_zlib.default.createGzip({ level: 9 }), import_fs.default.createWriteStream(outfile));
32955
+ const { inputPath, outfile } = options;
32956
+ await pipelinePromisify(import_fs3.default.createReadStream(inputPath), import_zlib.default.createGzip({ level: 9 }), import_fs3.default.createWriteStream(outfile));
32688
32957
  return { outfile };
32689
32958
  }
32690
32959
 
32691
32960
  // src/plugins/utils/createCompressedBytecode.ts
32692
- async function createCompressedBytecode(buildResult, { rootDir, reactNativeProjectDir }) {
32961
+ async function createCompressedBytecode(buildResult, { outdir }) {
32693
32962
  const { outfile: jsBundle } = buildResult;
32694
32963
  const { outfile: hbcFile } = await compileHbc({
32695
- reactNativeProjectDir,
32696
- rootDir,
32964
+ outdir,
32697
32965
  filePath: jsBundle
32698
32966
  });
32699
32967
  const { outfile: gzipFile } = await compressToGzip({
32700
- rootDir,
32701
- filePath: hbcFile
32968
+ inputPath: import_path3.default.resolve(outdir, hbcFile),
32969
+ outfile: import_path3.default.resolve(outdir, `${hbcFile}.gz`)
32702
32970
  });
32703
32971
  return { origin: hbcFile, compressed: gzipFile };
32704
32972
  }
32705
32973
 
32706
32974
  // src/plugins/utils/createManifestWithBuildMeta.ts
32707
32975
  init_cjs_shims();
32708
- var fs3 = __toESM(require("fs/promises"), 1);
32709
- var os2 = __toESM(require("os"), 1);
32710
- var path9 = __toESM(require("path"), 1);
32976
+ var fs7 = __toESM(require("fs/promises"), 1);
32977
+ var os = __toESM(require("os"), 1);
32978
+ var path12 = __toESM(require("path"), 1);
32711
32979
  async function createManifestWithBuildMeta(manifest, metadata) {
32712
32980
  const newManifest = { ...manifest, _metadata: metadata };
32713
32981
  const data = JSON.stringify(newManifest, null, 2);
32714
- const outfile = path9.join(os2.tmpdir(), APP_MANIFEST_NAME);
32715
- await fs3.writeFile(outfile, data, "utf-8");
32982
+ const outfile = path12.join(os.tmpdir(), APP_MANIFEST_NAME);
32983
+ await fs7.writeFile(outfile, data, "utf-8");
32716
32984
  return outfile;
32717
32985
  }
32718
32986
 
32719
- // src/plugins/utils/getBundleName.ts
32720
- init_cjs_shims();
32721
- function normalizeRuntimeVersion(version) {
32722
- return version.replace(/[^0-9]/g, "_");
32723
- }
32724
- function getBundleName({ platform: platform2, runtime, tag }) {
32725
- const taggedSuffix = tag ? `-${tag}` : "";
32726
- return `bundle.${platform2}.${normalizeRuntimeVersion(runtime)}${taggedSuffix}`;
32727
- }
32728
-
32729
- // src/plugins/utils/getRuntimeVersion.ts
32730
- init_cjs_shims();
32731
- var import_assert2 = __toESM(require("assert"), 1);
32732
- var fs4 = __toESM(require("fs/promises"), 1);
32733
- async function getRuntimeVersion(rootDir) {
32734
- const reactNativePackageJson = require.resolve("react-native/package.json", { paths: [rootDir] });
32735
- const rawPackageJson = await fs4.readFile(reactNativePackageJson, "utf-8");
32736
- const packageJson = JSON.parse(rawPackageJson);
32737
- (0, import_assert2.default)(packageJson.version, "invalid react-native version");
32738
- return packageJson.version;
32739
- }
32740
-
32741
32987
  // src/plugins/utils/loadAppManifest.ts
32742
32988
  init_cjs_shims();
32743
- var fs5 = __toESM(require("fs/promises"), 1);
32744
- var path10 = __toESM(require("path"), 1);
32989
+ var fs8 = __toESM(require("fs/promises"), 1);
32990
+ var path13 = __toESM(require("path"), 1);
32745
32991
  async function resolveAppManifestPath(rootDir) {
32746
- const appManifestPath = path10.join(rootDir, ".bedrock", APP_MANIFEST_NAME);
32747
- await fs5.access(appManifestPath, fs5.constants.F_OK);
32992
+ const appManifestPath = path13.join(rootDir, ".bedrock", APP_MANIFEST_NAME);
32993
+ await fs8.access(appManifestPath, fs8.constants.F_OK);
32748
32994
  return appManifestPath;
32749
32995
  }
32750
32996
  async function loadAppManifest(rootDir) {
32751
32997
  const appJsonPath = await resolveAppManifestPath(rootDir);
32752
- const appJson = await fs5.readFile(appJsonPath, "utf8");
32998
+ const appJson = await fs8.readFile(appJsonPath, "utf8");
32753
32999
  return JSON.parse(appJson);
32754
33000
  }
32755
33001
 
32756
33002
  // src/plugins/utils/createArtifact.ts
32757
33003
  async function createArtifact({
32758
33004
  buildResults,
32759
- rootDir,
33005
+ outdir,
32760
33006
  deploymentId,
32761
33007
  webOutDir,
32762
- reactNativeProjectDir
33008
+ cwd
32763
33009
  }) {
32764
- const manifest = await loadAppManifest(rootDir);
32765
- const runtimeVersion = await getRuntimeVersion(reactNativeProjectDir);
33010
+ const manifest = await loadAppManifest(cwd);
32766
33011
  const bundleFiles = await Promise.all(
32767
33012
  buildResults.map(async (buildResult) => {
32768
33013
  const { compressed } = await createCompressedBytecode(buildResult, {
32769
- rootDir,
32770
- reactNativeProjectDir
33014
+ outdir
32771
33015
  });
32772
- const basename2 = getBundleName({
32773
- platform: buildResult.platform,
32774
- runtime: runtimeVersion
32775
- });
32776
- return { path: compressed, name: `${basename2}.hbc.gz` };
33016
+ return { path: compressed, name: `bundle.${buildResult.platform}.${REACT_NATIVE_VERSION}.hbc.gz` };
32777
33017
  })
32778
33018
  );
32779
33019
  const manifestPath = await createManifestWithBuildMeta(manifest, {
@@ -32781,20 +33021,20 @@ async function createArtifact({
32781
33021
  bundleFiles: bundleFiles.map(({ name }) => name)
32782
33022
  });
32783
33023
  const manifestFile = { path: manifestPath, name: APP_MANIFEST_NAME };
32784
- const outfile = path11.join(rootDir, `${manifest.appName}.ait`);
33024
+ const outfile = path14.join(cwd, `${manifest.appName}.ait`);
32785
33025
  const webFilesWithPath = [];
32786
33026
  if (webOutDir) {
32787
33027
  try {
32788
33028
  const allFiles = await import_promises12.default.readdir(webOutDir, { recursive: true });
32789
33029
  const webFiles = await Promise.all(
32790
33030
  allFiles.map(async (file) => {
32791
- const filePath = path11.join(webOutDir, file);
33031
+ const filePath = path14.join(webOutDir, file);
32792
33032
  const stat = await import_promises12.default.stat(filePath);
32793
33033
  return stat.isFile() ? file : null;
32794
33034
  })
32795
33035
  ).then((files) => files.filter((file) => file !== null));
32796
33036
  webFilesWithPath.push(
32797
- ...webFiles.map((file) => ({ path: path11.join(webOutDir, file), name: path11.join("web", file) }))
33037
+ ...webFiles.map((file) => ({ path: path14.join(webOutDir, file), name: path14.join("web", file) }))
32798
33038
  );
32799
33039
  } catch {
32800
33040
  }
@@ -32960,25 +33200,8 @@ function generateDeploymentId() {
32960
33200
  return v7_default();
32961
33201
  }
32962
33202
 
32963
- // src/plugins/utils/getPackageRoot.ts
32964
- init_cjs_shims();
32965
- var import_fs2 = __toESM(require("fs"), 1);
32966
- var import_path3 = __toESM(require("path"), 1);
32967
- function getPackageRoot() {
32968
- let cwd = process.cwd();
32969
- const root = import_path3.default.parse(cwd).root;
32970
- while (cwd !== root) {
32971
- if (import_fs2.default.existsSync(import_path3.default.join(cwd, "package.json"))) {
32972
- return cwd;
32973
- }
32974
- cwd = import_path3.default.dirname(cwd);
32975
- }
32976
- return cwd;
32977
- }
32978
-
32979
33203
  // src/plugins/appsInToss.ts
32980
33204
  function appsInTossCreateArtifact(deploymentId) {
32981
- const packageRoot = getPackageRoot();
32982
33205
  return {
32983
33206
  name: "apps-in-toss:create-artifact",
32984
33207
  build: {
@@ -32988,9 +33211,9 @@ function appsInTossCreateArtifact(deploymentId) {
32988
33211
  const artifactOutfile = await createArtifact({
32989
33212
  buildResults,
32990
33213
  deploymentId,
32991
- rootDir: packageRoot,
32992
- reactNativeProjectDir: cwd,
32993
- webOutDir: webDistDir
33214
+ outdir,
33215
+ webOutDir: webDistDir,
33216
+ cwd
32994
33217
  });
32995
33218
  if (!artifactOutfile) {
32996
33219
  throw new Error("\uC544\uD2F0\uD329\uD2B8 \uC0DD\uC131\uC5D0 \uC2E4\uD328\uD588\uC5B4\uC694.");
@@ -33055,14 +33278,18 @@ async function appsInTossAppJson(options) {
33055
33278
  permissions: options.permissions,
33056
33279
  oauth: options.oauth
33057
33280
  };
33058
- await import_fs3.default.promises.mkdir(import_path4.default.dirname(appJsonPath), { recursive: true });
33281
+ await import_fs4.default.promises.mkdir(import_path4.default.dirname(appJsonPath), { recursive: true });
33059
33282
  try {
33060
- const existingAppJson = await import_fs3.default.promises.readFile(appJsonPath, "utf8");
33283
+ const existingAppJson = await import_fs4.default.promises.readFile(appJsonPath, "utf8");
33061
33284
  const existingAppJsonObject = JSON.parse(existingAppJson);
33062
- Object.assign(appJsonObject, existingAppJsonObject, { appName, permissions: appJsonObject.permissions });
33285
+ Object.assign(appJsonObject, existingAppJsonObject, {
33286
+ appName,
33287
+ permissions: appJsonObject.permissions,
33288
+ oauth: appJsonObject.oauth
33289
+ });
33063
33290
  } catch (error) {
33064
33291
  }
33065
- await import_fs3.default.promises.writeFile(appJsonPath, JSON.stringify(appJsonObject, null, 2), "utf8");
33292
+ await import_fs4.default.promises.writeFile(appJsonPath, JSON.stringify(appJsonObject, null, 2), "utf8");
33066
33293
  };
33067
33294
  return {
33068
33295
  name: "apps-in-toss:app-json",