hot-updater 0.24.7 → 0.25.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
@@ -10475,14 +10475,14 @@ var require_js_tokens = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_m
10475
10475
  }) });
10476
10476
 
10477
10477
  //#endregion
10478
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js
10479
- var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js": ((exports) => {
10478
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js
10479
+ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js": ((exports) => {
10480
10480
  Object.defineProperty(exports, "__esModule", { value: true });
10481
10481
  exports.isIdentifierChar = isIdentifierChar;
10482
10482
  exports.isIdentifierName = isIdentifierName;
10483
10483
  exports.isIdentifierStart = isIdentifierStart;
10484
- let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
10485
- let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
10484
+ let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
10485
+ let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
10486
10486
  const nonASCIIidentifierStart = /* @__PURE__ */ new RegExp("[" + nonASCIIidentifierStartChars + "]");
10487
10487
  const nonASCIIidentifier = /* @__PURE__ */ new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
10488
10488
  nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
@@ -10585,7 +10585,9 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10585
10585
  21,
10586
10586
  11,
10587
10587
  25,
10588
- 71,
10588
+ 7,
10589
+ 25,
10590
+ 39,
10589
10591
  55,
10590
10592
  7,
10591
10593
  1,
@@ -10630,8 +10632,8 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10630
10632
  7,
10631
10633
  1,
10632
10634
  17,
10633
- 2,
10634
- 60,
10635
+ 5,
10636
+ 57,
10635
10637
  28,
10636
10638
  11,
10637
10639
  0,
@@ -10815,7 +10817,9 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10815
10817
  31,
10816
10818
  15,
10817
10819
  0,
10818
- 328,
10820
+ 24,
10821
+ 43,
10822
+ 261,
10819
10823
  18,
10820
10824
  16,
10821
10825
  0,
@@ -10863,7 +10867,11 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10863
10867
  44,
10864
10868
  212,
10865
10869
  63,
10866
- 129,
10870
+ 33,
10871
+ 24,
10872
+ 3,
10873
+ 24,
10874
+ 45,
10867
10875
  74,
10868
10876
  6,
10869
10877
  0,
@@ -10873,13 +10881,15 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10873
10881
  1,
10874
10882
  2,
10875
10883
  0,
10876
- 29,
10877
- 6135,
10878
- 9,
10879
- 1237,
10884
+ 15,
10885
+ 4,
10886
+ 10,
10887
+ 7381,
10880
10888
  42,
10881
- 9,
10882
- 8936,
10889
+ 31,
10890
+ 98,
10891
+ 114,
10892
+ 8702,
10883
10893
  3,
10884
10894
  2,
10885
10895
  6,
@@ -10987,7 +10997,19 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
10987
10997
  29,
10988
10998
  3,
10989
10999
  0,
10990
- 496,
11000
+ 208,
11001
+ 30,
11002
+ 2,
11003
+ 2,
11004
+ 2,
11005
+ 1,
11006
+ 2,
11007
+ 6,
11008
+ 3,
11009
+ 4,
11010
+ 10,
11011
+ 1,
11012
+ 225,
10991
11013
  6,
10992
11014
  2,
10993
11015
  3,
@@ -11070,12 +11092,10 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11070
11092
  4421,
11071
11093
  42719,
11072
11094
  33,
11073
- 4153,
11074
- 7,
11075
- 221,
11095
+ 4381,
11096
+ 3,
11097
+ 5773,
11076
11098
  3,
11077
- 5761,
11078
- 15,
11079
11099
  7472,
11080
11100
  16,
11081
11101
  621,
@@ -11084,7 +11104,7 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11084
11104
  1507,
11085
11105
  4938,
11086
11106
  6,
11087
- 4191
11107
+ 8489
11088
11108
  ];
