@hot-updater/bare 0.19.9 → 0.19.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -844,10 +844,10 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
844
844
 
845
845
  //#endregion
846
846
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
847
- var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
847
+ var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
848
848
  module.exports = isexe$3;
849
849
  isexe$3.sync = sync$2;
850
- var fs$6 = require("fs");
850
+ var fs$5 = require("fs");
851
851
  function checkPathExt(path$11, options) {
852
852
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
853
853
  if (!pathext) return true;
@@ -864,28 +864,28 @@ var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_mo
864
864
  return checkPathExt(path$11, options);
865
865
  }
866
866
  function isexe$3(path$11, options, cb) {
867
- fs$6.stat(path$11, function(er, stat) {
867
+ fs$5.stat(path$11, function(er, stat) {
868
868
  cb(er, er ? false : checkStat$1(stat, path$11, options));
869
869
  });
870
870
  }
871
871
  function sync$2(path$11, options) {
872
- return checkStat$1(fs$6.statSync(path$11), path$11, options);
872
+ return checkStat$1(fs$5.statSync(path$11), path$11, options);
873
873
  }
874
- } });
874
+ }) });
875
875
 
876
876
  //#endregion
877
877
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
878
- var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
878
+ var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
879
879
  module.exports = isexe$2;
880
880
  isexe$2.sync = sync$1;
881
- var fs$5 = require("fs");
881
+ var fs$4 = require("fs");
882
882
  function isexe$2(path$11, options, cb) {
883
- fs$5.stat(path$11, function(er, stat) {
883
+ fs$4.stat(path$11, function(er, stat) {
884
884
  cb(er, er ? false : checkStat(stat, options));
885
885
  });
886
886
  }
887
887
  function sync$1(path$11, options) {
888
- return checkStat(fs$5.statSync(path$11), options);
888
+ return checkStat(fs$4.statSync(path$11), options);
889
889
  }
890
890
  function checkStat(stat, options) {
891
891
  return stat.isFile() && checkMode(stat, options);
@@ -903,12 +903,12 @@ var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modul
903
903
  var ret = mod & o$1 || mod & g && gid === myGid || mod & u$1 && uid === myUid || mod & ug && myUid === 0;
904
904
  return ret;
905
905
  }
906
- } });
906
+ }) });
907
907
 
908
908
  //#endregion
909
909
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
910
- var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
911
- var fs$4 = require("fs");
910
+ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
911
+ require("fs");
912
912
  var core;
913
913
  if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
914
914
  else core = require_mode();
@@ -946,16 +946,16 @@ var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modu
946
946
  else throw er;
947
947
  }
948
948
  }
949
- } });
949
+ }) });
950
950
 
951
951
  //#endregion
952
952
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
953
- var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
953
+ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
954
954
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
955
955
  const path$10 = require("path");
956
956
  const COLON = isWindows ? ";" : ":";
957
957
  const isexe = require_isexe();
958
- const getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
958
+ const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
959
959
  const getPathInfo = (cmd, opt) => {
960
960
  const colon = opt.colon || COLON;
961
961
  const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || "").split(colon)];
@@ -1021,11 +1021,11 @@ var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modu
1021
1021
  };
1022
1022
  module.exports = which$1;
1023
1023
  which$1.sync = whichSync;
1024
- } });
1024
+ }) });
1025
1025
 
1026
1026
  //#endregion
1027
1027
  //#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
1028
- var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
1028
+ var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
1029
1029
  const pathKey$1 = (options = {}) => {
1030
1030
  const environment = options.env || process.env;
1031
1031
  const platform$1 = options.platform || process.platform;
@@ -1034,11 +1034,11 @@ var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/nod
1034
1034
  };
1035
1035
  module.exports = pathKey$1;
1036
1036
  module.exports.default = pathKey$1;
1037
- } });
1037
+ }) });
1038
1038
 
1039
1039
  //#endregion
1040
1040
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
1041
- var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
1041
+ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
1042
1042
  const path$9 = require("path");
1043
1043
  const which = require_which();
1044
1044
  const getPathKey = require_path_key();
@@ -1066,11 +1066,11 @@ var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@
1066
1066
  return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
1067
1067
  }
1068
1068
  module.exports = resolveCommand$1;
1069
- } });
1069
+ }) });
1070
1070
 
1071
1071
  //#endregion
1072
1072
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
1073
- var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
1073
+ var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
1074
1074
  const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
