@hot-updater/expo 0.20.0-rc.0 → 0.20.0

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