11089
11109
  const astralIdentifierCodes = [
11090
11110
  509,
@@ -11117,8 +11137,8 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11117
11137
  4,
11118
11138
  318,
11119
11139
  1,
11120
- 80,
11121
- 3,
11140
+ 78,
11141
+ 5,
11122
11142
  71,
11123
11143
  10,
11124
11144
  50,
@@ -11263,7 +11283,9 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11263
11283
  10,
11264
11284
  47,
11265
11285
  15,
11266
- 343,
11286
+ 199,
11287
+ 7,
11288
+ 137,
11267
11289
  9,
11268
11290
  54,
11269
11291
  7,
@@ -11295,7 +11317,9 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11295
11317
  4,
11296
11318
  9,
11297
11319
  9,
11298
- 330,
11320
+ 55,
11321
+ 9,
11322
+ 266,
11299
11323
  3,
11300
11324
  10,
11301
11325
  1,
@@ -11395,7 +11419,15 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11395
11419
  1,
11396
11420
  2,
11397
11421
  9,
11398
- 726,
11422
+ 233,
11423
+ 0,
11424
+ 3,
11425
+ 0,
11426
+ 8,
11427
+ 1,
11428
+ 6,
11429
+ 0,
11430
+ 475,
11399
11431
  6,
11400
11432
  110,
11401
11433
  6,
@@ -11452,8 +11484,8 @@ var require_identifier = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
11452
11484
  }) });
11453
11485
 
11454
11486
  //#endregion
11455
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js
11456
- var require_keyword = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js": ((exports) => {
11487
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js
11488
+ var require_keyword = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js": ((exports) => {
11457
11489
  Object.defineProperty(exports, "__esModule", { value: true });
11458
11490
  exports.isKeyword = isKeyword;
11459
11491
  exports.isReservedWord = isReservedWord;
@@ -11532,8 +11564,8 @@ var require_keyword = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
11532
11564
  }) });
11533
11565
 
11534
11566
  //#endregion
11535
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js
11536
- var require_lib$4 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js": ((exports) => {
11567
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js
11568
+ var require_lib$4 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js": ((exports) => {
11537
11569
  Object.defineProperty(exports, "__esModule", { value: true });
11538
11570
  Object.defineProperty(exports, "isIdentifierChar", {
11539
11571
  enumerable: true,
@@ -37941,7 +37973,7 @@ program.command("deploy").description("deploy a new version").addOption(platform
37941
37973
  }
37942
37974
  return value;
37943
37975
  })).addOption(new Option("-d, --disabled", "disable the update").default(false)).addOption(new Option("-f, --force-update", "force update the app").default(false)).addOption(new Option("-o, --bundle-output-path <bundleOutputPath>", "the path where the bundle.zip will be generated")).addOption(interactiveCommandOption).addOption(new Option("-c, --channel <channel>", "specify the channel to deploy").default(DEFAULT_CHANNEL)).addOption(new Option("-m, --message <message>", "Specify a custom message for this deployment. If not provided, the latest git commit message will be used as the deployment message")).action(async (options) => {
37944
- deploy(options);
37976
+ await deploy(options);
37945
37977
  });
37946
37978
  program.command("console").description("open the console").action(async () => {
37947
37979
  printBanner();
@@ -37971,7 +38003,7 @@ dbCommand.command("generate").description("Generate SQL migration file (does not
37971
38003
  });
37972
38004
  });
37973
38005
  if (process.env["NODE_ENV"] === "development") program.command("build:native").description("build a new native artifact and deploy").addOption(new Option("-p, --platform <platform>", "specify the platform").choices(["ios", "android"])).addOption(new Option("-o, --output-path <outputPath>", "the path where the artifacts will be generated")).addOption(interactiveCommandOption).addOption(new Option("-m, --message <message>", "Specify a custom message for this deployment. If not provided, the latest git commit message will be used as the deployment message")).action(async (options) => {
37974
- nativeBuild(options);
38006
+ await nativeBuild(options);
37975
38007
  });
37976
38008
  program.parse(process.argv);
37977
38009
 
package/dist/index.js CHANGED
@@ -10445,14 +10445,14 @@ var require_js_tokens = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/j
10445
10445
  }) });
10446
10446
 
10447
10447
  //#endregion
10448
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js
10449
- var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js": ((exports) => {
10448
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js
10449
+ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js": ((exports) => {
10450
10450
  Object.defineProperty(exports, "__esModule", { value: true });
10451
10451
  exports.isIdentifierChar = isIdentifierChar;
10452
10452
  exports.isIdentifierName = isIdentifierName;
10453
10453
  exports.isIdentifierStart = isIdentifierStart;