1075
1075
  function escapeCommand(arg) {
1076
1076
  arg = arg.replace(metaCharsRegExp, "^$1");
@@ -1087,17 +1087,17 @@ var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
1087
1087
  }
1088
1088
  module.exports.command = escapeCommand;
1089
1089
  module.exports.argument = escapeArgument;
1090
- } });
1090
+ }) });
1091
1091
 
1092
1092
  //#endregion
1093
1093
  //#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
1094
- var require_shebang_regex = __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
1094
+ var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
1095
1095
  module.exports = /^#!(.*)/;
1096
- } });
1096
+ }) });
1097
1097
 
1098
1098
  //#endregion
1099
1099
  //#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
1100
- var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
1100
+ var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
1101
1101
  const shebangRegex = require_shebang_regex();
1102
1102
  module.exports = (string = "") => {
1103
1103
  const match = string.match(shebangRegex);
@@ -1107,11 +1107,11 @@ var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-com
1107
1107
  if (binary === "env") return argument;
1108
1108
  return argument ? `${binary} ${argument}` : binary;
1109
1109
  };
1110
- } });
1110
+ }) });
1111
1111
 
1112
1112
  //#endregion
1113
1113
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
1114
- var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
1114
+ var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
1115
1115
  const fs$3 = require("fs");
1116
1116
  const shebangCommand = require_shebang_command();
1117
1117
  function readShebang$1(command) {
@@ -1126,11 +1126,11 @@ var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
1126
1126
  return shebangCommand(buffer.toString());
1127
1127
  }
1128
1128
  module.exports = readShebang$1;
1129
- } });
1129
+ }) });
1130
1130
 
1131
1131
  //#endregion
1132
1132
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
1133
- var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module) {
1133
+ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
1134
1134
  const path$8 = require("path");
1135
1135
  const resolveCommand = require_resolveCommand();
1136
1136
  const escape = require_escape();
@@ -1189,14 +1189,14 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/nod
1189
1189
  return options.shell ? parsed : parseNonShell(parsed);
1190
1190
  }
1191
1191
  module.exports = parse$1;
1192
- } });
1192
+ }) });
1193
1193
 
1194
1194
  //#endregion
1195
1195
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
1196
- var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
1196
+ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
1197
1197
  const isWin = process.platform === "win32";
1198
1198
  function notFoundError(original, syscall) {
1199
- return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
1199
+ return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
1200
1200
  code: "ENOENT",
1201
1201
  errno: "ENOENT",
1202
1202
  syscall: `${syscall} ${original.command}`,
@@ -1229,11 +1229,11 @@ var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
1229
1229
  verifyENOENTSync,
1230
1230
  notFoundError
1231
1231
  };
1232
- } });
1232
+ }) });
1233
1233
 
1234
1234
  //#endregion
1235
1235
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
1236
- var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module) {
1236
+ var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
1237
1237
  const cp = require("child_process");
1238
1238
  const parse = require_parse();
1239
1239
  const enoent = require_enoent();
@@ -1254,10 +1254,11 @@ var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
1254
1254
  module.exports.sync = spawnSync$1;
1255
1255
  module.exports._parse = parse;
1256
1256
  module.exports._enoent = enoent;
1257
- } });
1257
+ }) });
1258
1258
 
1259
1259
  //#endregion
1260
1260
  //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1261
