@wix/cli 1.1.82 → 1.1.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/bin/wix.cjs +2 -2
  2. package/build/{DevCommand-SDFXHWAZ.js → DevCommand-3T55WLCX.js} +15 -15
  3. package/build/{DevCommand-G3CESSCS.js → DevCommand-QIKMRRK2.js} +12 -12
  4. package/build/{InstallCommand-45AVI6H7.js → InstallCommand-4YBBLALN.js} +14 -14
  5. package/build/{LoginCommand-JMCJIN4P.js → LoginCommand-VYFNU5TA.js} +9 -9
  6. package/build/{LogoutCommand-YERC4TI3.js → LogoutCommand-W3YHFAZJ.js} +6 -6
  7. package/build/{PreviewCommand-LLZ7NWAV.js → PreviewCommand-N5QXU2FK.js} +16 -16
  8. package/build/{PreviewCommand-VNTDBBKT.js → PreviewCommand-YHAJGKV7.js} +17 -17
  9. package/build/{PublishCommand-ZPWZSNY5.js → PublishCommand-UJX7YSD7.js} +16 -16
  10. package/build/{UninstallCommand-CDIBOZUN.js → UninstallCommand-WYZDNETD.js} +14 -14
  11. package/build/{WhoamiCommand-PLS6RUWM.js → WhoamiCommand-DXQH6HUP.js} +3 -3
  12. package/build/{chunk-VQPUE22G.js → chunk-2F3TGHU3.js} +7 -7
  13. package/build/{chunk-VQPUE22G.js.map → chunk-2F3TGHU3.js.map} +1 -1
  14. package/build/{chunk-UMFWKOWB.js → chunk-3ESROA3O.js} +3 -3
  15. package/build/{chunk-P35RKHKI.js → chunk-3TOIVPXU.js} +3 -3
  16. package/build/{chunk-BDO6CR4V.js → chunk-443UULTT.js} +3 -3
  17. package/build/{chunk-27DLATXZ.js → chunk-6YL4Z7HO.js} +5 -5
  18. package/build/chunk-6YL4Z7HO.js.map +1 -0
  19. package/build/{chunk-G6EV7W6O.js → chunk-7HAKFVGI.js} +2 -2
  20. package/build/{chunk-4EO7ZBWR.js → chunk-7SBYWHZH.js} +2 -2
  21. package/build/{chunk-YDXZTDCP.js → chunk-AKNVJLMI.js} +11 -12
  22. package/build/chunk-AKNVJLMI.js.map +1 -0
  23. package/build/{chunk-V5ZP5VFT.js → chunk-AWJBTSZB.js} +7 -7
  24. package/build/{chunk-NZWOBXKV.js → chunk-BWQNSFZR.js} +3 -3
  25. package/build/{chunk-NZWOBXKV.js.map → chunk-BWQNSFZR.js.map} +1 -1
  26. package/build/{chunk-4QUIYV2D.js → chunk-CZNH4NDF.js} +2 -2
  27. package/build/{chunk-Y2YOKPFS.js → chunk-D32EVRHZ.js} +3 -3
  28. package/build/{chunk-ZOXP3NVG.js → chunk-D4OH4DMW.js} +8 -8
  29. package/build/{chunk-UAFSX2SL.js → chunk-DZ6HYDXN.js} +5 -5
  30. package/build/{chunk-4TDFATZJ.js → chunk-EB5O7IPB.js} +3 -3
  31. package/build/{chunk-GX2P5YHY.js → chunk-EDBFXDBA.js} +6 -6
  32. package/build/{chunk-FDFLEAUS.js → chunk-G4TMGKQZ.js} +3 -3
  33. package/build/{chunk-5NU7W36B.js → chunk-GMB4V5N6.js} +2 -2
  34. package/build/{chunk-PWTKS7IC.js → chunk-HIY4FIRZ.js} +2 -2
  35. package/build/{chunk-L5767LEQ.js → chunk-HJQ6N2XI.js} +282 -254
  36. package/build/chunk-HJQ6N2XI.js.map +1 -0
  37. package/build/{chunk-ALLETB4G.js → chunk-K5TRKVBA.js} +3 -3
  38. package/build/{chunk-JMIOSJ6M.js → chunk-LQK7FXRR.js} +5 -5
  39. package/build/{chunk-IJUB7F5P.js → chunk-NN465VNN.js} +249 -16
  40. package/build/chunk-NN465VNN.js.map +1 -0
  41. package/build/{chunk-H6JMSRER.js → chunk-ODUS243S.js} +8 -8
  42. package/build/{chunk-LOIAECXT.js → chunk-OG7CQWH4.js} +3 -3
  43. package/build/{chunk-JFKUMOCQ.js → chunk-OKG3SHLM.js} +14 -5
  44. package/build/chunk-OKG3SHLM.js.map +1 -0
  45. package/build/{chunk-YCFZ247L.js → chunk-PCN3DSXO.js} +4 -4
  46. package/build/{chunk-FQPD6463.js → chunk-RTNNLCWK.js} +2 -2
  47. package/build/{chunk-OELBJVRN.js → chunk-RVMEYUY7.js} +4 -2
  48. package/build/chunk-RVMEYUY7.js.map +1 -0
  49. package/build/{chunk-V2FLJHZT.js → chunk-TTMVSSSY.js} +2 -2
  50. package/build/{chunk-OFZYGRHS.js → chunk-VDEWNPZW.js} +3 -3
  51. package/build/{chunk-MGQ2ESKW.js → chunk-VTNVMBHW.js} +5 -5
  52. package/build/{chunk-UPC7ESRG.js → chunk-WCNBMDVW.js} +2 -2
  53. package/build/{chunk-BVG5SCZS.js → chunk-YZNDZ4SI.js} +3 -3
  54. package/build/{chunk-IFOT72TN.js → chunk-ZB6FQ6GP.js} +7 -3
  55. package/build/{chunk-IFOT72TN.js.map → chunk-ZB6FQ6GP.js.map} +1 -1
  56. package/build/{dev-7W2DPJU7.js → dev-RGJBH6UG.js} +21 -21
  57. package/build/index.js +29 -23
  58. package/build/index.js.map +1 -1
  59. package/build/{install-65IG2O5T.js → install-DWGSHW3J.js} +17 -17
  60. package/build/{publish-YGH7XDLS.js → publish-AC7TTXOB.js} +18 -17
  61. package/build/{publish-YGH7XDLS.js.map → publish-AC7TTXOB.js.map} +1 -1
  62. package/build/{render-command-2MR5YBEV.js → render-command-GUDTM4IQ.js} +9 -9
  63. package/build/{render-command-SWR5N5GP.js → render-command-I2EZ5ZOY.js} +8 -8
  64. package/build/{render-command-NECYRVEQ.js → render-command-IGB63PTD.js} +9 -9
  65. package/build/{render-command-2WLWMKTZ.js → render-command-KGE4WNRS.js} +12 -12
  66. package/build/{run-command-ZIBXWV63.js → run-command-TBCHFVR6.js} +8 -8
  67. package/build/{src-55UVIEKB.js → src-A6GUTLAP.js} +17 -17
  68. package/build/{src-SDOROU7S.js → src-BAC3WGFQ.js} +6 -6
  69. package/build/{src-QCJABFJO.js → src-NE5D32YX.js} +4 -4
  70. package/build/{src-26FPXGXH.js → src-PTVLFJGU.js} +2 -2
  71. package/build/{src-PSCSVTUC.js → src-QIYGDXHR.js} +5 -5
  72. package/build/{src-TUUZ6KXC.js → src-XY5XGVPA.js} +13 -13
  73. package/build/{sync-types-7CGIZBAV.js → sync-types-KIRJNRVB.js} +11 -11
  74. package/build/{uninstall-2RSTFKCM.js → uninstall-MT6ZLKJY.js} +17 -17
  75. package/package.json +3 -3
  76. package/build/chunk-27DLATXZ.js.map +0 -1
  77. package/build/chunk-IJUB7F5P.js.map +0 -1
  78. package/build/chunk-JFKUMOCQ.js.map +0 -1
  79. package/build/chunk-L5767LEQ.js.map +0 -1
  80. package/build/chunk-OELBJVRN.js.map +0 -1
  81. package/build/chunk-YDXZTDCP.js.map +0 -1
  82. /package/build/{DevCommand-SDFXHWAZ.js.map → DevCommand-3T55WLCX.js.map} +0 -0
  83. /package/build/{DevCommand-G3CESSCS.js.map → DevCommand-QIKMRRK2.js.map} +0 -0
  84. /package/build/{InstallCommand-45AVI6H7.js.map → InstallCommand-4YBBLALN.js.map} +0 -0
  85. /package/build/{LoginCommand-JMCJIN4P.js.map → LoginCommand-VYFNU5TA.js.map} +0 -0
  86. /package/build/{LogoutCommand-YERC4TI3.js.map → LogoutCommand-W3YHFAZJ.js.map} +0 -0
  87. /package/build/{PreviewCommand-LLZ7NWAV.js.map → PreviewCommand-N5QXU2FK.js.map} +0 -0
  88. /package/build/{PreviewCommand-VNTDBBKT.js.map → PreviewCommand-YHAJGKV7.js.map} +0 -0
  89. /package/build/{PublishCommand-ZPWZSNY5.js.map → PublishCommand-UJX7YSD7.js.map} +0 -0
  90. /package/build/{UninstallCommand-CDIBOZUN.js.map → UninstallCommand-WYZDNETD.js.map} +0 -0
  91. /package/build/{WhoamiCommand-PLS6RUWM.js.map → WhoamiCommand-DXQH6HUP.js.map} +0 -0
  92. /package/build/{chunk-UMFWKOWB.js.map → chunk-3ESROA3O.js.map} +0 -0
  93. /package/build/{chunk-P35RKHKI.js.map → chunk-3TOIVPXU.js.map} +0 -0
  94. /package/build/{chunk-BDO6CR4V.js.map → chunk-443UULTT.js.map} +0 -0
  95. /package/build/{chunk-G6EV7W6O.js.map → chunk-7HAKFVGI.js.map} +0 -0
  96. /package/build/{chunk-4EO7ZBWR.js.map → chunk-7SBYWHZH.js.map} +0 -0
  97. /package/build/{chunk-V5ZP5VFT.js.map → chunk-AWJBTSZB.js.map} +0 -0
  98. /package/build/{chunk-4QUIYV2D.js.map → chunk-CZNH4NDF.js.map} +0 -0
  99. /package/build/{chunk-Y2YOKPFS.js.map → chunk-D32EVRHZ.js.map} +0 -0
  100. /package/build/{chunk-ZOXP3NVG.js.map → chunk-D4OH4DMW.js.map} +0 -0
  101. /package/build/{chunk-UAFSX2SL.js.map → chunk-DZ6HYDXN.js.map} +0 -0
  102. /package/build/{chunk-4TDFATZJ.js.map → chunk-EB5O7IPB.js.map} +0 -0
  103. /package/build/{chunk-GX2P5YHY.js.map → chunk-EDBFXDBA.js.map} +0 -0
  104. /package/build/{chunk-FDFLEAUS.js.map → chunk-G4TMGKQZ.js.map} +0 -0
  105. /package/build/{chunk-5NU7W36B.js.map → chunk-GMB4V5N6.js.map} +0 -0
  106. /package/build/{chunk-PWTKS7IC.js.map → chunk-HIY4FIRZ.js.map} +0 -0
  107. /package/build/{chunk-ALLETB4G.js.map → chunk-K5TRKVBA.js.map} +0 -0
  108. /package/build/{chunk-JMIOSJ6M.js.map → chunk-LQK7FXRR.js.map} +0 -0
  109. /package/build/{chunk-H6JMSRER.js.map → chunk-ODUS243S.js.map} +0 -0
  110. /package/build/{chunk-LOIAECXT.js.map → chunk-OG7CQWH4.js.map} +0 -0
  111. /package/build/{chunk-YCFZ247L.js.map → chunk-PCN3DSXO.js.map} +0 -0
  112. /package/build/{chunk-FQPD6463.js.map → chunk-RTNNLCWK.js.map} +0 -0
  113. /package/build/{chunk-V2FLJHZT.js.map → chunk-TTMVSSSY.js.map} +0 -0
  114. /package/build/{chunk-OFZYGRHS.js.map → chunk-VDEWNPZW.js.map} +0 -0
  115. /package/build/{chunk-MGQ2ESKW.js.map → chunk-VTNVMBHW.js.map} +0 -0
  116. /package/build/{chunk-UPC7ESRG.js.map → chunk-WCNBMDVW.js.map} +0 -0
  117. /package/build/{chunk-BVG5SCZS.js.map → chunk-YZNDZ4SI.js.map} +0 -0
  118. /package/build/{dev-7W2DPJU7.js.map → dev-RGJBH6UG.js.map} +0 -0
  119. /package/build/{install-65IG2O5T.js.map → install-DWGSHW3J.js.map} +0 -0
  120. /package/build/{render-command-2MR5YBEV.js.map → render-command-GUDTM4IQ.js.map} +0 -0
  121. /package/build/{render-command-SWR5N5GP.js.map → render-command-I2EZ5ZOY.js.map} +0 -0
  122. /package/build/{render-command-NECYRVEQ.js.map → render-command-IGB63PTD.js.map} +0 -0
  123. /package/build/{render-command-2WLWMKTZ.js.map → render-command-KGE4WNRS.js.map} +0 -0
  124. /package/build/{run-command-ZIBXWV63.js.map → run-command-TBCHFVR6.js.map} +0 -0
  125. /package/build/{src-55UVIEKB.js.map → src-A6GUTLAP.js.map} +0 -0
  126. /package/build/{src-26FPXGXH.js.map → src-BAC3WGFQ.js.map} +0 -0
  127. /package/build/{src-QCJABFJO.js.map → src-NE5D32YX.js.map} +0 -0
  128. /package/build/{src-SDOROU7S.js.map → src-PTVLFJGU.js.map} +0 -0
  129. /package/build/{src-PSCSVTUC.js.map → src-QIYGDXHR.js.map} +0 -0
  130. /package/build/{src-TUUZ6KXC.js.map → src-XY5XGVPA.js.map} +0 -0
  131. /package/build/{sync-types-7CGIZBAV.js.map → sync-types-KIRJNRVB.js.map} +0 -0
  132. /package/build/{uninstall-2RSTFKCM.js.map → uninstall-MT6ZLKJY.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  pathExists,
8
8
  readJson,
9
9
  writeJson
10
- } from "./chunk-G6EV7W6O.js";
10
+ } from "./chunk-7HAKFVGI.js";
11
11
  import {
12
12
  z
13
13
  } from "./chunk-GO2GZJCK.js";