10454
- let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
10455
- let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
10454
+ let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
10455
+ let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
10456
10456
  const nonASCIIidentifierStart = /* @__PURE__ */ new RegExp("[" + nonASCIIidentifierStartChars + "]");
10457
10457
  const nonASCIIidentifier = /* @__PURE__ */ new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
10458
10458
  nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
@@ -10555,7 +10555,9 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10555
10555
  21,
10556
10556
  11,
10557
10557
  25,
10558
- 71,
10558
+ 7,
10559
+ 25,
10560
+ 39,
10559
10561
  55,
10560
10562
  7,
10561
10563
  1,
@@ -10600,8 +10602,8 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10600
10602
  7,
10601
10603
  1,
10602
10604
  17,
10603
- 2,
10604
- 60,
10605
+ 5,
10606
+ 57,
10605
10607
  28,
10606
10608
  11,
10607
10609
  0,
@@ -10785,7 +10787,9 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10785
10787
  31,
10786
10788
  15,
10787
10789
  0,
10788
- 328,
10790
+ 24,
10791
+ 43,
10792
+ 261,
10789
10793
  18,
10790
10794
  16,
10791
10795
  0,
@@ -10833,7 +10837,11 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10833
10837
  44,
10834
10838
  212,
10835
10839
  63,
10836
- 129,
10840
+ 33,
10841
+ 24,
10842
+ 3,
10843
+ 24,
10844
+ 45,
10837
10845
  74,
10838
10846
  6,
10839
10847
  0,
@@ -10843,13 +10851,15 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10843
10851
  1,
10844
10852
  2,
10845
10853
  0,
10846
- 29,
10847
- 6135,
10848
- 9,
10849
- 1237,
10854
+ 15,
10855
+ 4,
10856
+ 10,
10857
+ 7381,
10850
10858
  42,
10851
- 9,
10852
- 8936,
10859
+ 31,
10860
+ 98,
10861
+ 114,
10862
+ 8702,
10853
10863
  3,
10854
10864
  2,
10855
10865
  6,
@@ -10957,7 +10967,19 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
10957
10967
  29,
10958
10968
  3,
10959
10969
  0,
10960
- 496,
10970
+ 208,
10971
+ 30,
10972
+ 2,
10973
+ 2,
10974
+ 2,
10975
+ 1,
10976
+ 2,
10977
+ 6,
10978
+ 3,
10979
+ 4,
10980
+ 10,
10981
+ 1,
10982
+ 225,
10961
10983
  6,
10962
10984
  2,
10963
10985
  3,
@@ -11040,12 +11062,10 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11040
11062
  4421,
11041
11063
  42719,
11042
11064
  33,
11043
- 4153,
11044
- 7,
11045
- 221,
11065
+ 4381,
11066
+ 3,
11067
+ 5773,
11046
11068
  3,
11047
- 5761,
11048
- 15,
11049
11069
  7472,
11050
11070
  16,
11051
11071
  621,
@@ -11054,7 +11074,7 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11054
11074
  1507,
11055
11075
  4938,
11056
11076
  6,
11057
- 4191
11077
+ 8489
11058
11078
  ];
11059
11079
  const astralIdentifierCodes = [
11060
11080
  509,
@@ -11087,8 +11107,8 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11087
11107
  4,
11088
11108
  318,
11089
11109
  1,
11090
- 80,
11091
- 3,
11110
+ 78,
11111
+ 5,
11092
11112
  71,
11093
11113
  10,
11094
11114
  50,
@@ -11233,7 +11253,9 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11233
11253
  10,
11234
11254
  47,
11235
11255
  15,
11236
- 343,
11256
+ 199,
11257
+ 7,
11258
+ 137,
11237
11259
  9,
11238
11260
  54,
11239
11261
  7,
@@ -11265,7 +11287,9 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11265
11287
  4,
11266
11288
  9,
11267
11289
  9,
11268
- 330,
11290
+ 55,
11291
+ 9,
11292
+ 266,
11269
11293
  3,
11270
11294
  10,
11271
11295
  1,
@@ -11365,7 +11389,15 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11365
11389
  1,
11366
11390
  2,
11367
11391
  9,
11368
- 726,
11392
+ 233,
11393
+ 0,
11394
+ 3,
11395
+ 0,
11396
+ 8,
11397
+ 1,
11398
+ 6,
11399
+ 0,
11400
+ 475,
11369
11401
  6,
11370
11402
  110,
11371
11403
  6,
@@ -11422,8 +11454,8 @@ var require_identifier = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
11422
11454
  }) });