+ var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
1261
1262
  function pathKey(options = {}) {
1262
1263
  const { env = process.env, platform: platform$1 = process.platform } = options;
1263
1264
  if (platform$1 !== "win32") return "PATH";
@@ -1828,7 +1829,7 @@ const throwOnMissingStrict = (isSubprocess) => {
1828
1829
  const throwOnStrictDisconnect = (isSubprocess) => {
1829
1830
  throw new Error(`${getMethodName("sendMessage", isSubprocess)} failed: the ${getOtherProcessName(isSubprocess)} exited without listening to incoming messages.`);
1830
1831
  };
1831
- const getAbortDisconnectError = () => new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
1832
+ const getAbortDisconnectError = () => /* @__PURE__ */ new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
1832
1833
  const throwOnMissingParent = () => {
1833
1834
  throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.");
1834
1835
  };
@@ -2466,7 +2467,6 @@ const fixCwdError = (originalMessage, cwd) => {
2466
2467
 
2467
2468
  //#endregion
2468
2469
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
2469
- var import_cross_spawn = __toESM(require_cross_spawn(), 1);
2470
2470
  const normalizeOptions = (filePath, rawArguments, rawOptions) => {
2471
2471
  rawOptions.cwd = normalizeCwd(rawOptions.cwd);
2472
2472
  const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
@@ -2794,7 +2794,7 @@ const arrayMethods = {
2794
2794
  async function getStreamAsArrayBuffer(stream, options) {
2795
2795
  return getStreamContents$1(stream, arrayBufferMethods, options);
2796
2796
  }
2797
- const initArrayBuffer = () => ({ contents: new ArrayBuffer(0) });
2797
+ const initArrayBuffer = () => ({ contents: /* @__PURE__ */ new ArrayBuffer(0) });
2798
2798
  const useTextEncoder = (chunk) => textEncoder.encode(chunk);
2799
2799
  const textEncoder = new TextEncoder();
2800
2800
  const useUint8Array = (chunk) => new Uint8Array(chunk);
@@ -3143,10 +3143,9 @@ function parseBigint(milliseconds) {
3143
3143
  }
3144
3144
  function parseMilliseconds(milliseconds) {
3145
3145
  switch (typeof milliseconds) {
3146
- case "number": {
3146
+ case "number":
3147
3147
  if (Number.isFinite(milliseconds)) return parseNumber(milliseconds);
3148
3148
  break;
3149
- }
3150
3149
  case "bigint": return parseBigint(milliseconds);
3151
3150
  }
3152
3151
  throw new TypeError("Expected a finite number or bigint");
@@ -3686,10 +3685,10 @@ const getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction,
3686
3685
  optionName
3687
3686
  });
3688
3687
  };
3689
- const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map((stdioItem) => ({
3688
+ const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map(((stdioItem) => ({
3690
3689
  ...stdioItem,
3691
3690
  direction
3692
- })));
3691
+ }))));
3693
3692
  const validateDuplicateStreamSync = ({ otherStdioItems, type, value, optionName, direction }) => {
3694
3693
  if (SPECIAL_DUPLICATE_TYPES_SYNC.has(type)) getDuplicateStreamInstance({
3695
3694
  otherStdioItems,
@@ -4206,7 +4205,7 @@ const logLine = (line, fdNumber, verboseInfo) => {
4206
4205
  const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
4207
4206
  if (output === null) return { output: Array.from({ length: 3 }) };
4208
4207
  const state = {};
4209
- const outputFiles = new Set([]);
4208
+ const outputFiles = /* @__PURE__ */ new Set([]);
4210
4209
  const transformedOutput = output.map((result, fdNumber) => transformOutputResultSync({
4211
4210
  result,
4212
4211
  fileDescriptors,
@@ -4768,9 +4767,9 @@ const getHighWaterMark = (streams, objectMode) => {
4768
4767
  return Math.max(...highWaterMarks);
4769
4768
  };
4770
4769
  var MergedStream = class extends node_stream.PassThrough {
4771
- #streams = new Set([]);
4772
- #ended = new Set([]);
4773
- #aborted = new Set([]);
4770
+ #streams = /* @__PURE__ */ new Set([]);
4771
+ #ended = /* @__PURE__ */ new Set([]);
4772
+ #aborted = /* @__PURE__ */ new Set([]);
4774
4773
  #onFinished;
4775
4774
  #unpipeEvent = Symbol("unpipe");
4776
4775
  #streamPromises = /* @__PURE__ */ new WeakMap();
@@ -5369,7 +5368,7 @@ const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ?
5369
5368
  const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
5370
5369
  await (0, node_util.aborted)(unpipeSignal, sourceStream);
5371
5370
  await mergedStream.remove(sourceStream);
5372
- const error = new Error("Pipe canceled by `unpipeSignal` option.");
5371
+ const error = /* @__PURE__ */ new Error("Pipe canceled by `unpipeSignal` option.");
5373
5372
  throw createNonCommandError({
5374
5373
  error,
5375
5374
  fileDescriptors,
package/dist/index.js CHANGED
@@ -846,10 +846,10 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
846
846
 
847
847
  //#endregion
848
848
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
849
- var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
849
+ var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
850
850
  module.exports = isexe$3;
851
851
  isexe$3.sync = sync$2;
852
- var fs$5 = __require("fs");
852
+ var fs$4 = __require("fs");
853
853
  function checkPathExt(path$5, options) {
854
854
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
855
855
  if (!pathext) return true;
@@ -866,28 +866,28 @@ var require_windows = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_mo
866
866
  return checkPathExt(path$5, options);
867
867
  }
868
868
  function isexe$3(path$5, options, cb) {
869
- fs$5.stat(path$5, function(er, stat) {
869
+ fs$4.stat(path$5, function(er, stat) {
870
870
  cb(er, er ? false : checkStat$1(stat, path$5, options));
871
871
  });
872
872
  }
873
873
  function sync$2(path$5, options) {
874
- return checkStat$1(fs$5.statSync(path$5), path$5, options);
874
+ return checkStat$1(fs$4.statSync(path$5), path$5, options);
875
875
  }
876
- } });
876
+ }) });
877
877
 
878
878
  //#endregion
879
879
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
880
- var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
880
+ var require_mode = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
881
881
  module.exports = isexe$2;
882
882
  isexe$2.sync = sync$1;
883
- var fs$4 = __require("fs");
883
+ var fs$3 = __require("fs");
884
884
  function isexe$2(path$5, options, cb) {
885
- fs$4.stat(path$5, function(er, stat) {
885
+ fs$3.stat(path$5, function(er, stat) {
886
886
  cb(er, er ? false : checkStat(stat, options));
887
887
  });
888
888
  }
889
889
  function sync$1(path$5, options) {
890
- return checkStat(fs$4.statSync(path$5), options);
890
+ return checkStat(fs$3.statSync(path$5), options);
891
891
  }
892
892
  function checkStat(stat, options) {
893
893
  return stat.isFile() && checkMode(stat, options);
@@ -905,12 +905,12 @@ var require_mode = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modul
905
905
  var ret = mod & o$1 || mod & g && gid === myGid || mod & u$1 && uid === myUid || mod & ug && myUid === 0;
906
906
  return ret;
907
907
  }
908
- } });
908
+ }) });
909
909
 
910
910
  //#endregion
911
911
  //#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
912
- var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
913
- var fs$3 = __require("fs");
912
+ var require_isexe = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": ((exports, module) => {
913
+ __require("fs");
914
914
  var core;
915
915
  if (process.platform === "win32" || global.TESTING_WINDOWS) core = require_windows();
916
916
  else core = require_mode();
@@ -948,16 +948,16 @@ var require_isexe = __commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modu
948
948
  else throw er;
949
949
  }