@@ -15,7 +15,7 @@ import {
15
15
  CliError,
16
16
  CliErrorCode,
17
17
  require_lib
18
- } from "./chunk-IFOT72TN.js";
18
+ } from "./chunk-ZB6FQ6GP.js";
19
19
  import {
20
20
  __toESM,
21
21
  init_esm_shims
@@ -345,4 +345,4 @@ export {
345
345
  Yarn,
346
346
  createPackageManager
347
347
  };
348
- //# sourceMappingURL=chunk-ALLETB4G.js.map
348
+ //# sourceMappingURL=chunk-K5TRKVBA.js.map
@@ -5,21 +5,21 @@ import {
5
5
  } from "./chunk-EDFOB3LN.js";
6
6
  import {
7
7
  GridAppLayout
8
- } from "./chunk-FQPD6463.js";
8
+ } from "./chunk-RTNNLCWK.js";
9
9
  import {
10
10
  extractHttpError
11
- } from "./chunk-L5767LEQ.js";
11
+ } from "./chunk-HJQ6N2XI.js";
12
12
  import {
13
13
  WIX_LOCK_FILENAME,
14
14
  getSourceFolder
15
15
  } from "./chunk-YLK75XXM.js";
16
16
  import {
17
17
  pathExists
18
- } from "./chunk-G6EV7W6O.js";
18
+ } from "./chunk-7HAKFVGI.js";
19
19
  import {
20
20
  CliError,
21
21
  CliErrorCode
22
- } from "./chunk-IFOT72TN.js";
22
+ } from "./chunk-ZB6FQ6GP.js";
23
23
  import {
24
24
  __toESM,
25
25
  init_esm_shims
@@ -107,4 +107,4 @@ export {
107
107
  isSiteNotPublishedError,
108
108
  loadProjectGridAppContent
109
109
  };
110
- //# sourceMappingURL=chunk-JMIOSJ6M.js.map
110
+ //# sourceMappingURL=chunk-LQK7FXRR.js.map
@@ -7,17 +7,16 @@ import {
7
7
  GridAppLayout
8
8
  } from "./chunk-6LI4WGAW.js";
9
9
  import {
10
- require_retry,
11
10
  resolveUrl,
12
11
  serializer,
13
12
  toURLSearchParams
14
- } from "./chunk-YDXZTDCP.js";
13
+ } from "./chunk-AKNVJLMI.js";
15
14
  import {
16
15
  require_clean,
17
16
  require_is_core_module,
18
17
  require_semver,
19
18
  require_valid
20
- } from "./chunk-L5767LEQ.js";
19
+ } from "./chunk-HJQ6N2XI.js";
21
20
  import {
22
21
  require_index_node,
23
22
  require_ms,
@@ -28,7 +27,7 @@ import {
28
27
  } from "./chunk-GO2GZJCK.js";
29
28
  import {
30
29
  require_verror
31
- } from "./chunk-IFOT72TN.js";
30
+ } from "./chunk-ZB6FQ6GP.js";
32
31
  import {
33
32
  __commonJS,
34
33
  __dirname,
@@ -17070,9 +17069,9 @@ var require_err_code = __commonJS({
17070
17069
  }
17071
17070
  });