11423
11455
 
11424
11456
  //#endregion
11425
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js
11426
- var require_keyword = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js": ((exports) => {
11457
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js
11458
+ var require_keyword = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js": ((exports) => {
11427
11459
  Object.defineProperty(exports, "__esModule", { value: true });
11428
11460
  exports.isKeyword = isKeyword;
11429
11461
  exports.isReservedWord = isReservedWord;
@@ -11502,8 +11534,8 @@ var require_keyword = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@ba
11502
11534
  }) });
11503
11535
 
11504
11536
  //#endregion
11505
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js
11506
- var require_lib$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js": ((exports) => {
11537
+ //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js
11538
+ var require_lib$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js": ((exports) => {
11507
11539
  Object.defineProperty(exports, "__esModule", { value: true });
11508
11540
  Object.defineProperty(exports, "isIdentifierChar", {
11509
11541
  enumerable: true,
@@ -37911,7 +37943,7 @@ program.command("deploy").description("deploy a new version").addOption(platform
37911
37943
  }
37912
37944
  return value;
37913
37945
  })).addOption(new Option("-d, --disabled", "disable the update").default(false)).addOption(new Option("-f, --force-update", "force update the app").default(false)).addOption(new Option("-o, --bundle-output-path <bundleOutputPath>", "the path where the bundle.zip will be generated")).addOption(interactiveCommandOption).addOption(new Option("-c, --channel <channel>", "specify the channel to deploy").default(DEFAULT_CHANNEL)).addOption(new Option("-m, --message <message>", "Specify a custom message for this deployment. If not provided, the latest git commit message will be used as the deployment message")).action(async (options) => {
37914
- deploy(options);
37946
+ await deploy(options);
37915
37947
  });
37916
37948
  program.command("console").description("open the console").action(async () => {
37917
37949
  printBanner$1();
@@ -37941,7 +37973,7 @@ dbCommand.command("generate").description("Generate SQL migration file (does not
37941
37973
  });
37942
37974
  });
37943
37975
  if (process.env["NODE_ENV"] === "development") program.command("build:native").description("build a new native artifact and deploy").addOption(new Option("-p, --platform <platform>", "specify the platform").choices(["ios", "android"])).addOption(new Option("-o, --output-path <outputPath>", "the path where the artifacts will be generated")).addOption(interactiveCommandOption).addOption(new Option("-m, --message <message>", "Specify a custom message for this deployment. If not provided, the latest git commit message will be used as the deployment message")).action(async (options) => {
37944
- nativeBuild(options);
37976
+ await nativeBuild(options);
37945
37977
  });
37946
37978
  program.parse(process.argv);
37947
37979
 
@@ -349,13 +349,62 @@ const getBundleId = () => {
349
349
  }
350
350
  return bundleId;
351
351
  };