950
950
  }
951
- } });
951
+ }) });
952
952
 
953
953
  //#endregion
954
954
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
955
- var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
955
+ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
956
956
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
957
957
  const path$4 = __require("path");
958
958
  const COLON = isWindows ? ";" : ":";
959
959
  const isexe = require_isexe();
960
- const getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
960
+ const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
961
961
  const getPathInfo = (cmd, opt) => {
962
962
  const colon = opt.colon || COLON;
963
963
  const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || "").split(colon)];
@@ -1023,11 +1023,11 @@ var require_which = __commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modu
1023
1023
  };
1024
1024
  module.exports = which$1;
1025
1025
  which$1.sync = whichSync;
1026
- } });
1026
+ }) });
1027
1027
 
1028
1028
  //#endregion
1029
1029
  //#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
1030
- var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
1030
+ var require_path_key = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js": ((exports, module) => {
1031
1031
  const pathKey$1 = (options = {}) => {
1032
1032
  const environment = options.env || process.env;
1033
1033
  const platform$1 = options.platform || process.platform;
@@ -1036,11 +1036,11 @@ var require_path_key = __commonJS({ "../../node_modules/.pnpm/path-key@3.1.1/nod
1036
1036
  };
1037
1037
  module.exports = pathKey$1;
1038
1038
  module.exports.default = pathKey$1;
1039
- } });
1039
+ }) });
1040
1040
 
1041
1041
  //#endregion
1042
1042
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
1043
- var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
1043
+ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
1044
1044
  const path$3 = __require("path");
1045
1045
  const which = require_which();
1046
1046
  const getPathKey = require_path_key();
@@ -1068,11 +1068,11 @@ var require_resolveCommand = __commonJS({ "../../node_modules/.pnpm/cross-spawn@
1068
1068
  return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
1069
1069
  }
1070
1070
  module.exports = resolveCommand$1;
1071
- } });
1071
+ }) });
1072
1072
 
1073
1073
  //#endregion
1074
1074
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
1075
- var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
1075
+ var require_escape = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": ((exports, module) => {
1076
1076
  const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
1077
1077
  function escapeCommand(arg) {
1078
1078
  arg = arg.replace(metaCharsRegExp, "^$1");
@@ -1089,17 +1089,17 @@ var require_escape = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
1089
1089
  }
1090
1090
  module.exports.command = escapeCommand;
1091
1091
  module.exports.argument = escapeArgument;