17072
17071
 
17073
- // ../../node_modules/promise-retry/node_modules/retry/lib/retry_operation.js
17072
+ // ../../node_modules/retry/lib/retry_operation.js
17074
17073
  var require_retry_operation = __commonJS({
17075
- "../../node_modules/promise-retry/node_modules/retry/lib/retry_operation.js"(exports2, module2) {
17074
+ "../../node_modules/retry/lib/retry_operation.js"(exports2, module2) {
17076
17075
  "use strict";
17077
17076
  init_esm_shims();
17078
17077
  function RetryOperation(timeouts, options) {
@@ -17203,9 +17202,9 @@ var require_retry_operation = __commonJS({
17203
17202
  }
17204
17203
  });
17205
17204
 
17206
- // ../../node_modules/promise-retry/node_modules/retry/lib/retry.js
17207
- var require_retry2 = __commonJS({
17208
- "../../node_modules/promise-retry/node_modules/retry/lib/retry.js"(exports2) {
17205
+ // ../../node_modules/retry/lib/retry.js
17206
+ var require_retry = __commonJS({
17207
+ "../../node_modules/retry/lib/retry.js"(exports2) {
17209
17208
  "use strict";
17210
17209
  init_esm_shims();
17211
17210
  var RetryOperation = require_retry_operation();
@@ -17291,12 +17290,12 @@ var require_retry2 = __commonJS({
17291
17290
  }
17292
17291
  });
17293
17292
 
17294
- // ../../node_modules/promise-retry/node_modules/retry/index.js
17295
- var require_retry3 = __commonJS({
17296
- "../../node_modules/promise-retry/node_modules/retry/index.js"(exports2, module2) {
17293
+ // ../../node_modules/retry/index.js
17294
+ var require_retry2 = __commonJS({
17295
+ "../../node_modules/retry/index.js"(exports2, module2) {
17297
17296
  "use strict";
17298
17297
  init_esm_shims();
17299
- module2.exports = require_retry2();
17298
+ module2.exports = require_retry();
17300
17299
  }
17301
17300
  });
17302
17301
 
@@ -17306,7 +17305,7 @@ var require_promise_retry = __commonJS({
17306
17305
  "use strict";
17307
17306
  init_esm_shims();
17308
17307
  var errcode = require_err_code();
17309
- var retry2 = require_retry3();
17308
+ var retry2 = require_retry2();
17310
17309
  var hasOwn = Object.prototype.hasOwnProperty;
17311
17310
  function isRetryError(err) {
17312
17311
  return err && err.code === "EPROMISERETRY" && hasOwn.call(err, "retried");
@@ -49441,6 +49440,240 @@ var require_lib29 = __commonJS({
49441
49440
  }
49442
49441
  });
49443
49442
 
49443
+ // ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry_operation.js
49444
+ var require_retry_operation2 = __commonJS({
49445
+ "../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry_operation.js"(exports2, module2) {
49446
+ "use strict";
49447
+ init_esm_shims();
49448
+ function RetryOperation(timeouts, options) {
49449
+ if (typeof options === "boolean") {
49450
+ options = { forever: options };
49451
+ }
49452
+ this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
49453
+ this._timeouts = timeouts;
49454
+ this._options = options || {};
49455
+ this._maxRetryTime = options && options.maxRetryTime || Infinity;
49456
+ this._fn = null;
49457
+ this._errors = [];
49458
+ this._attempts = 1;
49459
+ this._operationTimeout = null;
49460
+ this._operationTimeoutCb = null;
49461
+ this._timeout = null;
49462
+ this._operationStart = null;
49463
+ this._timer = null;
49464
+ if (this._options.forever) {
49465
+ this._cachedTimeouts = this._timeouts.slice(0);
49466
+ }
49467
+ }
49468
+ module2.exports = RetryOperation;
49469
+ RetryOperation.prototype.reset = function() {
49470
+ this._attempts = 1;
49471
+ this._timeouts = this._originalTimeouts.slice(0);
49472
+ };
49473
+ RetryOperation.prototype.stop = function() {
49474
+ if (this._timeout) {
49475
+ clearTimeout(this._timeout);
49476
+ }
49477
+ if (this._timer) {
49478
+ clearTimeout(this._timer);
49479
+ }
49480
+ this._timeouts = [];
49481
+ this._cachedTimeouts = null;
49482
+ };
49483
+ RetryOperation.prototype.retry = function(err) {
49484
+ if (this._timeout) {
49485
+ clearTimeout(this._timeout);
49486
+ }
49487
+ if (!err) {
49488
+ return false;
49489
+ }
49490
+ var currentTime = (/* @__PURE__ */ new Date()).getTime();
49491
+ if (err && currentTime - this._operationStart >= this._maxRetryTime) {
49492
+ this._errors.push(err);
49493
+ this._errors.unshift(new Error("RetryOperation timeout occurred"));
49494
+ return false;
49495
+ }
49496
+ this._errors.push(err);
49497
+ var timeout = this._timeouts.shift();
49498
+ if (timeout === void 0) {
49499
+ if (this._cachedTimeouts) {
49500
+ this._errors.splice(0, this._errors.length - 1);
49501
+ timeout = this._cachedTimeouts.slice(-1);
49502
+ } else {
49503
+ return false;
49504
+ }
49505
+ }
49506
+ var self = this;
49507
+ this._timer = setTimeout(function() {
49508
+ self._attempts++;
49509
+ if (self._operationTimeoutCb) {
49510
+ self._timeout = setTimeout(function() {
49511
+ self._operationTimeoutCb(self._attempts);
49512
+ }, self._operationTimeout);
49513
+ if (self._options.unref) {
49514
+ self._timeout.unref();
49515
+ }
49516
+ }
49517
+ self._fn(self._attempts);
49518
+ }, timeout);
49519
+ if (this._options.unref) {
49520
+ this._timer.unref();
49521
+ }
49522
+ return true;
49523
+ };
49524
+ RetryOperation.prototype.attempt = function(fn2, timeoutOps) {
49525
+ this._fn = fn2;
49526
+ if (timeoutOps) {
49527
+ if (timeoutOps.timeout) {
49528
+ this._operationTimeout = timeoutOps.timeout;
49529
+ }
49530
+ if (timeoutOps.cb) {
49531
+ this._operationTimeoutCb = timeoutOps.cb;
49532
+ }
49533
+ }
49534
+ var self = this;
49535
+ if (this._operationTimeoutCb) {
49536
+ this._timeout = setTimeout(function() {
49537
+ self._operationTimeoutCb();
49538
+ }, self._operationTimeout);
49539
+ }
49540
+ this._operationStart = (/* @__PURE__ */ new Date()).getTime();
49541
+ this._fn(this._attempts);
49542
+ };
49543
+ RetryOperation.prototype.try = function(fn2) {
49544
+ console.log("Using RetryOperation.try() is deprecated");
49545
+ this.attempt(fn2);
49546
+ };
49547
+ RetryOperation.prototype.start = function(fn2) {
49548
+ console.log("Using RetryOperation.start() is deprecated");
49549
+ this.attempt(fn2);
49550
+ };
49551
+ RetryOperation.prototype.start = RetryOperation.prototype.try;
49552
+ RetryOperation.prototype.errors = function() {
49553
+ return this._errors;
49554
+ };
49555
+ RetryOperation.prototype.attempts = function() {
49556
+ return this._attempts;
49557
+ };
49558
+ RetryOperation.prototype.mainError = function() {
49559
+ if (this._errors.length === 0) {
49560
+ return null;
49561
+ }
49562
+ var counts = {};
49563
+ var mainError = null;
49564
+ var mainErrorCount = 0;
49565
+ for (var i = 0; i < this._errors.length; i++) {
49566
+ var error = this._errors[i];
49567
+ var message2 = error.message;
49568
+ var count = (counts[message2] || 0) + 1;
49569
+ counts[message2] = count;
49570
+ if (count >= mainErrorCount) {
49571
+ mainError = error;
49572
+ mainErrorCount = count;
49573
+ }
49574
+ }
49575
+ return mainError;
49576
+ };
49577
+ }
49578
+ });
49579
+
49580
+ // ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry.js
49581
+ var require_retry3 = __commonJS({
49582
+ "../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/lib/retry.js"(exports2) {
49583
+ "use strict";
49584
+ init_esm_shims();
49585
+ var RetryOperation = require_retry_operation2();
49586
+ exports2.operation = function(options) {
49587
+ var timeouts = exports2.timeouts(options);
49588
+ return new RetryOperation(timeouts, {
49589
+ forever: options && (options.forever || options.retries === Infinity),
49590
+ unref: options && options.unref,
49591
+ maxRetryTime: options && options.maxRetryTime
49592
+ });
49593
+ };
49594
+ exports2.timeouts = function(options) {
49595
+ if (options instanceof Array) {
49596
+ return [].concat(options);
49597
+ }
49598
+ var opts = {
49599
+ retries: 10,
49600
+ factor: 2,
49601
+ minTimeout: 1 * 1e3,
49602
+ maxTimeout: Infinity,
49603
+ randomize: false
49604
+ };
49605
+ for (var key in options) {
49606
+ opts[key] = options[key];
49607
+ }
49608
+ if (opts.minTimeout > opts.maxTimeout) {
49609
+ throw new Error("minTimeout is greater than maxTimeout");
49610
+ }
49611
+ var timeouts = [];
49612
+ for (var i = 0; i < opts.retries; i++) {
49613
+ timeouts.push(this.createTimeout(i, opts));
49614
+ }
49615
+ if (options && options.forever && !timeouts.length) {
49616
+ timeouts.push(this.createTimeout(i, opts));
49617
+ }
49618
+ timeouts.sort(function(a, b) {
49619
+ return a - b;
49620
+ });
49621
+ return timeouts;
49622
+ };
49623
+ exports2.createTimeout = function(attempt, opts) {
49624
+ var random = opts.randomize ? Math.random() + 1 : 1;
49625
+ var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));
49626
+ timeout = Math.min(timeout, opts.maxTimeout);
49627
+ return timeout;
49628
+ };
49629
+ exports2.wrap = function(obj, options, methods) {
49630
+ if (options instanceof Array) {
49631
+ methods = options;
49632
+ options = null;
49633
+ }
49634
+ if (!methods) {
49635
+ methods = [];
49636
+ for (var key in obj) {
49637
+ if (typeof obj[key] === "function") {
49638
+ methods.push(key);
49639
+ }
49640
+ }
49641
+ }
49642
+ for (var i = 0; i < methods.length; i++) {
49643
+ var method = methods[i];
49644
+ var original = obj[method];
49645
+ obj[method] = function retryWrapper(original2) {
49646
+ var op = exports2.operation(options);
49647
+ var args2 = Array.prototype.slice.call(arguments, 1);
49648
+ var callback = args2.pop();
49649
+ args2.push(function(err) {
49650
+ if (op.retry(err)) {
49651
+ return;
49652
+ }
49653
+ if (err) {
49654
+ arguments[0] = op.mainError();
49655
+ }
49656
+ callback.apply(this, arguments);
49657
+ });
49658
+ op.attempt(function() {
49659
+ original2.apply(obj, args2);
49660
+ });
49661
+ }.bind(obj, original);
49662
+ obj[method].options = options;
49663
+ }
49664
+ };
49665
+ }
49666
+ });
49667
+
49668
+ // ../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/index.js
49669
+ var require_retry4 = __commonJS({
49670
+ "../../node_modules/@wix/velo-site-types-syncer/node_modules/retry/index.js"(exports2, module2) {
49671
+ "use strict";
49672
+ init_esm_shims();
49673
+ module2.exports = require_retry3();
49674
+ }
49675
+ });
49676
+
49444
49677
  // ../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js
49445
49678
  var require_types_impl = __commonJS({
49446
49679
  "../../node_modules/@wix/ambassador-velo-ide-v1-path-transform/build/cjs/types.impl.js"(exports2) {
@@ -49574,7 +49807,7 @@ import { dirname, join as join22, relative as relative2 } from "node:path";
49574
49807
 
49575
49808
  // ../../node_modules/@wix/velo-site-types-syncer/node_modules/p-retry/index.js
49576
49809
  init_esm_shims();
49577
- var import_retry = __toESM(require_retry(), 1);
49810
+ var import_retry = __toESM(require_retry4(), 1);
49578
49811
  var networkErrorMsgs = /* @__PURE__ */ new Set([
49579
49812
  "Failed to fetch",
49580
49813
  // Chrome
@@ -51141,4 +51374,4 @@ make-fetch-happen/lib/fetch.js:
51141
51374
  * governing permissions and limitations under the License.
51142
51375
  *)
51143
51376
  */
51144
- //# sourceMappingURL=chunk-IJUB7F5P.js.map
51377
+ //# sourceMappingURL=chunk-NN465VNN.js.map