352
+ /**
353
+ * Hot Updater Babel Plugin
354
+ *
355
+ * This plugin handles two transformations:
356
+ * 1. Replaces __HOT_UPDATER_BUNDLE_ID with the actual bundle ID
357
+ * 2. Transforms Expo DOM component filePath to overrideUri for OTA updates
358
+ */
352
359
  function babel_default({ types: t }) {
353
360
  const bundleId = getBundleId();
354
361
  return {
355
362
  name: "hot-updater-babel-plugin",
356
- visitor: { Identifier(path$2) {
357
- if (path$2.node.name === "__HOT_UPDATER_BUNDLE_ID") path$2.replaceWith(t.stringLiteral(bundleId));
358
- } }
363
+ visitor: {
364
+ Identifier(path$2) {
365
+ if (path$2.node.name === "__HOT_UPDATER_BUNDLE_ID") path$2.replaceWith(t.stringLiteral(bundleId));
366
+ },
367
+ Program: { exit(programPath) {
368
+ const filePathDeclarations = /* @__PURE__ */ new Map();
369
+ programPath.node.body.forEach((node) => {
370
+ if (t.isVariableDeclaration(node) && node.declarations.length > 0) node.declarations.forEach((declarator) => {
371
+ if (t.isVariableDeclarator(declarator) && t.isIdentifier(declarator.id) && declarator.id.name === "filePath" && t.isStringLiteral(declarator.init) && declarator.init.value.endsWith(".html")) filePathDeclarations.set(declarator.id.name, declarator.init.value);
372
+ });
373
+ });
374
+ programPath.traverse({ ObjectExpression(objPath) {
375
+ const filePathProp = objPath.node.properties.find((prop) => t.isObjectProperty(prop) && t.isIdentifier(prop.key, { name: "filePath" }) && (t.isIdentifier(prop.value, { name: "filePath" }) || t.isStringLiteral(prop.value) && prop.value.value.endsWith(".html")));
376
+ if (!filePathProp || !t.isObjectProperty(filePathProp)) return;
377
+ const parent = objPath.parent;
378
+ if (!t.isCallExpression(parent) || !t.isMemberExpression(parent.callee) || !t.isIdentifier(parent.callee.property, { name: "createElement" })) return;
379
+ const firstArg = parent.arguments[0];
380
+ if (!(t.isIdentifier(firstArg) && (firstArg.name === "WebView" || firstArg.name.endsWith("WebView")) || t.isMemberExpression(firstArg) && t.isIdentifier(firstArg.property, { name: "WebView" }))) return;
381
+ const filePathValue = filePathProp.value;
382
+ let fileName;
383
+ if (t.isStringLiteral(filePathValue)) fileName = filePathValue.value;
384
+ else if (t.isIdentifier(filePathValue)) {
385
+ const declaredValue = filePathDeclarations.get(filePathValue.name);
386
+ if (!declaredValue) return;
387
+ fileName = declaredValue;
388
+ } else return;
389
+ const spreadElement = objPath.node.properties.find((prop) => t.isSpreadElement(prop));
390
+ const conditionalObject = t.conditionalExpression(t.identifier("baseURL"), t.objectExpression([t.objectProperty(t.identifier("dom"), t.objectExpression(spreadElement && t.isIdentifier(spreadElement.argument) ? [t.spreadElement(t.memberExpression(spreadElement.argument, t.identifier("dom"))), t.objectProperty(t.identifier("overrideUri"), t.callExpression(t.memberExpression(t.arrayExpression([
391
+ t.identifier("baseURL"),
392
+ t.stringLiteral("www.bundle"),
393
+ t.stringLiteral(fileName)
394
+ ]), t.identifier("join")), [t.stringLiteral("/")]))] : [t.objectProperty(t.identifier("overrideUri"), t.callExpression(t.memberExpression(t.arrayExpression([
395
+ t.identifier("baseURL"),
396
+ t.stringLiteral("www.bundle"),
397
+ t.stringLiteral(fileName)
398
+ ]), t.identifier("join")), [t.stringLiteral("/")]))])), t.objectProperty(t.identifier("filePath"), t.stringLiteral(fileName))]), t.objectExpression([t.objectProperty(t.identifier("filePath"), t.stringLiteral(fileName))]));
399
+ const arrowFunction = t.arrowFunctionExpression([t.identifier("baseURL")], conditionalObject);
400
+ const safeGetBaseURL = t.conditionalExpression(t.logicalExpression("&&", t.binaryExpression("!==", t.unaryExpression("typeof", t.identifier("globalThis"), true), t.stringLiteral("undefined")), t.memberExpression(t.identifier("globalThis"), t.identifier("HotUpdaterGetBaseURL"))), t.callExpression(t.memberExpression(t.identifier("globalThis"), t.identifier("HotUpdaterGetBaseURL")), []), t.unaryExpression("void", t.numericLiteral(0), true));
401
+ const iife = t.callExpression(arrowFunction, [safeGetBaseURL]);
402
+ const spreadProperty = t.spreadElement(iife);
403
+ const propIndex = objPath.node.properties.indexOf(filePathProp);
404
+ objPath.node.properties.splice(propIndex, 1, spreadProperty);
405
+ } });
406
+ } }
407
+ }
359
408
  };
360
409
  }
361
410
 
@@ -2,6 +2,14 @@ import { PluginObj } from "@babel/core";
2
2
  import * as babelTypes from "@babel/types";