1092
- } });
1092
+ }) });
1093
1093
 
1094
1094
  //#endregion
1095
1095
  //#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
1096
- var require_shebang_regex = __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
1096
+ var require_shebang_regex = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js": ((exports, module) => {
1097
1097
  module.exports = /^#!(.*)/;
1098
- } });
1098
+ }) });
1099
1099
 
1100
1100
  //#endregion
1101
1101
  //#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
1102
- var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
1102
+ var require_shebang_command = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": ((exports, module) => {
1103
1103
  const shebangRegex = require_shebang_regex();
1104
1104
  module.exports = (string = "") => {
1105
1105
  const match = string.match(shebangRegex);
@@ -1109,11 +1109,11 @@ var require_shebang_command = __commonJS({ "../../node_modules/.pnpm/shebang-com
1109
1109
  if (binary === "env") return argument;
1110
1110
  return argument ? `${binary} ${argument}` : binary;
1111
1111
  };
1112
- } });
1112
+ }) });
1113
1113
 
1114
1114
  //#endregion
1115
1115
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
1116
- var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
1116
+ var require_readShebang = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
1117
1117
  const fs$2 = __require("fs");
1118
1118
  const shebangCommand = require_shebang_command();
1119
1119
  function readShebang$1(command) {
@@ -1128,11 +1128,11 @@ var require_readShebang = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
1128
1128
  return shebangCommand(buffer.toString());
1129
1129
  }
1130
1130
  module.exports = readShebang$1;
1131
- } });
1131
+ }) });
1132
1132
 
1133
1133
  //#endregion
1134
1134
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
1135
- var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module) {
1135
+ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
1136
1136
  const path$2 = __require("path");
1137
1137
  const resolveCommand = require_resolveCommand();
1138
1138
  const escape = require_escape();
@@ -1191,14 +1191,14 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/nod
1191
1191
  return options.shell ? parsed : parseNonShell(parsed);
1192
1192
  }
1193
1193
  module.exports = parse$1;
1194
- } });
1194
+ }) });
1195
1195
 
1196
1196
  //#endregion
1197
1197
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
1198
- var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
1198
+ var require_enoent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": ((exports, module) => {
1199
1199
  const isWin = process.platform === "win32";
1200
1200
  function notFoundError(original, syscall) {
1201
- return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
1201
+ return Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {
1202
1202
  code: "ENOENT",
1203
1203
  errno: "ENOENT",
1204
1204
  syscall: `${syscall} ${original.command}`,
@@ -1231,11 +1231,11 @@ var require_enoent = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/no
1231
1231
  verifyENOENTSync,
1232
1232
  notFoundError
1233
1233
  };
1234
- } });
1234
+ }) });
1235
1235
 
1236
1236
  //#endregion
1237
1237
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
1238
- var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module) {
1238
+ var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": ((exports, module) => {
1239
1239
  const cp = __require("child_process");
1240
1240
  const parse = require_parse();
1241
1241
  const enoent = require_enoent();
@@ -1256,10 +1256,11 @@ var require_cross_spawn = __commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0
1256
1256
  module.exports.sync = spawnSync$1;
1257
1257
  module.exports._parse = parse;
1258
1258
  module.exports._enoent = enoent;
1259
- } });
1259
+ }) });
1260
1260
 
1261
1261
  //#endregion
1262
1262
  //#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
1263
+ var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
1263
1264
  function pathKey(options = {}) {
1264
1265
  const { env = process.env, platform: platform$1 = process.platform } = options;
1265
1266
  if (platform$1 !== "win32") return "PATH";
@@ -1830,7 +1831,7 @@ const throwOnMissingStrict = (isSubprocess) => {
1830
1831
  const throwOnStrictDisconnect = (isSubprocess) => {
1831
1832
  throw new Error(`${getMethodName("sendMessage", isSubprocess)} failed: the ${getOtherProcessName(isSubprocess)} exited without listening to incoming messages.`);
1832
1833
  };
1833
- const getAbortDisconnectError = () => new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
1834
+ const getAbortDisconnectError = () => /* @__PURE__ */ new Error(`\`cancelSignal\` aborted: the ${getOtherProcessName(true)} disconnected.`);
1834
1835
  const throwOnMissingParent = () => {
1835
1836
  throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.");
1836
1837
  };
@@ -2468,7 +2469,6 @@ const fixCwdError = (originalMessage, cwd) => {
2468
2469
 
2469
2470
  //#endregion
2470
2471
  //#region ../../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/arguments/options.js
2471
- var import_cross_spawn = __toESM(require_cross_spawn(), 1);
2472
2472
  const normalizeOptions = (filePath, rawArguments, rawOptions) => {
2473
2473
  rawOptions.cwd = normalizeCwd(rawOptions.cwd);
2474
2474
  const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
@@ -2796,7 +2796,7 @@ const arrayMethods = {
2796
2796
  async function getStreamAsArrayBuffer(stream, options) {
2797
2797
  return getStreamContents$1(stream, arrayBufferMethods, options);
2798
2798
  }
2799
- const initArrayBuffer = () => ({ contents: new ArrayBuffer(0) });
2799
+ const initArrayBuffer = () => ({ contents: /* @__PURE__ */ new ArrayBuffer(0) });
2800
2800
  const useTextEncoder = (chunk) => textEncoder.encode(chunk);
2801
2801
  const textEncoder = new TextEncoder();
2802
2802
  const useUint8Array = (chunk) => new Uint8Array(chunk);
@@ -3145,10 +3145,9 @@ function parseBigint(milliseconds) {
3145
3145
  }
3146
3146
  function parseMilliseconds(milliseconds) {
3147
3147
  switch (typeof milliseconds) {
3148
- case "number": {
3148
+ case "number":
3149
3149
  if (Number.isFinite(milliseconds)) return parseNumber(milliseconds);
3150
3150
  break;
3151
- }
3152
3151
  case "bigint": return parseBigint(milliseconds);
3153
3152
  }
3154
3153
  throw new TypeError("Expected a finite number or bigint");
@@ -3688,10 +3687,10 @@ const getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction,
3688
3687
  optionName
3689
3688
  });
3690
3689
  };
3691
- const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map((stdioItem) => ({
3690
+ const getOtherStdioItems = (fileDescriptors, type) => fileDescriptors.flatMap(({ direction, stdioItems }) => stdioItems.filter((stdioItem) => stdioItem.type === type).map(((stdioItem) => ({
3692
3691
  ...stdioItem,
3693
3692
  direction
3694
- })));
3693
+ }))));
3695
3694
  const validateDuplicateStreamSync = ({ otherStdioItems, type, value, optionName, direction }) => {
3696
3695
  if (SPECIAL_DUPLICATE_TYPES_SYNC.has(type)) getDuplicateStreamInstance({
3697
3696
  otherStdioItems,
@@ -4208,7 +4207,7 @@ const logLine = (line, fdNumber, verboseInfo) => {
4208
4207
  const transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
4209
4208
  if (output === null) return { output: Array.from({ length: 3 }) };
4210
4209
  const state = {};
4211
- const outputFiles = new Set([]);
4210
+ const outputFiles = /* @__PURE__ */ new Set([]);
4212
4211
  const transformedOutput = output.map((result, fdNumber) => transformOutputResultSync({
4213
4212
  result,
4214
4213
  fileDescriptors,
@@ -4770,9 +4769,9 @@ const getHighWaterMark = (streams, objectMode) => {
4770
4769
  return Math.max(...highWaterMarks);
4771
4770
  };
4772
4771
  var MergedStream = class extends PassThrough {
4773
- #streams = new Set([]);
4774
- #ended = new Set([]);
4775
- #aborted = new Set([]);
4772
+ #streams = /* @__PURE__ */ new Set([]);
4773
+ #ended = /* @__PURE__ */ new Set([]);
4774
+ #aborted = /* @__PURE__ */ new Set([]);
4776
4775
  #onFinished;
4777
4776
  #unpipeEvent = Symbol("unpipe");
4778
4777
  #streamPromises = /* @__PURE__ */ new WeakMap();
@@ -5371,7 +5370,7 @@ const unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ?
5371
5370
  const unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
5372
5371
  await aborted(unpipeSignal, sourceStream);
5373
5372
  await mergedStream.remove(sourceStream);
5374
- const error = new Error("Pipe canceled by `unpipeSignal` option.");
5373
+ const error = /* @__PURE__ */ new Error("Pipe canceled by `unpipeSignal` option.");
5375
5374
  throw createNonCommandError({
5376
5375
  error,
5377
5376
  fileDescriptors,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/bare",
3
3
  "type": "module",
4
- "version": "0.19.9",
4
+ "version": "0.19.10",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "package.json"
22
22
  ],
23
23
  "dependencies": {
24
- "@hot-updater/plugin-core": "0.19.9"
24
+ "@hot-updater/plugin-core": "0.19.10"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.8.7",