3
3
 
4
4
  //#region src/plugins/babel.d.ts
5
+
6
+ /**
7
+ * Hot Updater Babel Plugin
8
+ *
9
+ * This plugin handles two transformations:
10
+ * 1. Replaces __HOT_UPDATER_BUNDLE_ID with the actual bundle ID
11
+ * 2. Transforms Expo DOM component filePath to overrideUri for OTA updates
12
+ */
5
13
  declare function export_default({
6
14
  types: t
7
15
  }: {
@@ -2,6 +2,14 @@ import { PluginObj } from "@babel/core";
2
2
  import * as babelTypes from "@babel/types";
3
3
 
4
4
  //#region src/plugins/babel.d.ts
5
+
6
+ /**
7
+ * Hot Updater Babel Plugin
8
+ *
9
+ * This plugin handles two transformations:
10
+ * 1. Replaces __HOT_UPDATER_BUNDLE_ID with the actual bundle ID
11
+ * 2. Transforms Expo DOM component filePath to overrideUri for OTA updates
12
+ */
5
13
  declare function export_default({
6
14
  types: t
7
15
  }: {
@@ -345,13 +345,62 @@ const getBundleId = () => {
345
345
  }
346
346
  return bundleId;
347
347
  };
348
+ /**
349
+ * Hot Updater Babel Plugin
350
+ *
351
+ * This plugin handles two transformations:
352
+ * 1. Replaces __HOT_UPDATER_BUNDLE_ID with the actual bundle ID
353
+ * 2. Transforms Expo DOM component filePath to overrideUri for OTA updates
354
+ */
348
355
  function babel_default({ types: t }) {
349
356
  const bundleId = getBundleId();
350
357
  return {
351
358
  name: "hot-updater-babel-plugin",
352
- visitor: { Identifier(path$1) {
353
- if (path$1.node.name === "__HOT_UPDATER_BUNDLE_ID") path$1.replaceWith(t.stringLiteral(bundleId));
354
- } }
359
+ visitor: {
360
+ Identifier(path$1) {
361
+ if (path$1.node.name === "__HOT_UPDATER_BUNDLE_ID") path$1.replaceWith(t.stringLiteral(bundleId));
362
+ },
363
+ Program: { exit(programPath) {
364
+ const filePathDeclarations = /* @__PURE__ */ new Map();
365
+ programPath.node.body.forEach((node) => {
366
+ if (t.isVariableDeclaration(node) && node.declarations.length > 0) node.declarations.forEach((declarator) => {
367
+ if (t.isVariableDeclarator(declarator) && t.isIdentifier(declarator.id) && declarator.id.name === "filePath" && t.isStringLiteral(declarator.init) && declarator.init.value.endsWith(".html")) filePathDeclarations.set(declarator.id.name, declarator.init.value);
368
+ });
369
+ });
370
+ programPath.traverse({ ObjectExpression(objPath) {
371
+ const filePathProp = objPath.node.properties.find((prop) => t.isObjectProperty(prop) && t.isIdentifier(prop.key, { name: "filePath" }) && (t.isIdentifier(prop.value, { name: "filePath" }) || t.isStringLiteral(prop.value) && prop.value.value.endsWith(".html")));
372
+ if (!filePathProp || !t.isObjectProperty(filePathProp)) return;
373
+ const parent = objPath.parent;
374
+ if (!t.isCallExpression(parent) || !t.isMemberExpression(parent.callee) || !t.isIdentifier(parent.callee.property, { name: "createElement" })) return;
375
+ const firstArg = parent.arguments[0];
376
+ if (!(t.isIdentifier(firstArg) && (firstArg.name === "WebView" || firstArg.name.endsWith("WebView")) || t.isMemberExpression(firstArg) && t.isIdentifier(firstArg.property, { name: "WebView" }))) return;
377
+ const filePathValue = filePathProp.value;
378
+ let fileName;
379
+ if (t.isStringLiteral(filePathValue)) fileName = filePathValue.value;
380
+ else if (t.isIdentifier(filePathValue)) {
381
+ const declaredValue = filePathDeclarations.get(filePathValue.name);
382
+ if (!declaredValue) return;
383
+ fileName = declaredValue;
384
+ } else return;
385
+ const spreadElement = objPath.node.properties.find((prop) => t.isSpreadElement(prop));
386
+ const conditionalObject = t.conditionalExpression(t.identifier("baseURL"), t.objectExpression([t.objectProperty(t.identifier("dom"), t.objectExpression(spreadElement && t.isIdentifier(spreadElement.argument) ? [t.spreadElement(t.memberExpression(spreadElement.argument, t.identifier("dom"))), t.objectProperty(t.identifier("overrideUri"), t.callExpression(t.memberExpression(t.arrayExpression([
387
+ t.identifier("baseURL"),
388
+ t.stringLiteral("www.bundle"),
389
+ t.stringLiteral(fileName)
390
+ ]), t.identifier("join")), [t.stringLiteral("/")]))] : [t.objectProperty(t.identifier("overrideUri"), t.callExpression(t.memberExpression(t.arrayExpression([
391
+ t.identifier("baseURL"),
392
+ t.stringLiteral("www.bundle"),
393
+ t.stringLiteral(fileName)
394
+ ]), t.identifier("join")), [t.stringLiteral("/")]))])), t.objectProperty(t.identifier("filePath"), t.stringLiteral(fileName))]), t.objectExpression([t.objectProperty(t.identifier("filePath"), t.stringLiteral(fileName))]));
395
+ const arrowFunction = t.arrowFunctionExpression([t.identifier("baseURL")], conditionalObject);
396
+ const safeGetBaseURL = t.conditionalExpression(t.logicalExpression("&&", t.binaryExpression("!==", t.unaryExpression("typeof", t.identifier("globalThis"), true), t.stringLiteral("undefined")), t.memberExpression(t.identifier("globalThis"), t.identifier("HotUpdaterGetBaseURL"))), t.callExpression(t.memberExpression(t.identifier("globalThis"), t.identifier("HotUpdaterGetBaseURL")), []), t.unaryExpression("void", t.numericLiteral(0), true));
397
+ const iife = t.callExpression(arrowFunction, [safeGetBaseURL]);
398
+ const spreadProperty = t.spreadElement(iife);
399
+ const propIndex = objPath.node.properties.indexOf(filePathProp);
400
+ objPath.node.properties.splice(propIndex, 1, spreadProperty);
401
+ } });
402
+ } }
403
+ }
355
404
  };
356
405
  }
357
406
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.24.7",
4
+ "version": "0.25.0",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.js"
7
7
  },
@@ -55,11 +55,11 @@
55
55
  "kysely": "0.28.8",
56
56
  "sql-formatter": "15.6.10",
57
57
  "cosmiconfig-typescript-loader": "5.0.0",
58
- "@hot-updater/cli-tools": "0.24.7",
59
- "@hot-updater/core": "0.24.7",
60
- "@hot-updater/plugin-core": "0.24.7",
61
- "@hot-updater/server": "0.24.7",
62
- "@hot-updater/console": "0.24.7"
58
+ "@hot-updater/cli-tools": "0.25.0",
59
+ "@hot-updater/console": "0.25.0",
60
+ "@hot-updater/core": "0.25.0",
61
+ "@hot-updater/server": "0.25.0",
62
+ "@hot-updater/plugin-core": "0.25.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "semver": "^7.6.3",
@@ -89,12 +89,12 @@
89
89
  "plist": "^3.1.0",
90
90
  "read-package-up": "^11.0.0",
91
91
  "uuidv7": "^1.0.2",
92
- "@hot-updater/aws": "0.24.7",
93
- "@hot-updater/server": "0.24.7",
94
- "@hot-updater/firebase": "0.24.7",
95
- "@hot-updater/cloudflare": "0.24.7",
96
- "@hot-updater/supabase": "0.24.7",
97
- "@hot-updater/test-utils": "0.24.7"
92
+ "@hot-updater/aws": "0.25.0",
93
+ "@hot-updater/server": "0.25.0",
94
+ "@hot-updater/cloudflare": "0.25.0",
95
+ "@hot-updater/firebase": "0.25.0",
96
+ "@hot-updater/supabase": "0.25.0",
97
+ "@hot-updater/test-utils": "0.25.0"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "@hot-updater/aws": "*",